Views an attachment from an expense line.
| Parameter | Mandatory | Description | Examples | More Info | 
|---|---|---|---|---|
| API | Yes | The API area | expenselines.json | |
| General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call | 
| Company | Yes | The company number | company=1 | |
| Action | Yes | The action to perform | action=attachmentview | |
| Identifier | Yes | Expense line ID or UUID | expenseline=3404 | 
Example request:
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=4&company=1&action=attachmentview&expenseline=4022Example response:
{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 1,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "attachmentUuid": "96718E76A5624745B535E0371C6B4B1F",
      "attachmentTimestampModified": 1523968717,
      "attachmentRecordVersionNumber": 0,
      "attachmentOriginalFilename": "office.txt",
      "attachmentBase64": "ZnJvbSBUOlxTdXBwbGllclxNaWNyb3NvZnRcT2ZmaWNlIDIwMTYgUHJvZmVzc2lvbmFsXCAgVGhlIGxpY=",
      "attachmentContentDisposition": "attachment; filename=\"doc.txt\"",
      "attachmentContentType": "application"
    }
  ]
}