Post SQL query to OIPA

post

/PASService/rest/services/queries

Inserts a SQL query in the database

Request

Body ()
Root Schema : schema
Type: string
Back to Top

Response

Supported Media Types

Default Response

successful operation
Back to Top

Examples

This example describes how to insert a SQL query in the database.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl -X POST -H "Accept: application/json" -u username:password "server:port/PASService/rest/services/groupCustomers"

Example Request Body

The following shows an example of the request body in JSON format:

"{
  "applicationName": "test",
  "queries": [
    {
      "queryName": "testQuery",
      "queryValue": "select * from asPolicy"
    }
  ]
}"
Back to Top