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": "5847094c-7905-4194-a5b3-8fdf228782e3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "358328b2-1917-4c14-9c70-4f4981d6d411",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7a3bbc67-b3ed-4766-bda6-fc3d35b876ad",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b23a2264-0e79-4199-bc4d-c4a6d9976333",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e9cec4f0-f246-4341-b828-9db5e02b2024",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a87bba9-00d7-4d58-837a-c17ed7aa8531",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "0ec270e9-5d65-43a9-8c7a-c491c71e1557",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T17:51:01.0861583-07:00",
"MeasurementValueNeededDate": "2026-08-31T17:51:01.0861583-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e7e50971-951e-4eea-8ee1-068793654440",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "660aed0f-18d9-443b-abfe-235819f2d400",
"EffectiveDate": "2026-08-31T17:51:01.0861583-07:00",
"StateType": {
"StateTypeId": "025eaa8d-394b-49f5-a78e-e13620f0c0ee",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e9cec4f0-f246-4341-b828-9db5e02b2024",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a87bba9-00d7-4d58-837a-c17ed7aa8531",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5d80fef2-2ce9-40fa-933e-e92471c68582",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c2810e25-c928-4ea5-8f51-3c642bf79074",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7939ddd7-a5e3-46c4-934e-4f83e6c09abc",
"EffectiveDate": "2026-08-31T17:51:01.0861583-07:00",
"StatusType": {
"StatusTypeId": "bf917cd8-6314-45c3-b879-3ff5b5cbf00b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "e9cec4f0-f246-4341-b828-9db5e02b2024",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a87bba9-00d7-4d58-837a-c17ed7aa8531",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d1109c7b-961d-4142-beb7-2fa10cdb55d8",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "31fe2e95-7d42-40b2-8252-38096f52c266",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5d217cc0-ca89-4a01-a1bf-2e21266396c1",
"EffectiveDate": "2026-08-31T17:51:01.0861583-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f6396b57-b988-4512-b4ce-a92a57cc7da1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e858d406-ad06-4201-9dfe-85619ce9b059",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "134b8cc5-8171-4ba2-9220-b32bbead1888",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-31T17:51:01.0861583-07:00",
"MeasurementValueNeededDate": "2026-08-31T17:51:01.0861583-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0152d47a-be03-4e16-9250-85f8622f7eb9",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-31T17:51:01.0861583-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "91fa774c-9efe-44c1-adf6-dc2d22ccb742",
"CreateDate": "2026-08-31T17:51:01.0861583-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T17:51:01.0861583-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}