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": "8178fd5f-569c-46bf-b20f-e509feee428e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "c9ca0960-4343-4176-8d69-a605555eafc4",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "42575dfe-da76-4ecc-bb0c-367205e89737",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ebdc8260-c04c-440f-bf0e-f64c0165a04a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "228fa55f-0075-4354-acce-57f1cf557ef8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b06b0afa-d74c-40e7-b05a-a5b26bf6c1bf",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "68da7578-0449-49d1-8a2a-14c4df3a265a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-28T14:59:21.8829626-08:00",
"MeasurementValueNeededDate": "2026-11-28T14:59:21.8829626-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "27e5362a-a867-407c-ab23-dd35e59d3677",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5a052abc-6595-43ef-8538-7cfa1b4d379d",
"EffectiveDate": "2026-11-28T14:59:21.8829626-08:00",
"StateType": {
"StateTypeId": "0aa21140-9bb7-4975-9f9d-a2f9ea0e4552",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "228fa55f-0075-4354-acce-57f1cf557ef8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b06b0afa-d74c-40e7-b05a-a5b26bf6c1bf",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b7db3c6c-01e5-4afb-be38-59ed887a3439",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "be3c2ed6-9238-4f43-8a8c-a65075410ce3",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b39101a2-faca-4187-aa00-3b4a4320a468",
"EffectiveDate": "2026-11-28T14:59:21.8829626-08:00",
"StatusType": {
"StatusTypeId": "f9211602-e420-40f3-85ef-831b625c10c1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "228fa55f-0075-4354-acce-57f1cf557ef8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b06b0afa-d74c-40e7-b05a-a5b26bf6c1bf",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b9f86026-ebe7-4b5a-ad5a-6ea0c4c36dac",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "05915b0e-b024-47fc-ad19-79fe07b381ee",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8d3a3fe1-1349-4d1c-83a8-d46d806e9d2d",
"EffectiveDate": "2026-11-28T14:59:21.8829626-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5c504a27-344a-41eb-b938-affc9023309a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dea1e6ad-0091-4226-9e27-a0047f21b58d",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "763be029-b774-4642-857b-312e24cbb3a2",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-28T14:59:21.8829626-08:00",
"MeasurementValueNeededDate": "2026-11-28T14:59:21.8829626-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e4227d48-cd5e-42e8-900f-77b97ab0155c",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-28T14:59:21.8829626-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3a55ee1f-acd5-4067-a58d-71b3dc1fe6de",
"CreateDate": "2026-11-28T14:59:21.8829626-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-28T14:59:21.8829626-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}