{ "openapi": "3.0.1", "info": { "title": "OpenAPI definition", "version": "v0" }, "servers": [{ "url": "http://localhost:8080/sosialhjelp/innsyn-api", "description": "Generated server url" }], "paths": { "/api/v1/innsyn/{fiksDigisosId}/vedlegg": { "get": { "tags": ["vedlegg-controller"], "operationId": "hentVedlegg", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/VedleggResponse" } } } } } } }, "post": { "tags": ["vedlegg-controller"], "operationId": "sendVedlegg", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": ["files"], "type": "object", "properties": { "files": { "type": "array", "items": { "type": "string", "format": "binary" } } } } } } }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OppgaveOpplastingResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/klage": { "get": { "tags": ["klage-controller"], "operationId": "hentKlager", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KlageDto" } } } } } } }, "post": { "tags": ["klage-controller"], "operationId": "sendKlage", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json;charset=UTF-8": { "schema": { "$ref": "#/components/schemas/InputKlage" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Unit" } } } } } } }, "/api/v1/info/logg": { "post": { "tags": ["info-controller"], "operationId": "postKlientlogg", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Logg" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "204": { "description": "No Content" } } } }, "/api/v1/digisosapi/{fiksDigisosId}/filOpplasting": { "post": { "tags": ["digisos-api-test-controller"], "operationId": "filOpplasting", "parameters": [ { "name": "fiksDigisosId", "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" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "string" } } } } } } }, "/api/v1/digisosapi/oppdaterDigisosSak": { "post": { "tags": ["digisos-api-test-controller"], "operationId": "oppdaterDigisosSak", "parameters": [ { "name": "fiksDigisosId", "in": "query", "required": false, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "string" } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/vilkar": { "get": { "tags": ["oppgave-controller"], "operationId": "getVilkar", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/VilkarResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/soknadsStatus": { "get": { "tags": ["soknads-status-controller"], "operationId": "hentSoknadsStatus", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/SoknadsStatusResponse" } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/saksStatus": { "get": { "tags": ["saks-status-controller"], "operationId": "hentSaksStatuser", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SaksStatusResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/oppgaver": { "get": { "tags": ["oppgave-controller"], "operationId": "getOppgaver", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OppgaveResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/oppgaver/{oppgaveId}": { "get": { "tags": ["oppgave-controller"], "operationId": "getOppgaveMedId", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "oppgaveId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OppgaveResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/kommune": { "get": { "tags": ["kommune-controller"], "operationId": "hentKommuneInfo", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/KommuneResponse" } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/hendelser": { "get": { "tags": ["hendelse-controller"], "operationId": "hentHendelser", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/HendelseResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/harLeverteDokumentasjonkrav": { "get": { "tags": ["oppgave-controller"], "operationId": "getHarLevertDokumentasjonkrav", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "boolean" } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/forelopigSvar": { "get": { "tags": ["forelopig-svar-controller"], "operationId": "hentForelopigSvarStatus", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ForelopigSvarResponse" } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/fagsystemHarDokumentasjonkrav": { "get": { "tags": ["oppgave-controller"], "operationId": "getfagsystemHarDokumentasjonkrav", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "boolean" } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/dokumentasjonkrav": { "get": { "tags": ["oppgave-controller"], "operationId": "getDokumentasjonkrav", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DokumentasjonkravResponse" } } } } } } } }, "/api/v1/innsyn/{fiksDigisosId}/dokumentasjonkrav/{dokumentasjonkravId}": { "get": { "tags": ["oppgave-controller"], "operationId": "getDokumentasjonkravMedId", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dokumentasjonkravId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DokumentasjonkravResponse" } } } } } } } }, "/api/v1/innsyn/utbetalinger": { "get": { "tags": ["utbetalinger-controller"], "operationId": "hentUtbetalinger", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "month", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "default": 3 } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UtbetalingerResponse" } } } } } } } }, "/api/v1/innsyn/tilgang": { "get": { "tags": ["tilgang-controller"], "operationId": "harTilgang", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/TilgangResponse" } } } } } } }, "/api/v1/innsyn/tidligere": { "get": { "tags": ["utbetalinger-controller"], "operationId": "hentTidligereUtbetalinger", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NyeOgTidligereUtbetalingerResponse" } } } } } } } }, "/api/v1/innsyn/saksDetaljer": { "get": { "tags": ["saks-oversikt-controller"], "operationId": "hentSaksDetaljer", "parameters": [ { "name": "id", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/SaksDetaljerResponse" } } } } }, "deprecated": true } }, "/api/v1/innsyn/saker": { "get": { "tags": ["saks-oversikt-controller"], "operationId": "hentAlleSaker", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SaksListeResponse" } } } } } } } }, "/api/v1/innsyn/sak/{fiksDigisosId}/detaljer": { "get": { "tags": ["saks-oversikt-controller"], "operationId": "getSaksDetaljer", "parameters": [ { "name": "fiksDigisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/SaksDetaljerResponse" } } } } } } }, "/api/v1/innsyn/nye": { "get": { "tags": ["utbetalinger-controller"], "operationId": "hentNyeUtbetalinger", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NyeOgTidligereUtbetalingerResponse" } } } } } } } }, "/api/v1/innsyn/harSoknaderMedInnsyn": { "get": { "tags": ["soknad-med-innsyn-controller"], "operationId": "harSoknaderMedInnsyn", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "application/json;charset=UTF-8": { "schema": { "type": "boolean" } } } } } } }, "/api/v1/digisosapi/{digisosId}/innsynsfil": { "get": { "tags": ["digisos-api-test-controller"], "operationId": "getInnsynsfil", "parameters": [ { "name": "digisosId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "required": false, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "type": "object" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "string", "format": "byte" } } } } } } } }, "components": { "schemas": { "OppgaveOpplastingResponse": { "required": ["filer", "type"], "type": "object", "properties": { "type": { "type": "string" }, "tilleggsinfo": { "type": "string" }, "innsendelsesfrist": { "type": "string", "format": "date" }, "hendelsetype": { "type": "string", "enum": ["dokumentasjonEtterspurt", "dokumentasjonkrav", "soknad", "bruker"] }, "hendelsereferanse": { "type": "string" }, "filer": { "type": "array", "items": { "$ref": "#/components/schemas/VedleggOpplastingResponse" } } } }, "VedleggOpplastingResponse": { "required": ["status"], "type": "object", "properties": { "filnavn": { "type": "string" }, "status": { "type": "string", "enum": [ "OK", "COULD_NOT_LOAD_DOCUMENT", "PDF_IS_ENCRYPTED", "ILLEGAL_FILE_TYPE", "ILLEGAL_FILENAME", "FILE_TOO_LARGE" ] } } }, "InputKlage": { "required": ["fiksDigisosId", "klageTekst", "vedtaksIds"], "type": "object", "properties": { "fiksDigisosId": { "type": "string" }, "klageTekst": { "type": "string" }, "vedtaksIds": { "type": "array", "items": { "type": "string" } } } }, "Unit": { "type": "object" }, "Logg": { "required": ["columnNumber", "jsFileUrl", "level", "lineNumber", "message", "url", "userAgent"], "type": "object", "properties": { "level": { "type": "string" }, "message": { "type": "string" }, "jsFileUrl": { "type": "string" }, "lineNumber": { "type": "string" }, "columnNumber": { "type": "string" }, "url": { "type": "string" }, "userAgent": { "type": "string" } } }, "VilkarResponse": { "required": ["hendelsetidspunkt", "status", "vilkarReferanse"], "type": "object", "properties": { "hendelsetidspunkt": { "type": "string", "format": "date" }, "vilkarReferanse": { "type": "string" }, "tittel": { "type": "string" }, "beskrivelse": { "type": "string" }, "status": { "type": "string", "enum": ["RELEVANT", "ANNULLERT", "OPPFYLT", "IKKE_OPPFYLT", "LEVERT_TIDLIGERE"] }, "utbetalingsReferanse": { "type": "array", "items": { "type": "string" } } } }, "VedleggResponse": { "required": ["datoLagtTil", "filnavn", "storrelse", "type", "url"], "type": "object", "properties": { "filnavn": { "type": "string" }, "storrelse": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "type": { "type": "string" }, "tilleggsinfo": { "type": "string" }, "datoLagtTil": { "type": "string", "format": "date-time" } } }, "SoknadsStatusResponse": { "required": ["isBroken", "status"], "type": "object", "properties": { "status": { "type": "string", "enum": ["SENDT", "MOTTATT", "UNDER_BEHANDLING", "FERDIGBEHANDLET", "BEHANDLES_IKKE"] }, "kommunenummer": { "type": "string" }, "tidspunktSendt": { "type": "string", "format": "date-time" }, "soknadsalderIMinutter": { "type": "integer", "format": "int64" }, "navKontor": { "type": "string" }, "filUrl": { "$ref": "#/components/schemas/UrlResponse" }, "isBroken": { "type": "boolean" } } }, "UrlResponse": { "required": ["link", "linkTekst"], "type": "object", "properties": { "linkTekst": { "type": "string", "enum": [ "SOKNAD_SEND_TIL_KONTOR", "SOKNAD_UNDER_BEHANDLING", "SOKNAD_MOTTATT_MED_KOMMUNENAVN", "SOKNAD_MOTTATT_UTEN_KOMMUNENAVN", "SOKNAD_FERDIGBEHANDLET", "SOKNAD_BEHANDLES_IKKE", "SOKNAD_VIDERESENDT_PAPIRSOKNAD_MED_NORG_ENHET", "SOKNAD_VIDERESENDT_PAPIRSOKNAD_UTEN_NORG_ENHET", "SOKNAD_VIDERESENDT_MED_NORG_ENHET", "SOKNAD_VIDERESENDT_UTEN_NORG_ENHET", "SOKNAD_KAN_IKKE_VISE_STATUS_MED_TITTEL", "SOKNAD_KAN_IKKE_VISE_STATUS_UTEN_TITTEL", "SAK_UNDER_BEHANDLING_MED_TITTEL", "SAK_UNDER_BEHANDLING_UTEN_TITTEL", "SAK_FERDIGBEHANDLET_MED_TITTEL", "SAK_FERDIGBEHANDLET_UTEN_TITTEL", "SAK_KAN_IKKE_VISE_STATUS_MED_TITTEL", "SAK_KAN_IKKE_VISE_STATUS_UTEN_TITTEL", "ANTALL_SENDTE_VEDLEGG", "UTBETALINGER_OPPDATERT", "BREV_OM_SAKSBEANDLINGSTID", "ETTERSPOR_MER_DOKUMENTASJON", "ETTERSPOR_IKKE_MER_DOKUMENTASJON", "DOKUMENTASJONKRAV", "SOKNAD_SEND_TIL_KONTOR_LENKETEKST", "VIS_BREVET_LENKETEKST" ] }, "link": { "type": "string" } } }, "FilUrl": { "required": ["id", "url"], "type": "object", "properties": { "dato": { "type": "string", "format": "date" }, "url": { "type": "string" }, "id": { "type": "string" } } }, "SaksStatusResponse": { "required": ["skalViseVedtakInfoPanel", "tittel"], "type": "object", "properties": { "tittel": { "type": "string" }, "status": { "type": "string", "enum": [ "UNDER_BEHANDLING", "IKKE_INNSYN", "FERDIGBEHANDLET", "BEHANDLES_IKKE", "FEILREGISTRERT" ] }, "skalViseVedtakInfoPanel": { "type": "boolean" }, "vedtaksfilUrlList": { "type": "array", "items": { "$ref": "#/components/schemas/FilUrl" } } } }, "OppgaveElement": { "required": ["dokumenttype", "erFraInnsyn"], "type": "object", "properties": { "dokumenttype": { "type": "string" }, "tilleggsinformasjon": { "type": "string" }, "hendelsetype": { "type": "string", "enum": ["dokumentasjonEtterspurt", "dokumentasjonkrav", "soknad", "bruker"] }, "hendelsereferanse": { "type": "string" }, "erFraInnsyn": { "type": "boolean" } } }, "OppgaveResponse": { "required": ["oppgaveElementer", "oppgaveId"], "type": "object", "properties": { "oppgaveId": { "type": "string" }, "innsendelsesfrist": { "type": "string", "format": "date" }, "oppgaveElementer": { "type": "array", "items": { "$ref": "#/components/schemas/OppgaveElement" } } } }, "KommuneResponse": { "required": [ "erInnsendingEttersendelseDeaktivert", "erInnsendingEttersendelseMidlertidigDeaktivert", "erInnsynDeaktivert", "erInnsynMidlertidigDeaktivert", "tidspunkt" ], "type": "object", "properties": { "erInnsynDeaktivert": { "type": "boolean" }, "erInnsynMidlertidigDeaktivert": { "type": "boolean" }, "erInnsendingEttersendelseDeaktivert": { "type": "boolean" }, "erInnsendingEttersendelseMidlertidigDeaktivert": { "type": "boolean" }, "tidspunkt": { "type": "string", "format": "date-time" }, "kommunenummer": { "type": "string" } } }, "KlageDto": { "required": ["klageUrl", "paaklagetVedtakRefs", "status"], "type": "object", "properties": { "klageUrl": { "$ref": "#/components/schemas/FilUrl" }, "status": { "type": "string", "enum": ["SENDT", "MOTTATT", "UNDER_BEHANDLING", "FERDIG_BEHANDLET", "HOS_STATSFORVALTER"] }, "nyttVedtakUrl": { "$ref": "#/components/schemas/FilUrl" }, "paaklagetVedtakRefs": { "type": "array", "items": { "type": "string" } } } }, "HendelseResponse": { "required": ["hendelseType", "tidspunkt"], "type": "object", "properties": { "tidspunkt": { "type": "string" }, "hendelseType": { "type": "string" }, "filUrl": { "$ref": "#/components/schemas/UrlResponse" }, "tekstArgument": { "type": "string" }, "saksReferanse": { "type": "string" }, "navEnhetsNummer": { "type": "string" }, "navEnhetsNavn": { "type": "string" }, "kommuneNummer": { "type": "string" } } }, "ForelopigSvarResponse": { "required": ["harMottattForelopigSvar"], "type": "object", "properties": { "harMottattForelopigSvar": { "type": "boolean" }, "link": { "type": "string" } } }, "DokumentasjonkravElement": { "required": ["dokumentasjonkravReferanse", "hendelsetidspunkt", "status"], "type": "object", "properties": { "hendelsetidspunkt": { "type": "string", "format": "date" }, "hendelsetype": { "type": "string", "enum": ["dokumentasjonEtterspurt", "dokumentasjonkrav", "soknad", "bruker"] }, "dokumentasjonkravReferanse": { "type": "string" }, "tittel": { "type": "string" }, "beskrivelse": { "type": "string" }, "status": { "type": "string", "enum": ["RELEVANT", "ANNULLERT", "OPPFYLT", "IKKE_OPPFYLT", "LEVERT_TIDLIGERE"] }, "utbetalingsReferanse": { "type": "array", "items": { "type": "string" } } } }, "DokumentasjonkravResponse": { "required": ["dokumentasjonkravElementer", "dokumentasjonkravId"], "type": "object", "properties": { "dokumentasjonkravElementer": { "type": "array", "items": { "$ref": "#/components/schemas/DokumentasjonkravElement" } }, "frist": { "type": "string", "format": "date" }, "dokumentasjonkravId": { "type": "string" } } }, "ManedUtbetaling": { "required": ["annenMottaker", "belop", "fiksDigisosId", "status", "tittel"], "type": "object", "properties": { "tittel": { "type": "string" }, "belop": { "type": "number" }, "utbetalingsdato": { "type": "string", "format": "date" }, "forfallsdato": { "type": "string", "format": "date" }, "status": { "type": "string", "enum": ["PLANLAGT_UTBETALING", "UTBETALT", "STOPPET", "ANNULLERT"] }, "fiksDigisosId": { "type": "string" }, "fom": { "type": "string", "format": "date" }, "tom": { "type": "string", "format": "date" }, "mottaker": { "type": "string" }, "annenMottaker": { "type": "boolean" }, "kontonummer": { "pattern": "^[0-9]{11}$", "type": "string" }, "utbetalingsmetode": { "type": "string" } } }, "UtbetalingerResponse": { "required": ["ar", "foersteIManeden", "maned", "utbetalinger"], "type": "object", "properties": { "ar": { "type": "integer", "format": "int32" }, "maned": { "type": "integer", "format": "int32" }, "foersteIManeden": { "type": "string", "description": "Bruk ar og maned", "format": "date", "deprecated": true }, "utbetalinger": { "type": "array", "items": { "$ref": "#/components/schemas/ManedUtbetaling" } } } }, "TilgangResponse": { "required": ["fornavn", "harTilgang"], "type": "object", "properties": { "harTilgang": { "type": "boolean" }, "fornavn": { "type": "string" } } }, "NyeOgTidligereUtbetalingerResponse": { "required": ["ar", "maned", "utbetalingerForManed"], "type": "object", "properties": { "utbetalingerForManed": { "type": "array", "items": { "$ref": "#/components/schemas/ManedUtbetaling" } }, "ar": { "type": "integer", "format": "int32" }, "maned": { "type": "integer", "format": "int32" } } }, "SaksDetaljerResponse": { "required": ["fiksDigisosId", "soknadTittel", "status"], "type": "object", "properties": { "fiksDigisosId": { "type": "string" }, "soknadTittel": { "type": "string" }, "status": { "type": "string" }, "antallNyeOppgaver": { "type": "integer", "format": "int32" } } }, "SaksListeResponse": { "required": ["isBrokenSoknad", "kilde", "sistOppdatert", "soknadTittel"], "type": "object", "properties": { "fiksDigisosId": { "type": "string" }, "soknadTittel": { "type": "string" }, "sistOppdatert": { "type": "string", "format": "date-time" }, "kilde": { "type": "string" }, "url": { "type": "string" }, "kommunenummer": { "type": "string" }, "isBrokenSoknad": { "type": "boolean" } } } } } }