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": "c40eaf38-2c00-4166-a3e7-f4e154352f9f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d49ed40f-b378-4c32-8097-6d9d8694dd54",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "98755202-3d3d-45ff-9998-a47b531c8122",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "9aa9124f-8943-4da1-92d1-320b920ee562",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "71bd0591-14c0-4dfa-b2ff-264eaab1db87",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43cb1053-0be6-45f7-b573-44a3a690326d",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6a0d7447-6e3d-4cd1-82e2-d6f3c0258e88",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-23T23:38:15.6050346-07:00",
"MeasurementValueNeededDate": "2026-04-23T23:38:15.6050346-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "288cc139-6a79-44bf-8955-1dd039e303bf",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "012c6119-19cd-4269-93f6-c6d0301d90fe",
"EffectiveDate": "2026-04-23T23:38:15.6050346-07:00",
"StateType": {
"StateTypeId": "d77bee6c-cae3-4659-9ee7-356ba21ea1e4",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "71bd0591-14c0-4dfa-b2ff-264eaab1db87",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43cb1053-0be6-45f7-b573-44a3a690326d",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fa519709-9835-476b-987b-f202996d2561",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fec3d640-8715-4428-ad07-e537db1e219c",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "cb429e87-0bd8-4e04-9aba-6f959a6a52a7",
"EffectiveDate": "2026-04-23T23:38:15.6050346-07:00",
"StatusType": {
"StatusTypeId": "276a7a85-04fc-4988-8ed0-22b8e8310f13",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "71bd0591-14c0-4dfa-b2ff-264eaab1db87",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43cb1053-0be6-45f7-b573-44a3a690326d",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d9a7fdd1-b2b5-4e30-b7d8-b07a9ac38084",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "67fbbc38-4787-47b9-9b3f-af80d16103de",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3dca5367-eec1-4c59-a511-59eda0d77bc5",
"EffectiveDate": "2026-04-23T23:38:15.6050346-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b0440883-6bc2-46cb-8ad1-fd2cef9d5f43",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "228e3a3b-c0bc-444b-89d5-51d47a969e2b",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "be7e6e43-7831-4ef1-b6b9-611a37b644ff",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-23T23:38:15.6050346-07:00",
"MeasurementValueNeededDate": "2026-04-23T23:38:15.6050346-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bc06e853-8e76-4e50-9b6c-eb850cb974a4",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-23T23:38:15.6050346-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "293b70ff-60bb-4b20-bdcd-3f86b1ac9ff8",
"CreateDate": "2026-04-23T23:38:15.6050346-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-23T23:38:15.6050346-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}