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 the next batch.
- HTTP method
POST
- Availability
Data Cloud v2.0, Salesforce 54.0
- Formats
REST
- URI
/api/v2/query
- Request Header
- Request
- Response
The placeInOrder
parameter indicates the position of the column in each data row. For example, in the following response InternalOrganization__c
is the second column in a data row. Similarly quantity__c
is the third column. For information on the typeCodes, refer to SQL data type codes.