课程内容

DownloadFile Method (string fileServiceCommand)
Usage: For downloading files from the iVeri Gateway


Description

 

Downloads a file.

Returns

 

A Base64 encoded string which is the contents of the downloaded zipped file.

Client Certificate

 

 

Send as parameter

 

 

Parameters

 

See section File Transfer Parameters


DownloadFile SOAP Message


Request

 Response

Transaction History Download -  SAMPLE

POST /iVeriWebService/Service.asmx HTTP/1.1

Content-Type: text/xml; charset=utf-8

Content-Length: length

 

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header/>

<env:Body>

<DownloadFile xmlns="http://iveri.com/">

<fileServiceCommand>

&lt;File Command=&quot;TRANSACTIONHISTORY&quot;&gt;

&lt;Gateway&gt;Nedbank&lt;/Gateway&gt;

&lt;CertificateID&gt;{2bc42c-7ffb-44d0-a1e4-441444e1274c}&lt;/CertificateID&gt;

&lt;UserGroup&gt;3**816&lt;/UserGroup&gt;

&lt;UserName&gt;administrator&lt;/UserName&gt;

&lt;Password&gt;$C***n&lt;/Password&gt;

&lt;FileName&gt;TransactionHistory.zip&lt;/FileName&gt;

&lt;Mode&gt;Test&lt;/Mode&gt;

&lt;StartDateTime&gt;2022-11-01T10:00:00&lt;/StartDateTime&gt;

&lt;EndDateTime&gt;2022-11-02T11:00:00&lt;/EndDateTime&gt;

&lt;FileFormat&gt;XML&lt;/FileFormat&gt;&lt;/File&gt;

</fileServiceCommand>

</DownloadFile>

</env:Body>

</env:Envelope>

 

POST /iVeriWebService/Service.asmx HTTP/1.1

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Body>

        <DownloadFileResponse xmlns="http://iveri.com/">

            <DownloadFileResult>UEsDBBQAAggIAPV2I1aSB0HNoKIBAHQHDAA

WABQAVHJhbnNhY3Rpb25IaXN0b3J5LnhtbFJYEABSYngxAQAIAAAAAAAAA

AAA7H1pUxvJ0vVfIfzVt4falzcwEVVd1Rizr7b58oYsySDQgiVkG9+4//05JYHB

Y0Dd0gwgwr7PM4GkUiOaIk9lnpMnlw7//4eN9YXDZn/Q6nXfvGJ/kVcLodV

v1i9Gj3ebg/Ned9B8tby026z3umlx3ht2L968kpTh2f1+rTuojVYvuPPzdqteS

1+vhjev/it4YJH6PJMF05nQmmRWOZtJZymlRcgVl/97tbDRazTfvFpvfW2

+wrU7nVq38eZVaH5qXbxa2G1+GTYHF6PLEaIVITZkXhKTCZ/HzClVZKJ

QSuU540LE/+EjbQ/79ZPaoBlqF81lRhijlLClxV+e/rlov9VpLhMjCSE3S0ZPLm

0006PuBX7EenP5v8Lmmjoj8O356NsXmSmIzgotheHEUhn1/5YWf33X7fuz

2m00vy//N+gCZYfEgGgBQSwECLQAUAAIICAD1diNWkgdBzaCiAQB0BwwA

FgAkAAAAAAAAAIAAAAAAAAAAVHJhbnNhY3Rpb25IaXN0b3J5LnhtbAoAI

AAAAAAAAQAYAPL5+69yH9kBAAAAAAAAAAAAAAAAAAAAAFBLBQYAAAAA

AQABAGgAAADoogEAAAA=</DownloadFileResult>

        </DownloadFileResponse>

    </soap:Body>

</soap:Envelope>

 

 

Recon Download - SAMPLE

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header/><env:Body>

<DownloadFile xmlns="http://iveri.com/">

         <fileServiceCommand>

                &lt;File Command=&quot;RECON&quot;&gt;

                &lt;Gateway&gt;Nedbank&lt;/Gateway&gt;

                &lt;CertificateID&gt;{12bc42c-7ffb-44d0-a1e4-441444e1274c}&lt;/CertificateID&gt;

                &lt;UserGroup&gt;256146&lt;/UserGroup&gt;

                &lt;UserName&gt;Bu****H&lt;/UserName&gt;

                &lt;Password&gt K******NS&lt;/Password&gt;

                &lt;FileName&gt;Recon.zip&lt;/FileName&gt;

                &lt;AcquirerCycle&gt;02463&lt;/AcquirerCycle&gt;

                &lt;Mode&gt;Test&lt;/Mode&gt;

                &lt;Acquirer&gt;NBPostilionNBSouthAfrica&lt;/Acquirer&gt;

                &lt;MerchantUsn&gt;0092201&lt;/MerchantUsn&gt;

                &lt;FileFormat&gt;XML&lt;/FileFormat&gt;

                &lt;/File&gt;

