Attachments Remove
Remove an attachment from an expense line
| Parameter | Description | Examples |
|---|---|---|
| API | The API area | expenselines.json |
| Action | Remove Attachments | &action=attachmentremove |
| General | Parameters described in overview | user=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://<SERVER>/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
}