Expense Line Resubmit

expenselineresubmit

Parameter

Type

I/O

Description

IN

Parameters described in Overview

Company

String

IN

The users default company number for the companies list

Action

String

IN

Identifier for the list requested

Input

String

IN

Expense line internal number

Response

XML / JSON

OUT

An XML tree / JSON string containing the success or error response

Description

Calling the expenses API with an action of expenselineresubmit retrieves a response. Creates the re-submitted line on a new sheet and returns the new sheet identifier. The input line must have the following values:

  • expenselines_resubmitreason=”a string value”
  • expenselines_="Q"

The expense sheet to which the line belongs must have the following values:

  • expensesheet_sheetstatuscode="processed"

Return Values

Response – Success or error response.

The structure of the response is:

<Responses>
  <Success>
    <SuccessText>Expense line re-submitted.</SuccessText>
    <Data>
      <expensesheet_expensesheetinternal>1335</expensesheet_expensesheetinternal>
    </Data>
    <Data>
      <expensesheet_uuid>7807E1DD61CAFE42AB1A29FFC4799F89</expensesheet_uuid>
    </Data>
  </Success>
</Responses>
{
    "errormessage": "",
    "responsecode": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "Expense line re-submitted.",
    "errorcode": 0,
    "data": [
        {
            "expensesheet_expensesheetinternal": "645",
            "expensesheet_uuid": "A9EC42CC669644418235071A958B85EE"
        }
    ]
}