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": "550b0044-e963-4b2e-9da2-d25c5bbfaf8e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "90300f98-22a4-4970-8442-63223193a617", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e76f6895-3ee5-4c63-9e06-ad5e39a21e83", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7002a47d-c72f-4a35-b2b8-1df95e4ab924", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T15:43:34.5334325-07:00", "MeasurementValueNeededDate": "2025-05-09T15:43:34.5334325-07:00", "SourceSystemId": "sample string 3", "CompanyId": "41778a41-dd8f-4bcb-a69b-ecc21b6e6684", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d0222af6-e076-4c2a-8b69-e00ef3fbf1d5", "EffectiveDate": "2025-05-09T15:43:34.5334325-07:00", "StateType": { "StateTypeId": "d655f6f5-bd1d-49dc-ab9f-be21395f956d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "90300f98-22a4-4970-8442-63223193a617", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e76f6895-3ee5-4c63-9e06-ad5e39a21e83", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "ea4c3c13-f810-4532-a18c-4d3589a433ad", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e1f1380d-968c-414e-aa9f-d4ddd65feffd", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "79c02773-ed57-4935-9170-8f4595999b07", "EffectiveDate": "2025-05-09T15:43:34.5334325-07:00", "StatusType": { "StatusTypeId": "e5f63212-97a6-4ac8-ab71-ef01716e905e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "90300f98-22a4-4970-8442-63223193a617", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e76f6895-3ee5-4c63-9e06-ad5e39a21e83", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3ce8bf19-11ff-41d3-b993-fc0726fab90d", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "02dbd1e9-c1df-4bb6-a9de-e591e04d4ffc", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2ca293d5-8e22-47f0-ae33-15c810fa6803", "EffectiveDate": "2025-05-09T15:43:34.5334325-07:00", "WellPurposeType": { "WellPurposeTypeId": "418ad13b-b351-45b1-b0e0-361880a8d16a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1c3f0c77-66b0-4777-af99-ab78b3ccec02", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f682d1e8-34bc-4628-886e-19069e6513fb", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T15:43:34.5334325-07:00", "MeasurementValueNeededDate": "2025-05-09T15:43:34.5334325-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1723881e-5bbe-43f3-b59e-00fa12971145", "CreateDate": "2025-05-09T15:43:34.5334325-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:43:34.5334325-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }