CHPP Development/XML/arenaDetails
Current version of the XML output is 1.2
outputType
Indicates whether the output to the client should be an HTML document
or an XML file. Only the XML document may be used for CHPP use.
actionType
Indicates what type of action the page should perform.
| Value | Default | Description |
| view | Default | View the data about an arenas details. |
| stats | Shows the distribution among training types for
all leagues or for a specific league. Requires that the logged on user is a Hattrick Supporter. |
arenaID
Which arena to show details for. Defaults to users own arena
if not specified. Only relevant for actionType=view.
StatsType
Which type of statistics that will be showed. Only
relevant for actionType=stats.
| Value | Default | Description |
| MyArena | Default | Show visitor statistics for the users own arena. |
| OtherArenas | Shows statistics ower biggest arenas. |
MatchType
Which type of matches that will be included in the statistics.
Only relevant for StatsType=MyArena.
| Value | Default | Description |
| All | Default | Show statistics for all types of games. |
| CompOnly | Shows statistics for all competition games. | |
| LeagueOnly | Shows statistics only for series games. | |
| FriendlyOnly | Shows statistics only for friendly games. |
FirstDate
The first date the statistics should cover. Only
relevant for StatsType=MyArena. Default is date for first
match on arena.
LastDate
The last date the statistics should cover. Only
relevant for StatsType=MyArena. Default is todays date.
StatsLeagueID
Which league to show statistics for. The default,
LeagueID=0, gives global statistics. Only relevant
for StatsType=OtherArenas.