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": "9d534724-43d5-4854-97b9-e45cf32a05bf",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3e14ac06-9f64-440b-9c4b-3be8235affe5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ba6b4930-fb5a-4c5d-aabc-771662511b3f",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a395961d-5ddf-44fe-a9f3-d9a1b90497ec",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8c22ea65-be3e-494b-83db-a51eb657f100",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ae63c632-2695-4902-9854-b010d6452933",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "621ce81b-5cf6-436d-85ae-463201c96d35",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T17:02:50.0797843-07:00",
"MeasurementValueNeededDate": "2026-06-28T17:02:50.0797843-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fdc48f44-bbc2-4695-9c3e-f93c917e5c31",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "302fc1f6-e2c4-4dbe-8864-f328fae153c6",
"EffectiveDate": "2026-06-28T17:02:50.0797843-07:00",
"StateType": {
"StateTypeId": "a48bc50b-9179-434a-97d8-6332ba8fbb2a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8c22ea65-be3e-494b-83db-a51eb657f100",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ae63c632-2695-4902-9854-b010d6452933",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e88f1f74-7895-4593-87b9-9caf45855754",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "31841dfa-7bf7-4237-a111-1e1552e280ff",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "434643be-9f54-4e13-9f3d-680042e1e7f4",
"EffectiveDate": "2026-06-28T17:02:50.0797843-07:00",
"StatusType": {
"StatusTypeId": "f8067018-7f6a-48a1-b6e1-9caf67d1c1c3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8c22ea65-be3e-494b-83db-a51eb657f100",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ae63c632-2695-4902-9854-b010d6452933",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "032a7fa2-f8f1-458d-b1a8-073cb4379e3f",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "31c35369-1671-42b0-b3ec-84a0126154d3",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e2cba912-112f-47ef-92fc-a1fcfd6dc75a",
"EffectiveDate": "2026-06-28T17:02:50.0797843-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "85d7dd81-b8a1-4e30-b520-473c87218b57",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "77f4ed93-5736-4a20-a2d9-e2378000a236",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "74bc7da8-ebeb-4066-aa48-995c3bd7ac4c",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-28T17:02:50.0797843-07:00",
"MeasurementValueNeededDate": "2026-06-28T17:02:50.0797843-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "79b51aae-d9f1-4afb-89e7-f886914f65be",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-28T17:02:50.0797843-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ef635ed2-de67-4f71-a5c9-37d2ade1db30",
"CreateDate": "2026-06-28T17:02:50.0797843-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T17:02:50.0797843-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}