Versions Compared

Key

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

...

Datafeltet membertype indikerer type rolle i laget.

  • Player

  • TeamSupport

Bilder

Bilder leveres som Base64I responsen finnes det en link til personbilde som er unik for responsen. Denne url’en inneholder en accesstoken som er gyldig i 10 timer fra når url’en ble generert. Integrasjonspartneren anbefales derfor laste ned bildene og lagre den på deres egen tjeneste. Dette også for at bildene i mange tilfeller ikke er optimalisert for publisering på web.

Tilgangskontroll

Scope: data_ta_person_read

...

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

valgfri; hent en person ved å legge til ?personid={personId}
eks: {{dataurl}}/api/v1/ta/TeamMembers/453738?personid=9645671

JSON Datamodell / Kontrakt

...

Code Block
languagejson
[
    {
        "personId": 83229609645671,
        "firstName": "AlbatrossNora Pen",
        "lastName": "AdminAbal",
        "birthDate": "19661989-0612-01T0013T00:00:00",
        "imageimageUrl": 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"https://tak-image-api-prod-app.azurewebsites.net/api/v1/profilepictures/image/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI5NjI2MjIxIiwib2lkIjoiNzQ2Mjc4IiwiZiI6IjgwMGFhZGE5LTdmYjItNGRlYi1iYjVhLWM4NmRiODNjNjVmMC5qcGVnIiwibmJmIjoxNjY2MTgxNjc1LCJleHAiOjE2NjYyMTc2NzUsImlhdCI6MTY2NjE4MTY3NX0.NMGbZbqo72nbwe-7cLZn-3O0Pld5yAGbgsVXwSozKfQ",
        "image": null,
        "imageContentType": null,
        "gender": "MaleFemale",
        "number": null,
        "position25": null,
        "owningOrgIdposition": 453738,
        "memberType": "Player"
    },
    {
        "personId": 10226190,
        "firstName": "Muhammad",
        "lastName": "Flatjord""Bakspiller midt",
        "birthDate": "1978-05-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738741278,
        "memberType": "Player"
    },
    {
        "personId": 114327646823479,
        "firstName": "LiveMartin Jensen",
        "lastName": "JøranliHansen",
        "birthDate": "19732002-0403-01T0009T00:00:00",
        "imageimageUrl": 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"https://tak-image-api-prod-app.azurewebsites.net/api/v1/profilepictures/image/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI2ODg4Nzc5Iiwib2lkIjoiNzQ2Mjc4IiwiZiI6IjkzN2UzZTQzLTgxOGUtNDc5ZC1iOWMwLTM0OWE0YWVmNDk2Mi5qcGVnIiwibmJmIjoxNjY2MTgxNjc1LCJleHAiOjE2NjYyMTc2NzUsImlhdCI6MTY2NjE4MTY3NX0.ntxn8ElhIrrRSlCH4qiUxJZvNlG9L6JpguXGUWywM6Y",
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null"7",
        "owningOrgId": 453738,
        "memberTypeposition": "Player"
    },
Bakspiller",
   {         "personId": 11497030,
        "firstName": "Christian Morillo",
        "lastName": "Lyngbø",
        "birthDate": "1998-08-01T00:00:00",
        "image": null,
        "imageContentType": null,
        "gender": "Male",
        "number": null,
        "position": null,
        "owningOrgId": 453738741278,
        "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.

...