Skip to main content
All CollectionsWeb APIAPI Endpoints
Web API – Trip Approval
Web API – Trip Approval
Updated over 3 years 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?