Expense Sheet Copy

expensesheetcopy

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 the action

Description

Calling the expenses API with an action of expensesheetcopy retrieves a response of success/fail status for the request.

Return Values

Response – Success/fail status for copy request.

The structure of the response is:

<Responses>
  <Success>
    <SuccessText>Expense sheet 17 copied to 22.</SuccessText>
    <Data>
    	<expensesheet_expensesheetinternal>26</expensesheet_expensesheetinternal>
    </Data>
    <Data>
    	<expensesheet_uuid>13F7D4F04F7AE74B826A6B54BF954463</expensesheet_uuid>
    </Data>
  </Success>
</Responses>
{
    "responsecode": 1,
    "responsestatus": "OK",
    "errorcode": 0,
    "errormessage": "",
    "responsemessage": "Expense sheet  17 copied to 22.",
    "success": true,
    "data": [
        {
            "expensesheet_expensesheetinternal": 26,
            "expensesheet_uuid": "5A1BF39982FC3A4AB29F5CBE4C7E081B"
        }
    ]
}