Denne service understøtter registreringsbehovet for borgeres kontaktpersoner, såsom mentorer, koordinerende sagsbehandlere m.fl.
Metoder
CreatePersonContact
Denne metode gør det muligt at oprette (tilknytte) en kontaktperson af en given type til en eller flere borger.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreatePersonContactRequest | CreatePersonContactRequestType | 1 | ||
- PersonCivilRegistrationIdentifierCollection | PersonCivilRegistrationIdentifierCollectionType | 1 | Liste af borgere der alle skal have samme kontaktperson med samme rolle | |
- - PersonCivilRegistrationIdentifier | PersonCivilRegistrationIdentifierType Base: string | Pattern: ((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000 | 1 - * | CivilRegistrationNumber (PNR) Description: Unique identification of a person The Civil Registration System contains: - Data on persons, who after 1968 April 2nd Danish registry of citizens. As for Greenland the corresponding date is 1972 may 1st. - Danish citizens living outside Denmark (who must pay duty and ATP) has also been given a civil registration number. - Civil registration numbers are also assigned for other administrative purposes. Value space: The civil registration number consists of two parts. The first part is the valid birthday in the form DDMMYY. The following part is a serial number of four digits. The civil registration number may also hold the value 0000000000. This value is used where the civil registration number is required but unknown. Lifecycle: The civil registration number is generated and assigned at birth, entry and change of civil registration number of for administrative reasons. The civil registration number may be assigned via hospitals. The civil registration number is not to be deleted. Remarks: 1994 June 11th the civil registration number was changed according to this description. |
- PersonContact | PersonContactType | 1 | Giver PersonContactInfo collection: Kontaktpersontilknytning, koordinerende sagsbehandler, personlig jobformidler m.m. | |
- - PersonContactName | String_1_255 Base: string | Length: 1-250 | 1 | Navn (fornavn, mellemnavn, efternavn) på kontaktpersonen. |
- - PersonContactTypeIdentifier | PersonContactTypeIdentifierType | 1 | ||
- - TelephoneNumberIdentifier | TelephoneNumberIdentifierType Base: string | Pattern: (\+)?[0-9]{3,20} | 0 - 1 | Telefonnummer inkl. internationalt prefix |
- - MobileNumberIdentifier | MobileNumberIdentifierType Base: TelephoneNumberIdentifierType | 0 - 1 | Mobilnummer inkl. internationalt prefix | |
- - EmailAddressIdentifier | EmailAddressIdentifierType Base: string | Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64}) | 0 - 1 | Emailadresse. |
- - StartDate | dateTime | 1 | Startdato for tilknytning af kontaktperson. | |
- - EndDate | dateTime | 0 - 1 | Slutdato for tilknytning af kontaktperson. | |
- - CommentToCitizen | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for borger på Jobnet. |
- - CommentToCaseWorker | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for jobkonsulent i a-kasse og jobcenter. |
- - ShowContactPersonInJobnet | Boolean | 0 - 1 | Skal kontaktpersonen vises på Jobnet med denne rolle for borgerne. Hvis den undlades, bliver kontaktpersonen vist |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreatePersonContactResponse | CreatePersonContactResponseType | 1 | ||
- EmptyResponse | EmptyResponseType | 1 | Tomt svar |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1001 | Invalid cpr | The submitted cpr is either to long or short or contains data not interpretable as a date |
1003 | Duration is negative | The reported duration is negative, start date is greater than end date |
1010 | Unknown cpr | The submitted cpr is unknown to the system |
4405 | The person with specified cpr is dead | The person with specified cpr is dead |
8105 | The PersonContactTypeIdentifier type is unknown. | The PersonContactTypeIdentifier type is unknown. |
8310 | Person contact enddate cannot be in the past | Person contact enddate cannot be in the past |
UpdatePersonContact
Denne metode gør det muligt at opdatere oplysninger på en kontaktperson, der er tilknyttet en eller flere borgere. Kun kontaktpersonsdata for den angivet rolle og for de angivet borgere bliver opdateret.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
UpdatePersonContactRequest | UpdatePersonContactRequestType | 1 | ||
- PersonCivilRegistrationIdentifierCollection | PersonCivilRegistrationIdentifierCollectionType | 1 | Liste af borgere der alle skal have samme kontaktperson med samme rolle | |
- - PersonCivilRegistrationIdentifier | PersonCivilRegistrationIdentifierType Base: string | Pattern: ((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000 | 1 | CivilRegistrationNumber (PNR) Description: Unique identification of a person The Civil Registration System contains: - Data on persons, who after 1968 April 2nd Danish registry of citizens. As for Greenland the corresponding date is 1972 may 1st. - Danish citizens living outside Denmark (who must pay duty and ATP) has also been given a civil registration number. - Civil registration numbers are also assigned for other administrative purposes. Value space: The civil registration number consists of two parts. The first part is the valid birthday in the form DDMMYY. The following part is a serial number of four digits. The civil registration number may also hold the value 0000000000. This value is used where the civil registration number is required but unknown. Lifecycle: The civil registration number is generated and assigned at birth, entry and change of civil registration number of for administrative reasons. The civil registration number may be assigned via hospitals. The civil registration number is not to be deleted. Remarks: 1994 June 11th the civil registration number was changed according to this description. |
- PersonContact | PersonContactType | 1 | Giver PersonContactInfo collection: Kontaktpersontilknytning, koordinerende sagsbehandler, personlig jobformidler m.m. | |
- - PersonContactName | String_1_255 Base: string | Length: 1-250 | 1 | Navn (fornavn, mellemnavn, efternavn) på kontaktpersonen. |
- - PersonContactTypeIdentifier | PersonContactTypeIdentifierType | 1 | ||
- - TelephoneNumberIdentifier | TelephoneNumberIdentifierType Base: string | Pattern: (\+)?[0-9]{3,20} | 0 - 1 | Telefonnummer inkl. internationalt prefix |
- - MobileNumberIdentifier | MobileNumberIdentifierType Base: TelephoneNumberIdentifierType | 0 - 1 | Mobilnummer inkl. internationalt prefix | |
- - EmailAddressIdentifier | EmailAddressIdentifierType Base: string | Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64}) | 0 - 1 | Emailadresse. |
- - StartDate | dateTime | 1 | Startdato for tilknytning af kontaktperson. | |
- - EndDate | dateTime | 0 - 1 | Slutdato for tilknytning af kontaktperson. | |
- - CommentToCitizen | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for borger på Jobnet. |
- - CommentToCaseWorker | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for jobkonsulent i a-kasse og jobcenter. |
- - ShowContactPersonInJobnet | Boolean | 0 - 1 | Skal kontaktpersonen vises på Jobnet med denne rolle for borgerne. Hvis den undlades, bliver kontaktpersonen vist |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
UpdatePersonContactResponse | UpdatePersonContactResponseType | 1 | ||
- EmptyResponse | EmptyResponseType | 1 | Tomt svar |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1001 | Invalid cpr | The submitted cpr is either to long or short or contains data not interpretable as a date |
1003 | Duration is negative | The reported duration is negative, start date is greater than end date |
1010 | Unknown cpr | The submitted cpr is unknown to the system |
4405 | The person with specified cpr is dead | The person with specified cpr is dead |
8105 | The PersonContactTypeIdentifier type is unknown. | The PersonContactTypeIdentifier type is unknown. |
8106 | A contact with the given identifier does not exist. | A contact with the given identifier does not exist. |
8310 | Person contact enddate cannot be in the past | Person contact enddate cannot be in the past |