Expense Sheet Unapprove

expensesheetunapprove

ParameterType
CompanyString
ActionString
SupplierString
InputString
ResponseXML / JSON

Description

Calling the expenses API with an action of expensesheetunapprove retrieves a response of success/fail status for the request. Expensesheetunapprove will un-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 tree is:

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