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": "71a41605-6b7a-4394-a8c7-a0dca6b11c7c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "49e46429-68f1-4d93-95e3-909d2f2aede3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8d4ccc89-293a-4d9a-a71b-d6cf8e5ad3e0", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e79e2dc2-c958-4b49-a071-c950c7aab032", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-19T00:12:12.9472058-07:00", "MeasurementValueNeededDate": "2025-07-19T00:12:12.9472058-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c074ede3-0dd1-4364-a92f-54cab0fc62d9", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "ca370c29-bc8c-4eb4-8675-2426821279f7", "EffectiveDate": "2025-07-19T00:12:12.9472058-07:00", "StateType": { "StateTypeId": "4b3cee54-c152-4b99-90d9-9987a12738a1", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "49e46429-68f1-4d93-95e3-909d2f2aede3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8d4ccc89-293a-4d9a-a71b-d6cf8e5ad3e0", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cd940360-a5fa-4e98-9bee-a5ef8eb601db", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "eb59b29e-f34e-46ab-b235-3b41d7c60360", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a47f1ebf-2510-4633-b6b0-67680f8ece90", "EffectiveDate": "2025-07-19T00:12:12.9472058-07:00", "StatusType": { "StatusTypeId": "7cbff64d-0af3-4d62-9139-fd43fc1262bd", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "49e46429-68f1-4d93-95e3-909d2f2aede3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8d4ccc89-293a-4d9a-a71b-d6cf8e5ad3e0", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7aa1b26d-cf4d-4782-920a-ac18a5c47d01", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "44202d1d-c04a-447b-aba0-0b1992a5e706", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "8acbb1b0-738f-4a43-bc58-e9ef218d6b8a", "EffectiveDate": "2025-07-19T00:12:12.9472058-07:00", "WellPurposeType": { "WellPurposeTypeId": "1c2df771-ad0c-477c-beae-d91769a11258", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "27c0ece7-2df9-4ba7-b5f7-b6852c006cf5", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "41471df9-b910-4e5f-bb37-56ae5f6e478c", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-19T00:12:12.9472058-07:00", "MeasurementValueNeededDate": "2025-07-19T00:12:12.9472058-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a5c3ae38-ba8f-4fc2-b450-1a82c19c57e4", "CreateDate": "2025-07-19T00:12:12.9472058-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:12:12.9472058-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }