Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 2 Current »

Introduksjon

Metoden gir informasjon om deltagere på et arrangement. Inneholder utvidet informasjon for spesifikke idretter som f.eks Ski, og Motorsport.

Funksjonelle krav

Gis tilgang til spesifikt særforbund, og kun arrangementer som har særforbundstilknytning vil vises. (terminfestet)

Tilgangskontroll

Scope: data_participants_read

Tilgangen vil i de fleste tilfeller låses til et spesifikt særforbund.

API spesifikasjoner

Input parametere

Querystring parameter

Eks: {{dataurl}}/api/v1/activity/participants?eventId=clawa2h7w11694511cwex51gnty

JSON Datamodell / Kontrakt

{
  "data": {
    "event": {
      "id": "string",
      "title": "string",
      "organizer": "string",
      "eventSportId": 0,
      "sfOrgId": 0,
      "participants": [
        {
          "id": "string",
          "eventId": "string",
          "buypassId": 0,
          "personId": "string",
          "firstName": "string",
          "lastName": "string",
          "clubName": "string",
          "clubOrgId": 0,
          "groupOrgId": 0,
          "confederationOrgId": 0,
          "confederationOrgName": "string",
          "registrationId": "string",
          "checkedIn": true,
          "checkedInAt": "2023-07-21T08:25:36.294Z",
          "organizerCommunication": true,
          "address": "string",
          "mobilePhone": "string",
          "email": "string",
          "country": "string",
          "gender": "string",
          "city": "string",
          "deviceId": "string",
          "deviceName": "string",
          "postCode": "string",
          "dateOfBirth": "2023-07-21T08:25:36.294Z",
          "emergencyContactFirstName": "string",
          "emergencyContactLastName": "string",
          "emergencyContactPhone": "string",
          "emergencyContactEmail": "string",
          "registrant": "string",
          "registrantEmail": "string",
          "registeredAt": "2023-07-21T08:25:36.294Z",
          "totalPriceActivities": 0,
          "totalPriceOneTimeLicence": 0,
          "totalPriceVatActivities": 0,
          "totalPriceVatOneTimeLicence": 0,
          "eventActivities": [
            {
              "id": "string",
              "name": "string",
              "activityId": "string",
              "sportId": 0,
              "sportName": "string",
              "exerciseId": 0,
              "exerciseName": "string",
              "classId": 0,
              "className": "string",
              "licenceNumber": "string",
              "price": 0,
              "currency": "string",
              "questions": [
                {
                  "question": "string",
                  "answer": "string"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Datakilde

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

Isonen

URL

{{dataurl}}/api/v1/activity/participants?eventId=clawa2h7w11694511cwex51gnty

  • No labels