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": "d5ce4dd6-d6d2-4c42-9a85-38a10c36a910",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fdc76295-73ae-4c63-b9f3-c094452173d1",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f63b3d7a-7866-4347-9a85-f97f28179424",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b8cda183-eda1-4163-b62e-c8b21dbb5884",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "22be77d1-6bdd-4ce7-8d03-257b16182cc8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "da5de910-399b-4b90-a211-9d9fd057e540",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c334675c-2988-424b-b3a5-60f00c931147",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-24T08:50:49.7636102-08:00",
"MeasurementValueNeededDate": "2026-11-24T08:50:49.7636102-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e3a63ef-0bd9-4117-9a82-e911bdbf61b7",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "50fa6fa6-a34d-4b9e-a2bb-6049a12ba691",
"EffectiveDate": "2026-11-24T08:50:49.7636102-08:00",
"StateType": {
"StateTypeId": "f03e64ee-699c-4a44-9b7d-0f6eb43c68fa",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "22be77d1-6bdd-4ce7-8d03-257b16182cc8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "da5de910-399b-4b90-a211-9d9fd057e540",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "265e6bf1-91f2-40ef-b856-195767e54465",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "dbadafcf-c94e-4cf3-aa04-1f82069fb8d2",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c6385e5e-7031-429b-a6a3-d83d29b5261b",
"EffectiveDate": "2026-11-24T08:50:49.7636102-08:00",
"StatusType": {
"StatusTypeId": "65ebe3dd-63ca-427b-b1a5-785ac6498329",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "22be77d1-6bdd-4ce7-8d03-257b16182cc8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "da5de910-399b-4b90-a211-9d9fd057e540",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a379c9de-3884-451d-96e0-e4a495da864f",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5df283a6-8fcb-4380-8ca6-fa2f3388bb9a",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ba3f35c2-76bd-47f1-a265-fe6c3efec6cf",
"EffectiveDate": "2026-11-24T08:50:49.7636102-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "51581700-00d7-489d-a723-6034d8a95a39",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f329e7e3-d5aa-45c3-94d4-6f17909a9b79",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f703bf3a-8d77-427d-a7a9-aa2b36c1cafc",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-24T08:50:49.7636102-08:00",
"MeasurementValueNeededDate": "2026-11-24T08:50:49.7636102-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4926efd9-1f00-46a2-972d-541dab7da052",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-24T08:50:49.7636102-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "77aada3e-b3f6-41ff-9346-1e30b7a3d88f",
"CreateDate": "2026-11-24T08:50:49.7636102-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-24T08:50:49.7636102-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}