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": "851b49b1-c9ad-47f5-8eee-529954b873e4",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "59851161-60e5-42ef-8b3e-843d982cb3d0",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1d15578e-0a83-4d49-a6d7-465be083e134",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1992f489-d32b-46f0-9d4f-11cf0a601fac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "18513154-39a3-4032-bdd8-60cb8b46d0f4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a1145d6-2b62-4f20-950f-175bd0a0ec4b",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e94d6c00-a0ee-4d45-90e2-2de63d4e244e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-05T03:59:11.8522153-07:00",
"MeasurementValueNeededDate": "2026-09-05T03:59:11.8522153-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9708ee0a-3410-4c4e-83e2-ade307bf5f79",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2292ef8c-ae0a-4c0f-a089-e3a2991ad318",
"EffectiveDate": "2026-09-05T03:59:11.8522153-07:00",
"StateType": {
"StateTypeId": "eb8c4765-8e12-4a64-b80b-c41e85cdd4fe",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "18513154-39a3-4032-bdd8-60cb8b46d0f4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a1145d6-2b62-4f20-950f-175bd0a0ec4b",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "05618699-285b-4f01-81dd-059d80901422",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5382758c-c221-4337-b77a-cdd81285a2cc",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2421933c-37fd-479f-97c0-5138c01898c0",
"EffectiveDate": "2026-09-05T03:59:11.8522153-07:00",
"StatusType": {
"StatusTypeId": "5ded525f-824c-4e5f-a100-4b896ba6af06",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "18513154-39a3-4032-bdd8-60cb8b46d0f4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a1145d6-2b62-4f20-950f-175bd0a0ec4b",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "91920a6b-f2e3-4d53-bb14-3f7c3562d641",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "383e44e5-ea71-4390-9c20-09ba2448adee",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3f34ad24-a590-4ce2-85c9-a90f7b05bdc3",
"EffectiveDate": "2026-09-05T03:59:11.8522153-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c7914a07-6ef5-4369-9aa0-5a06a9488a4a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9c7ab276-8248-4c56-b208-d0a8ae5b259f",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7704fbc2-dee4-40e4-936f-73efb9b80e44",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-05T03:59:11.8522153-07:00",
"MeasurementValueNeededDate": "2026-09-05T03:59:11.8522153-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4e9ca605-1c69-4b21-9706-a64311e226c4",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-05T03:59:11.8522153-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a0b9c140-1159-4d3b-b9df-240f86e2d707",
"CreateDate": "2026-09-05T03:59:11.8522153-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-05T03:59:11.8522153-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}