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": "4f1523b6-7258-4ece-9804-c5f4c41e0f5b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "751eaed6-379e-4b26-86b5-5f2712a2900b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0edcca96-9eaa-45c2-8a23-3caca101a150", "CreateDate": "2025-08-30T12:56:25.6602009-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:25.6602009-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "87d08c37-4e89-46ef-af4f-a2a2354bbc3e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:25.6602009-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:25.6602009-07:00", "SourceSystemId": "sample string 3", "CompanyId": "59fd71e8-97b6-439f-bbaf-986828b8c41b", "CreateDate": "2025-08-30T12:56:25.6602009-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:25.6602009-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:25.6602009-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:25.6602009-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a74be1e5-80e7-414a-8668-e15a277cffb4", "CreateDate": "2025-08-30T12:56:25.6602009-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:25.6602009-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }