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": "cc7578e8-b5ae-4582-a045-85e5f9a58db9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "8b442c0e-4f28-4962-a46d-473ea785477d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "97c5f81a-f7c9-40fb-813e-df7d770f5cad",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "45cd7508-c81b-4190-8080-37d3ca3c2383",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e2535d45-3984-4229-885c-ae87f354cc02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8af8de87-7902-47c6-a719-c58b1f5d4eaf",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "50d526ab-d1ee-477c-9f72-24a48a0f69ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-17T05:27:36.139243-08:00",
"MeasurementValueNeededDate": "2026-11-17T05:27:36.139243-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "748ab214-56ab-4262-809e-d5fd1eaef7d4",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2e0c8904-ff09-4511-b43b-dad657ffdd6d",
"EffectiveDate": "2026-11-17T05:27:36.139243-08:00",
"StateType": {
"StateTypeId": "6592deab-d3c8-4878-a738-88dc3e408b7a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e2535d45-3984-4229-885c-ae87f354cc02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8af8de87-7902-47c6-a719-c58b1f5d4eaf",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "544f81e7-c2ff-4c83-971f-01a8a13f7703",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7c07e783-ebb4-4857-99d9-d780c5853f7b",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ef9f3f56-e5e6-4a3b-9016-ea0446e674ee",
"EffectiveDate": "2026-11-17T05:27:36.139243-08:00",
"StatusType": {
"StatusTypeId": "1a5a7319-c090-4a50-9071-971bf6baea91",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "e2535d45-3984-4229-885c-ae87f354cc02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8af8de87-7902-47c6-a719-c58b1f5d4eaf",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "409a1fb5-f1d4-43b4-9adc-e46b9a4f0979",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3c42c264-5c7b-4f3d-827d-8eefd720946f",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5259c4cd-2548-4e27-8707-265c1478c199",
"EffectiveDate": "2026-11-17T05:27:36.139243-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "7786bde0-77a3-4474-9f3d-acda4163d02d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e33ef6c4-0921-420f-8411-22da34465015",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "91409169-304d-42f2-aac7-de3719049cfc",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-17T05:27:36.139243-08:00",
"MeasurementValueNeededDate": "2026-11-17T05:27:36.139243-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5c52b83a-071d-408d-955c-422491cd6c9f",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-17T05:27:36.139243-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d4eb1a5e-8c97-4991-995c-933afa9901ee",
"CreateDate": "2026-11-17T05:27:36.139243-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T05:27:36.139243-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}