DownloadAttachmentFile API
Function# DownloadAttachmentFile Api allows you to download files that were uploaded using the UploadAttachmentFile Api and also download the Voucher or EMD from airlines. You only need to provide the corresponding file ID. Error Code List# error code error message description 0 ok success S001 System error System error P001 Invalid authentication Invalid authentication P006 Wrong parameter Wrong parameter B002 Partner is not exists Partner does not exist B003 Illegal sign Illegal signature
Request Body Params application/json
{
"authentication" : {
"partnerId" : "" ,
"sign" : ""
} ,
"data" : {
"fileId" : ""
}
} Request Code Samples
curl --location 'https://api.pkfare.com/json/downloadAttachmentFile' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"partnerId": "",
"sign": ""
},
"data": {
"fileId": ""
}
}' Responses application/octet-stream
Generate Code
Modified at 2025-02-24 02:24:15