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": "3a3adf80-4b0e-4925-a873-ea50bb2be74b", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e8304d2a-c384-415e-8bf7-a91ff53f1636", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "5f36958f-ec55-4e09-a761-a065c744fafb", "CreateDate": "2024-12-21T19:06:48.1302757-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T19:06:48.1302757-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d20675ac-4ed9-4eb9-9f94-fe8a07ad5ec8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "569c328b-7526-4a6f-9978-7ff70fe13e6a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c8c87faf-8421-420f-b23c-60d84753dd31", "CreateDate": "2024-12-21T19:06:48.1302757-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:06:48.1302757-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1e960c70-b26a-4ca4-8878-07736d433883", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:06:48.1302757-08:00", "MeasurementValueNeededDate": "2024-12-21T19:06:48.1302757-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c312ba15-2553-44b3-8955-698493bcd7d1", "CreateDate": "2024-12-21T19:06:48.1302757-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:48.1302757-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:06:48.1302757-08:00", "MeasurementValueNeededDate": "2024-12-21T19:06:48.1302757-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "311090aa-6d93-41f7-bd89-eade02c33b53", "CreateDate": "2024-12-21T19:06:48.1302757-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:48.1302757-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T19:06:48.1302757-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "d1030420-cdbe-4607-90ce-18739dc48e79", "CreateDate": "2024-12-21T19:06:48.1302757-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:06:48.1302757-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }