Versions Compared

Key

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

...

TjenesteNavn

HttpVerb

Beskrivelse

HentFullmaktshavere

POST

Hente ut liste over fullmaktshavere (de som har fått fullmakt) av en gitt innbygger.

HentFullmaktsgivere

POST

Hente ut liste over fullmaktsgivere (de som har gitt en innbygger fullmakt til å representere seg.)

HentFullmaktHentFullmaktToken

GETPOST

Henter ut detaljer om et fullmaktsforhold.

HentFullmaktshavere

Input parametre

...

{
  "fullmaktshaverFnr":"12065431326",
  "sektor":"HO-DIT",
  "fullmaktsgiverFunnet":"TRUE",
  "fullmaktsgivere": [
    {
      "fornavn":"Per",
      "mellomnavn":"Ole",
      "etternavn":"Hansen",
      "maskertFnr":"191155xxxxx",
      "fullmaktReferanseId":"FD20BDD3-2233-4508-9355-56DEE393C399"
  },
  {
      "fornavn":"Jens",
      "mellomnavn":Herman",
      "etternavn":"Jensen",
      "maskertFnr":"120486xxxxx",
      "fullmaktReferanseId":"D78C4733-9652-41A9-8FC2-DA5363410AD0"
  }  ]
}

...


HentFullmaktToken

Input parametre

Navn

Type

Lovlige verdier

Kommentar

fullmaktReferanseId

Guid

Referanse mottatt i tidligere respons

Denne er en unik referanse til et bestemt fullmaktsforhold

sektor

string

Skal være "HO-DIT"

"Helse og omsorg - digitale innbyggertjenester. (Dette er foreløpig et arbeidsnavn.)

...

Dette er et JWT signert av Helsenorge personverntjenester.

Eks:

{
   "jwt": "<token>"
}

Format

encodeBase64(json-header) + '.' + encodeBase64(json-payload) + '.' + encodeBase64(signature)

...

Tokenet genereres og signeres i Personvernkomponeten (PVK) ved bruk av dennes dedikerte virksomhetssertifikat. Signeringsalgoritmen som benyttes er RSA-SHA256.


Eks: på fullt JWT-token:

{

“jwt”: “eyJhbGciOiJSUzI1NiIsImtpZCI6IjA0NkI4QUMxQjAyRjk0RTk0M0E4MTM3Q0Y1MkVBM0Y0RDdDNzg0MjkiLCJ0eXAiOiJKV1QiLCJ4NWMiOlsiTUlJRS9EQ0NBK1N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ksternapi-hn-mas-02.int-hn.nhn.no/personvern

REL-01

eksternapi-hn-rel-01.int-hn.nhn.no/personvern

TEST1

eksternapi.hn.test.nhn.no/personvern

TEST2

eksternapi.hn2.test.nhn.no/personvern

PRODKOPI-01

eksternapi-hn-prodkopi-01.int-hn.nhn.no/personvern

QA

AT

PRODeksternapi.hn2.test.nhn.no/personvern

PROD

eksternapi.helsenorge.no/personvern