VisiteringOgStatus.FravaerService [UDV] (Version 1, 2024-2/3/4)
Siden er manuelt oprettet og opdateres kun manuelt
Â
Metoder
- 1 CreateFravaer (POST /v1/Fravaer/)
- 2 UpdateFravaer (PUT /v1/Fravaer/{fravaerIdentifier})
- 3 DeleteFravaer (DELETE /v1/Fravaer/{fravaerIdentifier}/{Berigtigelseskommentar})
- 4 GetAlleFravaer(GET /v1/Fravaer/)
- 5 GetFravaer (GET /v1/Fravaer/{x-civilRegistrationIdentifier}/{fravaerIdentifier})
- 6 GetFravaerHistorik (FravaerService/v1/Fravaer/)(Tidl. PersonHistoryService.GetPersonHistory.AbsenceHistory)
CreateFravaer (POST /v1/Fravaer/)
Denne metode bruges til at oprette en fravÊrsregistrering som ikke er sygdomsrelateret
Tilladte organisationer
 | Alle borgere | Egne borgere | Tidligere egne borgere | GÊsteadgang | Anden AktÞr - egne borgere | Anden AktÞr - gÊsteadgang | Anden AktÞr - alle borgere | System - alle borgere |
---|---|---|---|---|---|---|---|---|
A-kasse | Â | X | Â | Â | Â | Â | Â | Â |
JobCenter | Â | Â X | Â | Â | X | Â | Â | Â |
Kommune | Â | Â X | Â | Â | Â | Â | Â | Â |
STAR | X | Â | Â | Â | Â | Â | Â | Â |
Scope
visiteringogstatus.write
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-civilRegistrationIdentifier [Header] | 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 | Beskrivelse af cpr |
x-requestId [Header] | string |  | 1 | Unikt id for requestet (typisk guid). Hvis api'et modtager samme requestId mere end én gang returneres http status kode 412. Max lÊngde for id'et er 46 chars |
requestBody | Â | Â | 1 | Â |
| uuid |  | 0 - 1 | Id som medsendes i de tilfÊlde hvor ekstern aftager har et lokalt id ved oprettelsen |
(AbsenceTypeIdentifier) | CodeListItemIdentifierType AbsenceTypeIdentifier | MaxInclusive: 10000 | 1 | Typeangivelse for fravÊr. |
(StartDate) | dateTime |  | 1 | Startdato for fravÊr |
(EndDate) | dateTime |  | 0 - 1 | Slutdato for fravÊr |
(AbsenceComment) | AbsenceCommentType | Length: 0-1500 | 0 - 1 | Kommenteret fravÊr. |
(NotificationDate) | dateTime | Â | 1 | Anmeldelsesdato |
Fravaersafslutningsaarsag | FravaersafslutningsaarsagTypeCodeList | MaxInclusive: 10000 | 0 - 1 | Identifikation af årsagstype for fravÊr. |
Output
Standard CreatedResponse
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | Failed to validate message | The submitted message could not be validated |
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 |
4317 | No enrollment to end | The submitted person does not have an open enrollment to end |
4322 | The cancellation date must be today, maximum 30 days after or 60 in case of a less intensive effort | The cancellation date must be today, maximum 30 days after or 60 in case of a less intensive effort |
4334 | The duration lies outside an active enrollment | The reported duration lies outside an active current enrollment |
4405 | The person with specified cpr is dead | The person with specified cpr is dead |
4575 | You are not authorized | You are not authorized to execute the operation |
4591 | Education is not allowed for people in this contactgroup/personcategory combination | Education cannot be registered for people in this contactgroup/personcategory combination |
4592 | Temp work with duration less than 15 days not allowed for this contactgroup/personcategory combi | Temporary work with duration less than 15 days is not valid for people in this contactgroup/personcategory combination |
4593 | Two weeks maternity leave is not allowed for people in this contactgroup/personcategory combination | Two weeks maternity leave cannot be registred for people in this contactgroup/personcategory combination |
4594 | People in this contactgroup cannot be absent because they are under 18 years of age | People in this contactgroup cannot be absent because they are under 18 years of age |
4595 | People in this contactgroup cannot be absent because they are eligible for pension. | People in this contactgroup cannot be absent because they are eligible for pension. |
4596 | Maternity leave is not allowed for people in this contactgroup/personcategory combination | Maternity leave cannot be registred for people in this contactgroup/personcategory combination |
4597 | Absence because of vacant period is not allowed for people in this contactgroup/personcategory combi | Absence because of a vacant period is not allowed for people in this contactgroup/personcategory combination |
4598 | Vacation is not allowed for people in this contactgroup/personcategory combination | Vacation cannot be registered for people in this contactgroup/personcategory combination |
4599 | Illness (AbsenceType 11) cannot be registered for current contactgroup/personcategory combination | Illness (AbsenceType 11) cannot be registered for current contactgroup/personcategory combination |
4600 | Absence because of Person cannot work is not allowed for people in this contactgroup or personcat. | Absence because of illness (Person cannot work) is not allowed for people in this contactgroup or personcategory |
4601 | Person cannot be activated is not allowed for people in this contactgroup or personcategory | Absence because of person cannot be activated is not allowed for people in this contactgroup or personcategory |
4603 | Parttime employed (> 20 hours/week) not allowed for people in this contactgroup/personcategory combi | Parttime employed (more than 20 hours/week) is not allowed for people in this contactgroup/personcategory combination |
4604 | Employment within 4 weeks is not allowed for people in this contactgroup/personcategory combination | Employment within 4 weeks cannot be registred for people in this contactgroup/personcategory combination |
4605 | Maternity leave within 4 weeks is not allowed for people in this contactgroup/personcategory combi | Maternity leave within 4 weeks is not allowed for people in this contactgroup/personcategory combination |
4606 | People in this CG/PC combination cannot be exempted because of participation in employmentoffers | People in this contactgroup/personcategory combination cannot be exempted because of participation in employmentoffers |
4607 | Absence taking care of own children not allowed for people in this contactgroup/personcategory combi | Absence because of taking care of own children (illness) is not allowed for people in this contactgroup/personcategory combination |
4608 | Absence taking care of ill people not allowed for people in this contactgroup/personcategory combi | Absence because of a taking care of ill people is not allowed for people in this contactgroup/personcategory combination |
4609 | Absence because of draft is not allowed for people in this contactgroup/personcategory combination | Absence because of draft is not allowed for people in this contactgroup/personcategory combination |
4610 | Special other absence is not allowed for people in this contactgroup/personcategory combination | Special other absence is not allowed for people in this contactgroup/personcategory combination |
4611 | Selfappointed education (Parttime) not allowed for people in this contactgroup/personcategory combi | Selfappointed education (Parttime) is not allowed for people in this contactgroup/personcategory combination |
4612 | Selfappointed education (Fulltime) not allowed for people in this contactgroup/personcategory combi | Selfappointed education (Fulltime) is not allowed for people in this contactgroup/personcategory combination |
4613 | Absence because of seniorjob is not allowed for people in this contactgroup/personcategory combi | Absence because of seniorjob is not allowed for people in this contactgroup/personcategory combination |
4614 | The absence registration is not allowed due to invalid overlap between absence types | The absence registration is not allowed due to invalid overlap between absence types |
4615 | This absenceregistration must have an end-date | This absenceregistration must have an end-date |
4618 | This absence registration may not have a duration longer than 3 months | This absence registration may not have a duration longer than 3 months |
4622 | This absence registration may not have a duration longer than 30 days | This absence registration may not have a duration longer than 30 days |
4623 | This absence registration may not have a duration longer than 28 days | This absence registration may not have a duration longer than 28 days |
4631 | This absence registration may not have a duration longer than 54 weeks | This absence registration may not have a duration longer than 54 weeks |
4637 | The reported absence overlaps an existing absence of the same type | The reported absence overlaps an existing absence of the same type |
4638 | This absence registration may not have a duration longer than 14 days | This absence registration may not have a duration longer than 14 days |
4684 | The absence type is not a valid type | The absence type is not a valid type |
4685 | The reported absence has a start date before todays date | The reported absence has a start date before todays date |
4686 | This person must have an active contact group registration | This person must have an active contactgroupregistration |
4688 | This absence registration may not have a duration longer than 10 weeks | This absence registration may not have a duration longer than 10 weeks |
4689 | The client must be enrolled to register this absence type | The client must be enrolled to register this absence type |
4690 | The client must have a CV to register this absence type | The client must have a CV to register this absence type |
4691 | The reported absence has a start date before 13 days from todays date | The reported absence has a start date before 13 days from todays date |
4692 | This absence registration may not have a duration longer than 3 weeks | This absence registration may not have a duration longer than 3 weeks |
4693 | The client must have a registered personcategory to register this absence type | The client must have a registered personcategory to register this absence type |
4704 | This submitted enddate must be earlier than the 18th year birthday | This submitted enddate must be earlier than the 18th year birthday |
4771 | Prevented from personal attendance is not allowed for people in this contactgroup | Prevented from personal attendance is not allowed for people in this contactgroup |
4772 | Expected full time work within 13 week is not allowed for people in this contactgroup | Expected full time work within 13 week is not allowed for people in this contactgroup |
4773 | Work partially resumed is not allowed for people in this contactgroup | Work partially resumed is not allowed for people in this contactgroup |
4774 | Planned operation within 13 weeks is not allowed for people in this contactgroup | Planned operation within 13 weeks is not allowed for people in this contactgroup |
4775 | Illness prevents personal attendance is not allowed for people in this contactgroup | Illness prevents personal attendance is not allowed for people in this contactgroup |
4776 | This absence registration may not have a duration longer than 13 weeks | This absence registration may not have a duration longer than 13 weeks |
4796 | Expected to return to full time within 14 days after next contact is not allowed for this contactgr | Expected to return to full time within 14 days after next contact is not allowed for this contactgroup |
4797 | Follow up with no contact is not allowed for people in this contactgroup/personcategory combination | Follow up with no contact is not allowed for people in this contactgroup/personcategory combination |
4798 | This absence registration may not have a duration longer than 15 weeks | This absence registration may not have a duration longer than 15 weeks |
4795 | The absence comment may not contain html | The absence comment may not contain html |
4809 | The correction comment may not contain html | The correction comment may not contain html |
4939 | This absence registration may not have a duration longer than 6 weeks | This absence registration may not have a duration longer than 6 weeks |
4940 | Absence work distribution is not allowed for people in this contactgroup/personcategory combination | Absence work distribution is not allowed for people in this contactgroup/personcategory combination |
4941 | Absence efterloen within 6 weeks is not allowed for people in this contactgroup/personcategory combi | Absence efterloen within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4942 | Absence pension within 6 weeks is not allowed for people in this contactgroup/personcategory combi | Absence pension within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4943 | Absence work within 6 weeks is not allowed for people in this contactgroup/personcategory combi | Absence work within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4944 | Absence maternity leave within 6 weeks not allowed for people in this contactgroup/personcat. combi | Absence maternity leave within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4963 | Registration cannot be completed because start date is in the past | Registration cannot be completed because start date is in the past |
4964 | Registration cannot be completed because start date is more than 7 days in the past | Registration cannot be completed because start date is more than 7 days in the past |
4965 | Registration cannot be completed because start date is more than 13 days in the past | Registration cannot be completed because start date is more than 13 days in the past |
4966 | Registration cannot be completed because start date is more than 4 weeks in the past | Registration cannot be completed because start date is more than 4 weeks in the past |
4967 | Registration cannot be completed because start date is more than 8 weeks in the past | Registration cannot be completed because start date is more than 8 weeks in the past |
4968 | Registration cannot be completed because start date is before the latest person category | Registration cannot be completed because start date is before the latest person category |
4969 | Registration cannot be completed because end date is more than 7 days in the past | Registration cannot be completed because end date is more than 7 days in the past |
4974 | Vacation on socialaid is not allowed for people in this contactgroup/personcategory combination | Vacation on socialaid is not allowed for people in this contactgroup/personcategory combination |
4980 | Cause type identifier is required when setting illness end date | Cause type identifier is required when setting illness end date |
4990 | Illness is not possible because of open enrollment | Illness is not possible because of open enrollment |
4994 | This absence registration may not have a duration longer than 8 weeks | This absence registration may not have a duration longer than 8 weeks |
6008 | This absence registration may not have a duration longer than 190 days | This absence registration may not have a duration longer than 190 days |
6052 | Codelist value is only for internal use | Codelist value is only for internal use |
7061 | AbsenceCause is not coherent with contact group. | AbsenceCause is not coherent with contact group. |
8294 | AbsenceComment is required for this absenceType | AbsenceComment is required for this absenceType |
8296 | This absence cannot be registered while there is an open InterviewDeadline | This absence cannot be registered while there is an open InterviewDeadline |
8297 | The absence is required to have start date = registration date | The absence is required to have start date = registration date |
8299 | Absence Fritaget for selvbook is not allowed for people in this contactgroup | Absence Fritaget for selvbook is not allowed for people in this contactgroup |
9160 | Registration cannot be completed because start date is more than 180 days in the past | Registration cannot be completed because start date is more than 180 days in the past |
9173 | This absence registration may not have a duration longer than 12 months | This absence registration may not have a duration longer than 12 months |
9309 | This absence type is not allowed if the citizen already has/have had the same absence type | This absence type is not allowed if the citizen already has/have had the same absence type |
9359 | AbsenceCauseType is required when end date is set on Meeting program with unemployment fund. | AbsenceCauseType is required when end date is set on Meeting program with unemployment fund. |
9361 | AbsenceCause is illegal for this AbsenceType | AbsenceCause is illegal for this AbsenceType |
9376 | AbsenceCauseType is specified without an absence end date | AbsenceCauseType is specified without an absence end date |
9422 | This absence registration may not have a duration longer than 6 months | This absence registration may not have a duration longer than 6 months |
9423 | This absence registration may not have a duration longer than 5 years | This absence registration may not have a duration longer than 5 years |
9449 | This absence registration may not have a duration longer than 5 days | This absence registration may not have a duration longer than 5 days |
UpdateFravaer (PUT /v1/Fravaer/{fravaerIdentifier})
Denne metode bruges til at opdatere en fravÊrsregistrering
Tilladte organisationer
 | Alle borgere | Egne borgere | Tidligere egne borgere | GÊsteadgang | Anden AktÞr - egne borgere | Anden AktÞr - gÊsteadgang | Anden AktÞr - alle borgere | System - alle borgere |
