Introduksjon
Info |
---|
Skal du hente kamper med klubbtilgang? Da må du bruke denne metoden: TRT - Metode: ScheduledMatches/Club |
Metoden gir deg informasjon om kommende kamper for et lag, en særidrettsgruppe eller en klubb.
Forretningsregler
Metoden har støtte for følgende orgid’er:
Orgtyper | Forklaring | OrgId eksempel |
---|---|---|
Orgtype 7: Team / Lag | Tertnes Elite - KSr 1 | 470538 |
OrgType 6: Gruppe for særidrett | Håndball | 449908 |
OrgType 5: Klubb / Idrettslag | Tertnes Elite | 205270 |
Eksempler
JSON Request
Code Block |
---|
OrgId i URL
Valgfri querystring paramter: tournamentid=123456
Gir da kun kamper i valgte turnering/seriespill |
JSON Response
Code Block | ||
---|---|---|
| ||
[ { "id": 73635327597715, "matchId": 73635327597715, "matchNo": "9002000015011029401002", "activityAreaId": 232065": 9680, "activityAreaLatitude": "62.68283781075722", "activityAreaLongitude": "6.6689699259679855", "activityAreaName": "Midsundhallen", "activityAreaNo": "01", "admOrgId": 609, "arrOrgId": 61000, "arrOrgName": "Midsund IL", "arrOrgNo": "GR15450001330", "awayteam": "Bergsøy - KSr 1", "awayteamId": 224136, ": "Åsane ArenaawayteamOrgName": "Bergsøy", "awayteamOrgNo": "LA15150001248", "awayteamClubOrgId": 26012, "hometeam": "Midsund - KSr 1", "hometeamId": 224652, "hometeamOrgName": "Midsund", "hometeamOrgNo": "LA15450001089", "hometeamClubOrgId": 26240, "roundId": 1, "roundName": "Runde 1", "seasonId": 200976, "tournamentId": 412545, "tournamentName": "4. divisjon Kvinner TrønderEnergi-serien - 01", "matchDate": "2022-11-27T00:00:00", "matchStartTime": 1700, "matchEndTime": 1815, "venueUnitId": 4443, "venueUnitNo": null, "venueId": 1529, "venueNo": "15450006", "physicalAreaId": 9565, "matchResult": null, "liveArena": true, "liveClientType": "Standard", "statusTypeId": 1, "statusType": "Opprettet", "lastChangeDate": "2022-09-21T17:02:07.53", "spectators": null, "actualMatchDate": "0001-01-01T00:00:00", "actualMatchStartTime": null, "actualMatchEndTime": null, "sportid":210 }, { "id": 7597718, "matchId": 7597718, "matchNo": "11029401005", "activityAreaId": 9264, "activityAreaLatitude": "62.855371", "activityAreaLongitude": "7.15196370000001", "activityAreaName": "Frænahallen", "activityAreaNo": "46010743470101", "admOrgId": 372609, "arrOrgId": 20527161003, "arrOrgName": "TertnesElnesvågen Håndballog EliteOmegn -IL Håndball", "arrOrgNo": "GR12010534330GR15480022330", "awayteam": "FanaBergsøy - KSr 1", "awayteamId": 225474224136, "awayteamOrgName": "FanaBergsøy", "awayteamOrgNo": "LA12010079032LA15150001248", "awayteamClubOrgId": 2483426012, "hometeam": "TertnesElnesvågen Elite - KSr 1", "hometeamId": 470538224317, "hometeamOrgName": "Tertnes EliteElnesvågen", "hometeamOrgNo": "LA12010534003LA15480022022", "hometeamClubOrgId": 20527026272, "roundId": 221, "roundName": "Runde 221", "seasonId": 200932200976, "tournamentId": 402550412545, "tournamentName": "REMA 1000-ligaen Kvinner4. divisjon Kvinner TrønderEnergi-serien - 01", "matchDate": "2022-0311-10T0020T00:00:00", "matchStartTime": 18301600, "matchEndTime": 19451715, "venueUnitNovenueUnitId": "4601074347"4446, "venueUnitNo": null, "venueId": 100733032, "venueNo": "460107434715480022", "physicalAreaId": 2217797861, "matchResult": null, "liveArena": true, "liveClientType": "Standard", "statusTypeId": "Advanced"1, "statusType": "Opprettet", "lastChangeDate": "2022-09-21T17:02:07.53", "spectators": null, "actualMatchDate": "0001-01-01T00:00:00", "actualMatchStartTime": null, "actualMatchEndTime": null, "sportid":210 }, { ... ... } ] |
Soap Template
...
EndpointsEndpoints
URL | Metode | Scope | Client Claims (optional) |
---|---|---|---|
{{dataurl}}/api/v1/ta/ScheduledMatches | GET | data_ta_read | sport_id |
Mer om statustyper se TRT - Metode: Match