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": "c7235a51-1892-43b9-bd93-d21e06e6c7ad",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "defcbc3c-412d-42a0-9576-e36a507bfdf5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c88bb444-3a58-4b5b-8798-8faa8beff281",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "433d2e9d-6bea-4174-9001-248b0a8505dc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "530598af-3b58-476b-a4c5-c70aa1613b75",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "68e95c20-0948-4609-8122-4eabf2cec17e",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "22d2efff-2ca5-4ca5-a970-4d9dcbbbc9d3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T04:52:46.8288319-08:00",
"MeasurementValueNeededDate": "2026-02-02T04:52:46.8288319-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c3c6b1ae-b007-4ab3-b3e3-25beaf46200c",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "bd46a843-9f99-4e24-b47b-4a94a85dc9a6",
"EffectiveDate": "2026-02-02T04:52:46.8288319-08:00",
"StateType": {
"StateTypeId": "2604a203-9b99-4c0b-a96b-1d0897edc361",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "530598af-3b58-476b-a4c5-c70aa1613b75",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "68e95c20-0948-4609-8122-4eabf2cec17e",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4d49ee43-5b33-45a5-9119-0909578e7d34",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "597db137-476e-40fe-9db1-d44cbc4fca6f",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2b1934f8-2c8b-44e7-84b9-09adb8461d92",
"EffectiveDate": "2026-02-02T04:52:46.8288319-08:00",
"StatusType": {
"StatusTypeId": "6e26bf9f-5ff3-43e5-a494-7e96f8f9be7b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "530598af-3b58-476b-a4c5-c70aa1613b75",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "68e95c20-0948-4609-8122-4eabf2cec17e",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b0e6b414-27c9-4760-873c-ff30c37adae8",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e4b117ea-4a42-4139-a8ec-92af4de2ad15",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "706255c5-3b76-487d-81db-da1cc5caadb7",
"EffectiveDate": "2026-02-02T04:52:46.8288319-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "2e1c5851-b24c-4b4e-a202-fe9d80f38fc9",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f1f41521-6c0c-4f32-9fae-284fed2b79b6",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "06828f3b-af03-4f94-aec6-2bf205de3d88",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T04:52:46.8288319-08:00",
"MeasurementValueNeededDate": "2026-02-02T04:52:46.8288319-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "17ab874a-337b-484f-928c-a3b954679b0b",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-02T04:52:46.8288319-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "052adcf6-f077-401f-896c-d078dc5c8105",
"CreateDate": "2026-02-02T04:52:46.8288319-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T04:52:46.8288319-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}