Versions Compared

Key

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

...

Code Block
BuypassID
eller
PersonID med et ekstra nivå på URL /pid/

JSON Response

Merk: ActivityId i responsen her er det samme som du finner her: Liste over sportsgrener med ID (SportID)

Code Block
languagejson
[
    {
        "orgId": 19902,
        "orgName": "Soon Tennisklubb",
        "orgTypeId": 5,
        "functionTypeIds": [
            10000000
        ],
        "organisationNumber": "884955882",
        "sports": [
            {
                "sportId": 36,
                "sportName": "Tennis",
                "activities": [
                    {
                        "activityId": 219,
                        "sportName": "Tennis"
                    }
                ],
                "parentSfId": 385,
                "parentSfName": "Norges Tennisforbund",
                "parentRegionId": 610598,
                "parentRegionName": "Tennisregion Østland Øst",
                "parentSFConfederationId": null,
                "parentSFConfederationName": null
            }
        ]
    },
    {
        "orgId": 563529,
        "orgName": "Soon Cykleklubb",
        "orgTypeId": 5,
        "functionTypeIds": [
            10000000
        ],
        "organisationNumber": "993547794",
        "sports": [
            {
                "sportId": 13,
                "sportName": "Sykkel",
                "activities": [
                    {
                        "activityId": 80,
                        "sportName": "Landevei"
                    }
                ],
                "parentSfId": 362,
                "parentSfName": "Norges Cykleforbund",
                "parentRegionId": 735019,
                "parentRegionName": "NCF Region Øst",
                "parentSFConfederationId": null,
                "parentSFConfederationName": null
            }
        ]
    }
]