Change Trip Approval Status
Request URL
Query parameters
None
JSON request data
{
"status" : String (required),
"ids" : int[] (required),
"comments" : String (optional)
"updatedByUserEmail" : String (optional),
}
Status: [e.g. "Not Submitted", "Submitted", "Approved", "Rejected", "Pay Scheduled"]
ids: e.g. [967235,967238]
updatedByUserEmail: the updater's email address. If left unset, the system will use the first Accountant user.
Sample response
{
"message": "OK",
"successfulIds": [967235],
"unsuccessfulIds": [967238],
}