Versions Compared

Key

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

...

Code Block
Querystring parametere
personid eller buypassid

Eksempel URL: {{dataurl}}/api/v1/roles/PersonRole/person/?personid=929593512345678

JSON Datamodell / Kontrakt

Eksempelet er ikke tilsvarende eksempel URL.

Code Block
languagejson
[
    {
        "personId": 92959359133874,
        "orgId": 1,
        "orgName": "Norges Idrettsforbund og Olympiske og Paralympiske Komité",
        "orgTypeId": 1,
        "functionId": 3397824538311237,
        "functionTypeId": 40000011,
        "functionTypeName": "Anleggsadministrator",
        "functionStartDate": "2021-09-14T00:00:00",
        "functionEndDate": null
    },
    {
        "personId": 92959359133874,
        "orgId": 349889079,
        "orgName": "NIF Digital BIL",
        "orgTypeId": 15,
        "functionId": 3397378039941329,
        "functionTypeId": 5000005410000000,
        "functionTypeName": "Ingen orgtilhørighetKlubbmedlem",
        "functionStartDate": "20212022-0504-10T0007T00:00:00",
        "functionEndDate": null
    },
    {
        "personId": 92959359133874,
        "orgId": 907732,
        "orgName": 20082 "NIF Digital BIL - Sykkel",
        "orgTypeId": 60,
        "functionId": 3398717739941330,
        "functionTypeId": 10000000,
        "functionTypeName": "Klubbmedlem",
        "functionStartDate": "2022-0504-20T0007T00:00:00",
        "functionEndDate": null
    },
    {
        "personId": 92959359133874,
        "orgId": 65932726787,
        "orgName": "Soon CK - Landevei",
        "orgTypeId": 14,
        "functionId": 3397936232476452,
        "functionTypeId": 810000000,
        "functionTypeName": "MedlemKlubbmedlem",
        "functionStartDate": "20212013-1012-20T0009T09:0047:0020.603",
        "functionEndDate": null
    },
    {
        "personId": 92959359133874,
        "orgId": 563536,
        "orgName": "Soon CK - Sykkel",
        "orgTypeId": 3496,
        "functionId": 3398753332476449,
        "functionTypeId": 99999810000000,
        "functionTypeName": "Puls tilhørighetKlubbmedlem",
        "functionStartDate": "20222013-0612-02T0009T09:0047:0020.603",
        "functionEndDate": null
    },
    {
        "personId": 92959359133874,
        "orgId": 563529,
        "orgName": "Soon Cykleklubb ",
        "orgTypeId": 5,
        "functionId": 3398087232476445,
        "functionTypeId": 20241310000000,
        "functionTypeName": "PåmeldingsansvarligKlubbmedlem",
        "functionStartDate": "20212013-1211-13T0018T00:00:00",
        "functionEndDate": null
    },
    ...
    ...
    ...
]    
    

...