---|---|---|---|---|---|---|---|---|
A-kasse | XÂ | Â | Â | Â | Â | Â | Â | Â |
JobCenter | Â | Â X | Â | Â | X | Â | Â | Â |
Kommune | Â | Â X | Â | Â | Â | Â | Â | Â |
STAR | X | Â | Â | Â | Â | Â | Â | Â |
DFDG validerer, at a-kassen for ikke egne medlemmer kun kan opdatere fravÊr id 75, og kun i bestemt dagpengetÊllertilstand
Scope
visiteringogstatus.write
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-civilRegistrationIdentifier [Header] | 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 | Beskrivelse af cpr |
x-requestId [Header] | string |  | 1 | Unikt id for requestet (typisk guid). Hvis api'et modtager samme requestId mere end én gang returneres http status kode 412. Max lÊngde for id'et er 46 chars |
requestBody | Â | Â | 1 | Â |
- FravaerType | CodeListItemIdentifierType | MaxInclusive: 10000 | 1 | Typeangivelse for fravÊr. |
- Startdato | dateTime |  | 1 | Startdato for fravÊr |
- Slutdato | dateTime |  | 0 - 1 | Slutdato for fravÊr |
- Fravaerskommentar | FravaerskommentarType | Length: 0-1500 | 0 - 1 | Kommenteret fravÊr. |
- Anmeldelsesdato (NotificationDate) | dateTime | Â | 1 | Anmeldelsesdato |
- Fravaersafslutningsaarsag (AbsenceCauseTypeIdentifier) | CodeListItemIdentifierType AbsenceCauseTypeIdentifier | MaxInclusive: 10000 | 0 - 1 | à rsagen til at fravÊret afsluttes |
-Â Berigtigelseskommentar | BerigtigelseskommentarType | Length: 0-1500 | 0 - 1 | Kommentarfelt til at beskrive en berigtigelse af en registering. |
Output
Standard emptyresponse
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | Failed to validate message | The submitted message could not be validated |
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 |
4334 | The duration lies outside an active enrollment | The reported duration lies outside an active current enrollment |
4335 | Change not allowed, either the old date or new date lies before today | Change not allowed, either the old date or new date lies before today |
4405 | The person with specified cpr is dead | The person with specified cpr is dead |
4575 | You are not authorized | You are not authorized to execute the operation |
4614 | The absence registration is not allowed due to invalid overlap between absence types | The absence registration is not allowed due to invalid overlap between absence types |
4615 | This absenceregistration must have an end-date | This absenceregistration must have an end-date |
4618 | This absence registration may not have a duration longer than 3 months | This absence registration may not have a duration longer than 3 months |
4622 | This absence registration may not have a duration longer than 30 days | This absence registration may not have a duration longer than 30 days |
4623 | This absence registration may not have a duration longer than 28 days | This absence registration may not have a duration longer than 28 days |
4631 | This absence registration may not have a duration longer than 54 weeks | This absence registration may not have a duration longer than 54 weeks |
4632 | The specified Absenceregistration is not known to the system | The specified Absenceregistration is not known to the system |
4633 | The end date when changing a reported absenceperiod cannot be in the past | The end date when changing a reported absenceperiod cannot be in the past |
4635 | The reported startdate is in the past and cannot be changed | The reported startdate is in the past and cannot be changed |
4637 | The reported absence overlaps an existing absence of the same type | The reported absence overlaps an existing absence of the same type |
4638 | This absence registration may not have a duration longer than 14 days | This absence registration may not have a duration longer than 14 days |
4682 | The specified absence is not registered with this client | The specified absence is not registered with this client |
4685 | The reported absence has a start date before todays date | The reported absence has a start date before todays date |
4686 | This person must have an active contact group registration | This person must have an active contactgroupregistration |
4688 | This absence registration may not have a duration longer than 10 weeks | This absence registration may not have a duration longer than 10 weeks |
4689 | The client must be enrolled to register this absence type | The client must be enrolled to register this absence type |
4690 | The client must have a CV to register this absence type | The client must have a CV to register this absence type |
4691 | The reported absence has a start date before 13 days from todays date | The reported absence has a start date before 13 days from todays date |
4693 | The client must have a registered personcategory to register this absence type | The client must have a registered personcategory to register this absence type |
4696 | The absencetype cannot be different from the registred | The absencetype cannot be different from the registred |
4704 | This submitted enddate must be earlier than the 18th year birthday | This submitted enddate must be earlier than the 18th year birthday |
4761 | It is not possible to update this illness because enddate is in the past | It is not possible to update this illness because enddate is in the past |
4771 | Prevented from personal attendance is not allowed for people in this contactgroup | Prevented from personal attendance is not allowed for people in this contactgroup |
4772 | Expected full time work within 13 week is not allowed for people in this contactgroup | Expected full time work within 13 week is not allowed for people in this contactgroup |
4773 | Work partially resumed is not allowed for people in this contactgroup | Work partially resumed is not allowed for people in this contactgroup |
4774 | Planned operation within 13 weeks is not allowed for people in this contactgroup | Planned operation within 13 weeks is not allowed for people in this contactgroup |
4775 | Illness prevents personal attendance is not allowed for people in this contactgroup | Illness prevents personal attendance is not allowed for people in this contactgroup |
4776 | This absence registration may not have a duration longer than 13 weeks | This absence registration may not have a duration longer than 13 weeks |
4796 | Expected to return to full time within 14 days after next contact is not allowed for this contactgr | Expected to return to full time within 14 days after next contact is not allowed for this contactgroup |
4797 | Follow up with no contact is not allowed for people in this contactgroup/personcategory combination | Follow up with no contact is not allowed for people in this contactgroup/personcategory combination |
4798 | This absence registration may not have a duration longer than 15 weeks | This absence registration may not have a duration longer than 15 weeks |
4795 | The absence comment may not contain html | The absence comment may not contain html |
4809 | The correction comment may not contain html | The correction comment may not contain html |
4939 | This absence registration may not have a duration longer than 6 weeks | This absence registration may not have a duration longer than 6 weeks |
4940 | Absence work distribution is not allowed for people in this contactgroup/personcategory combination | Absence work distribution is not allowed for people in this contactgroup/personcategory combination |
4941 | Absence efterloen within 6 weeks is not allowed for people in this contactgroup/personcategory combi | Absence efterloen within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4942 | Absence pension within 6 weeks is not allowed for people in this contactgroup/personcategory combi | Absence pension within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4943 | Absence work within 6 weeks is not allowed for people in this contactgroup/personcategory combi | Absence work within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4944 | Absence maternity leave within 6 weeks not allowed for people in this contactgroup/personcat. combi | Absence maternity leave within 6 weeks is not allowed for people in this contactgroup/personcategory combination |
4963 | Registration cannot be completed because start date is in the past | Registration cannot be completed because start date is in the past |
4964 | Registration cannot be completed because start date is more than 7 days in the past | Registration cannot be completed because start date is more than 7 days in the past |
4965 | Registration cannot be completed because start date is more than 13 days in the past | Registration cannot be completed because start date is more than 13 days in the past |
4966 | Registration cannot be completed because start date is more than 4 weeks in the past | Registration cannot be completed because start date is more than 4 weeks in the past |
4967 | Registration cannot be completed because start date is more than 8 weeks in the past | Registration cannot be completed because start date is more than 8 weeks in the past |
4968 | Registration cannot be completed because start date is before the latest person category | Registration cannot be completed because start date is before the latest person category |
4969 | Registration cannot be completed because end date is more than 7 days in the past | Registration cannot be completed because end date is more than 7 days in the past |
4974 | Vacation on socialaid is not allowed for people in this contactgroup/personcategory combination | Vacation on socialaid is not allowed for people in this contactgroup/personcategory combination |
4980 | Cause type identifier is required when setting illness end date | Cause type identifier is required when setting illness end date |
4981 | Absence comment required when updating illness start date and end date | Absence comment required when updating illness start date and end date |
4990 | Illness is not possible because of open enrollment | Illness is not possible because of open enrollment |
6008 | This absence registration may not have a duration longer than 190 days | This absence registration may not have a duration longer than 190 days |
6052 | Codelist value is only for internal use | Codelist value is only for internal use |
7061 | AbsenceCause is not coherent with contact group. | AbsenceCause is not coherent with contact group. |
8295 | CorrectionComent is required when updating this absenceType | CorrectionComent is required when updating this absenceType |
8296 | This absence cannot be registered while there is an open InterviewDeadline | This absence cannot be registered while there is an open InterviewDeadline |
8298 | The StartDate cannot be updated. | The StartDate cannot be updated. |
9173 | This absence registration may not have a duration longer than 12 months | This absence registration may not have a duration longer than 12 months |
9359 | AbsenceCauseType is required when end date is set on Meeting program with unemployment fund. | AbsenceCauseType is required when end date is set on Meeting program with unemployment fund. |
9360 | Absence end date must be todays date or later | Absence end date must be todays date or later |
9361 | AbsenceCause is illegal for this AbsenceType | AbsenceCause is illegal for this AbsenceType |
9376 | AbsenceCauseType is specified without an absence end date | AbsenceCauseType is specified without an absence end date |
9422 | This absence registration may not have a duration longer than 6 months | This absence registration may not have a duration longer than 6 months |
9423 | This absence registration may not have a duration longer than 5 years | This absence registration may not have a duration longer than 5 years |
9449 | This absence registration may not have a duration longer than 5 days | This absence registration may not have a duration longer than 5 days |
DeleteFravaer (DELETE /v1/Fravaer/{fravaerIdentifier}/{Berigtigelseskommentar})
Denne metode bruges til at slette en fravÊrsregistrering
Tilladte organisationer
 | Alle borgere | Egne borgere | Tidligere egne borgere | GÊsteadgang | Anden AktÞr - egne borgere | Anden AktÞr - gÊsteadgang | Anden AktÞr - alle borgere | System - alle borgere |
