Versions Compared

Key

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

...

Merk: ActivityId og Sportid i responsen her er det samme som du finner her: Liste over sportsgrener Sportsgrener med ID (SportID)
Siste organisasjonsobjektet i eksempelet er et særforbund. Her er det utlistinger av alle grener/sports som er tilknyttet forbundet. Disse Dette er ikke organsiasjoner og organisasjoner, men opptrer som organisasjoner i responsen. Objektene har derfor null/0 på alle parents og orgidsorgids. Men, parentid linker tilbake til særforbundet. Dette gjelder også særkrets. Skille på dette ser du på orgtypeid 2 og 5. Hvor 2 er SF og 5 er klubb/idrettslag. . Se mer om organisasjoner her: Organisasjonstyper og organisasjonskart

Code Block
languagejson
[
    {
        "orgId": 19799512430,
        "orgName": "SpydebergTestklubb Motorklubb IR",
        "orgTypeId": 5,
        "functionTypeIds": [
            1000000040000004
        ],
        "organisationNumber": "987547391995518384",
        "sports": []
    },
    {
  {      "orgId": 563529,
         "sportIdorgName": "Soon Cykleklubb 40",
        "orgTypeId": 5,
        "sportNamefunctionTypeIds": "Motorsport",[
            10000000
   "activities": [],    ],
        "organisationNumber": "993547794",
  "parentSfId": 389,     "sports": [
          "parentSfName": "Norges Motorsportforbund",{
                "parentRegionIdsportId": 52930213,
                "parentRegionNamesportName": "Norges Motorsportforbund - Region ØstSykkel",
                "parentSFConfederationIdactivities": null, [
                    {
      "parentSFConfederationName": null,                 "orgIdactivityId": 6718880,
            }         ]   "sportName": "Landevei",
},     {         "orgId": 19902,         "orgNameorgId": 726787
 "Soon  Tennisklubb",         "orgTypeId": 5,       }
 "functionTypeIds": [             10000000 ],
       ],         "organisationNumberparentSfId": "884955882"362,
        "sports": [       "parentSfName":    "Norges Cykleforbund",
 {                 "sportIdparentRegionId": 36735019,
                "sportNameparentRegionName": "TennisNCF Region Øst",
                "activitiesparentSFConfederationId": null,
    [            "parentSFConfederationName": null,
       {         "orgId": 563536
            }
 "activityId": 219,      ]
    },
    {
        "sportNameorgId": "Tennis"889079,
        "orgName": "NIF Digital BIL",
        "orgTypeId": 15,
        "orgIdfunctionTypeIds": 814703 [
            10000000
        ],
        "organisationNumber": "920962017",
        "sports": []
    },
    {
        "orgId": 381,
           ]"orgName": "Norges Skiforbund",
        "orgTypeId": 2,
        "functionTypeIds": [
            202413
        ],
        "organisationNumber": "821596572",
        "sports": [
            {
                "sportId": 32,
                "sportName": "Ski",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 129,
                "sportName": "Hopp",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 130,
                "sportName": "Langrenn",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 131,
                "sportName": "Kombinert",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 132,
                "sportName": "Alpint",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 133,
                "sportName": "Telemark",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 134,
                "sportName": "Freestyle",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 250,
                "sportName": "Turrenn",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 389,
                "sportName": "Randonee",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 390,
                "sportName": "Kulekjøring",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 391,
                "sportName": "Skicross",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 392,
                "sportName": "Freeski",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            },
            {
                "sportId": 446,
                "sportName": "Rulleski",
                "activities": null,
                "parentSfId": 381,
                "parentSfName": "Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null,
                "parentSFConfederationName": null,
                "orgId": 0
            }
        ]
    },
    {
        "orgId": 684,
        "orgName": "Akershus Skikrets",
        "orgTypeId": 4,
        "functionTypeIds": [
            40000001
        ],
        "organisationNumber": "984559461",
        "sports": [
            {
                "sportId": 32,
                "parentSfIdsportName": 385"Ski",
                "parentSfNameactivities": "Norges Tennisforbund"null,
                "parentRegionIdparentSfId": 610598381,
                "parentRegionNameparentSfName": "TennisregionNorges Østland ØstSkiforbund",
                "parentSFConfederationIdparentRegionId": null,
                "parentSFConfederationNameparentRegionName": null,
                "orgIdparentSFConfederationId": 65932684,
            }    "parentSFConfederationName":     ]
"Akershus Skikrets",
   },     {         "orgId": 20082,0
        "orgName": "Bærums Verk Hauger Idrettsforening"},
  
     "orgTypeId": 5,      {
  "functionTypeIds": [             10000000
"sportId": 129,
       ],         "organisationNumbersportName": "871521972Hopp",
                "sportsactivities": [ null,
                 {"parentSfId": 381,
                "sportIdparentSfName": "Norges 46Skiforbund",
                "sportNameparentRegionId": "Amerikanske idretter"null,
                "activitiesparentRegionName": [ null,
                "parentSFConfederationId": 684,
           {     "parentSFConfederationName": "Akershus Skikrets",
                 "activityIdorgId": 258,0
            },
           "sportName": "Cheerleading",
       {
                 "orgIdsportId": 720765130,
                "sportName": "Langrenn",
  }                 ]"activities": null,
                "parentSfId": 395381,
                "parentSfName": "Norges Amerikanske Idretters ForbundSkiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null684,
                "parentSFConfederationName": "Akershus nullSkikrets",
                "orgId": 4585860
            },
          ]  {
  },     {         "orgIdsportId": 22795,131,
                "orgNamesportName": "Nedre Eiker SvømmeklubbKombinert",

       "orgTypeId": 5,         "functionTypeIdsactivities": null,
   [             10000000
"parentSfId": 381,
       ],         "organisationNumberparentSfName": "980140504Norges Skiforbund",
                "sportsparentRegionId": [ null,
                 {"parentRegionName": null,
                "sportIdparentSFConfederationId": 35684,
                "sportNameparentSFConfederationName": "SvømmingAkershus Skikrets",
                "activitiesorgId": 0
    [        },
            {
                "sportId": 132,
                "activityIdsportName": 154"Alpint",
                "activities": null,
        "sportName": "Svømming",       "parentSfId": 381,
                "orgIdparentSfName": 761292"Norges Skiforbund",
                   }"parentRegionId": null,
                "parentRegionName": ]null,
                "parentSfIdparentSFConfederationId": 384684,
                "parentSfNameparentSFConfederationName": "NorgesAkershus SvømmeforbundSkikrets",
                "parentRegionIdorgId": null, 0
            },
           "parentRegionName": null, {
                "parentSFConfederationIdsportId": 726133,
                "parentSFConfederationNamesportName": "Buskerud SvømmekretsTelemark",
                "orgIdactivities": 65636null,
            }         ]
 "parentSfId": 381,
  },     {         "orgIdparentSfName": 563529"Norges Skiforbund",
        "orgName": "Soon Cykleklubb",         "orgTypeIdparentRegionId": 5null,
        "functionTypeIds": [        "parentRegionName": null,
   10000000,             202413
"parentSFConfederationId": 684,
       ],         "organisationNumberparentSFConfederationName": "993547794Akershus Skikrets",
        "sports": [        "orgId": 0
       {     },
           "sportId": 13, {
                "sportNamesportId": "Sykkel"134,
                "activitiessportName": ["Freestyle",
                "activities": null,
  {              "parentSfId": 381,
         "activityId": 80,      "parentSfName": "Norges Skiforbund",
                "sportNameparentRegionId": "Landevei"null,
                "parentRegionName": null,
      "orgId": 726787         "parentSFConfederationId": 684,
          }      "parentSFConfederationName": "Akershus Skikrets",
        ],        "orgId":  0
      "parentSfId": 362,      },
          "parentSfName": "Norges Cykleforbund",{
                "parentRegionIdsportId": 735019250,
                "parentRegionNamesportName": "NCF Region ØstTurrenn",
                "parentSFConfederationIdactivities": null,
                "parentSFConfederationNameparentSfId": null381,
                "orgIdparentSfName": 563536"Norges Skiforbund",
           }         ]
    },
    {
 "parentRegionId": null,
      "orgId": 366,         "orgNameparentRegionName": "Norges Friidrettsforbund",
 null,
      "orgTypeId": 2,         "functionTypeIdsparentSFConfederationId": 684,
    [             40000001
"parentSFConfederationName": "Akershus Skikrets",
       ],         "organisationNumberorgId": "869990612", 0
           "sports": [ },
            {
                "sportId": 17389,
                "sportName": "FriidrettRandonee",
                "activities": null,
                "parentSfId": 0381,
                "parentSfName": "Norges nullSkiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null684,
                "parentSFConfederationName": null"Akershus Skikrets",
                "orgId": 0
            },
            {
                "sportId": 220390,
                "sportName": "Friidrett på bane Kulekjøring",
                "activities": null,
                "parentSfId": 0381,
                "parentSfName": "Norges nullSkiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null684,
                "parentSFConfederationName": null"Akershus Skikrets",
                "orgId": 0
            },
            {
                "sportId": 362391,
                "sportName": "Gang, mosjon og turmarsj Skicross",
                "activities": null,
                "parentSfId": 0381,
                "parentSfName": null"Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null684,
                "parentSFConfederationName": "Akershus nullSkikrets",
                "orgId": 0
            },
            {
                "sportId": 434392,
                "sportName": "Løp utenfor baneFreeski",
                "activities": null,
                "parentSfId": 0381,
                "parentSfName": "Norges nullSkiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null684,
                "parentSFConfederationName": "Akershus nullSkikrets",
                "orgId": 0
            },
            {
                "sportId": 435446,
                "sportName": "Øvrig friidrettRulleski",
                "activities": null,
                "parentSfId": 0381,
                "parentSfName": null"Norges Skiforbund",
                "parentRegionId": null,
                "parentRegionName": null,
                "parentSFConfederationId": null684,
                "parentSFConfederationName": "Akershus nullSkikrets",
                "orgId": 0
            }
        ]
    }
]