GET Attachments?attachmentId={attachmentId}
Retrieves an attachment by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
attachmentId |
Id of the attachment |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Attachment |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AttachmentId": "29b16a47-ee86-4a15-a1b6-97a114d85fa1", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "5f264dad-89ad-4e5d-8dfb-a2b5efdcacb2", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e3b974fd-5fd2-4beb-834b-0119f33112c4", "CreateDate": "2024-04-24T15:06:16.8189232-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-24T15:06:16.8189232-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2646524b-a59a-4344-99c8-c783bf073f24", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5b381632-b89e-4cb7-aa2b-cff0763c8f27", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "143ff484-a524-42fa-882c-922154e09253", "CreateDate": "2024-04-24T15:06:16.8189232-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:16.8189232-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1fdad570-ac69-4145-9ec7-a78c4e2791cd", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-24T15:06:16.8189232-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:16.8189232-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1fc1f459-c539-4857-a3d5-f97e2bde4ff4", "CreateDate": "2024-04-24T15:06:16.8189232-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-24T15:06:16.8189232-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-24T15:06:16.8189232-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:16.8189232-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6ba5ff56-4a40-4936-8cee-cd211615bb3a", "CreateDate": "2024-04-24T15:06:16.8189232-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-24T15:06:16.8189232-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-24T15:06:16.8189232-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "03b1fa4b-d421-462d-b740-5ca6c3228560", "CreateDate": "2024-04-24T15:06:16.8189232-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:16.8189232-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }