All Collections
Web API
API Endpoints
Web API – Trip Approval
Web API – Trip Approval
Updated over a week ago

Change Trip Approval Status

Request URL

Query parameters

None

JSON request data

{
"status" : String (required), e.g. "Not Submitted", "Submitted", "Approved", "Rejected", "Pay Scheduled" "ids" : int[] (required), e.g. [967235,967238] "comments" : String (optional) "updatedByUserEmail" : String (optional), the updater's email address. If left unset, the system will use the first Accountant user.
}

Sample response

{ 
"message": "OK", "successfulIds": [967235], "unsuccessfulIds": [967238],
}

Did this answer your question?