|
Webmasters
|
Tables REST ServicesRequestFormat 1 - Tables for a clubURI: http://www.southlacrosse.org.uk/rest/clubs/{club-id}/tables club-id is required (see allowed values). Note: if a clubs has both men's and women's sections then each division will be marked with
Format 2 - Tables for a type or divisionURI: http://www.southlacrosse.org.uk/rest/tables/{type}[/division] type is required, and must be mens or womens. division is optional (see allowed values), and if omitted then all tables will be returned. See also Divisions REST Services to obtain data about the divisions. Response SampleRequest URI: Response data (edited for brevity): <?xml version="1.0" encoding="UTF-8"?>
<league-tables>
<date>16-Dec-2007</date>
<division>
<division-name short="Prem">Premier Division</division-name>
<team>
<team-name>Hampstead</team-name>
<won>7</won>
<drawn>0</drawn>
<lost>0</lost>
<points>21</points>
<for>97</for>
<against>47</against>
</team>
<team>
<team-name>Purley</team-name>
<won>6</won>
<drawn>0</drawn>
<lost>2</lost>
<points>20</points>
<for>103</for>
<against>45</against>
</team>
...(more teams)
</division>
</league-tables>
The date field is optional, and is not guaranteed to be a formatted date value (e.g. it may contain 'FINAL'). |