Introduksjon
Metoden gir deg informasjon om kommende kamper for en klubb.
Bestill tilgang her: https://forms.office.com/r/LNSJAxKJZu
Forretningsregler
Tilgangen styres på orgid. Det kan gis tilgang på ett eller flere orgids. I de fleste tilfeller gis det tilgang på ett orgid.
Metoden har støtte for følgende orgtyper:
Orgtyper | Forklaring | OrgId eksempel |
---|---|---|
OrgType 5: Klubb / Idrettslag | Kjøkkelvik IL | 25419 |
Eksempler
JSON Request
OrgId er endel av URL Valgfri querystring paramter: tournamentid=123456 Gir da kun kamper i valgte turnering/seriespill
JSON Response
[ { "id": 7583979, "matchId": 7583979, "matchNo": "6130902072", "activityAreaId": 232336, "activityAreaLatitude": "60.308155244524805", "activityAreaLongitude": "5.358288773875821", "activityAreaName": "Fana Arena 1 - Kortbane", "activityAreaNo": "46", "admOrgId": 506542, "arrOrgId": 60872, "arrOrgName": "Fana IL", "arrOrgNo": "GR12010079330", "awayteam": "Søre Neset Idrettslag - G09 1", "awayteamId": 930171, "awayteamOrgName": "Søre Neset Idrettslag", "awayteamOrgNo": "LA12430017171", "awayteamClubOrgId": 25419, "hometeam": "Kjøkkelvik - G09 1", "hometeamId": 224342, "hometeamOrgName": "Kjøkkelvik", "hometeamOrgNo": "LA12010120143", "hometeamClubOrgId": 24870, "roundId": 7, "roundName": "Runde 7", "seasonId": 200976, "tournamentId": 412180, "tournamentName": "Gutter 9 øvd A02", "matchDate": "2022-10-29T00:00:00", "matchStartTime": 900, "matchEndTime": 940, "venueUnitId": 33803, "venueUnitNo": null, "venueId": 10096, "venueNo": "4601060313", "physicalAreaId": 221900, "matchResult": null, "liveArena": false, "liveClientType": "None", "statusTypeId": 1, "statusType": "Opprettet", "lastChangeDate": "2022-10-26T08:29:57.47", "spectators": null, "actualMatchDate": "0001-01-01T00:00:00", "actualMatchStartTime": null, "actualMatchEndTime": null }, { "id": 7584008, "matchId": 7584008, "matchNo": "6130902101", "activityAreaId": 232845, "activityAreaLatitude": "60.17857641028239", "activityAreaLongitude": "5.413973811042094", "activityAreaName": "Nore Neset Arena - Kortbane", "activityAreaNo": "46", "admOrgId": 506542, "arrOrgId": 60913, "arrOrgName": "Nore Neset", "arrOrgNo": "GR12430005330", "awayteam": "Stord 3 - G09 3", "awayteamId": 786477, "awayteamOrgName": "Stord 3", "awayteamOrgNo": "LA12210016596", "awayteamClubOrgId": 25214, "hometeam": "Kjøkkelvik - G09 1", "hometeamId": 224342, "hometeamOrgName": "Kjøkkelvik", "hometeamOrgNo": "LA12010120143", "hometeamClubOrgId": 24870, "roundId": 12, "roundName": "Runde 12", "seasonId": 200976, "tournamentId": 412180, "tournamentName": "Gutter 9 øvd A02", "matchDate": "2023-01-28T00:00:00", "matchStartTime": 1100, "matchEndTime": 1140, "venueUnitId": 33880, "venueUnitNo": null, "venueId": 10153, "venueNo": "4624078594", "physicalAreaId": 222150, "matchResult": null, "liveArena": false, "liveClientType": "None", "statusTypeId": 1, "statusType": "Opprettet", "lastChangeDate": "2022-10-26T08:29:57.69", "spectators": null, "actualMatchDate": "0001-01-01T00:00:00", "actualMatchStartTime": null, "actualMatchEndTime": null }, { ... ... } ]
Endpoints
URL | Metode | Scope | Client Claims (optional) |
---|---|---|---|
{{dataurl}}/api/v1/ta/ScheduledMatches/club/{orgid} | GET | data_ta_scheduledmatches_read | org_id |
Mer om statustyper se TRT - Metode: Match