Operacja getMpin zwraca mpin (kod maszynowy) stacji.
Przykładowe zapytanie SOAP:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="ns1"> <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <ns:getMpin> <billonUserPassword>haslo123</billonUserPassword> </ns:getMpin> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Przykładowa odpowiedź SOAP:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="ns1"> <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <ns:getMpinResponse> <return> <mpin>JHV72</mpin> <requestStatus>SUCCESS</requestStatus> <requestStatusDescription>Request succeeded.</requestStatusDescription> </return> </ns:getMpinResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Parametry zapytania:
Parametr | Typ | Opis | Wymagane? |
---|---|---|---|
billonUserPassword | string | Hasło użytkownika | Tak |
Parametry odpowiedzi:
nazwa | typ | opis |
---|---|---|
mpin | string | numer mpin (pin maszynowy) |
requestStatus | string | status wykonania zapytania |
requestStatusDescription | string | opis statusu |