Reject a Non-Employee Request
POST {{baseUrl}}/non-employee-approvals/:id/reject
This endpoint will reject an approval item request and notify user.
Request Body
{"comment"=>"ut veniam"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"2c1e388b-1e55-4b0a-ab5c-897f1204159c","approver":{"type":"IDENTITY","id":"5168015d32f890ca15812c9180835d2e"},"accountName":"test.account","approvalStatus":"NOT_READY","approvalOrder":1,"comment":"ea esse","modified":"2019-08-23T18:52:59.162Z","created":"2019-08-23T18:40:35.772Z","nonEmployeeRequest":{"id":"amet non ut","requester":{"type":"IDENTITY","name":"William Smith"}}}