Get a non-employee approval item detail

GET {{baseUrl}}/non-employee-approvals/:id

Gets a non-employee approval item detail. There are two contextual uses for this endpoint: 1. The user has the role context of idn:nesr:read, in which case they can get any approval. 2. The user owns the requested approval.

Request Params

KeyDatatypeRequiredDescription
include-detailbooleanThe object nonEmployeeRequest will not be included detail when set to false. Default value is true

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"id":"2c1e388b-1e55-4b0a-ab5c-897f1204159c","approver":{"type":"IDENTITY","id":"5168015d32f890ca15812c9180835d2e"},"accountName":"test.account","approvalStatus":"APPROVED","approvalOrder":1,"comment":"I approve","modified":"2019-08-23T18:52:59.162Z","created":"2019-08-23T18:40:35.772Z","nonEmployeeRequest":{"id":"ac110005-7156-1150-8171-5b292e3e0084","requester":{"type":"IDENTITY","name":"William Smith"},"accountName":"william.smith","firstName":"William","lastName":"Smith","email":"william.smith@example.com","phone":"5555555555","manager":"jane.doe","nonEmployeeSource":{"id":"a0303682-5e4a-44f7-bdc2-6ce6112549c1","sourceId":"2c91808568c529c60168cca6f90c1313","name":"Retail","description":"Source description","schemaAttributes":[{"type":"TEXT","technicalName":"account.name","label":"Account Name","id":"ac110005-7156-1150-8171-5b292e3e0084","system":true,"modified":"2019-08-23T18:52:59.162Z","created":"2019-08-23T18:40:35.772Z","helpText":"The unique identifier for the account","placeholder":"Enter a unique user name for this account.","required":true},{"type":"TEXT","technicalName":"account.name","label":"Account Name","id":"ac110005-7156-1150-8171-5b292e3e0084","system":true,"modified":"2019-08-23T18:52:59.162Z","created":"2019-08-23T18:40:35.772Z","helpText":"The unique identifier for the account","placeholder":"Enter a unique user name for this account.","required":true}]},"data":{"description":"Auditing"},"approvalStatus":"APPROVED","comment":"approved","completionDate":"2020-03-24T11:11:41.139-05:00","startDate":"2020-03-24","endDate":"2021-03-25","modified":"2020-03-24T11:11:41.139-05:00","created":"2020-03-24T11:11:41.139-05:00"}}