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": "85646435-9785-4c71-a11a-f69b73e590dc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "99c10e33-e03b-4625-8196-cb539c261bff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "500cfbdf-a2c1-41ee-881a-e0f7c82edfdb", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b6b9687d-e2fa-4ec0-96a1-1b2ed6ee43ab", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-17T02:35:09.6938643-07:00", "MeasurementValueNeededDate": "2025-09-17T02:35:09.6938643-07:00", "SourceSystemId": "sample string 3", "CompanyId": "68816e6d-7287-4671-96fa-9b85ffffdf16", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bc1b1e27-0e75-414f-a425-d6435bcab499", "EffectiveDate": "2025-09-17T02:35:09.6938643-07:00", "StateType": { "StateTypeId": "cdb5442d-d8c8-4ba0-a09a-cd2c7dcb0b50", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "99c10e33-e03b-4625-8196-cb539c261bff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "500cfbdf-a2c1-41ee-881a-e0f7c82edfdb", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3bd0e4ac-4f38-4830-9e0d-c1188262d9ca", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b5aa8b6f-a10d-455b-9c08-a50dec183316", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "c8ea5650-f33b-43d6-8e66-1741673d9df9", "EffectiveDate": "2025-09-17T02:35:09.6938643-07:00", "StatusType": { "StatusTypeId": "e7470cdf-31d6-4f44-ba18-8593da3fe661", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "99c10e33-e03b-4625-8196-cb539c261bff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "500cfbdf-a2c1-41ee-881a-e0f7c82edfdb", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "69717012-a56b-47fb-b35d-74e0e0f0309f", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "da29a7fe-b763-4b4a-a229-a171b7f7dd87", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d86efd66-6d62-462c-a1d7-fceac50c9642", "EffectiveDate": "2025-09-17T02:35:09.6938643-07:00", "WellPurposeType": { "WellPurposeTypeId": "8986e274-08ca-42b1-b09f-8bafda46bc23", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "22cffa1c-c0c3-4c99-8367-e611ed7a1912", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ac29987d-2846-4aaf-b239-a731453f01c2", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-17T02:35:09.6938643-07:00", "MeasurementValueNeededDate": "2025-09-17T02:35:09.6938643-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "30669aa1-3ae9-4d55-9ea3-d53a4dae5ec6", "CreateDate": "2025-09-17T02:35:09.6938643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T02:35:09.6938643-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }