function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhagyashree JogBhagyashree Jog 

Request Format change Bulk API

I am relying on the AsyncApi.xsd obtained through https://instance.salesforce.com/services/async/version/AsyncApi.xsd to get the format of JobInfo, BatchInfo to construct the request for Bulk APIs. My concern is the xsd does not mention which elements are required to be put in the request and which are not. Is there any other way to identify this which elements from JobInfo, BatchInfo are to be used request and which are not to be mentioned in the request to the APIs. My main objective is to use the xsd to construct request generically without having to change it for every API version. Also another question is how frequently do the schemas JobInfo and BatchInfo etc change with a change in API version?