expensesheetdelete
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 | XML / JSON | IN | Data array containing optional parameters |
expense-sheet_expensesheetinternal | XML / JSON | IN | expensesheet_expensesheetinternal data array parameter |
Response | XML / JSON | OUT | An XML tree / JSON string containing success/fail for the action |
Description
Calling the expenses API with an action of delete retrieves a response of success/fail status for the request.
Return Values
Response – Success/fail status for delete request.
The structure of the response is:
<Responses>
<Success>
<SuccessText>data processed successfully.</SuccessText>
<Data>
<expensesheet_expensesheetinternal>19</expensesheet_expensesheetinternal>
</Data>
<Data>
<expensesheet_uuid>50C3B63C5411D24DA1EDD52BC87D023A</expensesheet_uuid>
</Data>
</Success>
</Responses>
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"success": true,
"data": [
{
"expensesheet_expensesheetinternal": 1326,
"expensesheet_uuid": "D413ED49499E184393338AFCD197D561"
}
]
}