Skip to content
← Back to Index

Message: asset.query

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**
```json [{ "type": "query" }] ```

Response

HTTP/1.1 200 OK
---
{
  "paths": [
    "resources/actors/custom/asset/{assetId}",
    "resources/actors/custom/asset/vendor/`<ASSET NUMBER>`",
    "resources/actors/custom/asset/vendor/`<EXTERNAL REFERENCE>`"
  ],
  "data": {
    "query": {}
  }
}

© 2024 Hantera AB. All rights reserved.