expensesheetreturn
Parameter | Type |
---|---|
Company | String |
Action | String |
Input | String |
Response | XML / JSON |
Description
Calling the expenses API with an action of expensesheetreturn retrieves a response of success/fail status for the request. Expensesheetreturn allows a current user with approval rights to return a sheet if it has issues and cannot be approved. If the sheet is A approved, the sheet status gets set to S submitted. If the sheet is not A approved the sheet gets set to T Returned. Lines retain their original statuses.
Return Values
Response – Success/fail status for the request.
The structure of the response is:
<Responses>
<Success>
<SuccessText>Expense sheet returned.</SuccessText>
</Success>
</Responses>
{
"errormessage": "",
"responsecode": 1,
"responsestatus": "OK",
"success": true,
"responsemessage": "Expense sheet returned.",
"errorcode": 0
}