download_archive_file
GET   - Download archive file by its key
| Argument | Description | Type - Length | Mandatory |
|---|---|---|---|
| safedebit_consumer_reference | Safedebit consumer reference | String - 35 | YES |
| file_key | Unique file key | String - 128 | YES |
Request
GET /xxxx/download_archive_file?safedebit_consumer_reference=XXXXX&file_key=xxxxxxxx HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
If file was successfully fetched
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : true,
"file_data" : "xxxxxxxxxxxxxxxx"
}
If file fetching failed
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : false,
"code" : "XXXX"
}
| Argument | Description |
|---|---|
| result | true or false : true : action succeeded false : action failed |
| file_data | File in base64 |
| code | See (error codes in annex). |
Request
GET /ssp/download_archive_file? HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Accept: application/json