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": "16de0957-a10a-45b0-a768-ead4e9185926",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "322a8159-0c63-480e-9546-486ae144670a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0d3f2c12-69c7-4ac2-8887-7affd4a8c03b",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "dc59b572-83e9-4219-b90f-e5480d3515e9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T01:43:23.0420544-08:00",
"MeasurementValueNeededDate": "2025-12-17T01:43:23.0420544-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b3f5ece2-fd11-4910-a13c-bc4668215099",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "3cf3c57c-4c60-42c9-be3d-f750f1ab128f",
"EffectiveDate": "2025-12-17T01:43:23.0420544-08:00",
"StateType": {
"StateTypeId": "9402c9fa-bfba-4f12-a8ca-2a75b7759ea3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "322a8159-0c63-480e-9546-486ae144670a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0d3f2c12-69c7-4ac2-8887-7affd4a8c03b",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a1ebfc20-2333-412e-9f33-8bea9cf266f9",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "51a7f91b-bcf7-48f7-be3c-73b9f8ab9ca4",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c78bc39c-b9e7-478e-91fb-909838606072",
"EffectiveDate": "2025-12-17T01:43:23.0420544-08:00",
"StatusType": {
"StatusTypeId": "2a10e75d-15a8-4b53-a9fa-6e9aad587c4b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "322a8159-0c63-480e-9546-486ae144670a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0d3f2c12-69c7-4ac2-8887-7affd4a8c03b",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "323a5dde-054c-4ac2-a7f3-2b672c52fcc6",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c35c9699-37b0-4642-a848-906c3726fa8b",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "25a0da69-e974-4b4c-8f48-61fa1eb2d4db",
"EffectiveDate": "2025-12-17T01:43:23.0420544-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "805e33d9-2f3e-4536-9d95-1f2c83c88417",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "404c2416-482a-482b-a13e-36879c205eb1",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "84b9ac6e-0c1c-4a1a-a301-5f0409381dde",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T01:43:23.0420544-08:00",
"MeasurementValueNeededDate": "2025-12-17T01:43:23.0420544-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "79e3627f-7576-45e4-a7da-ebbdb8c94b5b",
"CreateDate": "2025-12-17T01:43:23.0420544-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:23.0420544-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}