Expense Line Resubmit

expenselineresubmit

ParameterType
CompanyString
ActionString
InputString
ResponseXML / JSON

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