GET api/measurement/season_list
Full list of available Seasons
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a list of all available Seasons
Collection of season| Name | Description | Type | Additional information |
|---|---|---|---|
| SeasonId |
The id of the season |
integer |
None. |
| Season |
The text of the season |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SeasonId": 1,
"Season": "sample string 2"
},
{
"SeasonId": 1,
"Season": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfseason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Measurement">
<season>
<Season>sample string 2</Season>
<SeasonId>1</SeasonId>
</season>
<season>
<Season>sample string 2</Season>
<SeasonId>1</SeasonId>
</season>
</ArrayOfseason>