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
guardianPersonId=323423/api/v1/person/personrelation/{personid}

JSON Response

Responsen lister kun id’er. Kommaseparert. Med first in, first out.

Code Block
languagejson
[
    {
        "parentPersonId": 9112874,
        "childPersonId": 6132119,
        "childBuypassId":  6132413,
    6312496null,
        "childBirthDate": "2010-10-07T00:00:00",
        "childFirstName": "Barn Gutt",
        "childLastName": "Etternavn",
        "childGender": 1
    },
    {
        "parentPersonId": 9112874,
        "childPersonId": 6323496,
        "childBuypassId": null,
        "childBirthDate": "2012-11-09T00:00:00",
        "childFirstName": "Barn Jente",
        "childLastName": "Etternavn",
    8276421    "childGender": 2
    },
]