About ListApprovers
This API returns a list of approvers and the approval status of a specific Bill or Vendor Credit.
Example
Request
<API_URL_EndPoint>/ListApprovers.json
data={
"objectId" : "00n01TUPMWVLJHJUR1mg",
"entity" : "Bill"
}
Response
{
"response_status" : 0,
"response_message" : "Success",
"response_data" : [ {
"entity" : "BillApprover",
"id" : "0ba01DVVDWXVITAR9q3g",
"usersId" : "00601MLYKCKSAGEGdqx1",
"sortOrder" : 0,
"status" : "4",
"statusChangedDate" : "2016-11-05T19:25:29.000+0000",
"lastReminderDate" : null,
"isActive" : "1"
}, {
"entity" : "BillApprover",
"id" : "0ba01BSRTHFYJIYV9q3h",
"usersId" : "00601RUHELVSOXSIdypl",
"sortOrder" : 1,
"status" : "0",
"statusChangedDate" : "2016-11-05T19:25:29.000+0000",
"lastReminderDate" : null,
"isActive" : "1"
}, {
"entity" : "BillApprover",
"id" : "0ba01SSDKEMRWPYU9q3f",
"usersId" : "00601PWZCPCHXSIFdypm",
"sortOrder" : 2,
"status" : "5",
"statusChangedDate" : "2016-11-05T19:25:07.000+0000",
"lastReminderDate" : null,
"isActive" : "1"
} ]
}
Resources
- Add, change, or remove approvers on a bill/vendor credit
- Bill Management
- ClearApprovers
- BillApprover
- VendCreditApprover
- SetApprovers
Request Parameters
Field Name | Description | Required? |
---|---|---|
objectId | The system generated ID of the Bill or Vendor Credit. | Yes |
entity | Type of entity to get the list of approvers (Bill, Vendor Credit). | Yes |
Response Parameters
Field Name | Description |
---|---|
status |
The approval status of the Bill or Vendor Credit: 0: Waiting |