POST /api/v2/query

Use the POST endpoint of Query API V2 to make the first request with the SQL query. The POST endpoint returns data along with batchId for next batch.

Syntax

HTTP method
POST
Availability
Data Cloud v2.0, Salesforce 54.0
Formats
REST
URI
/api/v2/query

Examples

Request Header
Request
Response

The placeInOrder parameter indicates the position of the column in each data row. For example, in the following response ssot__EngagementAssetId__c is the fifth column in a data row. Similarly ssot__TaskId__c is the sixth column.

Note