Versions Compared

Key

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

Introduksjon

API metode for å hente lisenser fra det nye lisenssystemet som erstatter tidligere løsning fra SportsAdmin.

Med denne metoden kan du sjekke flere lisenser per idrett.

Forretningsregler

Krever sportID for å hente lisenser. SportId finner du her: Sportsgrener med ID

Scope: data_licensecheck_read

Eksempler

JSON Request

Metode: POST

Code Block
languagejson
{
  "sportId": 0,
  "personIds": [
    0
  ]
}

JSON Response

Code Block
languagejson
[
  {
    "sfOrgId": 0,
    "personId": 0,
    "personXid": "string",
    "paidFee": 0,
    "paid": true,
    "paidDate": "2024-03-25T07:33:18.712Z",
    "licenseXId": "string",
    "licensePeriodFromDate": "2024-03-25T07:33:18.712Z",
    "licensePeriodId": 0,
    "licensePeriodToDate": "2024-03-25T07:33:18.712Z",
    "licensePeriodName": "string",
    "licenseName": "string",
    "firstName": "string",
    "lastName": "string",
    "birthDate": "2024-03-25T07:33:18.712Z",
    "sportId": [
      0
    ]
  }
]

Datakilde:

Code Block
ISD - NY Lisensløsning

Endpoints

URL

Metode

Scope

{{dataURL}}/api/v1/activity/license

Post

data_licensecheck_read