All URIs are relative to https://api.rb.cz, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
downloadStatement() | POST /rbcz/premium/api/accounts/statements/download |
Download the selected statement. Returns one of the following Content-type
header values depending on the downloaded document type: application/pdf
, application/xml
, text/mt940
, application/json
(in case of an error). The number of requests is limited to 5 per client per second and 1500 per client per day. The consumer must be able to handle HTTP status 429 (too many requests) in case of exceeding these limits.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new \VitexSoftware\Raiffeisenbank\PremiumAPI\DownloadStatementApi(
new \VitexSoftware\Raiffeisenbank\ApiClient(['clientpubip'=> \VitexSoftware\Raiffeisenbank\ApiClient::getPublicIP() ,'debug'=>true])
);
$xRequestId = 'xRequestId_example'; // string | Unique request id provided by consumer application for reference and auditing.
$acceptLanguage = 'acceptLanguage_example'; // string | The Accept-Language request HTTP header is used to determine document language. Supported languages are `cs` and `en`.
$requestBody = new \VitexSoftware\Raiffeisenbank\Model\DownloadStatementRequest(); // \VitexSoftware\Raiffeisenbank\Model\DownloadStatementRequest
try {
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DownloadStatementApi->downloadStatement: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
xRequestId | string | Unique request id provided by consumer application for reference and auditing. | |
acceptLanguage | string | The Accept-Language request HTTP header is used to determine document language. Supported languages are `cs` and `en`. | |
requestBody | \VitexSoftware\Raiffeisenbank\Model\DownloadStatementRequest |
\SplFileObject
No authorization required
- Content-Type:
application/json
- Accept:
*/*
[Back to top] [Back to API list] [Back to Model list] [Back to README]