Retrieve a List of Batch Files
For a list of batch files, the request format is:
GET https://<url_prefix>/pts/v1/transaction-batches&startTime={startTime}&endTime={endTime}
Value | Description | Required/Optional |
---|---|---|
< url_prefix > | Name of the server from which to download the report.
Use one of these values:
| Required |
< startTime > | Report start date to search on in ISO 8601 format
(yyyy-MM-dd'T'HH:mm:ss.SSSZ). Example:
2019-05-01T12:00:00-05:00 | Required |
< endTime > | Report end date to search on in ISO 8601 format
(yyyy-MM-dd'T'HH:mm:ss.SSSZ). Example:
2019-08-30T12:00:00-05:00 | Required |
Responses
This call can return one of the following HTTP status codes:
- 200: Ok.
- 400: Invalid request.
- 401: Not authorized.
- 403: Not authenticated.
- 404: Report not found or no transactions are available.
- 500: Bad Gateway.
For detailed information on the responses,
including which fields are returned, see the Reporting REST API Reference
.