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": "f159919d-f3ef-498e-bd18-3478cddbe7b8", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "1743a6ba-a553-4cbc-a664-b7bac44d05b9", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "517f8650-7c5d-4323-bc5a-5443a1629626", "CreateDate": "2025-05-16T22:34:59.3436063-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-16T22:34:59.3436063-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "63f0e469-1abc-4e16-804f-f35cb28cc606", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a84dbd85-00eb-4629-b351-8f99acbbae38", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "78a1f3c7-d959-45a4-a624-5dcf06e86d26", "CreateDate": "2025-05-16T22:34:59.3436063-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-16T22:34:59.3436063-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2cb29f4a-b419-4fee-99a1-94a337387ec6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-16T22:34:59.3436063-07:00", "MeasurementValueNeededDate": "2025-05-16T22:34:59.3436063-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e6d6f058-26fc-4cd2-a971-80f8aec674e6", "CreateDate": "2025-05-16T22:34:59.3436063-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-16T22:34:59.3436063-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-05-16T22:34:59.3436063-07:00", "MeasurementValueNeededDate": "2025-05-16T22:34:59.3436063-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "aae70eac-c720-4390-9adf-fe207c30c541", "CreateDate": "2025-05-16T22:34:59.3436063-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-16T22:34:59.3436063-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-16T22:34:59.3436063-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "8b7a5369-bf4a-483a-9b9f-23f3395924b9", "CreateDate": "2025-05-16T22:34:59.3436063-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-16T22:34:59.3436063-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }