To Run Async Queries you need to make the POST REST API Call to /services/data/v41.0/async-queries the endpoint with JSON encoded list of the request body.
The response of an Async SOQL query displays the jobID, SOQL command, details of the field mapping, and the target object. It also displays the query status, which can have one of three values: Running, Complete, or Failed.you can use Job Id to track the status of your Async SOQL.
For more information may I suggest you please check with below links.
To Run Async Queries you need to make the POST REST API Call to /services/data/v41.0/async-queries the endpoint with JSON encoded list of the request body.
The response of an Async SOQL query displays the jobID, SOQL command, details of the field mapping, and the target object. It also displays the query status, which can have one of three values: Running, Complete, or Failed.you can use Job Id to track the status of your Async SOQL.
For more information may I suggest you please check with below links.
- https://rajvakati.com/2017/10/19/salesforce-async-soql/
- https://resources.docs.salesforce.com/sfdc/pdf/async_soql_guide.pdf
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra