Get Asset Used By
You can get the asset details based on the Used by field.
URL: http://{{server-url}}/api/v1/asset/asset_hardware/search/byUsedBy?requester={logon-name/email-address}&archived=true
Example: http://{{server-url}}/api/v1/asset/asset_hardware/search/byUsedBy?requester=jerry&archived=true
Request
curl --location 'http://172.16.11.148/api/v1/asset/asset_hardware/search/byUsedBy?requester=jerry&archived=true'
Response
{
"objectList": [
{
"type": "HardwareAssetRest",
"id": 1,
"updatedById": 1,
"updatedTime": 1588600717681,
"createdById": 1,
"createdTime": 1588598464114,
"assetTypeId": 1,
"displayName": "asdasdasd",
"origin": "manual",
"model": "asset\_hardware",
"inReview": false,
"ipAddress": "1.1.1.1",
"name": "AST-1"
}
],
"totalCount": 1
}