---|---|---|---|---|---|---|---|---|
A-kasse | Â | X | Â | Â | Â | Â | Â | Â |
JobCenter | Â | X | Â | Â | X | Â | Â | Â |
Kommune | Â | X | Â | Â | Â | Â | Â | Â |
STAR | X | Â | Â | Â | Â | Â | Â | Â |
Scope
visiteringogstatus.write
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-civilRegistrationIdentifier [Header] | 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 | Beskrivelse af cpr |
x-requestId [Header] | string |  | 1 | Unikt id for requestet (typisk guid). Hvis api'et modtager samme requestId mere end én gang returneres http status kode 412. Max lÊngde for id'et er 46 chars |
requestBody | Â | Â | 1 | Â |
(CorrectionComment) | BerigtigelseskommentarType | Length: 0-1500 | 0 - 1 | Kommentarfelt til at beskrive en berigtigelse af en registering. |
Output
Standard empty response
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | Failed to validate message | The submitted message could not be validated |
1001 | Invalid cpr | The submitted cpr is either to long or short or contains data not interpretable as a date |
1010 | Unknown cpr | The submitted cpr is unknown to the system |
4575 | You are not authorized | You are not authorized to execute the operation |
4632 | The specified Absenceregistration is not known to the system | The specified Absenceregistration is not known to the system |
4634 | It is not allowed to delete this registration because the start date is in the past | It is not allowed to delete this registration because the start date is in the past |
4682 | The specified absence is not registered with this client | The specified absence is not registered with this client |
4761 | It is not possible to update this illness because enddate is in the past | It is not possible to update this illness because enddate is in the past |
9417 | A correction comment is required when deleting this type of a present or historic absence | A correction comment is required when deleting this type of a present or historic absence |
GetAlleFravaer(GET /v1/Fravaer/)
Denne metode bruges til at hente alle fravÊr som ikke er slettede
Tilladte organisationer
 | Alle borgere | Egne borgere | Tidligere egne borgere | GÊsteadgang | Anden AktÞr - egne borgere | Anden AktÞr - gÊsteadgang | Anden AktÞr - alle borgere | System - alle borgere |
