TRT - Metode: MatchIncidentTypes
Introduksjon
Metoden gir informasjon om hvilke incidenttypes som finnes i PubNub og MatchIncidents metoden.
Metoden er å anse som et register og bør lastes ned og lagres på integrasjonspartneres side for oppslag.
Funksjonelle krav
Særforbundets organisasjonsid må oppgir som endel av URL
Tilgangskontroll
Scope: data_ta_matchincidents_read
API spesifikasjoner
Input parametere
spesifiser om det er querystring, post o.l
GET
Krav til sforgId som querystring paramater.
eks: {{dataurl}}/api/v1/ta/MatchIncidentTypes?sfOrgId=372 (Håndball) JSON Datamodell / Kontrakt
[
{
"matchIncidentTypeId": 28,
"matchIncidentTypeName": "Spillemål",
"parentMatchIncidentTypeId": 0,
"orgIdOwner": 372,
"activityId": 210,
"parentActivityId": 23,
"structureLevel": 0,
"isPartialResult": true
},
{
"matchIncidentTypeId": 200132,
"matchIncidentTypeName": "Skudd",
"parentMatchIncidentTypeId": 0,
"orgIdOwner": 372,
"activityId": 210,
"parentActivityId": 23,
"structureLevel": 1,
"isPartialResult": false
},
{
"matchIncidentTypeId": 200133,
"matchIncidentTypeName": "Skudd kontring",
"parentMatchIncidentTypeId": 0,
"orgIdOwner": 372,
"activityId": 210,
"parentActivityId": 23,
"structureLevel": 1,
"isPartialResult": false
},
{
"matchIncidentTypeId": 200134,
"matchIncidentTypeName": "Skudd gjennombrudd",
"parentMatchIncidentTypeId": 0,
"orgIdOwner": 372,
"activityId": 210,
"parentActivityId": 23,
"structureLevel": 1,
"isPartialResult": false
},
{
"matchIncidentTypeId": 200135,
"matchIncidentTypeName": "7-meter",
"parentMatchIncidentTypeId": 0,
"orgIdOwner": 372,
"activityId": 210,
"parentActivityId": 23,
"structureLevel": 1,
"isPartialResult": false
},
{
"matchIncidentTypeId": 200137,
"matchIncidentTypeName": "Teknisk feil",
"parentMatchIncidentTypeId": 0,
"orgIdOwner": 372,
"activityId": 210,
"parentActivityId": 23,
"structureLevel": 1,
"isPartialResult": false
},
..
..
] Datakilde
Turneringsadmin, etter at kampen er rapportert inn og sluttført i PubNub Live. URL
{{dataurl}}/api/v1/ta/MatchIncidentTypes?sfOrgId={sforgid}