Denne service benyttes til at hente og opdatere jobcentertilknytning for en given borger.
Metoder
GetJobcentertilknytning (GET /jobcentertilknytning/)
Denne metode benyttes til at hente jobcentertilknytning, for en given borger.
Operation | Endpoint |
---|---|
GET | v1/jobcentertilknytning/ |
Input
[Personnummer i header]
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
Jobcenter | JobcenterDto |
| 1 |
|
- Jobcenterkode | string | Pattern: [0-9]{5} | 1 | Jobcentrets kode. |
- JobcenterNavn | string | Length: 1-100 | 1 | Jobcentrets navn. |
- KommunekodeSamling | IEnumerable<string> |
| 1 | Kommuner som jobcentret repræsenterer. |
- - string | string |
| 0 - * |
|
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1010 | Unknown cpr | The submitted cpr is unknown to the system |
1014 | Failed to validate message | The submitted message could not be validated |
UpdateJobcentertilknytning (PUT /jobcentertilknytning/)
Denne metode benyttes til at opdatere jobcentertilknytning, for en given borger.
Operation | Endpoint |
---|---|
PUT | v1/jobcentertilknytning/ |
Input
[Personnummer i Header]
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
UpdateJobcentertilknytningRequest | UpdateJobcentertilknytningRequestDto |
| 1 |
|
- Jobcenterkode (JobcenterIdentifier) | string | Pattern: [0-9]{5} | 1 | Jobcentrets kode. |
Output
Kun status.
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1010 | Unknown cpr | The submitted cpr is unknown to the system |
1014 | Failed to validate message | The submitted message could not be validated |
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 |
4695 | The jobcenter does not exist | The jobcenter does not exist |