delete
Parameter | Type | 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 | XML / JSON | IN | Data array containing optional parameters |
Expenselines_expenselineinternal | XML / JSON | IN | Expense line internal number – supplied as parameter to input data array |
Response | XML / JSON | OUT | An XML tree / JSON string containing the success or error response |
Description
Calling the expenses API with an action of delete retrieves a response.
Return Values
Response – Success or error response.
The structure of the response is:
<Responses>
<Success>
<SuccessText>data processed successfully.</SuccessText>
<Data>
<expenselines_expenselineinternal>22</expenselines_expenselineinternal>
</Data>
<Data>
<expenselines_uuid>525938E6B781194FA2CEF52390FFA7D5</expenselines_uuid>
</Data>
</Success>
</Responses>
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"success": true,
"data": [
{
"expenselines_expenselineinternal": 22,
"expenselines_uuid": "83C4E57E15A83448BD15BAEFD1F28C11"
}
]
}