Expense Sheet Return

expensesheetreturn

Parameter

Type

I/O

Description

IN

Parameters described in Overview

Company

String

IN

The company context

Action

String

IN

Identifier for the list requested

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 expensesheetreturn retrieves a response of success/fail status for the request. Expensesheetreturn allows a current user with approval rights to return a sheet if it has issues and cannot be approved. If the sheet is A approved, the sheet status gets set to S submitted. If the sheet is not A approved the sheet gets set to T Returned. Lines retain their original statuses.

Return Values

Response – Success/fail status for the request.

The structure of the response is:

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