Expense Sheet Approve

expensesheetapprove

ParameterType
CompanyString
ActionString
SupplierString
InputString
ResponseXML / JSON

Description

Calling the expenses API with an action of expensesheetapprove retrieves a response of success/fail status for the request. Expensesheetapprove will approve all the lines on a sheet for which the current user has approval rights. There may be multiple approvers for the lines on a sheet.

Return Values

Response – Success/fail status for the request.

The structure of the response is:

<Responses>
  <Success>
  	<SuccessText>Expense sheet approved.</SuccessText>
  </Success>
</Responses>
{
    "errormessage": "",
    "responsecode": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "Expense sheet approved.",
    "errorcode": 0
}