Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tjeneste til Pensjon for uthenting av perioder med barnetrygd #393

Merged
merged 5 commits into from
Oct 10, 2023

Conversation

tnarland
Copy link
Contributor

@tnarland tnarland commented Oct 5, 2023

Favro
Laget etter samme modell som bisys/skatt tjenestene, men tar med relevante perioder med ordinær barnetrygd i tillegg.

…person.

Laget etter modell fra bisys/skatt tjenestene, men tar i tillegg med relevante perioder med ordinær barnetrygd
@tnarland tnarland requested a review from a team as a code owner October 5, 2023 07:25
@tnarland tnarland force-pushed the tjeneste_for_henting_av_perioder_til_pensjon branch from d3ab7a3 to 3e2db58 Compare October 5, 2023 09:50
@Operation(summary = "Uttrekk barnetrygdperioder på en person fra en bestemet måned. Maks 2 år tilbake i tid")
@PostMapping(path = ["pensjon"], consumes = ["application/json"])
@ApiRequestBody(content = [Content(examples = [ExampleObject(value = """{"personIdent": "12345678910", "fraDato": "2022-05"}""")])])
fun hentBarnetrygd(@RequestBody request: BarnetrygdTilPensjonRequest): BarnetrygdTilPensjonResponse {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Så kun ute etter perioder for saker som også løper i ba?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nei, er egentlig en oppgave som består av to 2 deler. Regner med vi kommer til å trenge et "finnPersonerTilPensjon"-endepunkt i den andre delen av oppgaven

Copy link
Collaborator

@stigebil stigebil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…estemt år til pensjon (for det meste en kopi av skatt-versjonen).

Endrer fraDato-typen i perioder-requesten til LocalDate, i samsvar med request-objektet i BA-sak.
@tnarland tnarland merged commit 14fc58a into main Oct 10, 2023
1 check passed
@tnarland tnarland deleted the tjeneste_for_henting_av_perioder_til_pensjon branch October 10, 2023 09:59
@tnarland tnarland restored the tjeneste_for_henting_av_perioder_til_pensjon branch October 10, 2023 10:29
@tnarland tnarland deleted the tjeneste_for_henting_av_perioder_til_pensjon branch November 9, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants