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": "b2af3847-e7c4-4f51-aaf1-913ca6d8457e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "512a06a7-4a09-4fbf-9332-8fdb7d9e6c73",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "923276f8-13b5-47e1-873c-9cf8ebfccddb",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f7a93c58-2a83-46f7-a43d-0b5a10bae0ac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "45ea9b3e-d205-4e78-a4ac-f7ffb020f9de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a04fc439-2fc9-4011-bb75-8d634b78bc3b",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "725ad89f-e617-442b-95a2-f8900ff0a052",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-06T11:33:09.1325505-07:00",
"MeasurementValueNeededDate": "2026-04-06T11:33:09.1325505-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0b34b0ac-cec7-4805-b090-fc61ae6c43f6",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "b5b5a224-1d9a-42e2-91cf-7ede84e56603",
"EffectiveDate": "2026-04-06T11:33:09.1325505-07:00",
"StateType": {
"StateTypeId": "824eb7f7-7cbf-477a-af58-5211178aef69",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "45ea9b3e-d205-4e78-a4ac-f7ffb020f9de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a04fc439-2fc9-4011-bb75-8d634b78bc3b",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "63763ecb-635f-456a-bb22-d8123bbce5f3",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c59a6fd3-5ed5-4439-bd49-45da37c4c5da",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "4abf0ffc-92d8-46e3-b9f3-941e698a27f5",
"EffectiveDate": "2026-04-06T11:33:09.1325505-07:00",
"StatusType": {
"StatusTypeId": "d4af984e-79c2-4e3e-afe5-5f9de66b5912",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "45ea9b3e-d205-4e78-a4ac-f7ffb020f9de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a04fc439-2fc9-4011-bb75-8d634b78bc3b",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9d44f388-b9ee-4706-977c-443bda426c24",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b3df86b1-2917-4f5f-adca-207ce9ef2683",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9bcfaf31-aa19-43b2-b236-d3e0617ef53b",
"EffectiveDate": "2026-04-06T11:33:09.1325505-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f29cf2d5-b3d4-48ea-86fa-ef7cefff43cd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7c6d6694-60b2-4988-ba82-d3075d8f5da7",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "739746e6-6d8b-4c17-8762-19716ed4e085",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-06T11:33:09.1325505-07:00",
"MeasurementValueNeededDate": "2026-04-06T11:33:09.1325505-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bf25e97c-a9fc-4e28-a240-988459ca0df9",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-06T11:33:09.1325505-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "eb744ef9-769f-4fa2-9836-6963b16ebd6b",
"CreateDate": "2026-04-06T11:33:09.1325505-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-06T11:33:09.1325505-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}