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": "0c133eb0-e215-4528-b3b2-72c1c56212bb", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "decfa3ca-39f9-42b4-b5f6-c7db9805872d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b2de880f-de50-471c-b245-8078bf27c133", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "731eebd0-b2be-4c19-bb37-54123b13599d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9ab60af0-4619-4ea6-be88-464c62685cc9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652d079c-8a7f-49ff-aa2b-5dbd203cb3f2", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "120cec40-908a-42b1-b3bb-8ecc32523d11", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:25:40.2707284-07:00", "MeasurementValueNeededDate": "2025-06-27T07:25:40.2707284-07:00", "SourceSystemId": "sample string 3", "CompanyId": "55e112f9-86f7-4b59-8cd2-b2af59b61b79", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "db0598a5-393e-4504-ad33-3f7392d90d74", "EffectiveDate": "2025-06-27T07:25:40.2707284-07:00", "StateType": { "StateTypeId": "f4cbe3f9-f829-4bc1-8888-1bac9f6ef351", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9ab60af0-4619-4ea6-be88-464c62685cc9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652d079c-8a7f-49ff-aa2b-5dbd203cb3f2", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "31a313a8-31e8-43ea-a604-8ba24ab4fc9b", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e319c586-402c-4304-b8fb-7f95682ae14e", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7c1c5bdc-ee9e-4379-bc57-ce30abf7ca7d", "EffectiveDate": "2025-06-27T07:25:40.2707284-07:00", "StatusType": { "StatusTypeId": "2e61ef9d-91ab-400f-8f1c-36f1897877cd", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9ab60af0-4619-4ea6-be88-464c62685cc9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652d079c-8a7f-49ff-aa2b-5dbd203cb3f2", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "21aba368-ed55-4cc0-9c40-6dbee1dbe298", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cdceec78-41c0-4f62-b64a-d70ffead3563", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ec43b118-3088-427a-9d81-7da90987cf72", "EffectiveDate": "2025-06-27T07:25:40.2707284-07:00", "WellPurposeType": { "WellPurposeTypeId": "d72e16a3-ef9d-42db-b8e2-e2a171329722", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "491b9eb8-46a5-4040-874a-3ac1a2586b0f", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e75dcfe0-f495-4d1d-823f-995349cabcc1", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:25:40.2707284-07:00", "MeasurementValueNeededDate": "2025-06-27T07:25:40.2707284-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "8ee519db-c2cc-4c4d-97f3-eff969b46e74", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-27T07:25:40.2707284-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "92185fb3-1e9a-460b-94e2-b90071d49040", "CreateDate": "2025-06-27T07:25:40.2707284-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:25:40.2707284-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }