IsDataAvailable (string fileServiceCommand)
Usage: Check if Batch result file is available on the iVeri Gateway, works hand in hand with the UploadFile method
Description |
|
IsDataAvailable |
Check the availability of the Batch result file |
|
|
Returns |
Result Status Code and Description |
Parameters |
|
Client Certificate |
Send as parameter |
Parameters |
See section File Transfer Parameters |
IsDataAvailable SOAP Message
Request |
Response |
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header/><env:Body> <IsDataAvailable xmlns="http://iveri.com/"> <fileServiceCommand> <File Command="BATCH"> <Gateway>Nedbank</Gateway> <CertificateID>{bc42c-7ffb-44d0-a1e4-441444e1274c}</CertificateID> <ApplicationID>{b0873eb-0c97-4bd5-94fb-3acd72ae0a33}</ApplicationID> <UserGroup>25***46</UserGroup> <UserName>Administrator</UserName> <Password>S******</Password> <FileName>Test</FileName> <Mode>Test</Mode> <Format>XML</Format></File> </fileServiceCommand> </IsDataAvailable> </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> <IsDataAvailableResponse xmlns="http://iveri.com/"> <IsDataAvailableResult><?xml version="1.0" encoding="utf-8" ?> <File><Result Status="101" Description="File not found"/></File> </IsDataAvailableResult> </IsDataAvailableResponse> </soap:Body> </soap:Envelope>
|