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": "b2afebd2-cded-4a9e-aafe-04edc3effab4",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "1638b649-6158-4f86-8bab-347b17332435",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7b1c3b2e-ba5d-4d92-859a-88ac9f9b3c05",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7546f030-8c38-4574-ade0-bbd277ba3de4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "06fa14b0-e042-453c-bc4b-9263f8700352",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe1bd2ba-cf6d-4935-88f8-10d1cbea4650",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5c367567-da26-42a2-a325-f9efe974931e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-08T02:40:47.008787-08:00",
"MeasurementValueNeededDate": "2026-11-08T02:40:47.008787-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4f60f28b-ad23-4ea1-8f2e-1e22c479917d",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "979a551e-7bb2-4ddc-b5cd-2460ee638805",
"EffectiveDate": "2026-11-08T02:40:47.008787-08:00",
"StateType": {
"StateTypeId": "b0cca576-f321-408f-b123-01ed44a2f397",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "06fa14b0-e042-453c-bc4b-9263f8700352",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe1bd2ba-cf6d-4935-88f8-10d1cbea4650",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "17474f54-fb92-4536-bfdb-1c8d98025824",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4ba635da-fec7-426f-9f66-a590bf372eac",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d9b054c9-46aa-4362-9871-cc262c4f993e",
"EffectiveDate": "2026-11-08T02:40:47.008787-08:00",
"StatusType": {
"StatusTypeId": "707401b5-3a26-4205-a131-3664cd09bcec",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "06fa14b0-e042-453c-bc4b-9263f8700352",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe1bd2ba-cf6d-4935-88f8-10d1cbea4650",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "3ee41f6e-5949-4c85-bf7d-a6d5f4977c73",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e3d86e53-738a-46bb-a1c4-1e18319f889e",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "255daf47-a805-47d7-bc80-1b8f1afc1bcb",
"EffectiveDate": "2026-11-08T02:40:47.008787-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "9bf62823-4789-4293-8244-e41dd11df21c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "be8de8ac-4915-4ec0-8fdb-65f7f7433007",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8dabc06a-cae3-4200-92e6-6fdf48032350",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-08T02:40:47.008787-08:00",
"MeasurementValueNeededDate": "2026-11-08T02:40:47.008787-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ff9976eb-b952-4183-a500-94929b9d38cb",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-08T02:40:47.008787-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "561f2922-4afb-4040-ac1f-9862a599f3d7",
"CreateDate": "2026-11-08T02:40:47.008787-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-08T02:40:47.008787-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}