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": "8e07a11f-66df-4d68-8e93-534fd760b290",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "47d740a9-797a-4dc2-a9ce-811f87e3c1da",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7f4be356-2dc3-4e30-9d86-6bee7cac90fb",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "be4ee708-8581-4051-8458-09c2b2763619",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ff6b44a2-7f6b-44a4-85b2-7497b26fa31e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1d8de7b-9702-445a-9dca-917991ec1520",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "21e902d7-c770-4e00-b3c3-75c5d7b2d1a3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T09:05:44.3420265-07:00",
"MeasurementValueNeededDate": "2026-07-15T09:05:44.3420265-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bc335019-4452-471a-874f-07e0cbb6a4bf",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "27acc78f-a912-4f8d-b90e-112c818f8a11",
"EffectiveDate": "2026-07-15T09:05:44.3420265-07:00",
"StateType": {
"StateTypeId": "3a35d90a-000c-4f66-a70c-45ef513476f7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ff6b44a2-7f6b-44a4-85b2-7497b26fa31e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1d8de7b-9702-445a-9dca-917991ec1520",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1d2e1b11-3266-4bed-8cba-c41440dc7832",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "13401d90-1a05-4940-81db-d1ceafcd5a71",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "cfc21dd3-452d-431d-9b64-efc1d49cff97",
"EffectiveDate": "2026-07-15T09:05:44.3420265-07:00",
"StatusType": {
"StatusTypeId": "bd8f110f-10a4-4d08-8cd2-9ea047252996",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ff6b44a2-7f6b-44a4-85b2-7497b26fa31e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1d8de7b-9702-445a-9dca-917991ec1520",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ef70d5e2-64cb-4c5f-8a53-030dabe92039",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a8168384-0166-402f-8eb3-faca8b416b9e",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3844d828-12ff-4b2a-af07-99fad0e87174",
"EffectiveDate": "2026-07-15T09:05:44.3420265-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "37af5223-c893-483c-8c1c-e0465207b11c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "efb4ef12-2cea-472b-bc89-9c3165a3550e",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "970d2f38-00ce-4ea9-b234-c7b40b7d3850",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T09:05:44.3420265-07:00",
"MeasurementValueNeededDate": "2026-07-15T09:05:44.3420265-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2d626707-e2aa-4d82-a70b-9ec42928c1fc",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-15T09:05:44.3420265-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d21a7a27-ab4f-4845-8dda-9f14d1292eca",
"CreateDate": "2026-07-15T09:05:44.3420265-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T09:05:44.3420265-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}