Attachment Remove

attachmentremove

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 attachmentremove retrieves a response.

Return Values

Response – Success or error response.

The structure of the response is:

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