General - regret holiday transfer
API Url
Used for deleting(regret) holiday transfer registration.
DELETE
http://localhost:16010/ProMarkREST/rest/General/employees/{empId}/holidays/transfers
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| empId | String | Employee identifier |
| id | String | Holiday transfer registration identifier |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Success example
HTTP/1.1 200 OK{"response": {"errorMessage": "","errorCode": 0}}
Error example:
{"response": {"errorMessage": "Cannot regret transfer!","errorCode": 1}}