![BlogImage.jpg](https://images-tv.adobe.com/mpcv3/8a1a410a-08f1-499a-a1af-5bf60663535c/56f6d328-0b4b-4f5b-8bcf-aa7b35e0b905/2d8149e3ffe14746af5a358d711daca6_1644267996-960x540.jpg)
Abstract
Create Batch Configuration
The following is the POST endpoint for creating Batch config
/config
The following is the minimum configuration that needs to be specified when creating batch configuration. This needs to be passed as JSON object in the body of the HTTP request
{
"configName": "monthlystatements",
"dataSourceConfigUri": "/conf/batchapi/settings/forms/usc/batch/batchapitutorial",
"outputTypes": [
"PDF"
],
"template": "crx:///content/dam/formsanddocuments/formtemplates/custom_fonts.xdp"
}
Verify Batch configuration
To verify the successful creation of batch configuration, you can make a GET request call to the following endpoint
/config/monthlystatements
You only need to pass an empty JSON object in the body of the HTTP request
Read Full Blog
Q&A
Please use this thread to ask the related questions.
Kautuk Sahni