---|---|---|---|---|---|---|---|---|
A-kasse | Â X | Â | Â | Â | Â | Â | Â | Â |
JobCenter | Â | X | Â | Â | X | Â | Â | XÂ |
Kommune | Â | X | Â | Â | Â | Â | Â | X |
STAR | X | Â | Â | Â | Â | Â | Â | Â |
Scope
visiteringogstatus.read
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
GetFravaerRequest | GetFravaerRequestType | Â | 1 | Â |
x-civilRegistrationIdentifier [Header] | 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 | Beskrivelse af cpr |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
GetFravaerResponse | GetFravaerResponseType | Â | 1 | Â |
Fravaer | FravaerDtoCollection | Â | 1 | Samling af alle Fravaer brugeren har haft eller har lige nu |
- FravaerType (Absence) | FravaerType |  | 0 - * | Indeholder data til en fravÊrsregistrering |
- - FravaerIdentifier | GUID |  | 1 | Unikt id for fravÊret |
- - FravaerType (AbsenceTypeIdentifier) | FravaerTypeCodeList CodeListItemIdentifierType | MaxInclusive: 10000 | 1 | Typeangivelse for fravÊr. |
- - Startdato (StartDate) | dateTime |  | 1 | Startdato for fravÊr |
- - Slutdato (EndDate) | dateTime |  | 0 - 1 | Slutdato for fravÊr |
- - Fravaerskommentar (AbsenceComment) | FravaerskommentarType | Length: 0-1500 | 0 - 1 | Kommenteret fravÊr. |
- - Anmeldelsesdato (NotificationDate) | dateTime | Â | 1 | Anmeldelsesdato |
- - Aktivt (Active) | Boolean | Â | 1 | Felt, der angiver om forholdet er aktivt eller inaktivt. |
- - Fravaersafslutningsaarsag (AbsenceCauseTypeIdentifier) | FravaersafslutningsaarsagTypeCodeList | MaxInclusive: 10000 | 0 - 1 | Identifikation af årsagstype for fravÊr. |
- - Berigtigelsekommentar | RettelsesKommentarType Base: string | Length: 0-1500 | 0 - 1 | Kommentar til berigtigelse af en registrering. |
- - Nemrefusionidentifier | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 0 - 1 | Identifikation af om der er abonnement på sygemelding fra ydelse. |
- - Ledighedsgrad | LedighedsgradTypeCodeList (CurrentUnemploymentStatusTypeIdentifierType) | Â | 0 - 1 | Ledighedsgrad. |
(CompanyIdentifier) | ArbejdsgiverDto |  | 0 - 1 | Virksomhedsinformation på borgers arbejdsgiver ved sygemelding fra beskÊftigelse. |
- - - Pnummer | PenhednummeridentifierType | Length: 10 | 0 - 1 | En P-enhed får tildelt et entydigt identifikationsnummer, et P-nummer, som er et 10-cifret nummer. Et P-nummer vil altid vÊre tilknyttet et CVR-nummer. |
- - - cvrEnhedsid | CVRnummeridentifierType | Length: 8 | 1 | CVR-nummeret er et 8-cifret nummer, der er unikt for den enkelte virksomhed. |
- - YderligereInformationOmSygemeldingSamling | YderligereinformationomsygemeldingtyperDtoCollection |  | 0 - 1 | Samling af yderligere informationer om fravÊr |
- - - YderligereInformationOmSygemelding | YderligereinformationomsygemeldingtypeDto | Â | 0 - * | Â |
- - - - YderligereInformationIdentifier | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Unik nÞgle for YdeligereInformationOmSygemelding |
- - - - YderligereInformationOmSygemeldingType | YderligereInformationOmSygemeldingTypeCodeList |  | 1 | Typen af den yderligere information om sygefravÊr |
- - - - StartdatoYderligereInformation | dateTime |  | 1 | Startdato for yderligere information om sygefravÊr |
- - - - SlutDatoYderligereInformation | dateTime |  | 0 - 1 | Slutdato for yderligere information om sygefravÊr |
- - - -RegistreringsdatoYderligereInformation | dateTime |  | 1 | Registreringsdato for yderligere information om sygefravÊr |
- - - - BerigtigelsekommentarYderligereInformation | string | Length: 0-1500 | 0 - 1 | Berigtigelseskommentar til yderligere information om sygefravÊr |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
 |  |  |
 |  |  |
GetFravaer (GET /v1/Fravaer/{x-civilRegistrationIdentifier}/{fravaerIdentifier})
Denne metode bruges til at hente specifik fravÊrsregistrering
Tilladte organisationer
 | Alle borgere | Egne borgere | Tidligere egne borgere | GÊsteadgang | Anden AktÞr - egne borgere | Anden AktÞr - gÊsteadgang | Anden AktÞr - alle borgere | System - alle borgere |
---|---|---|---|---|---|---|---|---|
A-kasse | Â X | Â | Â | Â | Â | Â | Â | Â |
JobCenter | Â | X | Â | Â | X | Â | Â | XÂ |
Kommune | Â | X | Â | Â | Â | Â | Â | X |
STAR | X | Â | Â | Â | Â | Â | Â | Â |
Scope
visiteringogstatus.read
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
GetFravaerResponse | GetFravaerResponseType | Â | 1 | Â |
x-civilRegistrationIdentifier [Header] | 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 | Beskrivelse af cpr |
- x-requestId [Path] (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. |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
GetFravaerResponse | GetFravaerResponseType | Â | 1 | Â |
- FravaerType (Absence) | FravaerType |  | 1 | Indeholder data til en fravÊrsregistrering |
- - FravaerIdentifier (MessageIdentifier) | GUID |  | 1 | Unikt id for fravÊret |
- - FravaerType (AbsenceTypeIdentifier) | FravaerTypeCodeList CodeListItemIdentifierType | MaxInclusive: 10000 | 1 | Typeangivelse for fravÊr. |
- Startdato (StartDate) | dateTime |  | 1 | Startdato for fravÊr |
- - Slutdato (EndDate) | dateTime |  | 0 - 1 | Slutdato for fravÊr |
- - Fravaerskommentar (AbsenceComment) | FravaerskommentarType | Length: 0-1500 | 0 - 1 | Kommenteret fravÊr. |
- - Anmeldelsesdato (NotificationDate) | dateTime | Â | 1 | Anmeldelsesdato |
- - Aktivt (Active) | Boolean | Â | 1 | Felt, der angiver om forholdet er aktivt eller inaktivt. |
- - Fravaersafslutningsaarsag (AbsenceCauseTypeIdentifier) | FravaersafslutningsaarsagTypeCodeList | MaxInclusive: 10000 | 0 - 1 | Identifikation af årsagstype for fravÊr. |
- - Berigtigelsekommentar (CorrectionComment) | RettelsesKommentarType Base: string | Length: 0-1500 | 0 - 1 | Kommentar til berigtigelse af en registrering. |
- - ErSlettet | Boolean |  | 0 - 1 | Indikation på om fravÊret er slettet |
- - Nemrefusionidentifier | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 0 - 1 | Identifikation af om der er abonnement på sygemelding fra ydelse. |
- - Ledighedsgrad (CurrentUnemploymentStatusTypeIdentifier) | LedighedsgradTypeCodeList (CurrentUnemploymentStatusTypeIdentifierType) | Â | 0 - 1 | Ledighedsgrad. |
(CompanyIdentifier) | ArbejdsgiverDto |  | 0 - 1 | Virksomhedsinformation på borgers arbejdsgiver ved sygemelding fra beskÊftigelse. |
- - - Pnummer (ProductionUnitIdentifier) | PenhednummeridentifierType | Length: 10 | 0 - 1 | En P-enhed får tildelt et entydigt identifikationsnummer, et P-nummer, som er et 10-cifret nummer. Et P-nummer vil altid vÊre tilknyttet et CVR-nummer. |
- - - cvrEnhedsid (CVRnumberIdentifier) | CVRnummeridentifierType | Length: 8 | 1 | CVR-nummeret er et 8-cifret nummer, der er unikt for den enkelte virksomhed. |
- - YderligereInformationOmSygemeldingSamling (AdditionalInformationOnAbsenceTypeCollection) | YderligereinformationomsygemeldingtyperDtoCollection |  | 0 - 1 | Samling af yderligere informationer om fravÊr |
- - - YderligereInformationOmSygemelding (AdditionalInformationOnAbsenceType) | YderligereinformationomsygemeldingtypeDto | Â | 0 - * | Â |
- - - - YderligereInformationIdentifier (MessageIdentifier) | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Unik nÞgle for YderligereInformationOmSygemelding |
- - - - YderligereInformationOmSygemeldingType (AdditionalInformationOnAbsenceTypeIdentifier) | YderligereInformationOmSygemeldingTypeCodeList |  | 1 | Typen af den yderligere information om sygefravÊr |
- - - - StartdatoYderligereInformation (StartDate) | dateTime |  | 1 | Startdato for yderligere information om sygefravÊr |
- - - - SlutDatoYderligereInformation (EndDate) | dateTime |  | 0 - 1 | Slutdato for yderligere information om sygefravÊr |
- - - -RegistreringsdatoYderligereInformation (RegistrationDate) | dateTime |  | 1 | Registreringsdato for yderligere information om sygefravÊr |
- - - - BerigtigelsekommentarYderligereInformation (CorrectionComment) | string | Length: 0-1500 | 0 - 1 | Berigtigelseskommentar til yderligere information om sygefravÊr |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
 |  |  |
 |  |  |
GetFravaerHistorik (FravaerService/v1/Fravaer/)(Tidl. PersonHistoryService.GetPersonHistory.AbsenceHistory)
Denne metode bruges til at hente historiske fravÊrsregistreringer
Tilladte organisationer
 | Alle borgere | Egne borgere | Tidligere egne borgere | GÊsteadgang | Anden AktÞr - egne borgere | Anden AktÞr - gÊsteadgang | Anden AktÞr - alle borgere | System - alle borgere |
---|---|---|---|---|---|---|---|---|
A-kasse | Â X | Â | Â | Â | Â | Â | Â | Â |
JobCenter | Â | X | Â | Â | X | Â | Â | XÂ |
Kommune | Â | X | Â | Â | Â | Â | Â | X |
STAR | X | Â | Â | Â | Â | Â | Â | Â |
Scope
visiteringogstatus.read
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
GetFravaerRequest | GetFravaerRequestType | Â | 1 | Â |
x-civilRegistrationIdentifier [Header] | 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 | Beskrivelse af cpr |
Output
Â
Element | Type | Detaljer | Forekomst | Beskrivelse |
GetFravaerHistorikResponse | GetFravaerHistorikResponseType | Â | 1 |
|
-Â Fravaershistoriksamling | FravaerDtoCollection | Â | 1 | Samling af alle Fravaer brugeren har haft eller har lige nu |
- Fravaershistorik (AbsenceType) | FravaerType |  | 0 - * | Indeholder data til en fravÊrsregistrering |
-Â -Â BaseType | ServiceModelBase | Â | 1 | Â |
- - - registreringsmetadata | RegistrationMetadataType |  | 1 | Registrerende bruger og dennes organisation (som ved fx Anden AktÞr kan vÊre forskellig fra ovenfor) |
-Â -Â -Â -Â erSlettet | boolean | Â | 1 | Angiver om registreringen er en sletning |
- - - - erAktuel | boolean |  | 1 | Det er en rÊkke som er aktuel (kan typisk også ses i PSS). |
- - - - registrerendeMyndighed | ActiveOrganisationHeaderType |  | 0 - 1 | Den myndighed som der er registreret på vegne af (v/ AA: som brugeren har impersonated) |
-Â -Â -Â -Â -Â organisationType | OrganisationTypeIdentifierType | MinInclusive: 1 | 1 | Â Kodeliste med organisationstype / myndighedstype |
-Â -Â -Â -Â -Â organisationskode | OrganisationCodeType | Length: 1-20 | 1 | Â Identifikation af organisation / myndighed |
- - - - kaldendeBruger | RequestUserMetadataType |  | 0 - 1 | Registrerende bruger og dennes organisation (som ved fx Anden AktÞr vil vÊre forskellig fra RegisteringAuthority) |
- - - - - Udgår | RequestUserStructureType |  | 1 | Information om den kaldende bruger. |
-Â -Â -Â -Â -Â -Â brugerFuldtNavn | UserFullNameType | Length: 1-140 | 1 | Sagsbehandlers fulde navn, ved systemkald angives systemets og jobbets navn her. |
-Â -Â -Â -Â -Â -Â brugerType | Â | 1 | Brugertype | |
-Â -Â -Â -Â -Â -Â brugerId | UserIdentifierType | Length: 1-255 | 1 | Unik identifikation af brugeren, f.eks. en GUID, et medarbejder ID, system ID, bruger ID, certifikat ID, cpr-nummer, email (hvis den er unik) o.l. |
-Â -Â -Â -Â -Â -Â brugerEmail | EmailAddressIdentifierType | Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64}) | 0 - 1 | Brugers e-mail. |
- - - - - brugerOrganisation | RequestOrganisationStructureType |  | 1 | Den organisation som registrerende bruger tilhÞrer. |
-Â -Â -Â -Â -Â -Â organisationType | Â | 1 | Kodeliste med organisationstype / myndighedstype for registrerende bruger. | |
-Â -Â -Â -Â -Â -Â organisationskode | OrganisationCodeType | Pattern: [-][1]|[0-9]{1,8} | 1 | Organisationskode for den registrerende bruger. |
-Â -Â -Â -Â -Â dfdgRegistreringstidspunkt | dateTime | Â | 1 | Kaldende systems registreringstidspunkt. |
- - FravaerIdentifier | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Identifikation af specifikt fravÊr |
-Â -Â StartDato | dateTime | Â | 1 | Startdato |
-Â -Â SlutDato | dateTime | Â | 0 - 1 | Slutdato |
- - FravaerType |  MaxInclusive: 10000 | 1 | Typeangivelse for fravÊr. | |
- - Fravaerskommentar | FravaerskommentarType Base: string | Length: 0-1500 | 0 - 1 | Kommenteret fravÊr. |
-Â -Â Anmeldelsesdato | dateTime | Â | 1 | Anmeldelsesdato |
-Â -Â Aktivt | boolean | Â | 1 | Felt, der angiver om forholdet er aktivt eller inaktivt. |
- - Fravaersafslutningsaarsag | CodeListItemIdentifierType AbsenceCauseTypeIdentifie |  MaxInclusive: 10000 | 0 - 1 | à rsagen til at fravÊret afsluttes |
-Â -Â Berigtigelsekommentar | string | Length: 0-1500 | 0 - 1 | Kommentar til berigtigelse af en registrering. |
- - NemRefusionIdentifier | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 0 - 1 | dentifikation af om der er abonnement på sygemelding fra ydelse. |
-Â -Â Ledighedsgradidentifier | Â | 0 - 1 | Ledighedsgrad | |
(CompanyIdentifier) | ArbejdsgiverDto |  | 0 - 1 | Virksomhedsinformation på borgers arbejdsgiver ved sygemelding fra beskÊftigelse. |
(ProductionUnitIdentifier) | PenhednummeridentifierType | Length: 10 | 0 - 1 | En P-enhed får tildelt et entydigt identifikationsnummer, et P-nummer, som er et 10-cifret nummer. Et P-nummer vil altid vÊre tilknyttet et CVR-nummer. |
(CVRnumberIdentifier) | CVRnummeridentifierType | Length: 8 | 1 | CVR-nummeret er et 8-cifret nummer, der er unikt for den enkelte virksomhed. |
Fejlkoder
ejlkode | Fejltekst | Beskrivelse |
---|---|---|
 |  |  |
 |  |  |