UploadFile (string fileServiceCommand)
Usage: Upload Batch files to the iVeri Gateway
Description |
|
fileServiceCommand |
Uploads file |
|
|
Returns |
Result Status Code and Description |
Parameters |
|
Client Certificate |
Send as parameter |
Parameters |
See section File Transfer Parameters |
UploadFile SOAP Message
Request |
Response |
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header/> <env:Body> <UploadFile xmlns="http://iveri.com/"> <fileServiceCommand> <File Command="BATCH"> <Gateway>Nedbank</Gateway> <CertificateID>{00000000-0000-0000-0000-0000000000000}</CertificateID> <UserGroup>000006</UserGroup> <UserName>Administrator</UserName> <FileName>****</FileName> <Password>S*****3</Password></File> </fileServiceCommand> <fileData> PFZfWE1MIFZlcnNpb249IjIuMCIgRGlyZWN0aW9uPSJSZXF1ZXN0Ij 4gDQogIDxCYXRjaCBWZXJzaW9uPSIyLjAiIENvbW1hbmQ9IkJhdGNoVXBs b2FkIiBDb3VudD0iMSIgQW1vdW50PSIxMDAwIj4gDQoJCTxEYXRlPjIwMjAxMTA2 WxlbmFtZT4gDQoJCTxEZXNjcmlwdGlvbj5XZWRuZXNkYXlMb2FkPC9EZXNjcm lwdGlvbj4gDQoJCTxCYXRjaEl0ZW0gQXBwbGljYXRpb25JRD0ie2JiMDg3M2ViLTBjOTctNGJkNS05NGZiLTNhY2Q3MmFlMGEz M30iIE1vZGU9IlRlc3QiIENvbW1hbmQ9IlJlY3VycmluZ0RlYml0Ij4gDQoJCQk8Q0NOdW1iZXI+NDI0Mi4uLi4uLi4uNDI0MjwvQ0NOdW1iZXI+IA0KCQkJPFN0YXJ0RGF0ZT4xMTIwMjA8L1N0YX J0RGF0ZT4NCgkJCTxFeHBpcnlEYXRlPjEyMjAyMDwvRXhwaXJ5RGF0Z T4NCgkJCTxCdWRnZXRQZXJpb2Q+PC9CdWRnZXRQZX Jpb2Q+IA0KCQkJPFRlcm1pbmFsPjQ3ODUyMzI2PC9UZXJtaW5 hbD4NCgkJCTxBbW91bnQ+MTAwMDwvQW1vdW50Pg0KCQkJPEN1cnJlbmN5PlpBUjwvQ3 WRUZXN0aW5nRnJpZGF5PC9NZXJjaGFudFJlZmVyZW5jZT4gDQoJCQk 8UHVyY2hhc2VEYXRlPjIwMjAxMTA0PC9Q dXJjaGFzZURhdGU+IA0KCQkJPFB1cmNoYXNlVGltZT4wOTEwMTk8L1B 1cmNoYXNlVGltZT4gDQoJCQk8VHJhbnNhY3Rpb25JbmRleD57MkE2N EI5NkQtNDkyRC00Njc4LUJFRjgtRDUyNEYyNjlBRjFGfTwvVHJhbnNhY3Rpb25JbmRleD4NCgkJPC9CYXRjaEl0ZW 0+DQoJPC9CYXRjaD4gDQo8L1ZfWE1MPg== </fileData> </UploadFile> </env:Body> </env:Envelope>
|
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope" <soap:Body> <UploadFileResponse xmlns="http://iveri.com/"> <UploadFileResult><?xml version="1.0" encoding="utf-8" ?> <File><Result Status="0" Description="File uploaded successfully."/></File> </UploadFileResult> </UploadFileResponse> </soap:Body> </soap:Envelope>
|