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": "bf299a5f-f7a9-44c1-a9a0-4c6b994de778",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0971361d-9e22-4bbd-83b6-d8db830d8660",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0c12b130-1197-4659-8ec3-129f91a2d4a6",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4edb2b92-2a0d-4ba4-94c1-c098ef550098",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4c45eeb0-a8f1-4abf-8203-877b7551f314",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ed00bf88-247e-4aa6-b298-38c0a0f09a7d",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "83ba59f6-26b1-44a8-bf98-ace1bdb10d08",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-03T22:58:28.0394942-08:00",
"MeasurementValueNeededDate": "2026-11-03T22:58:28.0394942-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f03ae3a1-92c1-478f-a103-5155377b3e96",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1184ba04-dd6f-4ca1-b627-8db096488ecd",
"EffectiveDate": "2026-11-03T22:58:28.0394942-08:00",
"StateType": {
"StateTypeId": "5b11db23-188c-476b-bd36-145287b49521",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4c45eeb0-a8f1-4abf-8203-877b7551f314",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ed00bf88-247e-4aa6-b298-38c0a0f09a7d",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "93cec8ba-9e64-4c51-9fcd-ccf890559ead",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a841bfe7-4451-4ef8-b3a4-6ce6411712b4",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "108582ed-e551-4355-ab4d-cffb670d5a7a",
"EffectiveDate": "2026-11-03T22:58:28.0394942-08:00",
"StatusType": {
"StatusTypeId": "a52d445c-7678-4475-af63-1464e55e2ddb",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4c45eeb0-a8f1-4abf-8203-877b7551f314",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ed00bf88-247e-4aa6-b298-38c0a0f09a7d",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8bb950c2-e0f3-40fe-b473-702156f692b4",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "646cbe5f-adbf-4bfd-8bf9-d5b0ac2c3f38",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9c7182ce-dd89-486f-85c7-2397a3976c66",
"EffectiveDate": "2026-11-03T22:58:28.0394942-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "bdbf6180-2498-4753-be08-6b509b8999ff",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5a5060b6-85dd-4e18-add3-19e3d61352c7",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5e6b6b6e-e805-4150-846b-31c87db565da",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-03T22:58:28.0394942-08:00",
"MeasurementValueNeededDate": "2026-11-03T22:58:28.0394942-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e508593f-3da1-4744-b4de-278f41f11ef1",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-03T22:58:28.0394942-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "36a51e97-2abb-41b5-afee-8173498039ca",
"CreateDate": "2026-11-03T22:58:28.0394942-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-03T22:58:28.0394942-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}