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

« Previous Version 4 Next »

Introduksjon

Metoden gir tilgang på alle publiserte arrangement fra Isonen for en organisasjon

Funksjonelle krav

  • Krever at OrgId blir spesifisert.

  • Kun publiserte arrangementer blir publisert

  • Kun fremtidige arrangementer blir eksponert

Tilgangskontroll

Scope: data_activity_read

Tilgang på spesifikk organisasjon kan være begrenset i tilgangen gitt fra NIF.

API spesifikasjoner

Input parametere

Querystringparametere

startDate
clubId

eks: {{dataurl}}/api/v1/activity/eventsfororg?startDate=2022-12-29&clubId=57732

JSON Datamodell / Kontrakt

{
  "data": {
    "apiEventSearch": [
      {
        "id": "string",
        "eventUrl": "string",
        "eventUrlRegistration": "string",
        "eventType": "EVENT_OFFICIAL",
        "eventIsSecret": true,
        "eventStatus": "DRAFT",
        "title": "string",
        "organizer": "string",
        "organizerOrgId": 0,
        "locationPostalCode": "string",
        "locationPostalArea": "string",
        "locationName": "string",
        "locationLatitude": 0,
        "locationLongitude": 0,
        "imageFilename": "string",
        "imageFilepath": "string",
        "imageOriginalName": "string",
        "imageDownloadUrl": "string",
        "scheduleStartDateTime": "string",
        "scheduleEndDateTime": "string",
        "scheduleSignUpStartDateTime": "string",
        "scheduleSignUpEndDateTime": "string",
        "sportName": "string",
        "sportId": 0,
        "signUpFee": 0,
        "sfOrgId": 0,
        "sfName": "string",
        "confederationId": 0,
        "confederationName": "string",
        "regionId": 0,
        "regionName": "string",
        "activities": [
          {
            "id": "string",
            "activityName": "string",
            "activitySportId": 0,
            "exerciseId": 0,
            "exerciseName": "string",
            "classId": 0,
            "className": "string",
            "gender": 0,
            "price": 0,
            "priceMva": 0,
            "startDateTime": "2024-10-28T11:47:08.082Z",
            "endDateTime": "2024-10-28T11:47:08.082Z",
            "eventId": "string"
          }
        ],
        "competitionType": "string",
        "livestreamUrl": "string",
        "isIntroEvent": true,
        "functionaries": [
          {
            "id": "string",
            "role": "string",
            "name": "string",
            "email": "string",
            "phone": "string",
            "buypassId": "string",
            "personId": "string",
            "confederationOrRegionName": "string",
            "country": "string",
            "countryCode": "string",
            "orgName": "string"
          }
        ]
      }
    ]
  }
}

Datakilde

ISONEN

URL

{{dataurl}}/api/v1/activity/eventsfororg?startDate={yyyy-mm-dd}&clubId={orgid}

  • No labels