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": "397b7a19-3b0a-4257-9ed0-7bf089f29a8b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4da0af40-77bc-48ff-a3a0-4d7330c55634",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4e7584c9-6fa1-4cb0-b0ac-e972e883fa6c",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c0f8d724-9079-4567-b3ee-8a87fe89e715",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ccc72bfa-4d59-48fa-8a06-cd980c1cf8a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ab54512d-ee63-44da-bab3-65ffc645155e",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c0b091d5-d09d-49b0-9faa-59625a8cb571",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-31T15:20:44.6617684-07:00",
"MeasurementValueNeededDate": "2026-05-31T15:20:44.6617684-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "dec1e2ad-e72a-4921-abb2-08c76ecaedf4",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f250f277-3404-4980-b592-53f5a7dcd4b5",
"EffectiveDate": "2026-05-31T15:20:44.6617684-07:00",
"StateType": {
"StateTypeId": "98fb29eb-f00b-4357-95a6-2744b107d7b3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ccc72bfa-4d59-48fa-8a06-cd980c1cf8a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ab54512d-ee63-44da-bab3-65ffc645155e",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "72c8ecf4-2667-4d98-bdc0-ce51213794e3",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "81f6da14-744f-4390-83b4-5f722cce4248",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f6c91700-f377-456a-9fa6-2a2eb862de8c",
"EffectiveDate": "2026-05-31T15:20:44.6617684-07:00",
"StatusType": {
"StatusTypeId": "406aeb7e-f75b-49a9-8f12-a5523c62f318",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ccc72bfa-4d59-48fa-8a06-cd980c1cf8a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ab54512d-ee63-44da-bab3-65ffc645155e",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6dd3adb2-d3f4-4905-a5de-0d8a414cd984",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2e4e5aec-3452-43f9-a616-6852fc8814c1",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c25de707-8ef9-4f41-bc41-494daeec27b9",
"EffectiveDate": "2026-05-31T15:20:44.6617684-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "8c0b5e87-7e85-4619-9b4c-6d1e630d9b21",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dbfa7aa0-9ab0-4faa-a11b-e14c9974fb05",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "98e5b236-0b5c-4c3c-a0c5-afb3ddff46ba",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-31T15:20:44.6617684-07:00",
"MeasurementValueNeededDate": "2026-05-31T15:20:44.6617684-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "19704b44-8f37-4d69-8ef2-cb4d696f5f24",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-31T15:20:44.6617684-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "9bf1e0ee-541e-4d92-addf-318933e62364",
"CreateDate": "2026-05-31T15:20:44.6617684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T15:20:44.6617684-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}