SFMS Bank Application Interface Specifications Document ... - IDRBT
SFMS Bank Application Interface Specifications Document ... - IDRBT
SFMS Bank Application Interface Specifications Document ... - IDRBT
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>SFMS</strong> <strong>Bank</strong> <strong>Application</strong> <strong>Interface</strong> specifications Version 3.0<br />
4.6 <strong>Bank</strong>API client <strong>Interface</strong> through Program Method<br />
<strong>SFMS</strong> <strong>Bank</strong>API client can be called using <strong>SFMS</strong> <strong>Bank</strong>API Client program<br />
methods. The client method returns a string to the external application.<br />
The following methods are available for external programming interface:<br />
‣ executeRemoteProcess(java.lang.String[] args)<br />
• This method should be called from another program with the<br />
following arguments to send a message to <strong>SFMS</strong> <strong>Bank</strong>API Server.<br />
Parameters:<br />
String - should be either filesend or msgsend or receive<br />
String - if filesend input absolute path of file, if msgsend input content<br />
of the message, if receive External<strong>Application</strong>Id.<br />
String - Password.<br />
String - if receive IFSC.<br />
‣ getResponse()<br />
• This method returns the response message when a file is sent.<br />
‣ getReceivedMessages()<br />
• This method returns the string of received messages.<br />
For the sample program provided for developers, refer Appendix B.<br />
4.7 Overview of <strong>SFMS</strong> <strong>Bank</strong>API Usage<br />
S.No. Program Arguments Description<br />
1 <strong>Bank</strong>APIClient msgsend<br />
<br />
<br />
<br />
First argument “msgsend” indicates<br />
that the system is trying to send a<br />
message in the form of a string.<br />
Second argument is the string<br />
containing the actual message to be<br />
transmitted to <strong>SFMS</strong>. This method<br />
will return a string either in file or<br />
on the output device. The filename is<br />
an optional argument where the<br />
2. <strong>Bank</strong>APIClient Filesend<br />
<br />
<br />
incoming messages are to be saved.<br />
First argument “filesend” indicates<br />
that the system is trying to send a<br />
message in the form of a file.<br />
Second argument is the string<br />
containing the filename of the<br />
message to be transmitted to <strong>SFMS</strong>.<br />
This method will return a string<br />
either in file or on the output device.<br />
The filename is optional argument.<br />
Confidential<br />
Uncontrolled when Printed<br />
Page 17 of 24