Expense Sheet All

expensesheetall

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 expensesheetall retrieves a response of success/fail status for the request. Expensesheetall performs the following actions on the sheet (approve+process+post) providing that user has the correct permissions to do so.

Return Values

Response – Success/fail status for the request.

The structure of the response is:

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