Setup Query

Create

Create a new Setup Query record.

post/api/cp/setup/query

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

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes