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": "0a0e93b7-3a09-4fde-9906-2d0637c9f62a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6e7bc272-4581-4612-983f-0775279243e7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "73ee5b1d-453f-444b-b642-ef29ae9f27b7",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4375f971-2ad1-461c-99ef-66ac679acdca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4be81959-8e96-49eb-9b83-782bd6532908",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "26f172ef-87c2-4569-9493-089e4c868cf4",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b08bfcbb-6b42-4c2c-aa49-e3734991e7d6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-29T18:05:47.5159666-07:00",
"MeasurementValueNeededDate": "2026-09-29T18:05:47.5159666-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "266cccce-4111-4791-b47a-790f3b5e63d2",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "ba7403c5-2edd-43af-96c7-4697267c267b",
"EffectiveDate": "2026-09-29T18:05:47.5159666-07:00",
"StateType": {
"StateTypeId": "b151101d-dbf0-41ce-872f-3edc9debd5c3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4be81959-8e96-49eb-9b83-782bd6532908",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "26f172ef-87c2-4569-9493-089e4c868cf4",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f3505829-13f3-4d52-8226-fc1b74ac67e6",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2af8b7b3-be32-4091-a4e5-9c9d3e44d258",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b0f30970-0828-4b64-92ad-441922b05b73",
"EffectiveDate": "2026-09-29T18:05:47.5159666-07:00",
"StatusType": {
"StatusTypeId": "d0aaf2bb-8adc-400e-85d9-a9319c204ab2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4be81959-8e96-49eb-9b83-782bd6532908",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "26f172ef-87c2-4569-9493-089e4c868cf4",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6706f864-9099-4081-8050-512a97624744",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d7c733c0-b140-40a6-b21b-5a15e8099c68",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c8d54d6e-f697-4a47-84e0-3d2faa3c9314",
"EffectiveDate": "2026-09-29T18:05:47.5159666-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "af524d5e-8eb8-447f-a9cf-1de3f2421984",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1912780e-19a7-4349-a4e9-72c609bb160c",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a7e981e9-cc9f-4722-b94a-d36b8461d00e",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-29T18:05:47.5159666-07:00",
"MeasurementValueNeededDate": "2026-09-29T18:05:47.5159666-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c0bacc1f-54a2-48b4-88d3-bf628d0889bb",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-29T18:05:47.5159666-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "edbf81c1-70c4-4d0d-9080-71ed64bb5955",
"CreateDate": "2026-09-29T18:05:47.5159666-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-29T18:05:47.5159666-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}