Siden er manuelt oprettet og opdateres kun manuelt
Metoder
CreateFravaerMedIdentifier (POST /v1/Fravaer/{fravaerIdentifier})
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 | |||
- FravaerType | CodeListItemIdentifierType AbsenceTypeIdentifier | MaxInclusive: 10000 | 1 | Typeangivelse for fravær. |
- Startdato | dateTime | 1 | Startdato for fravær | |
- Slutdato | dateTime | 0 - 1 | Slutdato for fravær | |
- Fravaerskommentar | AbsenceCommentType | Length: 0-1500 | 0 - 1 | Kommenteret fravær. |
- Anmeldelsesdato | 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 |
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 | |||
(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 |
---|---|---|
|
|
|
|
|
|