Change Trip Approval Status

Request URL

PUT https://triplogmileage.com/web/api/tripStatus

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?