Expense Sheet Approve

expensesheetapprove

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 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
}