ProRoster - Delete absences
API Url
Use it for deleting multiple absences from ProSchedule
DELETE
http://localhost:16010/ProMarkREST/rest/ProRoster/absences
Permissions: useruser
Query parameters
| Field | Type | Description |
|---|---|---|
| absenceIds | String | Comma separated list that contains absence ids |
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. |
Error example when the absence does not exist :
{"response": {"errorCode": 30,"errorMessage": "The selected absence does not exist."}}