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": "05fa6373-db06-445f-9cca-b6937401ec53", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "2ff4cc91-bacc-4140-8bae-7e1de03bc083", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "89a88216-453e-4c4f-8254-d05e59a4e7ab", "CreateDate": "2024-11-22T14:02:07.8354253-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-22T14:02:07.8354253-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "89941b04-acae-443e-b455-707d6ad869dc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2d8b74f0-a55e-4927-b795-8f623ca944f4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3ef9c499-3bf5-4927-a260-f0f70d3f15e4", "CreateDate": "2024-11-22T14:02:07.8354253-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T14:02:07.8354253-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3fd33f5e-416f-4941-bb1e-bcc850225bb0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T14:02:07.8354253-08:00", "MeasurementValueNeededDate": "2024-11-22T14:02:07.8354253-08:00", "SourceSystemId": "sample string 3", "CompanyId": "f7b8be04-e915-4b85-b2a7-2c38cabe3303", "CreateDate": "2024-11-22T14:02:07.8354253-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T14:02:07.8354253-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T14:02:07.8354253-08:00", "MeasurementValueNeededDate": "2024-11-22T14:02:07.8354253-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5014b763-af35-43e7-8e5e-99e72bb974a0", "CreateDate": "2024-11-22T14:02:07.8354253-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T14:02:07.8354253-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-22T14:02:07.8354253-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "bc15ef7f-a16e-41fe-8ea0-dc7192a8e500", "CreateDate": "2024-11-22T14:02:07.8354253-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T14:02:07.8354253-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }