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

Version 1 Next »

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 kan låses på særforbund eller sportid.

API spesifikasjoner

Input parametere

Querystring parameter

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

JSON Datamodell / Kontrakt

{
    "data": {
        "event": {
            "id": "clawa2h7w11694511cwex51gnty",
            "title": "Steilia opp",
            "organizer": "Bardu Idrettslag - Friidrett",
            "eventSportId": 434,
            "participants": [
                {
                    "id": "clgp2pymo20897001dsl0slitbb",
                    "eventId": null,
                    "firstName": "Deltager",
                    "lastName": "Deltagelsen",
                    "clubName": "Klubben Idrettslag",
                    "buypassId": 12345678,
                    "personId": "987654",
                    "registrationId": "clgp2pwdu20891801dslaxfxikf",
                    "address": "",
                    "mobilePhone": "+4712345678",
                    "clubOrgId": 99999,
                    "gender": "MALE",
                    "city": "",
                    "deviceId": "",
                    "deviceName": "",
                    "postCode": null,
                    "dateOfBirth": "1987-09-22T00:00:00Z",
                    "totalPriceActivities": 60,
                    "totalPriceOneTimeLicence": 0,
                    "totalPriceVatActivities": 0,
                    "totalPriceVatOneTimeLicence": 0,
                    "eventActivities": [
                        {
                            "id": "clgvzfn4e8915101d0xpsmyoy0",
                            "name": "menn 16+ - 16-100 år - Menn",
                            "activityId": "clgvzfn4e8915101d0xpsmyoy0",
                            "sportId": 0,
                            "sportName": null,
                            "exerciseId": null,
                            "exerciseName": null,
                            "classId": null,
                            "className": null,
                            "price": 0.0,
                            "currency": "NOK",
                            "questions": []
                        }
                    ]
                },
                ...
                ...
                ...
                ...
                }
            ]
        }
    }
}                

Datakilde

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

Isonen

URL

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

  • No labels