Retrieve Action Reasons
To retrieve the action reasons for the workers
API:
- Perform a GET operation on the
actionsReasonsLOV
resource using a query parameter. - Verify the details returned in the response.
Example URL
Use this resource URL format.
GET
/hcmRestApi/resources/11.13.18.05/actionReasonsLOV?q=ActionId='100010026278065'
Example Header
Provide the header.
REST-Framework-Version : 4
Example Response
Here's an example of the response body in JSON format.
{
"items": [
{
"ActionReasonId": 100010026278088,
"ActionReasonCode": "RENEW_CWK",
"ActionReason": "Renew of Contingent Worker placement",
"StartDate": "1900-01-01",
"EndDate": "4712-12-31",
"ActionId": 100010026278065,
"links": [...]
}
],
}