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": "d2c63450-51ca-46c7-97d0-b7def2304093",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "873003b4-026a-41da-800f-abd089c26715",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7186d247-b8d0-4e6d-be16-f203b671f55a",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "51326178-4973-4a41-8217-c6293e213695",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:57:12.1633222-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:57:12.1633222-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d88d1c1a-070c-49f7-a052-765c11542e3e",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a811e012-8022-4034-b082-83c2d930a1ab",
"EffectiveDate": "2026-11-01T08:57:12.1633222-08:00",
"StateType": {
"StateTypeId": "d59883ef-f8c5-4c9a-be4b-a057ea4cb3b7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "873003b4-026a-41da-800f-abd089c26715",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7186d247-b8d0-4e6d-be16-f203b671f55a",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4bd7fbcd-82a4-447f-b66c-119810e5dd9f",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "32bdb673-a289-4e97-91ff-89c0d676b5bf",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a31cd3f2-fcaf-4f6b-a9d6-2743568a2bf8",
"EffectiveDate": "2026-11-01T08:57:12.1633222-08:00",
"StatusType": {
"StatusTypeId": "f26947ee-46c6-4d81-88d6-0acac0f8d94f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "873003b4-026a-41da-800f-abd089c26715",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7186d247-b8d0-4e6d-be16-f203b671f55a",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "057efdc8-b8a9-43e0-a087-8b7b7a3b384d",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "dc554b69-4781-48ca-9c92-68dd0b068139",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "4a134426-c692-4a95-ab24-a331ffba9a26",
"EffectiveDate": "2026-11-01T08:57:12.1633222-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "6b1ed5ad-6aba-4a10-a670-84671938507e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "aedc78a2-8734-4d81-ad72-87e36974e729",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "248d2883-e058-4608-95f4-c032171de8bc",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:57:12.1633222-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:57:12.1633222-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d1d08402-25a1-4a89-a8df-ffd82c271c7c",
"CreateDate": "2026-11-01T08:57:12.1633222-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:57:12.1633222-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}