POST
/
container-definitions
/
{containerDefinitionId}
/
documents
/
query
curl --request POST \
  --url https://api.slyce-io.co.uk/container-definitions/{containerDefinitionId}/documents/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "QueryDefinitionId": "<string>",
  "Parameters": [
    {
      "Name": "<string>",
      "Value": "<string>"
    }
  ]
}'
[
  "<any>"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

SlyceIO-Api-Continuation-Token
string

An optional token used for fetching the next set of data - the token must be used with the same query criteria from which it was originally created

SlyceIO-Api-Max-Records
number

The maximum number of records to return in the response

Path Parameters

containerDefinitionId
string
required

ID of the container definition in which to execute the query

Body

application/json
Query definition and parameters
QueryDefinitionId
string
required

The ID of the query definition

Parameters
object[]

The parameters required for the query definition

Response

200
application/json
Query Executed

The response is of type any[].