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": "1afd622a-ace3-4e61-ab9b-be3f94e4300e", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e747cdf2-6de7-44af-b6a4-0b2d0c9f4e5a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "065e51b5-212a-4359-bb65-6e11a676adcd", "CreateDate": "2024-04-26T18:07:08.1935898-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-26T18:07:08.1935898-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "0d2e3df9-fcae-4895-8772-bd05b0c866d1", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ed853d88-d364-4661-a6f2-1ee2f7622338", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7cbfb726-0889-43c7-a646-c01c3cef77ac", "CreateDate": "2024-04-26T18:07:08.1935898-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-26T18:07:08.1935898-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "b95a02cb-dd8f-4038-95fa-26325ea9123a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-26T18:07:08.1935898-07:00", "MeasurementValueNeededDate": "2024-04-26T18:07:08.1935898-07:00", "SourceSystemId": "sample string 3", "CompanyId": "35fd1dc8-846e-458b-9b9b-ac0defe7b301", "CreateDate": "2024-04-26T18:07:08.1935898-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-26T18:07:08.1935898-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-26T18:07:08.1935898-07:00", "MeasurementValueNeededDate": "2024-04-26T18:07:08.1935898-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "07465c8b-0d14-41ca-8477-5a4a950fb917", "CreateDate": "2024-04-26T18:07:08.1935898-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-26T18:07:08.1935898-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-26T18:07:08.1935898-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "88f91ee4-402d-4f64-af19-5ccca96b3682", "CreateDate": "2024-04-26T18:07:08.1935898-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-26T18:07:08.1935898-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }