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": "e555ae8c-75e8-4f73-9341-b2e099b742c8",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ec5d401b-6b38-4503-882a-bce81cfec4fe",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a207ec4c-f7a2-4e58-829d-a8fead1eab98",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "cbc371ec-272a-4ccb-91cd-07602d01525e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "aca4729f-6435-4376-b5cc-b74d5af3b092",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de55f75e-8808-475f-bc15-a2acffdd2dbb",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4b3575cd-2513-44a6-abd9-4278f2c54555",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-12-03T14:11:09.1780271-08:00",
"MeasurementValueNeededDate": "2026-12-03T14:11:09.1780271-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a68b3df1-0630-4a86-bb14-fa1f7efdf464",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "56a4d410-8d75-43d5-875c-7315e59042b7",
"EffectiveDate": "2026-12-03T14:11:09.1780271-08:00",
"StateType": {
"StateTypeId": "84e208db-fae9-480f-b216-e16721b6e94d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "aca4729f-6435-4376-b5cc-b74d5af3b092",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de55f75e-8808-475f-bc15-a2acffdd2dbb",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "93c04e08-0cdf-40d6-9926-0422fecebe8e",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "926101aa-1223-45b3-ae19-03906d5ce811",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8cf1a896-1984-4718-967b-e5aa2e008d39",
"EffectiveDate": "2026-12-03T14:11:09.1780271-08:00",
"StatusType": {
"StatusTypeId": "971ae9a2-5d63-4660-964f-7daed19f885d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "aca4729f-6435-4376-b5cc-b74d5af3b092",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de55f75e-8808-475f-bc15-a2acffdd2dbb",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "7d8a7163-40df-4179-91c5-ff4c4a4441d0",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "168c8ea6-d7e2-44c5-8909-5bb7e75efca1",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e055998c-3b5d-4a71-b099-9dd4e0d0ac49",
"EffectiveDate": "2026-12-03T14:11:09.1780271-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "76ac44fa-95a9-479d-bc97-8358ea9f0ad4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "95af5901-f69e-4858-9cce-d897853205a1",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5b4dfb2e-e411-49ef-be74-0f2082322df0",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-12-03T14:11:09.1780271-08:00",
"MeasurementValueNeededDate": "2026-12-03T14:11:09.1780271-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "29a68386-6f5f-4d15-831d-a5ffbc3da2c2",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-12-03T14:11:09.1780271-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "9095266f-af31-4898-b32a-23fcda1d43fe",
"CreateDate": "2026-12-03T14:11:09.1780271-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-03T14:11:09.1780271-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}