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": "58e4aa2c-917d-4ac3-824d-38bc0d07dcb3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "29b67bfc-eede-424c-ba29-65ecb1ccb8a2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1ee3c01a-5396-42e8-aba7-47afefee5428",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7dd4157e-430a-43aa-96af-167ee43a3b8e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5bec3d90-0d81-4c59-92bd-785543da2b65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "072beffa-0fd7-4e95-8d82-49de7f9facfb",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7c638e68-fed7-4582-adb3-a14b12643bf8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-17T09:18:09.4035476-07:00",
"MeasurementValueNeededDate": "2026-07-17T09:18:09.4035476-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "05455e97-1403-4f8f-ab64-8df7060d520c",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2cc119af-93e9-4d70-96e9-11ac9184c737",
"EffectiveDate": "2026-07-17T09:18:09.4035476-07:00",
"StateType": {
"StateTypeId": "6ded6b8f-f8ed-4e6e-968a-f99761affa02",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5bec3d90-0d81-4c59-92bd-785543da2b65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "072beffa-0fd7-4e95-8d82-49de7f9facfb",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "aaff88c4-4c84-4bf7-978d-da45be03e264",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "69fac611-7937-4322-a94b-5d0a9665ca7e",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a0dbd433-86c3-44c1-9960-40920b864335",
"EffectiveDate": "2026-07-17T09:18:09.4035476-07:00",
"StatusType": {
"StatusTypeId": "17f3adca-adb6-425b-abd1-03b12215205c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5bec3d90-0d81-4c59-92bd-785543da2b65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "072beffa-0fd7-4e95-8d82-49de7f9facfb",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "eb203604-5cb7-4f9f-89f5-75b09de7b3fd",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4ce673ce-60b5-44ad-8366-f2018ca6c5b9",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8164d286-9b5f-45de-8137-24dee7ffc570",
"EffectiveDate": "2026-07-17T09:18:09.4035476-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ea1a2aab-0576-4595-b2e9-c23108641b1e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a9c702c0-bbed-4064-9126-5663ff4d0594",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0d3ba615-f5af-4d91-b158-36b450be407f",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-17T09:18:09.4035476-07:00",
"MeasurementValueNeededDate": "2026-07-17T09:18:09.4035476-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0f242713-75e3-4b1f-a4d0-c1e8ba5631f7",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-17T09:18:09.4035476-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c16554fc-2830-464d-965e-20e9c58e11bf",
"CreateDate": "2026-07-17T09:18:09.4035476-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-17T09:18:09.4035476-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}