The Batch class contains static utily methods for interfacing with the batch API. For more information see the API documentation
Utility method to make GET requests to the batch API
Parameters | Return Type |
---|---|
(batchId, callback) | callback |
Utility method to make POST requests to the batch API
Parameters | Return Type |
---|---|
(body, callback) | callback |
(body, batchId, callback) | callback |
Utility method to make PATCH requests to the batch API
Parameters | Return Type |
---|---|
(batchId, body, callback) | callback |
Utility method to make DELETE requests to the batch API
Parameters | Return Type |
---|---|
(batchId, callback) | callback |
Utility method for querying batches
Parameters | Return Type |
---|---|
(page, pageSize, term, callback) | callback |
Utility method to generating a quote for a bacth
Parameters | Return Type |
---|---|
(batchId, callback) | callback |
Utility method to send a batch out for processing
Parameters | Return Type |
---|---|
(batchId, callback) | callback |
Utility method to get a batch summary
Parameters | Return Type |
---|---|
(batchId, callback) | callback |