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": "658b1fc6-ab2e-484f-8483-6af5b4ed61c0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1cba82ba-c5e4-47bf-9b17-efd0b6d293ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aba666cb-5e1b-41bf-978d-608989bfa0e7",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8c88ebf8-d1f3-444f-b483-273fa13e2e53",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T00:22:36.4357313-07:00",
"MeasurementValueNeededDate": "2026-08-24T00:22:36.4357313-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fac16d70-52ef-46c0-9cb5-1dda7b5f9fbf",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f2d482b5-98ed-4282-80ef-c5506a77c000",
"EffectiveDate": "2026-08-24T00:22:36.4357313-07:00",
"StateType": {
"StateTypeId": "c86a6159-e619-4d52-8009-4ea117b696e7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1cba82ba-c5e4-47bf-9b17-efd0b6d293ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aba666cb-5e1b-41bf-978d-608989bfa0e7",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b0fe0d73-be4f-40b6-8f5a-475973709710",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f26b6bfa-2fe6-4d3d-931f-e5a94f7c0ee8",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "eae64c68-13d1-41fe-9b17-c1e825edd6a9",
"EffectiveDate": "2026-08-24T00:22:36.4357313-07:00",
"StatusType": {
"StatusTypeId": "c0de0242-fea7-40f0-83e2-535844694100",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1cba82ba-c5e4-47bf-9b17-efd0b6d293ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aba666cb-5e1b-41bf-978d-608989bfa0e7",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1e28614e-2c22-4f94-94b1-c3e4addb68cc",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f1bf0176-2e91-4959-aac5-25db37bb3c74",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ddb49d59-2d38-45ab-b720-32ae6a09a9dc",
"EffectiveDate": "2026-08-24T00:22:36.4357313-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "0d3a0a7a-b552-4189-8f51-91351060e31d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1bc5ee9f-9487-464b-8241-0a97e86057eb",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c8d008fc-9f1a-43db-8a15-a84e815390cd",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T00:22:36.4357313-07:00",
"MeasurementValueNeededDate": "2026-08-24T00:22:36.4357313-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0beaed54-4c66-4311-9493-51bef33699f3",
"CreateDate": "2026-08-24T00:22:36.4357313-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T00:22:36.4357313-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}