Delete a bulk of costUnits
Delete a bulk of costUnits from your company.
PUT costUnits/delete/bulk
Request details
The put request will contain all the required information to delete a bulk of costUnits
Request properties
Property | Type | Description | Optional |
---|---|---|---|
costUnitId [] | Guid [] | An array of unique identifiers of costUnits | No |
Example bulk delete costUnits request
[ "00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000000", "{costUnit-guid}" ]
Response
Upon successful delete a bulk of costUnits in Basecone system a 200 http status code will be returned.
If something goes wrong and error message with failure details will be given together with a suitable http error status code.
Possible error responses
Status code | Error code | Details |
---|---|---|
400 | json_parse_error | Unable to parse JSON. |
400 | invalid_request_payload | One or more costUnits Id are empty |
403 | Forbidden | User does not have access to one or more costUnits companies |
404 | Not Found | The request resource is not found. |