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 borger.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreatePersonContactRequest | CreatePersonContactRequestType | 1 | ||
- 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. | |
- - ExternalCaseWorkerIdentifier | 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} | 0 - 1 | Identifikation af CaseWorker i eksternt system. Hvis ikke sat, så finder DFDG ExternalCaseWorkerIdentifier ud fra email adressen. Hvis denne ikke er kendt, dannes en ny identifier |
- - PersonContactIdentifier | 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} | 0 - 1 | Identifikation af kontaktpersontilknytningen. |
- - 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. |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreatePersonContactResponse | CreatePersonContactResponseType | 1 | ||
- CreateResponse | CreatedResponseType | 1 | CreateResponse | |
- - CreatedItemIdentifier | 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 | ExternalCaseWorkerIdentifier - ny identifier eller genfundet Identifier ud fra email adressen |
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 given borger.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
UpdatePersonContactRequest | UpdatePersonContactRequestType | 1 | ||
- 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. | |
- - ExternalCaseWorkerIdentifier | 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} | 0 - 1 | Identifikation af CaseWorker i eksternt system. Hvis ikke sat, så finder DFDG ExternalCaseWorkerIdentifier ud fra email adressen. Hvis denne ikke er kendt, dannes en ny identifier |
- - PersonContactIdentifier | 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 | Identifikation af kontaktpersontilknytningen. |
- - 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. |
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 |