Skip to content

updateQuery

PUT
/v5/books/{bookId}/queries

Update a saved query

Parameters

Path Parameters

bookId
required
string

The id of the book. Same bookId url param on Bkper

Request Body

object
agentId

The id of agent that created the resource

string
createdAt

The creation timestamp, in milliseconds

string
id

The unique id that identifies the saved Query in the Book

string
query

The Query string to be executed

string
title

The title of the saved Query

string
updatedAt

The last update timestamp, in milliseconds

string
Example
{
"agentId": "string",
"createdAt": "1592000000000",
"id": "string",
"query": "string",
"title": "string",
"updatedAt": "1592000000000"
}

Responses

200

A Query response

object
agentId

The id of agent that created the resource

string
createdAt

The creation timestamp, in milliseconds

string
id

The unique id that identifies the saved Query in the Book

string
query

The Query string to be executed

string
title

The title of the saved Query

string
updatedAt

The last update timestamp, in milliseconds

string
Example
{
"agentId": "string",
"createdAt": "1592000000000",
"id": "string",
"query": "string",
"title": "string",
"updatedAt": "1592000000000"
}