{ "openapi": "3.1.0", "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": {"$ref": "#/components/schemas/KontoinformasjonInput"}}}, "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": { "type": "object", "properties": {"file": {"type": "string", "format": "binary"}}, "required": ["file"] } } } }, "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}/isKort": { "get": { "tags": ["soknad-lifecycle-controller"], "operationId": "isKortSoknad", "parameters": [{"name": "soknadId", "in": "path", "required": true, "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": {"type": "boolean"}}}} } } }, "/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": { "type": "object", "discriminator": { "propertyName": "responseType", "mapping": {"SoknadApiError": "#/components/schemas/SoknadApiError"} }, "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"} }, "required": ["error", "responseType"] }, "UnauthorizedMelding": { "type": "object", "properties": {"loginUrl": {"type": "string", "format": "uri"}}, "required": ["loginUrl"] }, "BoutgifterInput": { "discriminator": { "propertyName": "type", "mapping": { "HarIkkeBoutgifterInput": "#/components/schemas/HarIkkeBoutgifterInput", "HarBoutgifterInput": "#/components/schemas/HarBoutgifterInput" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "HarBoutgifterInput": { "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"} } } ], "required": [ "hasAnnenBoutgift", "hasBoliglan", "hasHusleie", "hasKommunalAvgift", "hasOppvarming", "hasStrom" ] }, "HarIkkeBoutgifterInput": {"allOf": [{"$ref": "#/components/schemas/BoutgifterInput"}]}, "BoutgifterDto": { "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"} }, "required": [ "annet", "boliglan", "husleie", "kommunalAvgift", "oppvarming", "skalViseInfoVedBekreftelse", "strom" ] }, "BarneutgifterInput": { "discriminator": { "propertyName": "type", "mapping": { "HarIkkeBarneutgifterInput": "#/components/schemas/HarIkkeBarneutgifterInput", "HarBarneutgifterInput": "#/components/schemas/HarBarneutgifterInput" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "HarBarneutgifterInput": { "allOf": [ {"$ref": "#/components/schemas/BarneutgifterInput"}, { "type": "object", "properties": { "hasFritidsaktiviteter": {"type": "boolean"}, "hasBarnehage": {"type": "boolean"}, "hasSfo": {"type": "boolean"}, "hasTannregulering": {"type": "boolean"}, "hasAnnenUtgiftBarn": {"type": "boolean"} } } ], "required": [ "hasAnnenUtgiftBarn", "hasBarnehage", "hasFritidsaktiviteter", "hasSfo", "hasTannregulering" ] }, "HarIkkeBarneutgifterInput": {"allOf": [{"$ref": "#/components/schemas/BarneutgifterInput"}]}, "BarneutgifterDto": { "type": "object", "properties": { "hasForsorgerplikt": {"type": "boolean"}, "hasBekreftelse": {"type": "boolean"}, "hasFritidsaktiviteter": {"type": "boolean"}, "hasBarnehage": {"type": "boolean"}, "hasSfo": {"type": "boolean"}, "hasTannregulering": {"type": "boolean"}, "hasAnnenUtgiftBarn": {"type": "boolean"} }, "required": [ "hasAnnenUtgiftBarn", "hasBarnehage", "hasForsorgerplikt", "hasFritidsaktiviteter", "hasSfo", "hasTannregulering" ] }, "IkkeStudentInput": { "allOf": [ {"$ref": "#/components/schemas/UtdanningInput"}, {"type": "object", "properties": {"erStudent": {"type": "boolean"}}} ], "required": ["erStudent"] }, "StudentgradInput": { "allOf": [ {"$ref": "#/components/schemas/UtdanningInput"}, {"type": "object", "properties": {"studentgrad": {"type": "string", "enum": ["HELTID", "DELTID"]}}} ] }, "UtdanningInput": { "discriminator": { "propertyName": "type", "mapping": { "IkkeStudent": "#/components/schemas/IkkeStudentInput", "Studentgrad": "#/components/schemas/StudentgradInput" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "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"}} }, "KontoinformasjonInput": { "type": "object", "properties": {"harIkkeKonto": {"type": "boolean"}, "kontonummerBruker": {"type": "string"}} }, "KontoinformasjonDto": { "type": "object", "properties": { "harIkkeKonto": {"type": "boolean"}, "kontonummerRegister": {"type": "string"}, "kontonummerBruker": {"type": "string"} } }, "AbstractOkonomiInput": { "type": "object", "discriminator": { "propertyName": "_type", "mapping": { "GenericOkonomiInput": "#/components/schemas/GenericOkonomiInput", "LonnsInput": "#/components/schemas/LonnsInput", "BoliglanInput": "#/components/schemas/BoliglanInput" } }, "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"} }, "required": ["_type", "type"] }, "AvdragRenterDto": { "allOf": [ {"$ref": "#/components/schemas/OkonomiDetaljDto"}, { "type": "object", "properties": { "avdrag": {"type": "number", "format": "double"}, "renter": {"type": "number", "format": "double"} } } ] }, "BelopDto": { "allOf": [ {"$ref": "#/components/schemas/OkonomiDetaljDto"}, { "type": "object", "properties": { "beskrivelse": {"type": "string"}, "belop": {"type": "number", "format": "double"} } } ] }, "BoliglanInput": { "allOf": [ {"$ref": "#/components/schemas/AbstractOkonomiInput"}, { "type": "object", "properties": { "detaljer": {"type": "array", "items": {"$ref": "#/components/schemas/AvdragRenterDto"}} } } ], "required": ["detaljer", "type"] }, "GenericOkonomiInput": { "allOf": [ {"$ref": "#/components/schemas/AbstractOkonomiInput"}, { "type": "object", "properties": { "detaljer": {"type": "array", "items": {"$ref": "#/components/schemas/BelopDto"}} } } ], "required": ["detaljer", "type"] }, "LonnsInntektDto": { "allOf": [ {"$ref": "#/components/schemas/OkonomiDetaljDto"}, { "type": "object", "properties": { "brutto": {"type": "number", "format": "double"}, "netto": {"type": "number", "format": "double"} } } ] }, "LonnsInput": { "allOf": [ {"$ref": "#/components/schemas/AbstractOkonomiInput"}, {"type": "object", "properties": {"detalj": {"$ref": "#/components/schemas/LonnsInntektDto"}}} ], "required": ["detalj", "type"] }, "OkonomiDetaljDto": { "discriminator": { "propertyName": "type", "mapping": { "BelopDto": "#/components/schemas/BelopDto", "LonnsInntektDto": "#/components/schemas/LonnsInntektDto", "AvdragRenterDto": "#/components/schemas/AvdragRenterDto" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "OkonomiskOpplysningDto": { "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"} ] } } }, "required": ["type"] }, "OkonomiskeOpplysningerDto": { "type": "object", "properties": { "opplysninger": {"type": "array", "items": {"$ref": "#/components/schemas/OkonomiskOpplysningDto"}} }, "required": ["opplysninger"] }, "HarIkkeVerdierInput": { "allOf": [ {"$ref": "#/components/schemas/VerdierInput"}, {"type": "object", "properties": {"hasBekreftelse": {"type": "boolean"}}} ], "required": ["hasBekreftelse"] }, "HarVerdierInput": { "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"} } } ], "required": [ "hasBekreftelse", "hasBeskrivelseVerdi", "hasBolig", "hasCampingvogn", "hasFritidseiendom", "hasKjoretoy" ] }, "VerdierInput": { "discriminator": { "propertyName": "type", "mapping": { "HarIkkeVerdierInput": "#/components/schemas/HarIkkeVerdierInput", "HarVerdierInput": "#/components/schemas/HarVerdierInput" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "VerdierDto": { "type": "object", "properties": { "bekreftelse": {"type": "boolean"}, "hasBolig": {"type": "boolean"}, "hasCampingvogn": {"type": "boolean"}, "hasKjoretoy": {"type": "boolean"}, "hasFritidseiendom": {"type": "boolean"}, "hasAnnetVerdi": {"type": "boolean"}, "beskrivelseVerdi": {"type": "string"} }, "required": ["hasAnnetVerdi", "hasBolig", "hasCampingvogn", "hasFritidseiendom", "hasKjoretoy"] }, "HarIkkeUtbetalingerInput": { "allOf": [ {"$ref": "#/components/schemas/UtbetalingerInput"}, {"type": "object", "properties": {"harIkkeUtbetalinger": {"type": "boolean"}}} ], "required": ["harIkkeUtbetalinger"] }, "HarUtbetalingerInput": { "allOf": [ {"$ref": "#/components/schemas/UtbetalingerInput"}, { "type": "object", "properties": { "hasUtbytte": {"type": "boolean"}, "hasSalg": {"type": "boolean"}, "hasForsikring": {"type": "boolean"}, "hasAnnet": {"type": "boolean"}, "beskrivelseUtbetaling": {"type": "string"} } } ], "required": ["hasAnnet", "hasForsikring", "hasSalg", "hasUtbytte"] }, "UtbetalingerInput": { "discriminator": { "propertyName": "type", "mapping": { "HarIkkeUtbetalingerInput": "#/components/schemas/HarIkkeUtbetalingerInput", "HarUtbetalingerInput": "#/components/schemas/HarUtbetalingerInput" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "UtbetalingerDto": { "type": "object", "properties": { "hasBekreftelse": {"type": "boolean"}, "hasUtbytte": {"type": "boolean"}, "hasSalg": {"type": "boolean"}, "hasForsikring": {"type": "boolean"}, "hasAnnenUtbetaling": {"type": "boolean"}, "beskrivelseUtbetaling": {"type": "string"}, "utbetalingerFraNavFeilet": {"type": "boolean"} }, "required": ["hasAnnenUtbetaling", "hasForsikring", "hasSalg", "hasUtbytte"] }, "StudielanInput": { "type": "object", "properties": {"mottarStudielan": {"type": "boolean"}}, "required": ["mottarStudielan"] }, "StudielanDto": { "type": "object", "properties": {"erStudent": {"type": "boolean"}, "mottarStudielan": {"type": "boolean"}} }, "InntektFraOrganisasjonDto": { "type": "object", "properties": { "organisasjoner": {"type": "array", "items": {"$ref": "#/components/schemas/OrganisasjonDto"}} }, "required": ["organisasjoner"] }, "OrganisasjonDto": { "type": "object", "properties": { "utbetalinger": { "type": "array", "items": {"$ref": "#/components/schemas/UtbetalingFraSkatteetatenDto"} }, "organisasjonsnavn": {"type": "string"}, "orgnr": {"type": "string"}, "fom": {"type": "string"}, "tom": {"type": "string"} }, "required": ["utbetalinger"] }, "SamtykkeDto": { "type": "object", "properties": {"verdi": {"type": "boolean"}, "samtykkeTidspunkt": {"type": "string"}}, "required": ["samtykkeTidspunkt", "verdi"] }, "SkattbarInntektDto": { "type": "object", "properties": { "inntektSkatteetaten": { "type": "array", "items": {"$ref": "#/components/schemas/InntektFraOrganisasjonDto"} }, "inntektFraSkatteetatenFeilet": {"type": "boolean"}, "samtykke": {"$ref": "#/components/schemas/SamtykkeDto"} }, "required": ["inntektSkatteetaten"] }, "UtbetalingFraSkatteetatenDto": { "type": "object", "properties": { "brutto": {"type": "number", "format": "double"}, "forskuddstrekk": {"type": "number", "format": "double"}, "tittel": {"type": "string"} } }, "FormueInput": { "type": "object", "properties": { "hasBrukskonto": {"type": "boolean"}, "hasSparekonto": {"type": "boolean"}, "hasBsu": {"type": "boolean"}, "hasLivsforsikring": {"type": "boolean"}, "hasVerdipapirer": {"type": "boolean"}, "hasBeskrivelseSparing": {"type": "boolean"}, "beskrivelseSparing": {"type": "string"} }, "required": [ "hasBeskrivelseSparing", "hasBrukskonto", "hasBsu", "hasLivsforsikring", "hasSparekonto", "hasVerdipapirer" ] }, "FormueDto": { "type": "object", "properties": { "hasBrukskonto": {"type": "boolean"}, "hasSparekonto": {"type": "boolean"}, "hasBsu": {"type": "boolean"}, "hasLivsforsikring": {"type": "boolean"}, "hasVerdipapirer": {"type": "boolean"}, "hasSparing": {"type": "boolean"}, "beskrivelseSparing": {"type": "string"} }, "required": [ "hasBrukskonto", "hasBsu", "hasLivsforsikring", "hasSparekonto", "hasSparing", "hasVerdipapirer" ] }, "EktefelleInput": { "type": "object", "properties": { "personId": {"type": "string"}, "navn": {"$ref": "#/components/schemas/NavnInput"}, "fodselsdato": {"type": "string"}, "borSammen": {"type": "boolean"} }, "required": ["navn"] }, "NavnInput": { "type": "object", "properties": { "fornavn": {"type": "string"}, "mellomnavn": {"type": "string"}, "etternavn": {"type": "string"} } }, "SivilstandInput": { "type": "object", "properties": { "sivilstatus": { "type": "string", "enum": ["GIFT", "UGIFT", "SAMBOER", "ENKE", "SKILT", "SEPARERT", "TOM"] }, "ektefelle": {"$ref": "#/components/schemas/EktefelleInput"} }, "required": ["sivilstatus"] }, "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": { "type": "object", "properties": { "barnebidrag": {"type": "string", "enum": ["BETALER", "MOTTAR", "BEGGE", "INGEN"]}, "ansvar": {"type": "array", "items": {"$ref": "#/components/schemas/BarnInput"}} }, "required": ["ansvar"] }, "BarnDto": { "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"} }, "required": ["uuid"] }, "ForsorgerDto": { "type": "object", "properties": { "harForsorgerplikt": {"type": "boolean"}, "barnebidrag": {"type": "string", "enum": ["BETALER", "MOTTAR", "BEGGE", "INGEN"]}, "ansvar": {"type": "array", "items": {"$ref": "#/components/schemas/BarnDto"}} }, "required": ["ansvar"] }, "DokumentasjonInput": { "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"} }, "required": ["hasLevert", "type"] }, "DokumentDto": { "type": "object", "properties": {"dokumentId": {"type": "string", "format": "uuid"}, "filnavn": {"type": "string"}}, "required": ["dokumentId", "filnavn"] }, "DokumentasjonDto": { "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"}} }, "required": ["dokumentasjonStatus", "dokumenter", "gruppe", "type"] }, "ForventetDokumentasjonDto": { "type": "object", "properties": { "dokumentasjon": {"type": "array", "items": {"$ref": "#/components/schemas/DokumentasjonDto"}} }, "required": ["dokumentasjon"] }, "BosituasjonDto": { "type": "object", "properties": { "botype": { "type": "string", "enum": [ "EIER", "LEIER", "KOMMUNAL", "ANNET", "INGEN", "INSTITUSJON", "KRISESENTER", "FENGSEL", "VENNER", "FORELDRE", "FAMILIE" ] }, "antallPersoner": {"type": "integer", "format": "int32"} } }, "BegrunnelseInput": { "discriminator": { "propertyName": "type", "mapping": { "HarHvaSokesOm": "#/components/schemas/HarHvaSokesOmInput", "HarKategorier": "#/components/schemas/HarKategorierInput" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "HarHvaSokesOmInput": { "allOf": [ {"$ref": "#/components/schemas/BegrunnelseInput"}, { "type": "object", "properties": {"hvorforSoke": {"type": "string"}, "hvaSokesOm": {"type": "string"}} } ], "required": ["hvaSokesOm"] }, "HarKategorierInput": { "allOf": [ {"$ref": "#/components/schemas/BegrunnelseInput"}, { "type": "object", "properties": { "kategorier": { "type": "array", "items": { "type": "string", "enum": [ "LIVSOPPHOLD", "HUSLEIE", "STROM_OPPVARMING", "NODHJELP_IKKE_MAT", "NODHJELP_IKKE_BOSTED", "NODHJELP_IKKE_STROM" ] }, "uniqueItems": true }, "annet": {"type": "string"} } } ], "required": ["annet", "kategorier"] }, "BegrunnelseDto": { "type": "object", "properties": { "hvaSokesOm": {"type": "string"}, "hvorforSoke": {"type": "string"}, "kategorier": {"$ref": "#/components/schemas/KategorierDto"} }, "required": ["hvaSokesOm", "kategorier"] }, "KategorierDto": { "type": "object", "properties": { "definerte": { "type": "array", "items": { "type": "string", "enum": [ "LIVSOPPHOLD", "HUSLEIE", "STROM_OPPVARMING", "NODHJELP_IKKE_MAT", "NODHJELP_IKKE_BOSTED", "NODHJELP_IKKE_STROM" ] }, "uniqueItems": true }, "annet": {"type": "string"} }, "required": ["annet", "definerte"] }, "ArbeidInput": {"type": "object", "properties": {"kommentarTilArbeidsforhold": {"type": "string"}}}, "ArbeidDto": { "type": "object", "properties": { "arbeidsforholdList": { "type": "array", "items": {"$ref": "#/components/schemas/ArbeidsforholdDto"} }, "kommentar": {"type": "string"} }, "required": ["arbeidsforholdList"] }, "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": { "discriminator": { "propertyName": "type", "mapping": { "VegAdresse": "#/components/schemas/VegAdresse", "MatrikkelAdresse": "#/components/schemas/MatrikkelAdresse" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "AdresserInput": { "type": "object", "properties": { "adresseValg": {"type": "string", "enum": ["FOLKEREGISTRERT", "MIDLERTIDIG", "SOKNAD"]}, "brukerAdresse": { "oneOf": [ {"$ref": "#/components/schemas/MatrikkelAdresse"}, {"$ref": "#/components/schemas/VegAdresse"} ] } }, "required": ["adresseValg"] }, "MatrikkelAdresse": { "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"} ], "required": ["bruksnummer", "gaardsnummer", "kommunenummer"] }, "VegAdresse": { "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"} ], "required": ["adresselinjer", "landkode"] }, "Adresse": { "discriminator": { "propertyName": "type", "mapping": { "VegAdresse": "#/components/schemas/VegAdresse", "MatrikkelAdresse": "#/components/schemas/MatrikkelAdresse", "PostboksAdresse": "#/components/schemas/PostboksAdresse", "UstrukturertAdresse": "#/components/schemas/UstrukturertAdresse" } }, "properties": {"type": {"type": "string"}}, "required": ["type"] }, "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": { "allOf": [ {"$ref": "#/components/schemas/Adresse"}, { "type": "object", "properties": { "postboks": {"type": "string"}, "postnummer": {"type": "string"}, "poststed": {"type": "string"} } } ], "required": ["postboks", "postnummer", "poststed"] }, "UstrukturertAdresse": { "allOf": [ {"$ref": "#/components/schemas/Adresse"}, {"type": "object", "properties": {"adresse": {"type": "array", "items": {"type": "string"}}}} ], "required": ["adresse"] }, "SoknadSendtDto": { "type": "object", "properties": { "digisosId": {"type": "string", "format": "uuid"}, "tidspunkt": {"type": "string", "format": "date-time"} }, "required": ["digisosId", "tidspunkt"] }, "BostotteInput": { "type": "object", "properties": {"hasBostotte": {"type": "boolean"}, "hasSamtykke": {"type": "boolean"}} }, "BostotteDto": { "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"} }, "required": ["saker", "utbetalinger"] }, "BostotteSakDto": { "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"]} }, "required": ["dato", "status"] }, "UtbetalingBostotteDto": { "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" ] } }, "required": ["type"] }, "StartSoknadResponseDto": { "type": "object", "properties": {"soknadId": {"type": "string", "format": "uuid"}, "useKortSoknad": {"type": "boolean"}}, "required": ["soknadId", "useKortSoknad"] }, "NavnDto": { "type": "object", "properties": { "fornavn": {"type": "string"}, "mellomnavn": {"type": "string"}, "etternavn": {"type": "string"}, "fulltNavn": {"type": "string"} }, "required": ["etternavn", "fornavn", "fulltNavn"] }, "PersonaliaDto": { "type": "object", "properties": { "navn": {"$ref": "#/components/schemas/NavnDto"}, "fodselsnummer": {"type": "string"}, "statsborgerskap": {"type": "string"}, "nordiskBorger": {"type": "boolean"} }, "required": ["navn"] }, "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" ] }, "ytelsestype": {"type": "string"}, "utbetalingsdato": {"type": "string"}, "belop": {"type": "number", "format": "double"} } }, "NavYtelseDto": { "type": "object", "properties": { "utbetalinger": {"type": "array", "items": {"$ref": "#/components/schemas/NavUtbetalingerDto"}}, "fetchUtbetalingerFeilet": {"type": "boolean"} }, "required": ["utbetalinger"] } } } }