Retrieve all queries
GET {{baseUrl}}/queries?pageToken=<string>&executable=<boolean>&isDynamic=<boolean>&ontologyId=<string>
Returns a list of Data Query SQL Model
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageToken | string | Selects next page. Value must be taken rom response body property 'page.nextToken'. If omitted, first page is returned. | |
executable | string | Filter based on executable flag | |
isDynamic | string | Filter based on isDynamic flag | |
ontologyId | string | Filter based on ontology id |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"page":{"nextToken":"ut"},"queries":[{"createdBy":"jsmith@example.com","createdDate":"2019-08-08T05:55:06.119Z","description":"Analysis of vehicle accident","executable":false,"id":"5d52995b988cdf5c449874a5","isBusinessQuery":true,"isDynamic":true,"name":"crashanalysis","ontologyId":"A065E2E5D2A36888AF88469073786B6F","resultType":"REST","pendingActions":[{"field":"sqlStatement","message":"vehicle is not mapped in ontology"},{"field":"sqlStatement","message":"vehicle is not mapped in ontology"}],"updatedBy":"jkale@example.com","updatedDate":"2019-08-09T01:45:09.105Z"},{"createdBy":"jsmith@example.com","createdDate":"2019-08-08T05:55:06.119Z","description":"Analysis of vehicle accident","executable":false,"id":"5d52995b988cdf5c449874a5","isBusinessQuery":true,"isDynamic":true,"name":"crashanalysis","ontologyId":"A065E2E5D2A36888AF88469073786B6F","resultType":"REST","pendingActions":[{"field":"sqlStatement","message":"vehicle is not mapped in ontology"},{"field":"sqlStatement","message":"vehicle is not mapped in ontology"}],"updatedBy":"jkale@example.com","updatedDate":"2019-08-09T01:45:09.105Z"}]}