curl --request GET \
--url http://localhost:3001/v1/invoice/{id}/approval-request \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"status": "PENDING",
"requestedAt": "2023-11-07T05:31:56Z",
"requester": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"approvalItems": [
{
"id": "<string>",
"approver": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"status": "PENDING",
"comments": "<string>",
"decidedAt": "2023-11-07T05:31:56Z",
"step": {
"stepNumber": 123
}
}
]
}Retrieve the approval request for an invoice, showing who approved or rejected it and when.
curl --request GET \
--url http://localhost:3001/v1/invoice/{id}/approval-request \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"status": "PENDING",
"requestedAt": "2023-11-07T05:31:56Z",
"requester": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"approvalItems": [
{
"id": "<string>",
"approver": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"status": "PENDING",
"comments": "<string>",
"decidedAt": "2023-11-07T05:31:56Z",
"step": {
"stepNumber": 123
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.ibana.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Invoice ID
PENDING, APPROVED, REJECTED, SKIPPED When approval was requested.
User who requested the approval. Null for system-initiated requests.
Show child attributes
Show child attributes
Was this page helpful?