expensesheetunapprove
Parameter | Type | I/O | Description |
---|---|---|---|
IN | Parameters described in Overview | ||
Company | String | IN | The company context |
Action | String | IN | Identifier for the list requested |
Supplier | String | IN | Identifier for the supplier context |
Input | String | IN | Identifier for expense sheet |
Response | XML / JSON | OUT | An XML tree / JSON string containing success/fail for action |
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
}