The client system will automatically receive odds for all matches that it is registered to. There is no need to register for a match unless you have unsubscribed before. XML examples Code Block |
---|
| <BookmakerStatus bookmakerid="24" type="unregister" >
<Match matchid="661373" />
</BookmakerStatus> |
Code Block |
---|
| <BookmakerStatus bookmakerid="24" type="register" >
<Match matchid="661373" />
</BookmakerStatus> |
Code Block |
---|
| <BookmakerStatus bookmakerid="24" type="unregister" >
<Match matchid="661373" >
<Odds typeid="5" />
<Odds subtype="13" typeid="6" />
</Match>
</BookmakerStatus> |
XML attributes definition Element | Attributes |
---|
| Attribute | Description | Possible values | BookmakerStatus | type | Keyword which describes what kind of request is sent. | String "register" (for match registration requests) "unregister" (for match unregistration requests) | bookmakerid | The id of the bookmaker | Integer | Match | matchid | The id of the match of which the client system wants to register or unregister from. | Integer | Odds | subtype | Identifier which tells what kind of freetext market this is. | Number | typeid | This is a numeric id for the market type, and will be the same for that market type in all matches. | Number |
If the configuration option "Enable response on register and unregister requests" has been activated, you will receive a meta message for the given match. The meta message will have a replytype attribute set to "register" or "unregister".
Info |
---|
Note It is possible to register/unregister from specific bet types for a match by passing Odds elements. If not Odds elements are passed, the client system will be registered/unregistered from all bet types for the specified match. |
|