Creates a precompiled query statement in an instance of the open session.
This instance can be used to run this statement multiple times. The query is not stored to the CMS repository, but in memory.
Response type: application/xml
The response is a message stating the success or failure of the request.
POST /queries
Request body:
<query dataSourceType="unx" dataSourceId="5808" xmlns="http://www.sap.com/rws/sl/universe"> <querySpecification version="1.0"> <queryData> <resultObjects> <resultObject path="Customer|folder\Geography|folder\City|dimension" id="_IBo8L7IhEeCk0Ylv-tlF2Q"/> <resultObject path="Customer|folder\Customer|dimension" id="_IBo8OrIhEeCk0Ylv-tlF2Q"/> <resultObject path="Inventory|folder\Stock Level|measure" id="_IB8eFrIhEeCk0Ylv-tlF2Q"/> </resultObjects> </queryData> </querySpecification> </query>
Response body:
<success> <message>The resource of type "query" with identifier "6089913651317040730" has been successfully created.</message> <id>6089913651317040730</id> </success>
The response contains the query identifier as <id>.