download_archive_file


GET   - Download archive file by its key


Argument Description Type - Length Mandatory
safedebit_consumer_referenceSafedebit consumer referenceString - 35YES
file_keyUnique file keyString - 128YES


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).
Thanks to fill-in all the mandatory fields
Request

GET /ssp/download_archive_file? HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Accept: application/json