QuerySpec

The core of a request to execute a query: the query name and arguments.

JSON representation
{
  "queryName": string,
  "startDate": string,
  "endDate": string,
  "arguments": {
    string: string,
    ...
  },
  "fullCircleCustomerId": string,
  "roleName": string
}
Fields
queryName

string

The query's unique name.

startDate

string

The start date of the date range for the query.

endDate

string

The end date (inclusive) of the date range for the query.

arguments

map (key: string, value: string)

Any additional arguments expected by the query. Maps each argument name to its bound value.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

fullCircleCustomerId

string (int64 format)

ID of customer as which this query should be run. May be absent if the user only has access to one customer account.

roleName

string

Name of role as which this query should be run. If absent, will use the default role for the customer.