Retrieves an attachment with a specified ID.
Attachment retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
$attachment = $client->attachments()->load('attachmentId');
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "file": { }
}
}