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": "29b39560-cdf8-4549-a0e5-deaa88519340", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "222264fa-696f-41f8-a8f7-7d748ac23d7a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "4c8013b1-d076-477a-933f-b786c61797f5", "CreateDate": "2024-10-10T04:21:00.5567553-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T04:21:00.5567553-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "1cfa4134-ac85-42dc-a9f2-4445408b35b4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c23610c5-815a-4862-97a8-c0e70b9827e3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "01bac21a-02a6-4815-b9ba-a7c11d393b7f", "CreateDate": "2024-10-10T04:21:00.5567553-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T04:21:00.5567553-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f38c51c1-5c58-4fd9-9c37-ee9cfb8eec7d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:21:00.5567553-07:00", "MeasurementValueNeededDate": "2024-10-10T04:21:00.5567553-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b54807ff-6f33-40e8-8b6a-72f8af90bcf9", "CreateDate": "2024-10-10T04:21:00.5567553-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:21:00.5567553-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T04:21:00.5567553-07:00", "MeasurementValueNeededDate": "2024-10-10T04:21:00.5567553-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9436321b-2444-438d-b7e7-18ddd450f7fc", "CreateDate": "2024-10-10T04:21:00.5567553-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:21:00.5567553-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-10-10T04:21:00.5567553-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "3efd8d3e-58d1-4641-a74c-a82f2ce7e554", "CreateDate": "2024-10-10T04:21:00.5567553-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T04:21:00.5567553-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }