{ "openapi": "3.0.1", "info": {"title": "OpenAPI definition", "version": "v0"}, "servers": [{"url": "http://localhost:8181/sosialhjelp/soknad-api", "description": "Generated server url"}], "paths": { "/soknad/{soknadId}/utgifter/boutgifter": { "get": { "tags": ["boutgift-controller"], "operationId": "getBoutgifter", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BoutgifterDto"}}} } } }, "put": { "tags": ["boutgift-controller"], "operationId": "updateBoutgifter", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/HarBoutgifterInput"}, {"$ref": "#/components/schemas/HarIkkeBoutgifterInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BoutgifterDto"}}} } } } }, "/soknad/{soknadId}/utgifter/barneutgifter": { "get": { "tags": ["barneutgift-controller"], "operationId": "getBarneutgifter", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BarneutgifterDto"}}} } } }, "put": { "tags": ["barneutgift-controller"], "operationId": "updateBarneutgifter", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/HarBarneutgifterInput"}, {"$ref": "#/components/schemas/HarIkkeBarneutgifterInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BarneutgifterDto"}}} } } } }, "/soknad/{soknadId}/utdanning": { "get": { "tags": ["utdanning-controller"], "operationId": "getUtdanning", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtdanningDto"}}} } } }, "put": { "tags": ["utdanning-controller"], "operationId": "updateUtdanning", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/IkkeStudentInput"}, {"$ref": "#/components/schemas/StudentgradInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtdanningDto"}}} } } } }, "/soknad/{soknadId}/situasjonsendring": { "get": { "tags": ["situasjonsendring-controller"], "operationId": "getSituasjonsendring", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": { "application/json": {"schema": {"$ref": "#/components/schemas/SituasjonsendringDto"}} } } } }, "put": { "tags": ["situasjonsendring-controller"], "operationId": "updateSituasjonsendring", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SituasjonsendringDto"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": { "application/json": {"schema": {"$ref": "#/components/schemas/SituasjonsendringDto"}} } } } } }, "/soknad/{soknadId}/personalia/telefonnummer": { "get": { "tags": ["telefonnummer-controller"], "operationId": "getTelefonnummer", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TelefonnummerDto"}}} } } }, "put": { "tags": ["telefonnummer-controller"], "operationId": "updateTelefonnummer", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TelefonnummerInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TelefonnummerDto"}}} } } } }, "/soknad/{soknadId}/personalia/kontonummer": { "get": { "tags": ["kontonummer-controller"], "operationId": "getKontonummer", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/KontoInformasjonDto"}}} } } }, "put": { "tags": ["kontonummer-controller"], "operationId": "updateKontoInformasjonBruker", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/HarIkkeKontoInput"}, {"$ref": "#/components/schemas/KontonummerBrukerInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/KontoInformasjonDto"}}} } } } }, "/soknad/{soknadId}/okonomiskeOpplysninger": { "get": { "tags": ["okonomiske-opplysninger-controller"], "operationId": "getOkonomiskeOpplysninger", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/OkonomiskeOpplysningerDto"}}} } } }, "put": { "tags": ["okonomiske-opplysninger-controller"], "operationId": "updateOkonomiskOpplysning", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/BoliglanInput"}, {"$ref": "#/components/schemas/GenericOkonomiInput"}, {"$ref": "#/components/schemas/LonnsInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/OkonomiskeOpplysningerDto"}}} } } } }, "/soknad/{soknadId}/inntekt/verdier": { "get": { "tags": ["verdi-controller"], "operationId": "getVerdier", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/VerdierDto"}}} } } }, "put": { "tags": ["verdi-controller"], "operationId": "updateVerdier", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/HarIkkeVerdierInput"}, {"$ref": "#/components/schemas/HarVerdierInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/VerdierDto"}}} } } } }, "/soknad/{soknadId}/inntekt/utbetalinger": { "get": { "tags": ["utbetaling-controller"], "operationId": "getUtbetalinger", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtbetalingerDto"}}} } } }, "put": { "tags": ["utbetaling-controller"], "operationId": "updateUtbetalinger", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/HarIkkeUtbetalingerInput"}, {"$ref": "#/components/schemas/HarUtbetalingerInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtbetalingerDto"}}} } } } }, "/soknad/{soknadId}/inntekt/studielan": { "get": { "tags": ["studielan-controller"], "operationId": "getHasStudielan", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanDto"}}} } } }, "put": { "tags": ["studielan-controller"], "operationId": "updateStudielan", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanDto"}}} } } } }, "/soknad/{soknadId}/inntekt/skattbarinntekt/samtykke": { "put": { "tags": ["inntekt-skattetaten-controller"], "operationId": "updateSamtykke", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": {"content": {"application/json": {"schema": {"type": "boolean"}}}, "required": true}, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SkattbarInntektDto"}}} } } } }, "/soknad/{soknadId}/inntekt/formue": { "get": { "tags": ["formue-controller"], "operationId": "getFormue", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/FormueDto"}}} } } }, "put": { "tags": ["formue-controller"], "operationId": "updateFormue", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/FormueInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/FormueDto"}}} } } } }, "/soknad/{soknadId}/familie/sivilstatus": { "get": { "tags": ["sivilstand-controller"], "operationId": "getSivilstand", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SivilstandDto"}}} } } }, "put": { "tags": ["sivilstand-controller"], "operationId": "updateSivilstand", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SivilstandInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SivilstandDto"}}} } } } }, "/soknad/{soknadId}/familie/forsorgerplikt": { "get": { "tags": ["forsorgerplikt-controller"], "operationId": "getForsorgerplikt", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ForsorgerDto"}}} } } }, "put": { "tags": ["forsorgerplikt-controller"], "operationId": "updateForsorgerplikt", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ForsorgerInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ForsorgerDto"}}} } } } }, "/soknad/{soknadId}/dokumentasjon/forventet": { "get": { "tags": ["dokumentasjon-controller"], "operationId": "getForventetDokumentasjon", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/ForventetDokumentasjonDto"}}} } } }, "put": { "tags": ["dokumentasjon-controller"], "operationId": "updateDokumentasjonStatus", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DokumentasjonInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/ForventetDokumentasjonDto"}}} } } } }, "/soknad/{soknadId}/bosituasjon": { "get": { "tags": ["bosituasjon-controller"], "operationId": "getBosituasjon", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BosituasjonDto"}}} } } }, "put": { "tags": ["bosituasjon-controller"], "operationId": "updateBosituasjon", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BosituasjonDto"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BosituasjonDto"}}} } } } }, "/soknad/{soknadId}/begrunnelse": { "get": { "tags": ["begrunnelse-controller"], "operationId": "getBegrunnelse", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BegrunnelseDto"}}} } } }, "put": { "tags": ["begrunnelse-controller"], "operationId": "updateBegrunnelse", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ {"$ref": "#/components/schemas/HarHvaSokesOmInput"}, {"$ref": "#/components/schemas/HarKategorierInput"} ] } } }, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BegrunnelseDto"}}} } } } }, "/soknad/{soknadId}/arbeid": { "get": { "tags": ["arbeid-controller"], "operationId": "getArbeid", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ArbeidDto"}}} } } }, "put": { "tags": ["arbeid-controller"], "operationId": "updateKommentarArbeidsforhold", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ArbeidInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ArbeidDto"}}} } } } }, "/soknad/{soknadId}/adresser": { "get": { "tags": ["adresse-controller"], "operationId": "getAdresser", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdresserDto"}}} } } }, "put": { "tags": ["adresse-controller"], "operationId": "updateAdresser", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdresserInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdresserDto"}}} } } } }, "/soknad/{soknadId}/send": { "post": { "tags": ["soknad-lifecycle-controller"], "operationId": "sendSoknad", "parameters": [ { "name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} }, {"name": "Authorization", "in": "header", "required": false, "schema": {"type": "string"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SoknadSendtDto"}}} } } } }, "/soknad/{soknadId}/inntekt/bostotte": { "get": { "tags": ["bostotte-controller"], "operationId": "getBostotte", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteDto"}}} } } }, "post": { "tags": ["bostotte-controller"], "operationId": "updateBostotte", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "requestBody": { "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteInput"}}}, "required": true }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteDto"}}} } } } }, "/soknad/create": { "post": { "tags": ["soknad-lifecycle-controller"], "operationId": "createSoknad", "parameters": [{"name": "soknadstype", "in": "query", "required": false, "schema": {"type": "string"}}], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": { "application/json": {"schema": {"$ref": "#/components/schemas/StartSoknadResponseDto"}} } } } } }, "/dokument/{soknadId}/{type}": { "post": { "tags": ["dokument-controller"], "operationId": "saveDokument", "parameters": [ { "name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} }, {"name": "type", "in": "path", "required": true, "schema": {"type": "string"}} ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": ["file"], "type": "object", "properties": {"file": {"type": "string", "format": "binary"}} } } } }, "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DokumentDto"}}} } } } }, "/soknad/{soknadId}/personalia/basisPersonalia": { "get": { "tags": ["basis-personalia-controller"], "operationId": "getBasisPersonalia", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PersonaliaDto"}}} } } } }, "/soknad/{soknadId}/inntekt/skattbarinntekt": { "get": { "tags": ["inntekt-skattetaten-controller"], "operationId": "getSkattbarInntekt", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SkattbarInntektDto"}}} } } } }, "/soknad/{soknadId}/inntekt/navytelse": { "get": { "tags": ["nav-ytelse-controller"], "operationId": "getNavYtelse", "parameters": [ {"name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NavYtelseDto"}}} } } } }, "/dokument/{soknadId}/{dokumentId}": { "get": { "tags": ["dokument-controller"], "summary": "Henter et gitt dokument", "operationId": "getDokument", "parameters": [ { "name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} }, { "name": "dokumentId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} } ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": {"description": "Filen ble ikke funnet", "content": {}}, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": { "description": "Dokumentet ble funnet og returneres", "content": {"application/octet-stream": {"schema": {"type": "string", "format": "binary"}}} } } }, "delete": { "tags": ["dokument-controller"], "operationId": "deleteDokument", "parameters": [ { "name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} }, { "name": "dokumentId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} } ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": {"description": "OK"} } } }, "/soknad/{soknadId}/delete": { "delete": { "tags": ["soknad-lifecycle-controller"], "operationId": "deleteSoknad", "parameters": [ { "name": "soknadId", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid"} }, {"name": "Referer", "in": "header", "required": false, "schema": {"type": "string"}} ], "responses": { "400": {"description": "Bad Request", "content": {"*/*": {"schema": {"type": "object"}}}}, "413": { "description": "Payload Too Large", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "409": { "description": "Conflict", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": { "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "401": { "description": "Unauthorized", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} }, "200": {"description": "OK"} } } } }, "components": { "schemas": { "SoknadApiError": { "required": ["error", "responseType"], "type": "object", "properties": { "error": { "type": "string", "enum": [ "InnsendingMidlertidigUtilgjengelig", "InnsendingIkkeAktivert", "InnsendingUtilgjengelig", "PlanlagtNedetid", "PdfGenereringFeilet", "NotFound", "DokumentUploadDuplicateFilename", "DokumentKonverteringFeilet", "UgyldigInput", "GeneralError", "Forbidden", "SoknadAlleredeSendt", "DokumentUploadError", "DokumentUploadTooLarge", "DokumentUploadUnsupportedMediaType", "DokumentUploadFileEncrypted", "DokumentUploadPossibleVirus", "SoknadUpdateConflict", "PdlKallFeilet" ] }, "responseType": {"type": "string"}, "message": {"type": "string"}, "id": {"type": "string"} }, "discriminator": { "propertyName": "responseType", "mapping": {"SoknadApiError": "#/components/schemas/SoknadApiError"} } }, "UnauthorizedMelding": { "required": ["loginUrl"], "type": "object", "properties": {"loginUrl": {"type": "string", "format": "uri"}} }, "BoutgifterInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "HarIkkeBoutgifterInput": "#/components/schemas/HarIkkeBoutgifterInput", "HarBoutgifterInput": "#/components/schemas/HarBoutgifterInput" } } }, "HarBoutgifterInput": { "required": [ "hasAnnenBoutgift", "hasBoliglan", "hasHusleie", "hasKommunalAvgift", "hasOppvarming", "hasStrom" ], "type": "object", "allOf": [ {"$ref": "#/components/schemas/BoutgifterInput"}, { "type": "object", "properties": { "hasHusleie": {"type": "boolean"}, "hasStrom": {"type": "boolean"}, "hasKommunalAvgift": {"type": "boolean"}, "hasOppvarming": {"type": "boolean"}, "hasBoliglan": {"type": "boolean"}, "hasAnnenBoutgift": {"type": "boolean"}, "beskrivelseAnnenBoutgift": {"type": "string"} } } ] }, "HarIkkeBoutgifterInput": {"type": "object", "allOf": [{"$ref": "#/components/schemas/BoutgifterInput"}]}, "BoutgifterDto": { "required": [ "annet", "boliglan", "husleie", "kommunalAvgift", "oppvarming", "skalViseInfoVedBekreftelse", "strom" ], "type": "object", "properties": { "bekreftelse": {"type": "boolean"}, "husleie": {"type": "boolean"}, "strom": {"type": "boolean"}, "kommunalAvgift": {"type": "boolean"}, "oppvarming": {"type": "boolean"}, "boliglan": {"type": "boolean"}, "annet": {"type": "boolean"}, "skalViseInfoVedBekreftelse": {"type": "boolean"} } }, "BarneutgifterInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "HarIkkeBarneutgifterInput": "#/components/schemas/HarIkkeBarneutgifterInput", "HarBarneutgifterInput": "#/components/schemas/HarBarneutgifterInput" } } }, "HarBarneutgifterInput": { "required": [ "hasAnnenUtgiftBarn", "hasBarnehage", "hasFritidsaktiviteter", "hasSfo", "hasTannregulering" ], "type": "object", "allOf": [ {"$ref": "#/components/schemas/BarneutgifterInput"}, { "type": "object", "properties": { "hasFritidsaktiviteter": {"type": "boolean"}, "hasBarnehage": {"type": "boolean"}, "hasSfo": {"type": "boolean"}, "hasTannregulering": {"type": "boolean"}, "hasAnnenUtgiftBarn": {"type": "boolean"} } } ] }, "HarIkkeBarneutgifterInput": { "type": "object", "allOf": [{"$ref": "#/components/schemas/BarneutgifterInput"}] }, "BarneutgifterDto": { "required": [ "hasAnnenUtgiftBarn", "hasBarnehage", "hasForsorgerplikt", "hasFritidsaktiviteter", "hasSfo", "hasTannregulering" ], "type": "object", "properties": { "hasForsorgerplikt": {"type": "boolean"}, "hasBekreftelse": {"type": "boolean"}, "hasFritidsaktiviteter": {"type": "boolean"}, "hasBarnehage": {"type": "boolean"}, "hasSfo": {"type": "boolean"}, "hasTannregulering": {"type": "boolean"}, "hasAnnenUtgiftBarn": {"type": "boolean"} } }, "IkkeStudentInput": { "required": ["erStudent"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/UtdanningInput"}, {"type": "object", "properties": {"erStudent": {"type": "boolean"}}} ] }, "StudentgradInput": { "type": "object", "allOf": [ {"$ref": "#/components/schemas/UtdanningInput"}, {"type": "object", "properties": {"studentgrad": {"type": "string", "enum": ["HELTID", "DELTID"]}}} ] }, "UtdanningInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "IkkeStudent": "#/components/schemas/IkkeStudentInput", "Studentgrad": "#/components/schemas/StudentgradInput" } } }, "UtdanningDto": { "type": "object", "properties": { "erStudent": {"type": "boolean"}, "studentgrad": {"type": "string", "enum": ["HELTID", "DELTID"]} } }, "SituasjonsendringDto": { "type": "object", "properties": {"hvaErEndret": {"type": "string"}, "endring": {"type": "boolean"}} }, "TelefonnummerInput": {"type": "object", "properties": {"telefonnummerBruker": {"type": "string"}}}, "TelefonnummerDto": { "type": "object", "properties": {"telefonnummerRegister": {"type": "string"}, "telefonnummerBruker": {"type": "string"}} }, "HarIkkeKontoInput": { "required": ["harIkkeKonto"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/KontoInput"}, {"type": "object", "properties": {"harIkkeKonto": {"type": "boolean"}}} ] }, "KontoInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "HarIkkeKonto": "#/components/schemas/HarIkkeKontoInput", "KontonummerBruker": "#/components/schemas/KontonummerBrukerInput" } } }, "KontonummerBrukerInput": { "type": "object", "allOf": [ {"$ref": "#/components/schemas/KontoInput"}, {"type": "object", "properties": {"kontonummer": {"type": "string"}}} ] }, "KontoInformasjonDto": { "type": "object", "properties": { "harIkkeKonto": {"type": "boolean"}, "kontonummerRegister": {"type": "string"}, "kontonummerBruker": {"type": "string"} } }, "AbstractOkonomiInput": { "required": ["_type", "type"], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UTGIFTER_ANNET_BO", "UTGIFTER_KOMMUNAL_AVGIFT", "UTGIFTER_OPPVARMING", "UTGIFTER_STROM", "UTGIFTER_BARN_TANNREGULERING", "UTGIFTER_BARN_FRITIDSAKTIVITETER", "UTGIFTER_ANNET_BARN", "UTGIFTER_ANDRE_UTGIFTER", "BARNEBIDRAG_BETALER", "UTGIFTER_SFO", "UTGIFTER_BARNEHAGE", "UTGIFTER_HUSLEIE", "UTGIFTER_BOLIGLAN", "FORMUE_BRUKSKONTO", "FORMUE_BSU", "FORMUE_LIVSFORSIKRING", "FORMUE_SPAREKONTO", "FORMUE_VERDIPAPIRER", "FORMUE_ANNET", "BARNEBIDRAG_MOTTAR", "STUDIELAN_INNTEKT", "JOBB", "UTBETALING_FORSIKRING", "UTBETALING_UTBYTTE", "UTBETALING_SALG", "UTBETALING_HUSBANKEN", "UTBETALING_ANNET", "SLUTTOPPGJOER", "SKATTEMELDING", "SAMVARSAVTALE", "OPPHOLDSTILLATELSE", "HUSLEIEKONTRAKT", "HUSLEIEKONTRAKT_KOMMUNAL", "BEHOV" ] }, "_type": {"type": "string"} }, "discriminator": { "propertyName": "_type", "mapping": { "GenericOkonomiInput": "#/components/schemas/GenericOkonomiInput", "LonnsInput": "#/components/schemas/LonnsInput", "BoliglanInput": "#/components/schemas/BoliglanInput" } } }, "AvdragRenterDto": { "type": "object", "allOf": [ {"$ref": "#/components/schemas/OkonomiDetaljDto"}, { "type": "object", "properties": { "avdrag": {"type": "number", "format": "double"}, "renter": {"type": "number", "format": "double"} } } ] }, "BelopDto": { "type": "object", "allOf": [ {"$ref": "#/components/schemas/OkonomiDetaljDto"}, { "type": "object", "properties": { "beskrivelse": {"type": "string"}, "belop": {"type": "number", "format": "double"} } } ] }, "BoliglanInput": { "required": ["detaljer", "type"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/AbstractOkonomiInput"}, { "type": "object", "properties": { "detaljer": {"type": "array", "items": {"$ref": "#/components/schemas/AvdragRenterDto"}} } } ] }, "GenericOkonomiInput": { "required": ["detaljer", "type"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/AbstractOkonomiInput"}, { "type": "object", "properties": { "detaljer": {"type": "array", "items": {"$ref": "#/components/schemas/BelopDto"}} } } ] }, "LonnsInntektDto": { "type": "object", "allOf": [ {"$ref": "#/components/schemas/OkonomiDetaljDto"}, { "type": "object", "properties": { "brutto": {"type": "number", "format": "double"}, "netto": {"type": "number", "format": "double"} } } ] }, "LonnsInput": { "required": ["detalj", "type"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/AbstractOkonomiInput"}, {"type": "object", "properties": {"detalj": {"$ref": "#/components/schemas/LonnsInntektDto"}}} ] }, "OkonomiDetaljDto": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "BelopDto": "#/components/schemas/BelopDto", "LonnsInntektDto": "#/components/schemas/LonnsInntektDto", "AvdragRenterDto": "#/components/schemas/AvdragRenterDto" } } }, "OkonomiskOpplysningDto": { "required": ["type"], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UTGIFTER_ANNET_BO", "UTGIFTER_KOMMUNAL_AVGIFT", "UTGIFTER_OPPVARMING", "UTGIFTER_STROM", "UTGIFTER_BARN_TANNREGULERING", "UTGIFTER_BARN_FRITIDSAKTIVITETER", "UTGIFTER_ANNET_BARN", "UTGIFTER_ANDRE_UTGIFTER", "BARNEBIDRAG_BETALER", "UTGIFTER_SFO", "UTGIFTER_BARNEHAGE", "UTGIFTER_HUSLEIE", "UTGIFTER_BOLIGLAN", "FORMUE_BRUKSKONTO", "FORMUE_BSU", "FORMUE_LIVSFORSIKRING", "FORMUE_SPAREKONTO", "FORMUE_VERDIPAPIRER", "FORMUE_ANNET", "BARNEBIDRAG_MOTTAR", "STUDIELAN_INNTEKT", "JOBB", "UTBETALING_FORSIKRING", "UTBETALING_UTBYTTE", "UTBETALING_SALG", "UTBETALING_HUSBANKEN", "UTBETALING_ANNET", "SLUTTOPPGJOER", "SKATTEMELDING", "SAMVARSAVTALE", "OPPHOLDSTILLATELSE", "HUSLEIEKONTRAKT", "HUSLEIEKONTRAKT_KOMMUNAL", "BEHOV" ] }, "detaljer": { "type": "array", "items": { "oneOf": [ {"$ref": "#/components/schemas/AvdragRenterDto"}, {"$ref": "#/components/schemas/BelopDto"}, {"$ref": "#/components/schemas/LonnsInntektDto"} ] } } } }, "OkonomiskeOpplysningerDto": { "required": ["opplysninger"], "type": "object", "properties": { "opplysninger": {"type": "array", "items": {"$ref": "#/components/schemas/OkonomiskOpplysningDto"}} } }, "HarIkkeVerdierInput": { "required": ["hasBekreftelse"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/VerdierInput"}, {"type": "object", "properties": {"hasBekreftelse": {"type": "boolean"}}} ] }, "HarVerdierInput": { "required": [ "hasBekreftelse", "hasBeskrivelseVerdi", "hasBolig", "hasCampingvogn", "hasFritidseiendom", "hasKjoretoy" ], "type": "object", "allOf": [ {"$ref": "#/components/schemas/VerdierInput"}, { "type": "object", "properties": { "hasBekreftelse": {"type": "boolean"}, "hasBolig": {"type": "boolean"}, "hasCampingvogn": {"type": "boolean"}, "hasKjoretoy": {"type": "boolean"}, "hasFritidseiendom": {"type": "boolean"}, "hasBeskrivelseVerdi": {"type": "boolean"}, "beskrivelseVerdi": {"type": "string"} } } ] }, "VerdierInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "HarIkkeVerdierInput": "#/components/schemas/HarIkkeVerdierInput", "HarVerdierInput": "#/components/schemas/HarVerdierInput" } } }, "VerdierDto": { "required": ["hasAnnetVerdi", "hasBolig", "hasCampingvogn", "hasFritidseiendom", "hasKjoretoy"], "type": "object", "properties": { "bekreftelse": {"type": "boolean"}, "hasBolig": {"type": "boolean"}, "hasCampingvogn": {"type": "boolean"}, "hasKjoretoy": {"type": "boolean"}, "hasFritidseiendom": {"type": "boolean"}, "hasAnnetVerdi": {"type": "boolean"}, "beskrivelseVerdi": {"type": "string"} } }, "HarIkkeUtbetalingerInput": { "required": ["harIkkeUtbetalinger"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/UtbetalingerInput"}, {"type": "object", "properties": {"harIkkeUtbetalinger": {"type": "boolean"}}} ] }, "HarUtbetalingerInput": { "required": ["hasAnnet", "hasForsikring", "hasSalg", "hasUtbytte"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/UtbetalingerInput"}, { "type": "object", "properties": { "hasUtbytte": {"type": "boolean"}, "hasSalg": {"type": "boolean"}, "hasForsikring": {"type": "boolean"}, "hasAnnet": {"type": "boolean"}, "beskrivelseUtbetaling": {"type": "string"} } } ] }, "UtbetalingerInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "HarIkkeUtbetalingerInput": "#/components/schemas/HarIkkeUtbetalingerInput", "HarUtbetalingerInput": "#/components/schemas/HarUtbetalingerInput" } } }, "UtbetalingerDto": { "required": ["hasAnnenUtbetaling", "hasForsikring", "hasSalg", "hasUtbytte"], "type": "object", "properties": { "hasBekreftelse": {"type": "boolean"}, "hasUtbytte": {"type": "boolean"}, "hasSalg": {"type": "boolean"}, "hasForsikring": {"type": "boolean"}, "hasAnnenUtbetaling": {"type": "boolean"}, "beskrivelseUtbetaling": {"type": "string"}, "utbetalingerFraNavFeilet": {"type": "boolean"} } }, "StudielanInput": { "required": ["mottarStudielan"], "type": "object", "properties": {"mottarStudielan": {"type": "boolean"}} }, "StudielanDto": { "type": "object", "properties": {"erStudent": {"type": "boolean"}, "mottarStudielan": {"type": "boolean"}} }, "InntektFraOrganisasjonDto": { "required": ["organisasjoner"], "type": "object", "properties": { "organisasjoner": {"type": "array", "items": {"$ref": "#/components/schemas/OrganisasjonDto"}} } }, "OrganisasjonDto": { "required": ["utbetalinger"], "type": "object", "properties": { "utbetalinger": { "type": "array", "items": {"$ref": "#/components/schemas/UtbetalingFraSkatteetatenDto"} }, "organisasjonsnavn": {"type": "string"}, "orgnr": {"type": "string"}, "fom": {"type": "string"}, "tom": {"type": "string"} } }, "SamtykkeDto": { "required": ["samtykkeTidspunkt", "verdi"], "type": "object", "properties": {"verdi": {"type": "boolean"}, "samtykkeTidspunkt": {"type": "string"}} }, "SkattbarInntektDto": { "required": ["inntektSkatteetaten"], "type": "object", "properties": { "inntektSkatteetaten": { "type": "array", "items": {"$ref": "#/components/schemas/InntektFraOrganisasjonDto"} }, "inntektFraSkatteetatenFeilet": {"type": "boolean"}, "samtykke": {"$ref": "#/components/schemas/SamtykkeDto"} } }, "UtbetalingFraSkatteetatenDto": { "type": "object", "properties": { "brutto": {"type": "number", "format": "double"}, "forskuddstrekk": {"type": "number", "format": "double"}, "tittel": {"type": "string"} } }, "FormueInput": { "required": [ "hasBeskrivelseSparing", "hasBrukskonto", "hasBsu", "hasLivsforsikring", "hasSparekonto", "hasVerdipapirer" ], "type": "object", "properties": { "hasBrukskonto": {"type": "boolean"}, "hasSparekonto": {"type": "boolean"}, "hasBsu": {"type": "boolean"}, "hasLivsforsikring": {"type": "boolean"}, "hasVerdipapirer": {"type": "boolean"}, "hasBeskrivelseSparing": {"type": "boolean"}, "beskrivelseSparing": {"type": "string"} } }, "FormueDto": { "required": [ "hasBrukskonto", "hasBsu", "hasLivsforsikring", "hasSparekonto", "hasSparing", "hasVerdipapirer" ], "type": "object", "properties": { "hasBrukskonto": {"type": "boolean"}, "hasSparekonto": {"type": "boolean"}, "hasBsu": {"type": "boolean"}, "hasLivsforsikring": {"type": "boolean"}, "hasVerdipapirer": {"type": "boolean"}, "hasSparing": {"type": "boolean"}, "beskrivelseSparing": {"type": "string"} } }, "EktefelleInput": { "required": ["navn"], "type": "object", "properties": { "personId": {"type": "string"}, "navn": {"$ref": "#/components/schemas/NavnInput"}, "fodselsdato": {"type": "string"}, "borSammen": {"type": "boolean"} } }, "NavnInput": { "type": "object", "properties": { "fornavn": {"type": "string"}, "mellomnavn": {"type": "string"}, "etternavn": {"type": "string"} } }, "SivilstandInput": { "required": ["sivilstatus"], "type": "object", "properties": { "sivilstatus": { "type": "string", "enum": ["GIFT", "UGIFT", "SAMBOER", "ENKE", "SKILT", "SEPARERT", "TOM"] }, "ektefelle": {"$ref": "#/components/schemas/EktefelleInput"} } }, "EktefelleDto": { "type": "object", "properties": { "personId": {"type": "string"}, "navn": {"$ref": "#/components/schemas/Navn"}, "fodselsdato": {"type": "string"}, "harDiskresjonskode": {"type": "boolean"}, "folkeregistrertMedEktefelle": {"type": "boolean"}, "borSammen": {"type": "boolean"}, "kildeErSystem": {"type": "boolean"} } }, "Navn": { "type": "object", "properties": { "fornavn": {"type": "string"}, "mellomnavn": {"type": "string"}, "etternavn": {"type": "string"} } }, "SivilstandDto": { "type": "object", "properties": { "sivilstatus": { "type": "string", "enum": ["GIFT", "UGIFT", "SAMBOER", "ENKE", "SKILT", "SEPARERT", "TOM"] }, "ektefelle": {"$ref": "#/components/schemas/EktefelleDto"} } }, "BarnInput": { "type": "object", "properties": { "uuid": {"type": "string", "format": "uuid"}, "personId": {"type": "string"}, "deltBosted": {"type": "boolean"}, "samvarsgrad": {"type": "integer", "format": "int32"}, "folkeregistrertSammen": {"type": "boolean"} } }, "ForsorgerInput": { "required": ["ansvar"], "type": "object", "properties": { "barnebidrag": {"type": "string", "enum": ["BETALER", "MOTTAR", "BEGGE", "INGEN"]}, "ansvar": {"type": "array", "items": {"$ref": "#/components/schemas/BarnInput"}} } }, "BarnDto": { "required": ["uuid"], "type": "object", "properties": { "uuid": {"type": "string", "format": "uuid"}, "navn": {"$ref": "#/components/schemas/Navn"}, "fodselsdato": {"type": "string"}, "borSammen": {"type": "boolean"}, "folkeregistrertSammen": {"type": "boolean"}, "deltBosted": {"type": "boolean"}, "samvarsgrad": {"type": "integer", "format": "int32"} } }, "ForsorgerDto": { "required": ["ansvar"], "type": "object", "properties": { "harForsorgerplikt": {"type": "boolean"}, "barnebidrag": {"type": "string", "enum": ["BETALER", "MOTTAR", "BEGGE", "INGEN"]}, "ansvar": {"type": "array", "items": {"$ref": "#/components/schemas/BarnDto"}} } }, "DokumentasjonInput": { "required": ["hasLevert", "type"], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UTGIFTER_ANNET_BO", "UTGIFTER_KOMMUNAL_AVGIFT", "UTGIFTER_OPPVARMING", "UTGIFTER_STROM", "UTGIFTER_BARN_TANNREGULERING", "UTGIFTER_BARN_FRITIDSAKTIVITETER", "UTGIFTER_ANNET_BARN", "UTGIFTER_ANDRE_UTGIFTER", "BARNEBIDRAG_BETALER", "UTGIFTER_SFO", "UTGIFTER_BARNEHAGE", "UTGIFTER_HUSLEIE", "UTGIFTER_BOLIGLAN", "FORMUE_BRUKSKONTO", "FORMUE_BSU", "FORMUE_LIVSFORSIKRING", "FORMUE_SPAREKONTO", "FORMUE_VERDIPAPIRER", "FORMUE_ANNET", "BARNEBIDRAG_MOTTAR", "STUDIELAN_INNTEKT", "JOBB", "UTBETALING_FORSIKRING", "UTBETALING_UTBYTTE", "UTBETALING_SALG", "UTBETALING_HUSBANKEN", "UTBETALING_ANNET", "SLUTTOPPGJOER", "SKATTEMELDING", "SAMVARSAVTALE", "OPPHOLDSTILLATELSE", "HUSLEIEKONTRAKT", "HUSLEIEKONTRAKT_KOMMUNAL", "BEHOV" ] }, "hasLevert": {"type": "boolean"} } }, "DokumentDto": { "required": ["dokumentId", "filnavn"], "type": "object", "properties": {"dokumentId": {"type": "string", "format": "uuid"}, "filnavn": {"type": "string"}} }, "DokumentasjonDto": { "required": ["dokumentasjonStatus", "dokumenter", "gruppe", "type"], "type": "object", "properties": { "type": { "type": "string", "enum": [ "UTGIFTER_ANNET_BO", "UTGIFTER_KOMMUNAL_AVGIFT", "UTGIFTER_OPPVARMING", "UTGIFTER_STROM", "UTGIFTER_BARN_TANNREGULERING", "UTGIFTER_BARN_FRITIDSAKTIVITETER", "UTGIFTER_ANNET_BARN", "UTGIFTER_ANDRE_UTGIFTER", "BARNEBIDRAG_BETALER", "UTGIFTER_SFO", "UTGIFTER_BARNEHAGE", "UTGIFTER_HUSLEIE", "UTGIFTER_BOLIGLAN", "FORMUE_BRUKSKONTO", "FORMUE_BSU", "FORMUE_LIVSFORSIKRING", "FORMUE_SPAREKONTO", "FORMUE_VERDIPAPIRER", "FORMUE_ANNET", "BARNEBIDRAG_MOTTAR", "STUDIELAN_INNTEKT", "JOBB", "UTBETALING_FORSIKRING", "UTBETALING_UTBYTTE", "UTBETALING_SALG", "UTBETALING_HUSBANKEN", "UTBETALING_ANNET", "SLUTTOPPGJOER", "SKATTEMELDING", "SAMVARSAVTALE", "OPPHOLDSTILLATELSE", "HUSLEIEKONTRAKT", "HUSLEIEKONTRAKT_KOMMUNAL", "BEHOV" ] }, "gruppe": { "type": "string", "enum": [ "andre utgifter", "arbeid", "bosituasjon", "familie", "generelle vedlegg", "inntekt", "statsborgerskap", "utgifter" ] }, "dokumentasjonStatus": {"type": "string", "enum": ["LASTET_OPP", "FORVENTET", "LEVERT_TIDLIGERE"]}, "dokumenter": {"type": "array", "items": {"$ref": "#/components/schemas/DokumentDto"}} } }, "ForventetDokumentasjonDto": { "required": ["dokumentasjon"], "type": "object", "properties": { "dokumentasjon": {"type": "array", "items": {"$ref": "#/components/schemas/DokumentasjonDto"}} } }, "BosituasjonDto": { "type": "object", "properties": { "botype": { "type": "string", "enum": [ "EIER", "LEIER", "KOMMUNAL", "INGEN", "INSTITUSJON", "KRISESENTER", "FENGSEL", "VENNER", "FORELDRE", "FAMILIE", "ANNET" ] }, "antallPersoner": {"type": "integer", "format": "int32"} } }, "BegrunnelseInput": { "required": ["hvorforSoke", "type"], "type": "object", "properties": {"hvorforSoke": {"type": "string"}, "type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "HarHvaSokesOm": "#/components/schemas/HarHvaSokesOmInput", "HarKategorier": "#/components/schemas/HarKategorierInput" } } }, "HarHvaSokesOmInput": { "required": ["hvaSokesOm", "hvorforSoke"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/BegrunnelseInput"}, {"type": "object", "properties": {"hvaSokesOm": {"type": "string"}}} ] }, "HarKategorierInput": { "required": ["annet", "hvorforSoke", "kategorier"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/BegrunnelseInput"}, { "type": "object", "properties": { "kategorier": { "uniqueItems": true, "type": "array", "items": { "type": "string", "enum": [ "LIVSOPPHOLD", "HUSLEIE", "STROM_OPPVARMING", "NODHJELP_IKKE_MAT", "NODHJELP_IKKE_BOSTED", "NODHJELP_IKKE_STROM" ] } }, "annet": {"type": "string"} } } ] }, "BegrunnelseDto": { "required": ["hvaSokesOm", "hvorforSoke", "kategorier"], "type": "object", "properties": { "hvaSokesOm": {"type": "string"}, "hvorforSoke": {"type": "string"}, "kategorier": {"$ref": "#/components/schemas/KategorierDto"} } }, "KategorierDto": { "required": ["annet", "definerte"], "type": "object", "properties": { "definerte": { "uniqueItems": true, "type": "array", "items": { "type": "string", "enum": [ "LIVSOPPHOLD", "HUSLEIE", "STROM_OPPVARMING", "NODHJELP_IKKE_MAT", "NODHJELP_IKKE_BOSTED", "NODHJELP_IKKE_STROM" ] } }, "annet": {"type": "string"} } }, "ArbeidInput": {"type": "object", "properties": {"kommentarTilArbeidsforhold": {"type": "string"}}}, "ArbeidDto": { "required": ["arbeidsforholdList"], "type": "object", "properties": { "arbeidsforholdList": { "type": "array", "items": {"$ref": "#/components/schemas/ArbeidsforholdDto"} }, "kommentar": {"type": "string"} } }, "ArbeidsforholdDto": { "type": "object", "properties": { "arbeidsgivernavn": {"type": "string"}, "orgnummer": {"type": "string"}, "start": {"type": "string"}, "slutt": {"type": "string"}, "fastStillingsprosent": {"type": "integer", "format": "int32"}, "harFastStilling": {"type": "boolean"} } }, "AdresseInput": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "VegAdresse": "#/components/schemas/VegAdresse", "MatrikkelAdresse": "#/components/schemas/MatrikkelAdresse" } } }, "AdresserInput": { "required": ["adresseValg"], "type": "object", "properties": { "adresseValg": {"type": "string", "enum": ["FOLKEREGISTRERT", "MIDLERTIDIG", "SOKNAD"]}, "brukerAdresse": { "oneOf": [ {"$ref": "#/components/schemas/MatrikkelAdresse"}, {"$ref": "#/components/schemas/VegAdresse"} ] } } }, "MatrikkelAdresse": { "required": ["bruksnummer", "gaardsnummer", "kommunenummer"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/AdresseInput"}, { "type": "object", "properties": { "kommunenummer": {"type": "string"}, "gaardsnummer": {"type": "string"}, "bruksnummer": {"type": "string"}, "festenummer": {"type": "string"}, "seksjonsnummer": {"type": "string"}, "undernummer": {"type": "string"} } }, {"$ref": "#/components/schemas/Adresse"} ] }, "VegAdresse": { "required": ["adresselinjer", "landkode"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/AdresseInput"}, { "type": "object", "properties": { "landkode": {"type": "string"}, "kommunenummer": {"type": "string"}, "adresselinjer": {"type": "array", "items": {"type": "string"}}, "bolignummer": {"type": "string"}, "postnummer": {"type": "string"}, "poststed": {"type": "string"}, "gatenavn": {"type": "string"}, "husnummer": {"type": "string"}, "husbokstav": {"type": "string"} } }, {"$ref": "#/components/schemas/Adresse"} ] }, "Adresse": { "required": ["type"], "type": "object", "properties": {"type": {"type": "string"}}, "discriminator": { "propertyName": "type", "mapping": { "VegAdresse": "#/components/schemas/VegAdresse", "MatrikkelAdresse": "#/components/schemas/MatrikkelAdresse", "PostboksAdresse": "#/components/schemas/PostboksAdresse", "UstrukturertAdresse": "#/components/schemas/UstrukturertAdresse" } } }, "AdresserDto": { "type": "object", "properties": { "adresseValg": {"type": "string", "enum": ["FOLKEREGISTRERT", "MIDLERTIDIG", "SOKNAD"]}, "folkeregistrertAdresse": { "oneOf": [ {"$ref": "#/components/schemas/MatrikkelAdresse"}, {"$ref": "#/components/schemas/PostboksAdresse"}, {"$ref": "#/components/schemas/UstrukturertAdresse"}, {"$ref": "#/components/schemas/VegAdresse"} ] }, "midlertidigAdresse": { "oneOf": [ {"$ref": "#/components/schemas/MatrikkelAdresse"}, {"$ref": "#/components/schemas/PostboksAdresse"}, {"$ref": "#/components/schemas/UstrukturertAdresse"}, {"$ref": "#/components/schemas/VegAdresse"} ] }, "brukerAdresse": { "oneOf": [ {"$ref": "#/components/schemas/MatrikkelAdresse"}, {"$ref": "#/components/schemas/PostboksAdresse"}, {"$ref": "#/components/schemas/UstrukturertAdresse"}, {"$ref": "#/components/schemas/VegAdresse"} ] }, "navenhet": {"$ref": "#/components/schemas/NavEnhetDto"} } }, "NavEnhetDto": { "type": "object", "properties": { "enhetsnavn": {"type": "string"}, "orgnummer": {"type": "string"}, "enhetsnummer": {"type": "string"}, "kommunenummer": {"type": "string"}, "kommunenavn": {"type": "string"}, "isMottakMidlertidigDeaktivert": {"type": "boolean"}, "isMottakDeaktivert": {"type": "boolean"} } }, "PostboksAdresse": { "required": ["postboks", "postnummer", "poststed"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/Adresse"}, { "type": "object", "properties": { "postboks": {"type": "string"}, "postnummer": {"type": "string"}, "poststed": {"type": "string"} } } ] }, "UstrukturertAdresse": { "required": ["adresse"], "type": "object", "allOf": [ {"$ref": "#/components/schemas/Adresse"}, {"type": "object", "properties": {"adresse": {"type": "array", "items": {"type": "string"}}}} ] }, "SoknadSendtDto": { "required": ["digisosId", "tidspunkt"], "type": "object", "properties": { "digisosId": {"type": "string", "format": "uuid"}, "tidspunkt": {"type": "string", "format": "date-time"} } }, "BostotteInput": { "type": "object", "properties": {"hasBostotte": {"type": "boolean"}, "hasSamtykke": {"type": "boolean"}} }, "BostotteDto": { "required": ["saker", "utbetalinger"], "type": "object", "properties": { "hasBostotte": {"type": "boolean"}, "hasSamtykke": {"type": "boolean"}, "samtykkeTidspunkt": {"type": "string", "format": "date-time"}, "utbetalinger": {"type": "array", "items": {"$ref": "#/components/schemas/UtbetalingBostotteDto"}}, "saker": {"type": "array", "items": {"$ref": "#/components/schemas/BostotteSakDto"}}, "fetchHusbankenFeilet": {"type": "boolean"} } }, "BostotteSakDto": { "required": ["dato", "status"], "type": "object", "properties": { "dato": {"type": "string", "format": "date"}, "status": {"type": "string", "enum": ["UNDER_BEHANDLING", "VEDTATT"]}, "beskrivelse": {"type": "string"}, "vedtaksstatus": {"type": "string", "enum": ["INNVILGET", "AVSLAG", "AVVIST"]} } }, "UtbetalingBostotteDto": { "required": ["type"], "type": "object", "properties": { "mottaker": {"type": "string", "enum": ["HUSSTAND", "KOMMUNE"]}, "netto": {"type": "number", "format": "double"}, "utbetalingsdato": {"type": "string", "format": "date"}, "type": { "type": "string", "enum": [ "BARNEBIDRAG_MOTTAR", "STUDIELAN_INNTEKT", "JOBB", "UTBETALING_FORSIKRING", "UTBETALING_UTBYTTE", "UTBETALING_SALG", "UTBETALING_ANNET", "SLUTTOPPGJOER", "UTBETALING_NAVYTELSE", "UTBETALING_SKATTEETATEN", "UTBETALING_HUSBANKEN" ] } } }, "StartSoknadResponseDto": { "required": ["soknadId", "useKortSoknad"], "type": "object", "properties": {"soknadId": {"type": "string", "format": "uuid"}, "useKortSoknad": {"type": "boolean"}} }, "NavnDto": { "required": ["etternavn", "fornavn", "fulltNavn"], "type": "object", "properties": { "fornavn": {"type": "string"}, "mellomnavn": {"type": "string"}, "etternavn": {"type": "string"}, "fulltNavn": {"type": "string"} } }, "PersonaliaDto": { "required": ["navn"], "type": "object", "properties": { "navn": {"$ref": "#/components/schemas/NavnDto"}, "fodselsnummer": {"type": "string"}, "statsborgerskap": {"type": "string"}, "nordiskBorger": {"type": "boolean"} } }, "NavUtbetalingerDto": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "BARNEBIDRAG_MOTTAR", "STUDIELAN_INNTEKT", "JOBB", "UTBETALING_FORSIKRING", "UTBETALING_UTBYTTE", "UTBETALING_SALG", "UTBETALING_ANNET", "SLUTTOPPGJOER", "UTBETALING_NAVYTELSE", "UTBETALING_SKATTEETATEN", "UTBETALING_HUSBANKEN" ] }, "utbetalingsdato": {"type": "string"}, "belop": {"type": "number", "format": "double"} } }, "NavYtelseDto": { "required": ["utbetalinger"], "type": "object", "properties": { "utbetalinger": {"type": "array", "items": {"$ref": "#/components/schemas/NavUtbetalingerDto"}}, "fetchUtbetalingerFeilet": {"type": "boolean"} } } } } }