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": "04dce203-a9e3-438d-b5eb-eff929c80ae0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d89f2143-391c-4515-baa2-818708315d25", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "24d20775-1b3f-42e1-8a30-df62c3b9d0f4", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "50f4c463-3ef9-4f6f-92c0-6c976b2ca22d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T16:00:02.3344483-07:00", "MeasurementValueNeededDate": "2025-05-08T16:00:02.3344483-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1e14076c-a8c6-4b7e-a79c-0e4deabc0802", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "b1112ee5-d958-469f-913b-7c549e206819", "EffectiveDate": "2025-05-08T16:00:02.3344483-07:00", "StateType": { "StateTypeId": "aff0d42f-0542-4797-9d71-b5cb7c5a6506", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d89f2143-391c-4515-baa2-818708315d25", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "24d20775-1b3f-42e1-8a30-df62c3b9d0f4", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "daf17473-d4eb-493c-8568-6490aa66f539", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "23b1bcf9-ef53-4db2-826b-6881bf085b1d", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0d2d36e7-f59a-4d90-847b-d80e1ea32cb9", "EffectiveDate": "2025-05-08T16:00:02.3344483-07:00", "StatusType": { "StatusTypeId": "9bb8fbee-5e03-4aa2-ad0d-bc867e2899d6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d89f2143-391c-4515-baa2-818708315d25", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "24d20775-1b3f-42e1-8a30-df62c3b9d0f4", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "069d8dfc-2fef-4b0d-a1ef-f9fdaf415ab2", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "61d2408f-465f-4513-bdd1-8297f87baeff", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "eb70b163-0898-4a84-81be-c3e29f4c54c8", "EffectiveDate": "2025-05-08T16:00:02.3344483-07:00", "WellPurposeType": { "WellPurposeTypeId": "913cd398-a648-4c15-b467-73eafe7184fd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4145da75-3142-4b35-bfee-2099e979d279", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c513f3cb-cdb5-461b-83d7-4d5ec327ef02", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T16:00:02.3344483-07:00", "MeasurementValueNeededDate": "2025-05-08T16:00:02.3344483-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f258be14-387b-436b-9077-731a0b01dd53", "CreateDate": "2025-05-08T16:00:02.3344483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:00:02.3344483-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }