ProRoster - Delete availability.
API Url
Use it for delete an availability
DELETE
http://localhost:16010/ProMarkREST/rest/ProRoster/availabilities/{objectID}?choice=choice
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
objectIdoptional | String | The id of the availability. |
Query parameters
| Field | Type | Description |
|---|---|---|
choiceoptional | Number | If choice = 1 then it will be deleted only that date. If choice = 2 then it will be deleted the period starting with the given date. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |