Versions Compared

Key

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

Introduksjon

Eksempelet viser en respons på metoden

Forretningsregler

N/A

Eksempler

JSON Request parameter

Code Block
/api/v1/person/personrelationchildrelation/{personid}
eller
/api/v1/person/childrelation/bpid/{buypassid}

JSON Response

Code Block
languagejson
[
    {
        "parentPersonIdchildPersonId": 3114874264289,
        "childPersonIdadultPersonId": 3413412131172,
        "childBuypassIdadultBuypassId": null,
        "childBirthDateadultBirthDate": "20081975-1006-17T0001T00:00:00",
        "childFirstNameadultFirstName": "FornavnJan",
        "childLastNameadultLastName": "EtternavnJohansen",
        "childGender": 1,
        "countryIdadultGender": 1500152,
        "countryName": "Norge",
        "countryShortName": "NOR"
    },
    {
        "parentPersonId": 3114874,
        "childPersonId": 6356496,
        "childBuypassId": 144347438,
        "childBirthDate": "2012-11-19T00:00:00",
        "childFirstName": "Fornavn",
        "childLastName": "Etternavn",
        "childGender": 2,
        "countryId": 1500152,
        "countryName": "Norge",
        "countryShortName": "NOR"
    },
    {
        "parentPersonId": 3114874,
        "childPersonId": 845441,
        "childBuypassId": 143654279,
        "childBirthDate": "2015-11-13T00:00:00",
        "childFirstName": "Fornavn Mellomnavn",
        "childLastName": "Etternavn",
        "childGender": 1"Male",
        "countryId": 1500152,
        "countryName": "Norge",
        "countryShortName": "NOR"
    }
]