Attachment remove

Attachments Remove

Remove an attachment from an expense line

ParameterDescriptionExamples
APIThe API areaexpenselines.json
ActionRemove Attachments&action=attachmentremove
GeneralParameters described in overviewuser=user&password=user&version=3.3
<input mandatory>company:Company ID&company=1
<input mandatory>expenseline:Expense Line ID&expenseline=1234
OR
<input mandatory>UUID:Expense Line UUID&uuid=1234

Example request:
Request to remove attachments

http://&lt;SERVER&gt;/jsonAPI/expenselines.json?user=user&password=user&version=3.3&action=attachmentremove&company=1&expenseline=3404

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Expense line attachment deleted.",
  "warningmessage": "",
  "success": true
}