Client systems can request a list of available scout matches for a specific time frame.
XML example
<matchlist hoursback="6" hoursforward="24" includeavailable="yes"/>XML attributes definition
| Element | Attributes | Description | Possible Values |
|---|---|---|---|
| matchlist | |||
| hoursback | The amount of hours ago the timeframe for the request starts. | Integer | |
| hoursforward | The amount of hours in the future the timeframe for the requests ends. | Integer | |
| includeavailable | Optional attribute. If this attribute is passed and the value is "yes", the match list reply will also include matches that are not booked yet, but open for booking. | String yes = Include available matches |
Note
The maximum timespan one can request matches for is 300 hours. If the timespan is greater than 300 hours it will automatically be adjusted down to 300 hours. If the optional attribute includeavailable="yes" is set, the maximum values of "hoursback" and "hoursforward" are 48 hours and 240 hours respectively.
Note
The maximum timespan one can request matches for is 300 hours. If the timespan is greater than 300 hours it will automatically be adjusted down to 300 hours. If the optional attribute includeavailable="yes" is set, the maximum values of "hoursback" and "hoursforward" are 48 hours and 240 hours respectively.
Match list reply
After the client system sends the match list request, a list of matches within the specified timeframe gets sent back.
XML example
<matchlist>
<match booked="1" distance="10" matchid="798175" start="1244822400000" t1id="560764" t1name="BRØNDBY IF II" t2id="560743" t2name
XML attributes definition
Match list filtering
To filter by sport id you can send for example:
<matchlist hoursback="15" hoursforward="10">
<sport sportid="1" />
<sport sportid="2" />
</matchlist>| Element | Attributes | Description | Possible values |
|---|---|---|---|
| match | booked | Optional attribute indicating whether a match is booked or not. Only added if includeavailable=" yes" was added to the match list request. | Integer 1 = Match is booked 0 = Match is not booked yet, but open for booking. |
| vbpclassifcation | Attribute to define Value Based pricing classification for customer packages. | String Values: star mvp | |
| division | Division name associated with the team for US leagues/competition. List of tournaments in scope attached. | String |