</fileServiceCommand>

</DownloadFile>

</env:Body>

</env:Envelope>

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Body>

        <DownloadFileResponse xmlns="http://iveri.com/">

            <DownloadFileResult>UEsDBBQAAggIAKl1JVZmVbJ6TQAAAEgAA

AAJABQAUmVjb24ueG1sUlgQAFJieDEBAAgAAAAAAAAAAAABSAC3/zxW

X1hNTCBWZXJzaW9uPSIyLjAiIERpcmVjdGlvbj0iUmVzcG9uc2UiPjxSZW

NvblhNTCBDb3VudD0iMCIgLz48L1ZfWE1MPlBLAQItABQAAggIAKl1JVZ

mVbJ6TQAAAEgAAAAJACQAAAAAAAAAgAAAAAAAAABSZbi54bWwKA

CAAAAAAAAEAGAAXnhiRAyHZAQAAAAAAAAAAAAAAAAAAAABQSwUGA

AAAAAEAAQBbAAAAiAAAAAAA</DownloadFileResult>

        </DownloadFileResponse>

    </soap:Body>

</soap:Envelope>

 


Batch File  Download  - SAMPLE

 

Request

Response

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header/>

<env:Body>

<DownloadFile xmlns="http://iveri.com/">

         <fileServiceCommand>

                &lt;File Command=&quot;BATCH&quot;&gt;

                &lt;Gateway&gt;Nedbank&lt;/Gateway&gt;

                &lt;CertificateID&gt;{8***76bc42c-7ffb-44d0-a1e4-441444e1274c}&lt;/CertificateID&gt;

                &lt;UserGroup&gt;250**46&lt;/UserGroup&gt;

                &lt;UserName&gt;Sudminr&lt;/UserName&gt;

                &lt;Password&gt;BW**rty&lt;/Password&gt;

                &lt;FileName&gt; TestFilei&lt;/FileName&gt;

                &lt;Mode&gt;Test&lt;/Mode&gt;

                &lt;Format&gt;XML&lt;/Format&gt;

                &lt;/File&gt;

</fileServiceCommand>

</DownloadFile>

</env:Body>

</env:Envelope>

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Body>

        <DownloadFileResponse xmlns="http://iveri.com/"> <DownloadFileResult>

UEsDBBQAAggIAHibPFc737XWRwIAAIIGAAAEABQAQnVzaV

JYEABSYngxAQAIAAAAAAAAAAAAxZVZa+s4FMe/SvC76m

PtGhSDFhsK01LSUOatuIlKDYndeuEOlH73UZw06QJDL3fLS

3Q26c///Ej0ze0/F3/PbkLX120zT/AZJDNfd2E1TPEi9I9t04ck

17YaVg8z1263VbOeJ1Po22/Npq3WScyPzRDnk5nZHo4AEM

fKehOaahtyO/a1To+h9tUQcgyYAAGs0yncP3I+hO3MPD5u6lW

1k3Hu58mztSAFKSwCpwSi1jOkaGkRMc4LbAowhLwks4t2Heb

JMvRDctLqw10d40V4GmNhug5oCcQVElGQClESb1KOMySxtM

ClLK33L1H+MnTbuqk2uU5Px4vQrR6qZliE+9CFZhVyILdY6PR

zQUcHx81wPVTD2LsoLkeZ1OmnrL4ad6N9eLUlywCITt+lj03L

OjqYCcIATi1TUu/tz+N0LB0C7dzluL0LXU4xxWeHz+6s02NJm

3F4aLu6nzyfRDGuJGAV7/lU0suuavpqwuS8WYd/82fOLSfCY

SSMcIiykiFjqEKeMyeF8qow7CXa+HFQm9XTGJHr8kt71fZDv

YmlS3vdxkfNfRchiAJeW47NJ4sVE5z9BZRLyDicet8s4TX1gbl3

6WPTwVz2rmVv7iKs2ma/tRx2WzyF+9obIo56PhR0eoT8N/Kun

FTYloDKkkHkPaPIEFyguBprysxbVYjv4p24qlszLr9IPXyF+cNa/ijz

mIiMsy8i74qMCgYOcSbirwhXFFkoCOLYU8yYZODhVyPP1M9DH

lP2w8jv9Pwf8vtz/J7+evL/

/8mnGjHy2QEAAAAAAAAAAAAAAAAAAAAAUEsFBgAAAA

ABAAEAVgAAAH0CAAAAAA==

                    </DownloadFileResult>

     

        </DownloadFileResponse>

    </soap:Body>

</soap:Envelope>

 



额定值
0 0

目前没有任何评论。

成为第一个发表评论的人。