Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduksjon

Metoden lister ut alle spillere registrert i spillerstallen, samt støtteapparat.

Funksjonelle krav

Krever unik orgid for teamet

Enkelte spillere eller personer i støtteapparat kan være utelatt pga reservasjon. Dette gjelder ikke i de øverste ligaene da dette er av allmenn interesse.

Medlemstyper

Datafeltet membertype indikerer type rolle i laget.

  • Player

  • TeamSupport

Bilder

Bilder leveres som Base64.

Tilgangskontroll

Scope: data_ta_person_read

Tilgang kan gis på spesifikk idrett.

API spesifikasjoner

Input parametere

Orgid er endel av URL
eks: {{dataurl}}/api/v1/ta/TeamMembers/453738

JSON Datamodell / Kontrakt

Personene i dette eksemplet er ikke reelle personer.

[
    {
        "personId": 8322960,
        "firstName": "Albatross",
        "lastName": "Admin",
        "birthDate": "1966-06-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 10488091,
        "firstName": "Torleif",
        "lastName": "Amundsen",
        "birthDate": "1973-02-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 7697806,
        "firstName": "Yoan",
        "lastName": "Dinkov",
        "birthDate": "1993-10-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 10226190,
        "firstName": "Muhammad",
        "lastName": "Flatjord",
        "birthDate": "1978-05-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 11432764,
        "firstName": "Live",
        "lastName": "Jøranli",
        "birthDate": "1973-04-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Female",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 11403685,
        "firstName": "Armin",
        "lastName": "Kaurin",
        "birthDate": "1962-06-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 6174355,
        "firstName": "Torleif",
        "lastName": "Landa",
        "birthDate": "1973-01-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
        "personId": 11497030,
        "firstName": "Christian Morillo",
        "lastName": "Lyngbø",
        "birthDate": "1998-08-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738,
        "memberType": "Player"
    },
    {
    "personId": 11781409,
    "firstName": "Christian",
    "lastName": "Testperson",
    "birthDate": "1988-08-01T00:00:00",
    "image": null,
    "imageContentType": null,
    "gender": "Male",
    "number": null,
    "position": null,
    "owningOrgId": 453738,
    "memberType": "TeamSupport"
    }
]    

Datakilde

Link til datamodell eller spesifiser database/stored procedure o.l.

Data hentes fra TA

URL

Se eksempel for inndata

  • No labels