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": "cdfde69e-a1ee-429a-ad8d-bf369b497d18", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "14ee2837-8042-4413-b1df-b428f38baa0a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "4884f955-22a8-4027-8add-dfb6189937cc", "CreateDate": "2024-12-08T08:05:01.315853-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-08T08:05:01.315853-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "c5722125-2989-4faf-863a-faf771eb6581", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6295fa35-186b-4f70-b3a1-2da8251ae7e5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2f4b7559-8cbd-43fa-baf9-75bcb7c03c06", "CreateDate": "2024-12-08T08:05:01.315853-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:05:01.315853-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "c6e6c2a8-3314-4830-8fc8-c5ae8f2afa04", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T08:05:01.315853-08:00", "MeasurementValueNeededDate": "2024-12-08T08:05:01.315853-08:00", "SourceSystemId": "sample string 3", "CompanyId": "90204277-57f9-4666-8a5e-4fd35aa65858", "CreateDate": "2024-12-08T08:05:01.315853-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:05:01.315853-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T08:05:01.315853-08:00", "MeasurementValueNeededDate": "2024-12-08T08:05:01.315853-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e5599f54-6c24-4ee2-9df1-b97634e61326", "CreateDate": "2024-12-08T08:05:01.315853-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:05:01.315853-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-08T08:05:01.315853-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "7fcc2a67-7156-4b25-9a61-eb4d95e77dfd", "CreateDate": "2024-12-08T08:05:01.315853-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:05:01.315853-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }