Setup Query

Run Query (POST)

Run Query (POST)

post/api/cp/setup/query/{id}/run

Path parameters

idinteger required

Id identifier

Request body

idstring

Id

account_idinteger

Account Id

app_idstring

App Id

namestring required

Name

querystring

Query

srcstring

Src

varsobject

Vars

Example request

{
  "id": 12345,
  "account_id": 1,
  "app_id": 1,
  "name": "Example Name",
  "query": "Sample query text content",
  "src": "example_src",
  "vars": "example_vars"
}

Response

Successful response

{"stackTrail":"paths:/api/cp/setup/query/{id}/run:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes