Authorization
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID></SessionID> <Request> <Type>Authorization</Type> <Authorization> <UserName>testowy</UserName> <Password>testowy</Password> <IP>10.0.0.4</IP> <!-- opcjonalne --> </Authorization> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Authorization</Type> <Authorization> <SessionID>398c498441efbfd871a2f9cd44044256</SessionID> </Authorization> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Wrong Login or Passwd</Error> </Request> </Net47> //BEGINEND//
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Cannot create SessionID</Error> </Request> </Net47> //BEGINEND//