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": "af0c6aa1-9e06-49b1-82bc-31fe5b0da107", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d0e16488-0844-4fb3-b074-2b107fc75186", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64fe7c0b-6f9f-4382-88dd-20f9065ec974", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "23ac2953-4c8d-4cc9-b8f7-60742cec1740", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:14:00.5226825-07:00", "MeasurementValueNeededDate": "2025-06-27T07:14:00.5226825-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6518cb89-363b-465f-b66b-2b4b8b65125c", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "003d194e-7143-4632-900d-1c5ed6861ca3", "EffectiveDate": "2025-06-27T07:14:00.5226825-07:00", "StateType": { "StateTypeId": "2641fa8e-2742-4db5-8c12-41fe84701468", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d0e16488-0844-4fb3-b074-2b107fc75186", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64fe7c0b-6f9f-4382-88dd-20f9065ec974", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "635871d7-e1f4-4c59-bd54-4123105dab84", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "07777bde-1293-4982-9d4e-92c76d059377", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "79411bfe-cf6a-4417-855a-e70008bb0f9d", "EffectiveDate": "2025-06-27T07:14:00.5226825-07:00", "StatusType": { "StatusTypeId": "adc148f7-2142-41b0-b2ae-baa9ea2d1c4c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d0e16488-0844-4fb3-b074-2b107fc75186", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64fe7c0b-6f9f-4382-88dd-20f9065ec974", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "29d5cc47-d0e2-4f1d-a6da-89390df6ddaf", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "79ae0506-31fe-40a5-a04c-c4953b1efe8b", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "90fb503a-e1c6-4064-b7d1-2a3b99ca1a3b", "EffectiveDate": "2025-06-27T07:14:00.5226825-07:00", "WellPurposeType": { "WellPurposeTypeId": "fc2e80da-5f08-4b5d-8112-932d1281cfe6", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cd3918e5-275a-44b7-b19c-d29deef28fd9", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1d1bdf52-31c3-4d66-9857-d56d654519d6", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:14:00.5226825-07:00", "MeasurementValueNeededDate": "2025-06-27T07:14:00.5226825-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dab3b341-5b27-45d9-974a-5478c17bf564", "CreateDate": "2025-06-27T07:14:00.5226825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:14:00.5226825-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }