Expense Line Reject

expenselinereject

ParameterTypeI/ODescription
INParameters described in Overview
CompanyStringINThe users default company number for the companies list
ActionStringINIdentifier for the list requested
InputStringINExpense line internal number
ResponseXML / JSONOUTAn XML tree / JSON string containing the success or error response

Description

Calling the expenses API with an action of expenselinereject retrieves a response.

Return Values

Response – Success or error response.

The structure of the response is:

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