Versions Compared

Key

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

...

I responsen finner du link til bildet . Du må bruke auth token med url’en for å hente bildet. Bildene kan være store og bør ikke brukes on demand.

Bilder fra vår CDN og leveres etter størrelsen som spesifiseres med parametere
(Fra september 2022)

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
languagejson
[
    {
        "personId": 83229609645671,
        "firstName": "AlbatrossNora Pen",
        "lastName": "AdminAbal",
        "birthDate": "19661989-0612-01T0013T00:00:00",
        "image": null,
        "imageContentTypeimageUrl": 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"https://tak-image-api-prod-app.azurewebsites.net/api/v1/profilepictures/image/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI5NjI2MjIxIiwib2lkIjoiNzQ2Mjc4IiwiZiI6IjgwMGFhZGE5LTdmYjItNGRlYi1iYjVhLWM4NmRiODNjNjVmMC5qcGVnIiwibmJmIjoxNjY2MTgxNjc1LCJleHAiOjE2NjYyMTc2NzUsImlhdCI6MTY2NjE4MTY3NX0.NMGbZbqo72nbwe-7cLZn-3O0Pld5yAGbgsVXwSozKfQ",
        "imageContentType": null,
        "gender": "MaleFemale",
        "number": null,
        "position": null"25",
        "owningOrgId": 453738,
        "memberType"position": "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",
        "owningOrgIdposition": 453738,
        "memberType": "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.

...