After connecting to the server, the client system needs to log in before it can start sending requests and receiving data.
<login>
<credential>
<loginname value="pavels"/>
<password value="..."/>
</credential>
</login>
Login reply
In order to let the client system know whether the login attempt was successful, the server replies to login messages.
<login result="valid">
<user bookmakerid="1234"/>
</login>
XML attributes definition
Element | Attributes |
---|
| Attribute | Description | Possible values |
login | result | Whether the login was successful or not | String, possible values: valid = Login succesfull invalid = Login failed |