Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Metoden krever en sesongid.

JSON Reqeustparamtere

Parameteren er valgfri, og vil kun gi turneringer/serier som har denne klassen.

Code Block
TournamentClasses = ID

Tips: Kjør en full spørring først, også vil du få alle aktive klasser som kan brukes senere.

JSON Response

Code Block
languagejson
{
    "tournamentsInSeason": [
        {
            "tournamentId": 366650,
            "tournamentNo": "910210",
            "fromDate": "2016-07-01T00:00:00",
            "toDate": "2017-06-30T00:00:00",
            "isArchival": false,
            "isDeleted": false,
            "orgIdOwner": 372,
            "parentTournamentId": 366649,
            "seasonId": 200765,
            "seasonName": "Håndballsesongen 2016/2017",
            "tournamentName": "NM Senior Kvinner",
            "tournamentShortName": "NM Senior Kvinner",
            "tournamentClasses": [
                {
                    "tournamentId": 366650,
                    "classId": 22222283,
                    "className": "Kvinner sr",
                    "gender": "Female"
                }
            ]
        },
        .....
        .....
        .....
        {
            "tournamentId": 366651,
            "tournamentNo": "910110",
            "fromDate": "2016-07-01T00:00:00",
            "toDate": "2017-06-30T00:00:00",
            "isArchival": false,
            "isDeleted": false,
            "orgIdOwner": 372,
            "parentTournamentId": 366649,
            "seasonId": 200765,
            "seasonName": "Håndballsesongen 2016/2017",
            "tournamentName": "NM Senior Menn",
            "tournamentShortName": "NM Senior Menn",
            "tournamentClasses": [
                {
                    "tournamentId": 366651,
                    "classId": 22222285,
                    "className": "Menn sr",
                    "gender": "Male"
                }
            ]
        },
    ],
    "seasonId": 200765,
    "seasonName": "Håndballsesongen 2016/2017",
    "seasonDateFrom": "2016-05-01T00:00:00",
    "seasonDateTo": "2017-06-30T00:00:00",
    "activityId": 210

...