Execute a Query

post

/20190828/query

Execute a SQL query.

Request

Query Parameters
  • Minimum Value: 1
    Maximum Value: 1000
    The maximum number of items to return.
    Default Value: 1000
  • Minimum Length: 1
    Maximum Length: 1024
    The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Header Parameters
Body ()
SQL query statement and ancillary information.
Root Schema : QueryDetails
Type: object
All the information surrounding a query, including the query statement, limits, consistency, and so forth.
Show Source
Nested Schema : variables
Type: object
Additional Properties Allowed
Show Source
A map of prepared statement variables to values.
Nested Schema : additionalProperties
Type: object
Back to Top

Response

Supported Media Types

200 Response

QueryResultCollection comprises an array of results and usage information.
Headers
  • For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : QueryResultCollection
Type: object
The result of a query.
Show Source
Nested Schema : items
Type: array
Array of objects representing query results.
Show Source
Nested Schema : RequestUsage
Type: object
The usage metrics for a request.
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed
Show Source
The map of values from a row.
Nested Schema : additionalProperties
Type: object

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
  • A decimal number representing the number of seconds the client should wait before polling this endpoint again.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Back to Top