ProRoster - Delete absences
API Url
Use it for deleting an absence from ProSchedule
DELETE
http://localhost:16010/ProMarkREST/rest/ProRoster/absences/{id}
Permissions: useruser
Path parameters
| Field | Type | Description |
|---|---|---|
| id | String | The unique identifier of the absence. |
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."}}