Versions Compared

Key

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

...

Fejlkode

Fejltekst

Beskrivelse

60007

The person with specified cpr is dead

The person with specified cpr is dead

4933

The comment text cannot contain html tags

The comment text cannot contain html tags

4922

User is not allowed to access the specified person

User is not allowed to access the specified person

CreateGaesteadgang (POST /Gaesteadgang/legacy)

Metoden kan kun benyttes af DFDG Classic, i den overgangsperiode PersonStatusCommentService vedligeholdes for eksternt brug.

Operation

Endpoint

POST

v1/Gaesteadgang/legacy

Input

[Personnummer i Header]

Element

Type

Detaljer

Forekomst

Beskrivelse

CreateGaesteadgangRequest
(CreatePersonGuestAccessRequest)

CreateGaesteadgangRequestDto

1

- Gaesteadgangskommentar

(GuestAccessCommentText)

string

Length: 1-900

1

Begrundelse for behovet for adgang til borger

-    AktivOrganisationKode

(AuthorityCode)

string

Pattern: [-][1]|[0-9]{1,8}

1

Myndighedskode.

-    AktivOrganisationType

(OrganisationTypeIdentifier)

OrganisationTypeIdentifier

(OrganisationTypeIdentifierType)

1

Myndighedstype.

Output

Task<Guid> hvor guid er gæsteadgangens id.

Element

Type

Detaljer

Forekomst

Beskrivelse

CreateGaesteadgangResponse
(CreatePersonGuestAccessResponse)

CreateGaesteadgangResponseDto
(CreatePersonGuestAccessResponseType)

1

  • Servicekvittering

(ServiceReceipt)

ServicekvitteringDto
(ServiceReceiptType)

1

  • -    Registreringstidspunkt

(EventDate)

dateTime

1

Tidspunkt for transaktionen eller registrering.

  • -    RegistreringsId

(MessageIdentifier)

guid
Base: string

Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}

1

Unik identifikation af transaktion eller registrering.

Fejlkoder

Fejlkode

Fejltekst

Beskrivelse

60007

The person with specified cpr is dead

The person with specified cpr is dead

4933

The comment text cannot contain html tags

The comment text cannot contain html tags

4922

User is not allowed to access the specified person

User is not allowed to access the specified person