...
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 | 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) | 1 | Myndighedstype. |
Output
Task<Guid> hvor guid er gæsteadgangens id.
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreateGaesteadgangResponse | CreateGaesteadgangResponseDto | 1 | ||
(ServiceReceipt) | ServicekvitteringDto | 1 | ||
(EventDate) | dateTime | 1 | Tidspunkt for transaktionen eller registrering. | |
(MessageIdentifier) | guid | 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 |