GET Assets?assetId={assetId}&includeAllAncestors={includeAllAncestors}
Retrieves an asset by its Id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| assetId |
Id of the asset |
globally unique identifier |
Required |
| includeAllAncestors |
Indicates whether to include all ancestor assets and groups or just the immediate parents |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
On success, the asset.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Asset |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AssetId": "ad8ac62c-de66-475b-801e-2b61b25a2a34",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5e2fa539-7533-4b15-befc-bec053d86032",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "21c15d99-e882-48cf-ba8b-b9e26c49b5c3",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b202814d-06ce-43cb-84cb-fe9e6247ce2e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:27:52.9438398-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:27:52.9438398-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ef74f8d4-c0f5-49bb-93f9-63e8e9338e76",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f4451ac3-5c65-4ee2-b0d1-68f9b6bbce39",
"EffectiveDate": "2026-08-11T22:27:52.9438398-07:00",
"StateType": {
"StateTypeId": "4e63a662-3f8f-442f-b053-bbaac1b469cb",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5e2fa539-7533-4b15-befc-bec053d86032",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "21c15d99-e882-48cf-ba8b-b9e26c49b5c3",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f1423bf9-6836-4464-8667-2cefe82d3d08",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "05013611-6fd0-4786-a320-c2efa30b3638",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3bcabc1b-dc92-491e-a091-304dce27e778",
"EffectiveDate": "2026-08-11T22:27:52.9438398-07:00",
"StatusType": {
"StatusTypeId": "9fafc81a-9032-4861-b1cb-8823473077b7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5e2fa539-7533-4b15-befc-bec053d86032",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "21c15d99-e882-48cf-ba8b-b9e26c49b5c3",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "44d956ab-c74a-4ef0-8623-09ca9378144b",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "87cf33b8-2615-4fe8-a418-fa783ad700e0",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "856142b7-419a-4650-abca-0e6d440a4c83",
"EffectiveDate": "2026-08-11T22:27:52.9438398-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c6cacec3-94de-4a55-9a27-4c9b5b0e1391",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "67f98cf1-ebc6-4349-9d37-439a1a2dd596",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0a763d4f-eb77-437b-8db9-96c6399c44cc",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:27:52.9438398-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:27:52.9438398-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b1deede1-f7a4-4346-aa7f-4251c9090096",
"CreateDate": "2026-08-11T22:27:52.9438398-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:27:52.9438398-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}