Approval - Get rejection reasons
API Url
Used for loading approval rejection reasons.
GET
http://localhost:16010/ProMarkREST/rest/Approval/rejection-reasons
Permissions: user
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| reasons | Object | Collection of approval rejection reasons. |
| description | String | Rejection description. |
| id | String | Rejection ID. |
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": {"data": {"reasons": [{"id": "HVBA1","description": "Okay"},{"id": "HVBRH","description": "No holiday allowed !!"}]},"errorCode": 0,"errorMessage": ""}}