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": "790ab636-168b-4bb7-a950-a5e4e005d634", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "889c9d06-3982-483a-a00f-6cf964d4e01b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "47ff459c-5730-44be-9c1f-4c3add462b4c", "CreateDate": "2025-04-03T15:28:45.2783429-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:28:45.2783429-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1f575521-f5d4-4ae7-b542-b1340dfdda20", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:28:45.2783429-07:00", "MeasurementValueNeededDate": "2025-04-03T15:28:45.2783429-07:00", "SourceSystemId": "sample string 3", "CompanyId": "7dd4fecd-4c59-4a41-bc5b-4bc6e7c71786", "CreateDate": "2025-04-03T15:28:45.2783429-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:28:45.2783429-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:28:45.2783429-07:00", "MeasurementValueNeededDate": "2025-04-03T15:28:45.2783429-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5e7dda05-f057-4f6b-81c7-7a1dc97149a9", "CreateDate": "2025-04-03T15:28:45.2783429-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:28:45.2783429-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }