Skip to content

Message: asset.query

Back to Index

Queries the asset from the graph.

Schema

Body
queryany value (optional)

The query to execute.

Response Type Array of object

keystring
valueany value

Example: Query a Vendor

Query a Vendor

First, send the following POST Message request.

Request

POST https://<hantera-hostname>/resources/actors/asset/<ASSET ID>
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "query"
}]

Response

HTTP/1.1 200 OK
---
{
"paths": [
"resources/actors/asset/<ASSET ID>",
"resources/actors/asset/vendor/<ASSET NUMBER>",
"resources/actors/asset/vendor/<EXTERNAL REFERENCE>"
],
"data": {
"query": {}
}
}
Back to Index