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": "a46633c1-a5e4-485e-a155-6fe22a35a578",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3dbab23d-d24d-4b36-be30-ff04831486a2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f190387f-7959-4751-bb3d-cd134032c9e4",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b2cc3c24-e97c-4bc5-93da-9b2a0e520379",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "50fdca7a-377f-4714-b05e-d561b4f9f935",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0b923479-85ab-4d8d-816f-ae2ea93bbd75",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "dce43b1a-5882-4fe4-b43d-1ddbc4ef19f1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-08T13:16:43.0786797-08:00",
"MeasurementValueNeededDate": "2026-02-08T13:16:43.0786797-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cd04ae1a-9d3c-45ad-9326-73fcd3c9dd9e",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "77cd61f4-5b0a-4880-955c-17c2c34d9ff8",
"EffectiveDate": "2026-02-08T13:16:43.0786797-08:00",
"StateType": {
"StateTypeId": "2ccfff66-f11b-4859-a365-1297b0b22057",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "50fdca7a-377f-4714-b05e-d561b4f9f935",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0b923479-85ab-4d8d-816f-ae2ea93bbd75",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3a211552-d7bd-4ad2-928c-3871e16ad619",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1f8e7602-25e7-4f23-9cc2-9ad40ea55f42",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "cb29445e-a6b5-4644-bdbf-7dfc2a3e0a61",
"EffectiveDate": "2026-02-08T13:16:43.0786797-08:00",
"StatusType": {
"StatusTypeId": "8b54c262-342a-4ef4-ab02-0da76cdffe01",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "50fdca7a-377f-4714-b05e-d561b4f9f935",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0b923479-85ab-4d8d-816f-ae2ea93bbd75",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "190487f6-c63a-4846-ae93-0dc66e55fedf",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "13e4e9ef-923d-468c-b443-f742de8b23d2",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "379e8434-3762-45d7-a6e0-b8dd4fdedad7",
"EffectiveDate": "2026-02-08T13:16:43.0786797-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "fe76a198-4b13-4128-8c59-74f097d751e6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0d5495f4-b3b9-46cb-bd27-bc5828c7626d",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "66076650-22b4-4f20-a89b-f51127cffd12",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-08T13:16:43.0786797-08:00",
"MeasurementValueNeededDate": "2026-02-08T13:16:43.0786797-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a7a054af-b327-4b26-b114-334c4dec02ac",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-08T13:16:43.0786797-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "7661f4fd-852b-4284-8dcc-b66b7c56ab6d",
"CreateDate": "2026-02-08T13:16:43.0786797-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:16:43.0786797-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}