diff --git a/.github/workflows/build-openapi.yml b/.github/workflows/build-openapi.yml
new file mode 100644
index 0000000..b671473
--- /dev/null
+++ b/.github/workflows/build-openapi.yml
@@ -0,0 +1,50 @@
+name: Build OpenAPI and commit changes
+
+on:
+ pull_request:
+ branches:
+ - main
+ paths:
+ - 'typespec/**'
+
+jobs:
+ build-and-commit:
+ if: ${{ github.actor != 'einnsyn-codegen[bot]' }}
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Fetch app token
+ uses: tibdex/github-app-token@v2.1.0
+ id: gh-api-token
+ with:
+ app_id: ${{ secrets.EIN_CODEGEN_APP_ID }}
+ private_key: ${{ secrets.EIN_CODEGEN_APP_PRIVATE_KEY }}
+
+ - uses: actions/checkout@v4
+ with:
+ ref: ${{ github.head_ref }}
+
+ - uses: oven-sh/setup-bun@v2
+ - run: bun install
+ - run: bun run build
+ - name: Commit and push changes
+ env:
+ GITHUB_TOKEN: ${{ steps.gh-api-token.outputs.token }}
+ FILE_TO_COMMIT: "openapi/einnsyn.openapi.yml"
+ run: |
+ git add .
+ if git diff --cached --quiet; then
+ echo "No changes to commit."
+ else
+ export BRANCH=${{ github.head_ref }}
+ export SHA=$( git rev-parse "$BRANCH:$FILE_TO_COMMIT" )
+ echo "Branch: $BRANCH"
+ echo "SHA: $SHA"
+ git branch --list
+ gh api --method PUT /repos/:owner/:repo/contents/$FILE_TO_COMMIT \
+ --field message="Autogenerate OpenAPI spec from TypeSpec" \
+ --field content=@<( base64 -i $FILE_TO_COMMIT ) \
+ --field branch="$BRANCH" \
+ --field sha="$SHA"
+ fi
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c20ff53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+**/node_modules
+**/tsp-output
diff --git a/README.md b/README.md
index 9b096b2..2831833 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,110 @@
-# ein-openapi
-OpenAPI specification for eInnsyn
+#
+
+This repository contains the API specification for [eInnsyn](https://einnsyn.no)'s API. The API is written in [TypeSpec](https://typespec.io), with an auto-generated OpenAPI version in the [openapi](openapi)-folder.
+
+The [typespec](typespec)-folder contains the following files:
+
+- [einnsyn.arkiv.models.tsp](typespec/einnsyn.arkiv.models.tsp): Model definition for archive data, mostly Noark 5 with some extensions for meetings.
+- [einnsyn.arkiv.operations.tsp](typespec/einnsyn.arkiv.operations.tsp): Endpoints for archive models.
+- [einnsyn.queryparameters.tsp](typespec/einnsyn.queryparameters.tsp): Base models for query parameters.
+- [einnsyn.responses.tsp](typespec/einnsyn.responses.tsp): Models for API responses.
+- [einnsyn.web.models.tsp](typespec/einnsyn.web.models.tsp): Models for entities that are mainly used for the eInnsyn website, not related to archive data.
+- [einnsyn.web.operations.tsp](typespec/einnsyn.web.operations.tsp): Endpoints for web models.
+
+## Authentication
+
+The eInnsyn API uses API keys to authenticate requests. The keys are long-lived, and should be handled carefully. All API keys are prefixed with `secret_`.
+
+To send an authenticated request, the API key should be sent in the `X-EIN-API-KEY` header:
+
+```
+curl -H "X-EIN-API-KEY: secret_..." https://api.einnsyn.no
+```
+
+## General endpoint structure
+
+All entities has standard CRUD-endpoints:
+
+- `POST /{entityName}`: Create object
+- `GET /{entityName}`: Get a paginated list of objects
+- `GET /{entityName}/{id}`: Get an object
+- `PATCH /{entityName}/{id}`: Update an object
+- `DELETE /{entityName}/{id}`: Delete an object
+
+## IDs
+
+All objects in eInnsyn will get an auto-generated `eInnsynId`. An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. In the API specification, all entities has an extension annotation describing it's ID prefix.
+
+Example annotation for the Journalpost entity: `@extension("x-idPrefix", "jp")`.
+
+Example journalpost ID: `jp_01jh532p3ve6haq7n53xgpqayh`
+
+In addition, all Noark5 objects must have a globally unique systemId assigned by the publisher. This identifier can be used interchangeably with the eInnsynId in the API.
+
+## Expanding responses
+
+We use a concept called "expandable fields", inspired by Stripe's API ([Expanding Responses](https://docs.stripe.com/api/expanding_objects)). Throughout the API, all references to entity objects are either an ID, or the actual object. By default, all nested objects in a `GET` response are sent as an ID. For `POST` and `PATCH` requests, all new objects are returned. If you need to access nested objects, you can use the `expand` query parameter:
+
+### Default expansion:
+
+```
+curl -H "X-EIN-API-KEY: secret\_..." https://api.einnsyn.no/saksmappe/sm_01jh50h5brf7wrbwga8xd0rwdy
+{
+ "entity": "Saksmappe",
+ "id": "sm_01jh532p0jfdh8j3evmpgk4atx",
+ ...
+ "journalpost": [
+ "jp_01jh532p3ve6haq7n53xgpqayh"
+ ]
+}
+```
+
+### Expand `journalpost`:
+
+```
+curl ... https://api.einnsyn.no/saksmappe/sm_01jh50h5brf7wrbwga8xd0rwdy?expand=journalpost
+{
+ "entity": "Saksmappe",
+ "id": "sm_01jh532p0jfdh8j3evmpgk4atx",
+ ...
+ "journalpost": [{
+ "entity": "Journalpost",
+ "id": "jp_01jh532p3ve6haq7n53xgpqayh",
+ ...
+ "korrespondansepart": [
+ "kp_01jh532p50epvvcjfv8xrzzwp5",
+ "kp_01jh532p6qfhxrz1w9fdw4jjrh"
+ ]
+ }]
+}
+```
+
+### Expand `journalpost.korrespondansepart`:
+
+```
+curl ... https://api.einnsyn.no/saksmappe/sm_01jh50h5brf7wrbwga8xd0rwdy?expand=journalpost.korrespondansepart
+{
+ "entity": "Saksmappe",
+ "id": "sm_01jh532p0jfdh8j3evmpgk4atx",
+ ...
+ "journalpost": [{
+ "entity": "Journalpost",
+ "id": "jp_01jh532p3ve6haq7n53xgpqayh",
+ ...
+ "korrespondansepart": [{
+ "entity": "Korrespondansepart",
+ "id": "kp_01jh532p50epvvcjfv8xrzzwp5",
+ ...
+ },
+ {
+ "entity": "Korrespondansepart",
+ "id": "kp_01jh532p6qfhxrz1w9fdw4jjrh",
+ ...
+ }]
+ }]
+}
+```
+
+## Client libraries
+
+Client libraries for Java and TypeScript are in the works. We're also considering a .NET client library.
diff --git a/openapi/einnsyn.openapi.yml b/openapi/einnsyn.openapi.yml
new file mode 100644
index 0000000..14b149d
--- /dev/null
+++ b/openapi/einnsyn.openapi.yml
@@ -0,0 +1,8004 @@
+openapi: 3.0.0
+info:
+ title: eInnsyn
+ version: '1.0'
+tags:
+ - name: ApiKey
+ - name: Arkiv
+ - name: Arkivdel
+ - name: Behandlingsprotokoll
+ - name: Dokumentbeskrivelse
+ - name: Dokumentobjekt
+ - name: Enhet
+ - name: Identifikator
+ - name: Journalpost
+ - name: Klasse
+ - name: Klassifikasjonssystem
+ - name: Korrespondansepart
+ - name: Moetedeltaker
+ - name: Moetedokument
+ - name: Moetemappe
+ - name: Moetesak
+ - name: Moetesaksbeskrivelse
+ - name: Saksmappe
+ - name: Skjerming
+ - name: Utredning
+ - name: Vedtak
+ - name: Votering
+ - name: Bruker
+ - name: Innsynskrav
+ - name: InnsynskravBestilling
+ - name: LagretSak
+ - name: LagretSoek
+ - name: Tilbakemelding
+paths:
+ /apiKey:
+ get:
+ operationId: ApiKeyRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - ApiKey
+ /apiKey/{id}:
+ get:
+ operationId: ApiKeyRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ tags:
+ - ApiKey
+ patch:
+ operationId: ApiKeyRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ tags:
+ - ApiKey
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiKey.ApiKeyUpdate'
+ delete:
+ operationId: ApiKeyRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ tags:
+ - ApiKey
+ /arkiv:
+ get:
+ operationId: ArkivRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkiv
+ post:
+ operationId: ArkivRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ tags:
+ - Arkiv
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ /arkiv/{id}:
+ get:
+ operationId: ArkivRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ tags:
+ - Arkiv
+ patch:
+ operationId: ArkivRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ tags:
+ - Arkiv
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.ArkivUpdate'
+ delete:
+ operationId: ArkivRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ tags:
+ - Arkiv
+ /arkiv/{id}/arkiv:
+ get:
+ operationId: ArkivRoutes_listArkiv
+ parameters:
+ - $ref: '#/components/parameters/Arkiv.ListByArkivParameters.id'
+ - $ref: '#/components/parameters/Arkiv.ListByArkivParameters.arkivId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkiv
+ post:
+ operationId: ArkivRoutes_addArkiv
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ tags:
+ - Arkiv
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ /arkiv/{id}/arkivdel:
+ get:
+ operationId: ArkivRoutes_listArkivdel
+ parameters:
+ - $ref: '#/components/parameters/Arkiv.ListByArkivParameters.id'
+ - $ref: '#/components/parameters/Arkiv.ListByArkivParameters.arkivId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkiv
+ post:
+ operationId: ArkivRoutes_addArkivdel
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ tags:
+ - Arkiv
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ /arkivdel:
+ get:
+ operationId: ArkivdelRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkivdel
+ /arkivdel/{id}:
+ get:
+ operationId: ArkivdelRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ tags:
+ - Arkivdel
+ patch:
+ operationId: ArkivdelRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ tags:
+ - Arkivdel
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkivdel.ArkivdelUpdate'
+ delete:
+ operationId: ArkivdelRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ tags:
+ - Arkivdel
+ /arkivdel/{id}/klasse:
+ get:
+ operationId: ArkivdelRoutes_listKlasse
+ parameters:
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.id'
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.arkivdelId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkivdel
+ post:
+ operationId: ArkivdelRoutes_addKlasse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ tags:
+ - Arkivdel
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ /arkivdel/{id}/klassifikasjonssystem:
+ get:
+ operationId: ArkivdelRoutes_listKlassifikasjonssystem
+ parameters:
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.id'
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.arkivdelId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkivdel
+ post:
+ operationId: ArkivdelRoutes_addKlassifikasjonssystem
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ tags:
+ - Arkivdel
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ /arkivdel/{id}/moetemappe:
+ get:
+ operationId: ArkivdelRoutes_listMoetemappe
+ parameters:
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.id'
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.arkivdelId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkivdel
+ post:
+ operationId: ArkivdelRoutes_addMoetemappe
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ tags:
+ - Arkivdel
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ /arkivdel/{id}/saksmappe:
+ get:
+ operationId: ArkivdelRoutes_listSaksmappe
+ parameters:
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.id'
+ - $ref: '#/components/parameters/Arkivdel.ListByArkivdelParameters.arkivdelId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Arkivdel
+ post:
+ operationId: ArkivdelRoutes_addSaksmappe
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ tags:
+ - Arkivdel
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ /behandlingsprotokoll:
+ get:
+ operationId: BehandlingsprotokollRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Behandlingsprotokoll.Behandlingsprotokoll'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Behandlingsprotokoll
+ /behandlingsprotokoll/{id}:
+ get:
+ operationId: BehandlingsprotokollRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Behandlingsprotokoll.Behandlingsprotokoll'
+ tags:
+ - Behandlingsprotokoll
+ patch:
+ operationId: BehandlingsprotokollRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Behandlingsprotokoll.Behandlingsprotokoll'
+ tags:
+ - Behandlingsprotokoll
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Behandlingsprotokoll.BehandlingsprotokollUpdate'
+ delete:
+ operationId: BehandlingsprotokollRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Behandlingsprotokoll.Behandlingsprotokoll'
+ tags:
+ - Behandlingsprotokoll
+ /bruker:
+ get:
+ operationId: BrukerRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Bruker
+ post:
+ operationId: BrukerRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ /bruker/{id}:
+ get:
+ operationId: BrukerRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ patch:
+ operationId: BrukerRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.BrukerUpdate'
+ delete:
+ operationId: BrukerRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ /bruker/{id}/activate/{secret}:
+ patch:
+ operationId: BrukerRoutes_activate
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ - name: secret
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ /bruker/{id}/innsynskrav:
+ get:
+ operationId: BrukerRoutes_listInnsynskrav
+ parameters:
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.id'
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.brukerId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Bruker
+ /bruker/{id}/innsynskravBestilling:
+ get:
+ operationId: BrukerRoutes_listInnsynskravBestilling
+ parameters:
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.id'
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.brukerId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Bruker
+ post:
+ operationId: BrukerRoutes_addInnsynskravBestilling
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ /bruker/{id}/lagretSak:
+ get:
+ operationId: BrukerRoutes_listLagretSak
+ parameters:
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.id'
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.brukerId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Bruker
+ post:
+ operationId: BrukerRoutes_addLagretSak
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ /bruker/{id}/lagretSoek:
+ get:
+ operationId: BrukerRoutes_listLagretSoek
+ parameters:
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.id'
+ - $ref: '#/components/parameters/Bruker.ListByBrukerParameters.brukerId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Bruker
+ post:
+ operationId: BrukerRoutes_addLagretSoek
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ /bruker/{id}/requestPasswordReset:
+ patch:
+ operationId: BrukerRoutes_requestPasswordReset
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ /bruker/{id}/updatePassword:
+ patch:
+ operationId: BrukerRoutes_updatePassword
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ oldPassword:
+ type: string
+ newPassword:
+ type: string
+ /bruker/{id}/updatePassword/{secret}:
+ patch:
+ operationId: BrukerRoutes_updatePasswordWithSecret
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ - name: secret
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bruker.Bruker'
+ tags:
+ - Bruker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ newPassword:
+ type: string
+ /dokumentbeskrivelse:
+ get:
+ operationId: DokumentbeskrivelseRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Dokumentbeskrivelse
+ /dokumentbeskrivelse/{id}:
+ get:
+ operationId: DokumentbeskrivelseRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Dokumentbeskrivelse
+ patch:
+ operationId: DokumentbeskrivelseRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Dokumentbeskrivelse
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.DokumentbeskrivelseUpdate'
+ delete:
+ operationId: DokumentbeskrivelseRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Dokumentbeskrivelse
+ /dokumentobjekt:
+ get:
+ operationId: DokumentobjektRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentobjekt.Dokumentobjekt'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Dokumentobjekt
+ /dokumentobjekt/{id}:
+ get:
+ operationId: DokumentobjektRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentobjekt.Dokumentobjekt'
+ tags:
+ - Dokumentobjekt
+ patch:
+ operationId: DokumentobjektRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentobjekt.Dokumentobjekt'
+ tags:
+ - Dokumentobjekt
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentobjekt.DokumentobjektUpdate'
+ delete:
+ operationId: DokumentobjektRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentobjekt.Dokumentobjekt'
+ tags:
+ - Dokumentobjekt
+ /enhet:
+ get:
+ operationId: EnhetRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Enhet
+ post:
+ operationId: EnhetRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ tags:
+ - Enhet
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ /enhet/{id}:
+ get:
+ operationId: EnhetRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ tags:
+ - Enhet
+ patch:
+ operationId: EnhetRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ tags:
+ - Enhet
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.EnhetUpdate'
+ delete:
+ operationId: EnhetRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ tags:
+ - Enhet
+ /enhet/{id}/apiKey:
+ get:
+ operationId: EnhetRoutes_listApiKey
+ parameters:
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.id'
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.enhetId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Enhet
+ post:
+ operationId: EnhetRoutes_addApiKey
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ tags:
+ - Enhet
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiKey.ApiKey'
+ /enhet/{id}/arkiv:
+ get:
+ operationId: EnhetRoutes_listArkiv
+ parameters:
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.id'
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.enhetId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Arkiv.Arkiv'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Enhet
+ /enhet/{id}/innsynskrav:
+ get:
+ operationId: EnhetRoutes_listInnsynskrav
+ parameters:
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.id'
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.enhetId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Enhet
+ /enhet/{id}/underenhet:
+ get:
+ operationId: EnhetRoutes_listUnderenhet
+ parameters:
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.id'
+ - $ref: '#/components/parameters/Enhet.ListByEnhetParameters.enhetId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Enhet
+ post:
+ operationId: EnhetRoutes_addUnderenhet
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Enhet.Enhet'
+ tags:
+ - Enhet
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ /identifikator:
+ get:
+ operationId: IdentifikatorRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Identifikator.Identifikator'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Identifikator
+ /identifikator/{id}:
+ get:
+ operationId: IdentifikatorRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Identifikator.Identifikator'
+ tags:
+ - Identifikator
+ patch:
+ operationId: IdentifikatorRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Identifikator.Identifikator'
+ tags:
+ - Identifikator
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Identifikator.IdentifikatorUpdate'
+ delete:
+ operationId: IdentifikatorRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Identifikator.Identifikator'
+ tags:
+ - Identifikator
+ /innsynskrav:
+ get:
+ operationId: InnsynskravRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Innsynskrav
+ /innsynskrav/{id}:
+ get:
+ operationId: InnsynskravRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ tags:
+ - Innsynskrav
+ patch:
+ operationId: InnsynskravRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ tags:
+ - Innsynskrav
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Innsynskrav.InnsynskravUpdate'
+ delete:
+ operationId: InnsynskravRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ tags:
+ - Innsynskrav
+ /innsynskravBestilling:
+ get:
+ operationId: InnsynskravRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - InnsynskravBestilling
+ post:
+ operationId: InnsynskravRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ tags:
+ - InnsynskravBestilling
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ /innsynskravBestilling/{id}:
+ get:
+ operationId: InnsynskravRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ tags:
+ - InnsynskravBestilling
+ patch:
+ operationId: InnsynskravRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ tags:
+ - InnsynskravBestilling
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestillingUpdate'
+ delete:
+ operationId: InnsynskravRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ tags:
+ - InnsynskravBestilling
+ /innsynskravBestilling/{id}/innsynskrav:
+ get:
+ operationId: InnsynskravRoutes_listInnsynskrav
+ parameters:
+ - $ref: '#/components/parameters/InnsynskravBestilling.ListByInnsynskravBestillingParameters.id'
+ - $ref: '#/components/parameters/InnsynskravBestilling.ListByInnsynskravBestillingParameters.innsynskravBestillingId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - InnsynskravBestilling
+ /innsynskravBestilling/{id}/verify/{secret}:
+ patch:
+ operationId: InnsynskravRoutes_verify
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ - name: secret
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ tags:
+ - InnsynskravBestilling
+ /journalpost:
+ get:
+ operationId: JournalpostRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Journalpost
+ /journalpost/{id}:
+ get:
+ operationId: JournalpostRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ tags:
+ - Journalpost
+ patch:
+ operationId: JournalpostRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ tags:
+ - Journalpost
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Journalpost.JournalpostUpdate'
+ delete:
+ operationId: JournalpostRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ tags:
+ - Journalpost
+ /journalpost/{id}/dokumentbeskrivelse:
+ get:
+ operationId: JournalpostRoutes_listDokumentbeskrivelse
+ parameters:
+ - $ref: '#/components/parameters/Journalpost.ListByJournalpostParameters.id'
+ - $ref: '#/components/parameters/Journalpost.ListByJournalpostParameters.journalpostId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Journalpost
+ post:
+ operationId: JournalpostRoutes_addDokumentbeskrivelse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Journalpost
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ /journalpost/{id}/dokumentbeskrivelse/{dokumentbeskrivelseId}:
+ delete:
+ operationId: JournalpostRoutes_deleteDokumentbeskrivelse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ - name: dokumentbeskrivelseId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Journalpost
+ /journalpost/{id}/korrespondansepart:
+ get:
+ operationId: JournalpostRoutes_listKorrespondansepart
+ parameters:
+ - $ref: '#/components/parameters/Journalpost.ListByJournalpostParameters.id'
+ - $ref: '#/components/parameters/Journalpost.ListByJournalpostParameters.journalpostId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Journalpost
+ post:
+ operationId: JournalpostRoutes_addKorrespondansepart
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ tags:
+ - Journalpost
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ /klasse:
+ get:
+ operationId: KlasseRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Klasse
+ /klasse/{id}:
+ get:
+ operationId: KlasseRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ tags:
+ - Klasse
+ patch:
+ operationId: KlasseRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ tags:
+ - Klasse
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.KlasseUpdate'
+ delete:
+ operationId: KlasseRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ tags:
+ - Klasse
+ /klasse/{id}/klasse:
+ get:
+ operationId: KlasseRoutes_listKlasse
+ parameters:
+ - $ref: '#/components/parameters/Klasse.ListByKlasseParameters.id'
+ - $ref: '#/components/parameters/Klasse.ListByKlasseParameters.klasseId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Klasse
+ post:
+ operationId: KlasseRoutes_addKlasse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ tags:
+ - Klasse
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ /klasse/{id}/moetemappe:
+ get:
+ operationId: KlasseRoutes_listMoetemappe
+ parameters:
+ - $ref: '#/components/parameters/Klasse.ListByKlasseParameters.id'
+ - $ref: '#/components/parameters/Klasse.ListByKlasseParameters.klasseId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Klasse
+ /klasse/{id}/saksmappe:
+ get:
+ operationId: KlasseRoutes_listSaksmappe
+ parameters:
+ - $ref: '#/components/parameters/Klasse.ListByKlasseParameters.id'
+ - $ref: '#/components/parameters/Klasse.ListByKlasseParameters.klasseId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Klasse
+ /klassifikasjonssystem:
+ get:
+ operationId: KlassifikasjonssystemRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Klassifikasjonssystem
+ /klassifikasjonssystem/{id}:
+ get:
+ operationId: KlassifikasjonssystemRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ tags:
+ - Klassifikasjonssystem
+ patch:
+ operationId: KlassifikasjonssystemRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ tags:
+ - Klassifikasjonssystem
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klassifikasjonssystem.KlassifikasjonssystemUpdate'
+ delete:
+ operationId: KlassifikasjonssystemRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ tags:
+ - Klassifikasjonssystem
+ /klassifikasjonssystem/{id}/klasse:
+ get:
+ operationId: KlassifikasjonssystemRoutes_listKlasse
+ parameters:
+ - $ref: '#/components/parameters/Klassifikasjonssystem.ListByKlassifikasjonssystemParameters.id'
+ - $ref: '#/components/parameters/Klassifikasjonssystem.ListByKlassifikasjonssystemParameters.klassifikasjonssystemId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Klassifikasjonssystem
+ post:
+ operationId: KlassifikasjonssystemRoutes_addKlasse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ tags:
+ - Klassifikasjonssystem
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Klasse.Klasse'
+ /korrespondansepart:
+ get:
+ operationId: KorrespondansepartRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Korrespondansepart
+ /korrespondansepart/{id}:
+ get:
+ operationId: KorrespondansepartRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ tags:
+ - Korrespondansepart
+ patch:
+ operationId: KorrespondansepartRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ tags:
+ - Korrespondansepart
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Korrespondansepart.KorrespondansepartUpdate'
+ delete:
+ operationId: KorrespondansepartRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ tags:
+ - Korrespondansepart
+ /lagretSak:
+ get:
+ operationId: LagretSakRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - LagretSak
+ /lagretSak/{id}:
+ get:
+ operationId: LagretSakRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ tags:
+ - LagretSak
+ patch:
+ operationId: LagretSakRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ tags:
+ - LagretSak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSak.LagretSakUpdate'
+ delete:
+ operationId: LagretSakRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSak.LagretSak'
+ tags:
+ - LagretSak
+ /lagretSoek:
+ get:
+ operationId: LagretSoekRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - LagretSoek
+ /lagretSoek/{id}:
+ get:
+ operationId: LagretSoekRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ tags:
+ - LagretSoek
+ patch:
+ operationId: LagretSoekRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ tags:
+ - LagretSoek
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSoek.LagretSoekUpdate'
+ delete:
+ operationId: LagretSoekRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/LagretSoek.LagretSoek'
+ tags:
+ - LagretSoek
+ /moetedeltaker:
+ get:
+ operationId: MoetedeltakerRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetedeltaker.Moetedeltaker'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetedeltaker
+ /moetedeltaker/{id}:
+ get:
+ operationId: MoetedeltakerRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedeltaker.Moetedeltaker'
+ tags:
+ - Moetedeltaker
+ patch:
+ operationId: MoetedeltakerRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedeltaker.Moetedeltaker'
+ tags:
+ - Moetedeltaker
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedeltaker.MoetedeltakerUpdate'
+ delete:
+ operationId: MoetedeltakerRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedeltaker.Moetedeltaker'
+ tags:
+ - Moetedeltaker
+ /moetedokument:
+ get:
+ operationId: MoetedokumentRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetedokument
+ /moetedokument/{id}:
+ get:
+ operationId: MoetedokumentRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ tags:
+ - Moetedokument
+ patch:
+ operationId: MoetedokumentRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ tags:
+ - Moetedokument
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedokument.MoetedokumentUpdate'
+ delete:
+ operationId: MoetedokumentRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ tags:
+ - Moetedokument
+ /moetedokument/{id}/dokumentbeskrivelse:
+ get:
+ operationId: MoetedokumentRoutes_listDokumentbeskrivelse
+ parameters:
+ - $ref: '#/components/parameters/Moetedokument.ListByMoetedokumentParameters.id'
+ - $ref: '#/components/parameters/Moetedokument.ListByMoetedokumentParameters.moetedokumentId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetedokument
+ post:
+ operationId: MoetedokumentRoutes_addDokumentbeskrivelse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Moetedokument
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ /moetemappe:
+ get:
+ operationId: MoetemappeRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetemappe
+ /moetemappe/{id}:
+ get:
+ operationId: MoetemappeRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ tags:
+ - Moetemappe
+ patch:
+ operationId: MoetemappeRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ tags:
+ - Moetemappe
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetemappe.MoetemappeUpdate'
+ delete:
+ operationId: MoetemappeRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ tags:
+ - Moetemappe
+ /moetemappe/{id}/moetedokument:
+ get:
+ operationId: MoetemappeRoutes_listMoetedokument
+ parameters:
+ - $ref: '#/components/parameters/Moetemappe.ListByMoetemappeParameters.id'
+ - $ref: '#/components/parameters/Moetemappe.ListByMoetemappeParameters.moetemappeId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetemappe
+ post:
+ operationId: MoetemappeRoutes_addMoetedokument
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ tags:
+ - Moetemappe
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ /moetemappe/{id}/moetesak:
+ get:
+ operationId: MoetemappeRoutes_listMoetesak
+ parameters:
+ - $ref: '#/components/parameters/Moetemappe.ListByMoetemappeParameters.id'
+ - $ref: '#/components/parameters/Moetemappe.ListByMoetemappeParameters.moetemappeId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetemappe
+ post:
+ operationId: MoetemappeRoutes_addMoetesak
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ tags:
+ - Moetemappe
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ /moetesak:
+ get:
+ operationId: MoetesakRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetesak
+ post:
+ operationId: MoetesakRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ tags:
+ - Moetesak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ /moetesak/{id}:
+ get:
+ operationId: MoetesakRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ tags:
+ - Moetesak
+ patch:
+ operationId: MoetesakRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ tags:
+ - Moetesak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.MoetesakUpdate'
+ delete:
+ operationId: MoetesakRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesak.Moetesak'
+ tags:
+ - Moetesak
+ /moetesak/{id}/dokumentbeskrivelse:
+ get:
+ operationId: MoetesakRoutes_listDokumentbeskrivelse
+ parameters:
+ - $ref: '#/components/parameters/Moetesak.ListByMoetesakParameters.id'
+ - $ref: '#/components/parameters/Moetesak.ListByMoetesakParameters.moetesakId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetesak
+ post:
+ operationId: MoetesakRoutes_addDokumentbeskrivelse
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Moetesak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ /moetesak/{id}/utredning:
+ get:
+ operationId: MoetesakRoutes_getUtredning
+ parameters:
+ - $ref: '#/components/parameters/Moetesak.GetByMoetesakParameters.id'
+ - $ref: '#/components/parameters/Moetesak.GetByMoetesakParameters.moetesakId'
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ tags:
+ - Moetesak
+ post:
+ operationId: MoetesakRoutes_addUtredning
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ tags:
+ - Moetesak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ /moetesak/{id}/vedtak:
+ get:
+ operationId: MoetesakRoutes_getVedtak
+ parameters:
+ - $ref: '#/components/parameters/Moetesak.GetByMoetesakParameters.id'
+ - $ref: '#/components/parameters/Moetesak.GetByMoetesakParameters.moetesakId'
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ tags:
+ - Moetesak
+ post:
+ operationId: MoetesakRoutes_addVedtak
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ tags:
+ - Moetesak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ /moetesaksbeskrivelse:
+ get:
+ operationId: MoetesaksbeskrivelseRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Moetesaksbeskrivelse
+ /moetesaksbeskrivelse/{id}:
+ get:
+ operationId: MoetesaksbeskrivelseRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ tags:
+ - Moetesaksbeskrivelse
+ patch:
+ operationId: MoetesaksbeskrivelseRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ tags:
+ - Moetesaksbeskrivelse
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesaksbeskrivelse.MoetesaksbeskrivelseUpdate'
+ delete:
+ operationId: MoetesaksbeskrivelseRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ tags:
+ - Moetesaksbeskrivelse
+ /saksmappe:
+ get:
+ operationId: SaksmappeRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Saksmappe
+ /saksmappe/{id}:
+ get:
+ operationId: SaksmappeRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ tags:
+ - Saksmappe
+ patch:
+ operationId: SaksmappeRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ tags:
+ - Saksmappe
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Saksmappe.SaksmappeUpdate'
+ delete:
+ operationId: SaksmappeRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ tags:
+ - Saksmappe
+ /saksmappe/{id}/journalpost:
+ get:
+ operationId: SaksmappeRoutes_listJournalpost
+ parameters:
+ - $ref: '#/components/parameters/Saksmappe.ListBySaksmappeParameters.id'
+ - $ref: '#/components/parameters/Saksmappe.ListBySaksmappeParameters.saksmappeId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Saksmappe
+ post:
+ operationId: SaksmappeRoutes_addJournalpost
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ tags:
+ - Saksmappe
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Journalpost.Journalpost'
+ /skjerming:
+ get:
+ operationId: SkjermingRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Skjerming.Skjerming'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Skjerming
+ post:
+ operationId: SkjermingRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Skjerming.Skjerming'
+ tags:
+ - Skjerming
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Skjerming.Skjerming'
+ /skjerming/{id}:
+ get:
+ operationId: SkjermingRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Skjerming.Skjerming'
+ tags:
+ - Skjerming
+ patch:
+ operationId: SkjermingRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Skjerming.Skjerming'
+ tags:
+ - Skjerming
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Skjerming.SkjermingUpdate'
+ delete:
+ operationId: SkjermingRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Skjerming.Skjerming'
+ tags:
+ - Skjerming
+ /tilbakemelding:
+ get:
+ operationId: TilbakemeldingRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tilbakemelding.Tilbakemelding'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Tilbakemelding
+ post:
+ operationId: TilbakemeldingRoutes_add
+ parameters: []
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Tilbakemelding.Tilbakemelding'
+ tags:
+ - Tilbakemelding
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Tilbakemelding.Tilbakemelding'
+ /tilbakemelding/{id}:
+ get:
+ operationId: TilbakemeldingRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Tilbakemelding.Tilbakemelding'
+ tags:
+ - Tilbakemelding
+ patch:
+ operationId: TilbakemeldingRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Tilbakemelding.Tilbakemelding'
+ tags:
+ - Tilbakemelding
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Tilbakemelding.TilbakemeldingUpdate'
+ delete:
+ operationId: TilbakemeldingRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Tilbakemelding.Tilbakemelding'
+ tags:
+ - Tilbakemelding
+ /utredning:
+ get:
+ operationId: UtredningRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Utredning
+ /utredning/{id}:
+ get:
+ operationId: UtredningRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ tags:
+ - Utredning
+ patch:
+ operationId: UtredningRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ tags:
+ - Utredning
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.UtredningUpdate'
+ delete:
+ operationId: UtredningRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Utredning.Utredning'
+ tags:
+ - Utredning
+ /utredning/{id}/utredningsdokument:
+ get:
+ operationId: UtredningRoutes_listUtredningsdokument
+ parameters:
+ - $ref: '#/components/parameters/Utredning.ListByUtredningParameters.id'
+ - $ref: '#/components/parameters/Utredning.ListByUtredningParameters.utredningId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Utredning
+ post:
+ operationId: UtredningRoutes_addUtredningsdokument
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Utredning
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ /utredning/{id}/utredningsdokument/{utredningsdokumentId}:
+ delete:
+ operationId: UtredningRoutes_deleteUtredningsdokument
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ - name: utredningsdokumentId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Utredning
+ /vedtak:
+ get:
+ operationId: VedtakRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Vedtak
+ /vedtak/{id}:
+ get:
+ operationId: VedtakRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ tags:
+ - Vedtak
+ patch:
+ operationId: VedtakRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ tags:
+ - Vedtak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.VedtakUpdate'
+ delete:
+ operationId: VedtakRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Vedtak.Vedtak'
+ tags:
+ - Vedtak
+ /vedtak/{id}/vedtaksdokument:
+ get:
+ operationId: VedtakRoutes_listVedtaksdokument
+ parameters:
+ - $ref: '#/components/parameters/Vedtak.ListByVedtakParameters.id'
+ - $ref: '#/components/parameters/Vedtak.ListByVedtakParameters.vedtakId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Vedtak
+ post:
+ operationId: VedtakRoutes_addVedtaksdokument
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Vedtak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ /vedtak/{id}/vedtaksdokument/{vedtaksdokumentId}:
+ delete:
+ operationId: VedtakRoutes_deleteVedtaksdokument
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ - name: vedtaksdokumentId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The request has succeeded.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ tags:
+ - Vedtak
+ /vedtak/{id}/votering:
+ get:
+ operationId: VedtakRoutes_listVotering
+ parameters:
+ - $ref: '#/components/parameters/Vedtak.ListByVedtakParameters.id'
+ - $ref: '#/components/parameters/Vedtak.ListByVedtakParameters.vedtakId'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Votering.Votering'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Vedtak
+ post:
+ operationId: VedtakRoutes_addVotering
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ responses:
+ '201':
+ description: The request has succeeded and a new resource has been created as a result.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Votering.Votering'
+ tags:
+ - Vedtak
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Votering.Votering'
+ /votering:
+ get:
+ operationId: VoteringRoutes_list
+ description: List all objects.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.expand'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.limit'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.sortOrder'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.startingAfter'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.endingBefore'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.ids'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.externalIds'
+ - $ref: '#/components/parameters/QueryParameters.ListParameters.journalenhet'
+ responses:
+ '200':
+ description: Result list
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - items
+ properties:
+ items:
+ type: array
+ items:
+ $ref: '#/components/schemas/Votering.Votering'
+ description: A paginated list of items.
+ next:
+ type: string
+ format: uri
+ description: The URL for the next page of items.
+ previous:
+ type: string
+ format: uri
+ description: The URL for the previous page of items.
+ tags:
+ - Votering
+ /votering/{id}:
+ get:
+ operationId: VoteringRoutes_get
+ description: Get an object.
+ parameters:
+ - $ref: '#/components/parameters/QueryParameters.GetParameters'
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Votering.Votering'
+ tags:
+ - Votering
+ patch:
+ operationId: VoteringRoutes_update
+ description: Update an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The updated object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Votering.Votering'
+ tags:
+ - Votering
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Votering.VoteringUpdate'
+ delete:
+ operationId: VoteringRoutes_delete
+ description: Delete an object.
+ parameters:
+ - name: id
+ in: path
+ required: true
+ description: The ID of the object.
+ schema:
+ type: string
+ format: id
+ responses:
+ '200':
+ description: The deleted object.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Votering.Votering'
+ tags:
+ - Votering
+security:
+ - ApiKeyAuth: []
+components:
+ parameters:
+ Arkiv.ListByArkivParameters.arkivId:
+ name: arkivId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Arkiv.ListByArkivParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Arkivdel.ListByArkivdelParameters.arkivdelId:
+ name: arkivdelId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Arkivdel.ListByArkivdelParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Bruker.ListByBrukerParameters.brukerId:
+ name: brukerId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Bruker.ListByBrukerParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Enhet.ListByEnhetParameters.enhetId:
+ name: enhetId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Enhet.ListByEnhetParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ InnsynskravBestilling.ListByInnsynskravBestillingParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ InnsynskravBestilling.ListByInnsynskravBestillingParameters.innsynskravBestillingId:
+ name: innsynskravBestillingId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Journalpost.ListByJournalpostParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Journalpost.ListByJournalpostParameters.journalpostId:
+ name: journalpostId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Klasse.ListByKlasseParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Klasse.ListByKlasseParameters.klasseId:
+ name: klasseId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Klassifikasjonssystem.ListByKlassifikasjonssystemParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Klassifikasjonssystem.ListByKlassifikasjonssystemParameters.klassifikasjonssystemId:
+ name: klassifikasjonssystemId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Moetedokument.ListByMoetedokumentParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Moetedokument.ListByMoetedokumentParameters.moetedokumentId:
+ name: moetedokumentId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Moetemappe.ListByMoetemappeParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Moetemappe.ListByMoetemappeParameters.moetemappeId:
+ name: moetemappeId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Moetesak.GetByMoetesakParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Moetesak.GetByMoetesakParameters.moetesakId:
+ name: moetesakId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Moetesak.ListByMoetesakParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Moetesak.ListByMoetesakParameters.moetesakId:
+ name: moetesakId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ QueryParameters.GetParameters:
+ name: expand
+ in: query
+ required: false
+ description: Specifies which fields in the response should be expanded.
+ schema:
+ type: array
+ items:
+ type: string
+ explode: false
+ QueryParameters.ListParameters.endingBefore:
+ name: endingBefore
+ in: query
+ required: false
+ description: A cursor for use in pagination. EndingBefore is a resource ID that defines your place in the list.
+ schema:
+ type: string
+ format: id
+ explode: false
+ QueryParameters.ListParameters.expand:
+ name: expand
+ in: query
+ required: false
+ description: Specifies which fields in the response should be expanded.
+ schema:
+ type: array
+ items:
+ type: string
+ explode: false
+ QueryParameters.ListParameters.externalIds:
+ name: externalIds
+ in: query
+ required: false
+ description: A list of external IDs to be returned. If this parameter is used, the other parameters will be ignored.
+ schema:
+ type: array
+ items:
+ type: string
+ explode: false
+ QueryParameters.ListParameters.ids:
+ name: ids
+ in: query
+ required: false
+ description: A list of resource IDs to be returned. If this parameter is used, the other parameters will be ignored.
+ schema:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ explode: false
+ QueryParameters.ListParameters.journalenhet:
+ name: journalenhet
+ in: query
+ required: false
+ description: The Journalenhet to filter the result set by.
+ schema:
+ type: string
+ format: id
+ explode: false
+ QueryParameters.ListParameters.limit:
+ name: limit
+ in: query
+ required: false
+ description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
+ schema:
+ type: integer
+ default: 25
+ explode: false
+ QueryParameters.ListParameters.sortOrder:
+ name: sortOrder
+ in: query
+ required: false
+ description: The sort order of the result set. The default is ascending.
+ schema:
+ type: string
+ enum:
+ - asc
+ - desc
+ default: asc
+ explode: false
+ QueryParameters.ListParameters.startingAfter:
+ name: startingAfter
+ in: query
+ required: false
+ description: A cursor for use in pagination. StartingAfter is a resource ID that defines your place in the list.
+ schema:
+ type: string
+ format: id
+ explode: false
+ Saksmappe.ListBySaksmappeParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Saksmappe.ListBySaksmappeParameters.saksmappeId:
+ name: saksmappeId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Utredning.ListByUtredningParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Utredning.ListByUtredningParameters.utredningId:
+ name: utredningId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ Vedtak.ListByVedtakParameters.id:
+ name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ format: id
+ Vedtak.ListByVedtakParameters.vedtakId:
+ name: vedtakId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: id
+ explode: false
+ schemas:
+ ApiKey.ApiKey:
+ type: object
+ required:
+ - entity
+ - secretKey
+ properties:
+ entity:
+ type: string
+ enum:
+ - ApiKey
+ readOnly: true
+ name:
+ type: string
+ description: A name for the API key. This can be used to identify the key, in case you have multiple keys for multiple systems.
+ secretKey:
+ type: string
+ description: The API key used to authenticate requests. This will only be shown once, and we will only store a hashed version.
+ readOnly: true
+ enhet:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ description: The Enhet that requests using this key will be associated with.
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: An API key used to authenticate requests to the eInnsyn API.
+ x-idPrefix: key
+ ApiKey.ApiKeyUpdate:
+ type: object
+ properties:
+ name:
+ type: string
+ description: A name for the API key. This can be used to identify the key, in case you have multiple keys for multiple systems.
+ enhet:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.EnhetUpdate'
+ description: The Enhet that requests using this key will be associated with.
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: An API key used to authenticate requests to the eInnsyn API.
+ x-idPrefix: key
+ Arkiv.Arkiv:
+ type: object
+ required:
+ - entity
+ - tittel
+ properties:
+ entity:
+ type: string
+ enum:
+ - Arkiv
+ readOnly: true
+ tittel:
+ type: string
+ description: The title of the archive.
+ arkiv:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkiv.Arkiv'
+ description: The parent archive to which this archive belongs.
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Represents a top-level archive in the Noark structure.
+ x-idPrefix: ark
+ Arkiv.ArkivUpdate:
+ type: object
+ properties:
+ tittel:
+ type: string
+ description: The title of the archive.
+ arkiv:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkiv.ArkivUpdate'
+ description: The parent archive to which this archive belongs.
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Represents a top-level archive in the Noark structure.
+ x-idPrefix: ark
+ Arkiv.ListByArkivParameters:
+ type: object
+ required:
+ - id
+ - arkivId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ arkivId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ ArkivBase.ArkivBase:
+ type: object
+ properties:
+ systemId:
+ type: string
+ format: id
+ description: The unique identifier for the resource, given by the user's system.
+ journalenhet:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ description: |-
+ The administrative unit that is responsible for the resource. This
+ is by default derived from the credentials used to authenticate the
+ request on creation, or it can manually be set to an Enhet owned by
+ that derived Enhet.
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: Properties shared by all Noark objects
+ ArkivBase.ArkivBaseUpdate:
+ type: object
+ properties:
+ systemId:
+ type: string
+ format: id
+ description: The unique identifier for the resource, given by the user's system.
+ journalenhet:
+ allOf:
+ - anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.EnhetUpdate'
+ description: |-
+ The administrative unit that is responsible for the resource. This
+ is by default derived from the credentials used to authenticate the
+ request on creation, or it can manually be set to an Enhet owned by
+ that derived Enhet.
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: Properties shared by all Noark objects
+ Arkivdel.Arkivdel:
+ type: object
+ required:
+ - entity
+ - tittel
+ - arkiv
+ properties:
+ entity:
+ type: string
+ enum:
+ - Arkivdel
+ readOnly: true
+ tittel:
+ type: string
+ description: The title of the Arkivdel.
+ arkiv:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkiv.Arkiv'
+ description: The parent Arkiv to which this Arkivdel belongs.
+ readOnly: true
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Arkivdel
+ x-idPrefix: arkd
+ Arkivdel.ArkivdelUpdate:
+ type: object
+ properties:
+ tittel:
+ type: string
+ description: The title of the Arkivdel.
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Arkivdel
+ x-idPrefix: arkd
+ Arkivdel.ListByArkivdelParameters:
+ type: object
+ required:
+ - id
+ - arkivdelId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ arkivdelId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Base.Base:
+ type: object
+ required:
+ - id
+ - created
+ - updated
+ - deleted
+ properties:
+ id:
+ type: string
+ format: id
+ description: The unique identifier for the resource. This is is assigned by the system when the resource is created.
+ readOnly: true
+ created:
+ type: string
+ format: date-time
+ description: A timestamp of when the resource was created. This field is updated automatically.
+ readOnly: true
+ updated:
+ type: string
+ format: date-time
+ description: A timestamp of when the resource was last updated. This field is updated automatically.
+ readOnly: true
+ deleted:
+ type: boolean
+ description: This field is only present if the resource has been deleted. If present, it will always be `true`.
+ readOnly: true
+ externalId:
+ type: string
+ description: An external ID for the resource. This is similar to "systemId", but will be used for legacy IRIs that were used in earlier eInnsyn versions.
+ Base.BaseUpdate:
+ type: object
+ properties:
+ externalId:
+ type: string
+ description: An external ID for the resource. This is similar to "systemId", but will be used for legacy IRIs that were used in earlier eInnsyn versions.
+ Behandlingsprotokoll.Behandlingsprotokoll:
+ type: object
+ required:
+ - entity
+ - tekstInnhold
+ - tekstFormat
+ properties:
+ entity:
+ type: string
+ enum:
+ - Behandlingsprotokoll
+ readOnly: true
+ tekstInnhold:
+ type: string
+ tekstFormat:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Behandlingsprotokoll
+ x-idPrefix: bp
+ Behandlingsprotokoll.BehandlingsprotokollUpdate:
+ type: object
+ properties:
+ tekstInnhold:
+ type: string
+ tekstFormat:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Behandlingsprotokoll
+ x-idPrefix: bp
+ Bruker.Bruker:
+ type: object
+ required:
+ - entity
+ - email
+ - active
+ - password
+ properties:
+ entity:
+ type: string
+ enum:
+ - Bruker
+ readOnly: true
+ email:
+ type: string
+ format: email
+ active:
+ type: boolean
+ readOnly: true
+ password:
+ type: string
+ format: password
+ language:
+ type: string
+ enum:
+ - nb
+ - nn
+ - en
+ - se
+ default: nb
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: eInnsyn bruker
+ x-idPrefix: bru
+ Bruker.BrukerUpdate:
+ type: object
+ properties:
+ email:
+ type: string
+ format: email
+ password:
+ type: string
+ format: password
+ language:
+ type: string
+ enum:
+ - nb
+ - nn
+ - en
+ - se
+ default: nb
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: eInnsyn bruker
+ x-idPrefix: bru
+ Bruker.ListByBrukerParameters:
+ type: object
+ required:
+ - id
+ - brukerId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ brukerId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Dokumentbeskrivelse.Dokumentbeskrivelse:
+ type: object
+ required:
+ - entity
+ - tittel
+ - tittelSensitiv
+ - dokumentnummer
+ - tilknyttetRegistreringSom
+ properties:
+ entity:
+ type: string
+ enum:
+ - Dokumentbeskrivelse
+ readOnly: true
+ tittel:
+ type: string
+ description: The title of the document, with sensitive information redacted.
+ tittelSensitiv:
+ type: string
+ description: The title of the document, with sensitive information included.
+ dokumentnummer:
+ type: integer
+ dokumenttype:
+ type: string
+ tilknyttetRegistreringSom:
+ type: string
+ dokumentobjekt:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentobjekt.Dokumentobjekt'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Dokumentbeskrivelse
+ x-idPrefix: db
+ Dokumentbeskrivelse.DokumentbeskrivelseUpdate:
+ type: object
+ properties:
+ tittel:
+ type: string
+ description: The title of the document, with sensitive information redacted.
+ tittelSensitiv:
+ type: string
+ description: The title of the document, with sensitive information included.
+ dokumentnummer:
+ type: integer
+ dokumenttype:
+ type: string
+ tilknyttetRegistreringSom:
+ type: string
+ dokumentobjekt:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentobjekt.Dokumentobjekt'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Dokumentbeskrivelse
+ x-idPrefix: db
+ Dokumentobjekt.Dokumentobjekt:
+ type: object
+ required:
+ - entity
+ - referanseDokumentfil
+ properties:
+ entity:
+ type: string
+ enum:
+ - Dokumentobjekt
+ readOnly: true
+ referanseDokumentfil:
+ type: string
+ format: uri
+ format:
+ type: string
+ sjekksum:
+ type: string
+ sjekksumAlgoritme:
+ type: string
+ dokumentbeskrivelse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ x-idPrefix: do
+ Dokumentobjekt.DokumentobjektUpdate:
+ type: object
+ properties:
+ referanseDokumentfil:
+ type: string
+ format: uri
+ format:
+ type: string
+ sjekksum:
+ type: string
+ sjekksumAlgoritme:
+ type: string
+ dokumentbeskrivelse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.DokumentbeskrivelseUpdate'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ x-idPrefix: do
+ Enhet.Enhet:
+ type: object
+ required:
+ - entity
+ - navn
+ - orgnummer
+ - kontaktpunktEpost
+ - innsynskravEpost
+ - enhetstype
+ properties:
+ entity:
+ type: string
+ enum:
+ - Enhet
+ readOnly: true
+ navn:
+ type: string
+ navnNynorsk:
+ type: string
+ navnEngelsk:
+ type: string
+ navnSami:
+ type: string
+ orgnummer:
+ type: string
+ pattern: ^[0-9]{9}$
+ enhetskode:
+ type: string
+ kontaktpunktAdresse:
+ type: string
+ kontaktpunktEpost:
+ type: string
+ format: email
+ kontaktpunktTelefon:
+ type: string
+ innsynskravEpost:
+ type: string
+ format: email
+ enhetstype:
+ type: string
+ enum:
+ - ADMINISTRATIVENHET
+ - AVDELING
+ - BYDEL
+ - DUMMYENHET
+ - FYLKE
+ - KOMMUNE
+ - ORGAN
+ - SEKSJON
+ - UTVALG
+ - VIRKSOMHET
+ avsluttetDato:
+ type: string
+ format: date
+ skjult:
+ type: boolean
+ eFormidling:
+ type: boolean
+ teknisk:
+ type: boolean
+ skalKonvertereId:
+ type: boolean
+ skalMottaKvittering:
+ type: boolean
+ visToppnode:
+ type: boolean
+ orderXmlVersjon:
+ type: integer
+ underenhet:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ handteresAv:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ parent:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: eInnsyn Enhet
+ x-idPrefix: enh
+ Enhet.EnhetUpdate:
+ type: object
+ properties:
+ navn:
+ type: string
+ navnNynorsk:
+ type: string
+ navnEngelsk:
+ type: string
+ navnSami:
+ type: string
+ orgnummer:
+ type: string
+ pattern: ^[0-9]{9}$
+ enhetskode:
+ type: string
+ kontaktpunktAdresse:
+ type: string
+ kontaktpunktEpost:
+ type: string
+ format: email
+ kontaktpunktTelefon:
+ type: string
+ innsynskravEpost:
+ type: string
+ format: email
+ enhetstype:
+ type: string
+ enum:
+ - ADMINISTRATIVENHET
+ - AVDELING
+ - BYDEL
+ - DUMMYENHET
+ - FYLKE
+ - KOMMUNE
+ - ORGAN
+ - SEKSJON
+ - UTVALG
+ - VIRKSOMHET
+ avsluttetDato:
+ type: string
+ format: date
+ skjult:
+ type: boolean
+ eFormidling:
+ type: boolean
+ teknisk:
+ type: boolean
+ skalKonvertereId:
+ type: boolean
+ skalMottaKvittering:
+ type: boolean
+ visToppnode:
+ type: boolean
+ orderXmlVersjon:
+ type: integer
+ underenhet:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ handteresAv:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.EnhetUpdate'
+ parent:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.EnhetUpdate'
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: eInnsyn Enhet
+ x-idPrefix: enh
+ Enhet.ListByEnhetParameters:
+ type: object
+ required:
+ - id
+ - enhetId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ enhetId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Identifikator.Identifikator:
+ type: object
+ required:
+ - entity
+ - navn
+ - identifikator
+ - initialer
+ - epostadresse
+ properties:
+ entity:
+ type: string
+ enum:
+ - Identifikator
+ readOnly: true
+ navn:
+ type: string
+ identifikator:
+ type: string
+ initialer:
+ type: string
+ epostadresse:
+ type: string
+ format: email
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Identifikator
+ x-idPrefix: ide
+ Identifikator.IdentifikatorUpdate:
+ type: object
+ properties:
+ navn:
+ type: string
+ identifikator:
+ type: string
+ initialer:
+ type: string
+ epostadresse:
+ type: string
+ format: email
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Identifikator
+ x-idPrefix: ide
+ Innsynskrav.Innsynskrav:
+ type: object
+ required:
+ - entity
+ - journalpost
+ properties:
+ entity:
+ type: string
+ enum:
+ - Innsynskrav
+ readOnly: true
+ innsynskravBestilling:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestilling'
+ journalpost:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Journalpost.Journalpost'
+ enhet:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ email:
+ type: string
+ format: email
+ readOnly: true
+ sent:
+ type: string
+ format: date-time
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: Innsynskrav
+ x-idPrefix: ikd
+ Innsynskrav.InnsynskravUpdate:
+ type: object
+ properties:
+ innsynskravBestilling:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/InnsynskravBestilling.InnsynskravBestillingUpdate'
+ journalpost:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Journalpost.JournalpostUpdate'
+ enhet:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.EnhetUpdate'
+ sent:
+ type: string
+ format: date-time
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: Innsynskrav
+ x-idPrefix: ikd
+ Innsynskrav.ListByInnsynskravParameters:
+ type: object
+ required:
+ - id
+ - innsynskravId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ innsynskravId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ InnsynskravBestilling.InnsynskravBestilling:
+ type: object
+ required:
+ - entity
+ - email
+ - innsynskrav
+ properties:
+ entity:
+ type: string
+ enum:
+ - Innsynskrav
+ readOnly: true
+ email:
+ type: string
+ format: email
+ innsynskrav:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ verified:
+ type: boolean
+ bruker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Bruker.Bruker'
+ language:
+ type: string
+ enum:
+ - nb
+ - nn
+ - en
+ - se
+ default: nb
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: Innsynskrav
+ x-idPrefix: ik
+ InnsynskravBestilling.InnsynskravBestillingUpdate:
+ type: object
+ properties:
+ email:
+ type: string
+ format: email
+ innsynskrav:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Innsynskrav.Innsynskrav'
+ verified:
+ type: boolean
+ bruker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Bruker.BrukerUpdate'
+ language:
+ type: string
+ enum:
+ - nb
+ - nn
+ - en
+ - se
+ default: nb
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: Innsynskrav
+ x-idPrefix: ik
+ InnsynskravBestilling.ListByInnsynskravBestillingParameters:
+ type: object
+ required:
+ - id
+ - innsynskravBestillingId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ innsynskravBestillingId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Journalpost.Journalpost:
+ type: object
+ required:
+ - entity
+ - journalaar
+ - journalsekvensnummer
+ - journalpostnummer
+ - journalposttype
+ - journaldato
+ - administrativEnhet
+ - administrativEnhetObjekt
+ - saksmappe
+ properties:
+ entity:
+ type: string
+ enum:
+ - Journalpost
+ readOnly: true
+ journalaar:
+ type: integer
+ minimum: 1900
+ journalsekvensnummer:
+ type: integer
+ minimum: 0
+ journalpostnummer:
+ type: integer
+ minimum: 0
+ journalposttype:
+ type: string
+ enum:
+ - inngaaende_dokument
+ - utgaaende_dokument
+ - organinternt_dokument_uten_oppfoelging
+ - organinternt_dokument_for_oppfoelging
+ - saksframlegg
+ - sakskart
+ - moeteprotokoll
+ - moetebok
+ - ukjent
+ journaldato:
+ type: string
+ format: date
+ dokumentetsDato:
+ type: string
+ format: date
+ skjerming:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Skjerming.Skjerming'
+ legacyJournalposttype:
+ type: string
+ legacyFoelgsakenReferanse:
+ type: array
+ items:
+ type: string
+ administrativEnhet:
+ type: string
+ readOnly: true
+ administrativEnhetObjekt:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ readOnly: true
+ saksmappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ readOnly: true
+ allOf:
+ - $ref: '#/components/schemas/Registrering.Registrering'
+ description: Journalpost
+ x-idPrefix: jp
+ Journalpost.JournalpostUpdate:
+ type: object
+ properties:
+ journalaar:
+ type: integer
+ minimum: 1900
+ journalsekvensnummer:
+ type: integer
+ minimum: 0
+ journalpostnummer:
+ type: integer
+ minimum: 0
+ journalposttype:
+ type: string
+ enum:
+ - inngaaende_dokument
+ - utgaaende_dokument
+ - organinternt_dokument_uten_oppfoelging
+ - organinternt_dokument_for_oppfoelging
+ - saksframlegg
+ - sakskart
+ - moeteprotokoll
+ - moetebok
+ - ukjent
+ journaldato:
+ type: string
+ format: date
+ dokumentetsDato:
+ type: string
+ format: date
+ skjerming:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Skjerming.SkjermingUpdate'
+ legacyJournalposttype:
+ type: string
+ legacyFoelgsakenReferanse:
+ type: array
+ items:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/Registrering.RegistreringUpdate'
+ description: Journalpost
+ x-idPrefix: jp
+ Journalpost.ListByJournalpostParameters:
+ type: object
+ required:
+ - id
+ - journalpostId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ journalpostId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Klasse.Klasse:
+ type: object
+ required:
+ - entity
+ - tittel
+ properties:
+ entity:
+ type: string
+ enum:
+ - Klasse
+ readOnly: true
+ tittel:
+ type: string
+ description: The title of the class.
+ klassifikasjonssystem:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Klassifikasjonssystem.Klassifikasjonssystem'
+ description: An optional parent klassifikasjonssystem
+ klasse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Klasse.Klasse'
+ description: An optional parent klasse
+ arkivdel:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ description: An optional parent arkivdel (non-standard field, due to legacy data)
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Klasse
+ x-idPrefix: kla
+ Klasse.KlasseUpdate:
+ type: object
+ properties:
+ tittel:
+ type: string
+ description: The title of the class.
+ klassifikasjonssystem:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Klassifikasjonssystem.KlassifikasjonssystemUpdate'
+ description: An optional parent klassifikasjonssystem
+ klasse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Klasse.KlasseUpdate'
+ description: An optional parent klasse
+ arkivdel:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkivdel.ArkivdelUpdate'
+ description: An optional parent arkivdel (non-standard field, due to legacy data)
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Klasse
+ x-idPrefix: kla
+ Klasse.ListByKlasseParameters:
+ type: object
+ required:
+ - id
+ - klasseId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ klasseId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Klassifikasjonssystem.Klassifikasjonssystem:
+ type: object
+ required:
+ - entity
+ - tittel
+ - arkivdel
+ properties:
+ entity:
+ type: string
+ enum:
+ - Klassifikasjonssystem
+ readOnly: true
+ tittel:
+ type: string
+ arkivdel:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ description: The parent arkivdel.
+ readOnly: true
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Klassifikasjonssystem
+ x-idPrefix: ksys
+ Klassifikasjonssystem.KlassifikasjonssystemUpdate:
+ type: object
+ properties:
+ tittel:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Klassifikasjonssystem
+ x-idPrefix: ksys
+ Klassifikasjonssystem.ListByKlassifikasjonssystemParameters:
+ type: object
+ required:
+ - id
+ - klassifikasjonssystemId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ klassifikasjonssystemId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Korrespondansepart.Korrespondansepart:
+ type: object
+ required:
+ - entity
+ - korrespondansepartNavn
+ - korrespondansepartNavnSensitiv
+ - korrespondanseparttype
+ properties:
+ entity:
+ type: string
+ enum:
+ - Korrespondansepart
+ readOnly: true
+ korrespondansepartNavn:
+ type: string
+ description: The name of the Korrespondansepart, with sensitive parts redacted.
+ korrespondansepartNavnSensitiv:
+ type: string
+ description: The name of the Korrespondansepart, with all parts included.
+ korrespondanseparttype:
+ type: string
+ saksbehandler:
+ type: string
+ epostadresse:
+ type: string
+ postnummer:
+ type: string
+ erBehandlingsansvarlig:
+ type: boolean
+ administrativEnhet:
+ type: string
+ description: The code for the administrative Enhet associated with this Korrespondansepart.
+ journalpost:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Journalpost.Journalpost'
+ description: The Journalpost this Korrespondansepart is associated with, if any.
+ readOnly: true
+ moetedokument:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ description: The Moetedokument this Korrespondansepart is associated with, if any.
+ readOnly: true
+ moetesak:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesak.Moetesak'
+ description: The Moetesak this Korrespondansepart is associated with, if any.
+ readOnly: true
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Korrespondansepart
+ x-idPrefix: kp
+ Korrespondansepart.KorrespondansepartUpdate:
+ type: object
+ properties:
+ korrespondansepartNavn:
+ type: string
+ description: The name of the Korrespondansepart, with sensitive parts redacted.
+ korrespondansepartNavnSensitiv:
+ type: string
+ description: The name of the Korrespondansepart, with all parts included.
+ korrespondanseparttype:
+ type: string
+ saksbehandler:
+ type: string
+ epostadresse:
+ type: string
+ postnummer:
+ type: string
+ erBehandlingsansvarlig:
+ type: boolean
+ administrativEnhet:
+ type: string
+ description: The code for the administrative Enhet associated with this Korrespondansepart.
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Korrespondansepart
+ x-idPrefix: kp
+ LagretSak.LagretSak:
+ type: object
+ required:
+ - entity
+ - bruker
+ properties:
+ entity:
+ type: string
+ enum:
+ - LagretSak
+ readOnly: true
+ bruker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Bruker.Bruker'
+ description: The bruker that has saved this sak. This will be set to the authenticated user.
+ readOnly: true
+ saksmappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ description: The saksmappe that has been saved.
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ description: The moetemappe that has been saved.
+ subscribe:
+ type: boolean
+ description: Specifies whether the user wants to receive notifications about this sak.
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: LagretSak
+ x-idPrefix: lsak
+ LagretSak.LagretSakUpdate:
+ type: object
+ properties:
+ saksmappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Saksmappe.SaksmappeUpdate'
+ description: The saksmappe that has been saved.
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.MoetemappeUpdate'
+ description: The moetemappe that has been saved.
+ subscribe:
+ type: boolean
+ description: Specifies whether the user wants to receive notifications about this sak.
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: LagretSak
+ x-idPrefix: lsak
+ LagretSoek.LagretSoek:
+ type: object
+ required:
+ - entity
+ properties:
+ entity:
+ type: string
+ enum:
+ - LagretSoek
+ readOnly: true
+ bruker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Bruker.Bruker'
+ label:
+ type: string
+ legacyQuery:
+ type: string
+ subscribe:
+ type: boolean
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: LagretSoek
+ x-idPrefix: lsoek
+ LagretSoek.LagretSoekUpdate:
+ type: object
+ properties:
+ bruker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Bruker.BrukerUpdate'
+ label:
+ type: string
+ legacyQuery:
+ type: string
+ subscribe:
+ type: boolean
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: LagretSoek
+ x-idPrefix: lsoek
+ Mappe.Mappe:
+ type: object
+ required:
+ - offentligTittel
+ - offentligTittelSensitiv
+ properties:
+ offentligTittel:
+ type: string
+ description: The title of the Mappe, with sensitive information redacted.
+ offentligTittelSensitiv:
+ type: string
+ description: The title of the Mappe, with sensitive information included.
+ beskrivelse:
+ type: string
+ noekkelord:
+ type: string
+ publisertDato:
+ type: string
+ format: date-time
+ description: The date the resource was published. This field is updated automatically, but can be set manually by admins.
+ oppdatertDato:
+ type: string
+ format: date-time
+ description: The date the resource was last updated. This field is updated automatically, but can be set manually by admins.
+ klasse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Klasse.Klasse'
+ description: An optional Klasse for this Mappe.
+ saksmappe:
+ allOf:
+ - anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Saksmappe.Saksmappe'
+ description: If this Mappe is the child of a Saksmappe, this field will contain the parent Saksmappe.
+ readOnly: true
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ description: If this Mappe is the child of a Moetemappe, this field will contain the parent Moetemappe.
+ readOnly: true
+ arkivdel:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Arkivdel.Arkivdel'
+ description: If this Mappe is not a child of a Saksmappe or Moetemappe, this field will contain the parent Arkivdel.
+ readOnly: true
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Mappe
+ Mappe.MappeUpdate:
+ type: object
+ properties:
+ offentligTittel:
+ type: string
+ description: The title of the Mappe, with sensitive information redacted.
+ offentligTittelSensitiv:
+ type: string
+ description: The title of the Mappe, with sensitive information included.
+ beskrivelse:
+ type: string
+ noekkelord:
+ type: string
+ publisertDato:
+ type: string
+ format: date-time
+ description: The date the resource was published. This field is updated automatically, but can be set manually by admins.
+ oppdatertDato:
+ type: string
+ format: date-time
+ description: The date the resource was last updated. This field is updated automatically, but can be set manually by admins.
+ klasse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Klasse.KlasseUpdate'
+ description: An optional Klasse for this Mappe.
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Mappe
+ Moetedeltaker.Moetedeltaker:
+ type: object
+ required:
+ - entity
+ - moetedeltakerNavn
+ properties:
+ entity:
+ type: string
+ enum:
+ - Moetedeltaker
+ readOnly: true
+ moetedeltakerNavn:
+ type: string
+ moetedeltakerFunksjon:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Moetedeltaker
+ x-idPrefix: md
+ Moetedeltaker.MoetedeltakerUpdate:
+ type: object
+ properties:
+ moetedeltakerNavn:
+ type: string
+ moetedeltakerFunksjon:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Moetedeltaker
+ x-idPrefix: md
+ Moetedokument.ListByMoetedokumentParameters:
+ type: object
+ required:
+ - id
+ - moetedokumentId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ moetedokumentId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Moetedokument.Moetedokument:
+ type: object
+ required:
+ - entity
+ - moetedokumenttype
+ properties:
+ entity:
+ type: string
+ enum:
+ - Moetedokument
+ readOnly: true
+ moetedokumenttype:
+ type: string
+ saksbehandler:
+ type: string
+ saksbehandlerSensitiv:
+ type: string
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ allOf:
+ - $ref: '#/components/schemas/Registrering.Registrering'
+ description: Moetedokument
+ x-idPrefix: mdok
+ Moetedokument.MoetedokumentUpdate:
+ type: object
+ properties:
+ moetedokumenttype:
+ type: string
+ saksbehandler:
+ type: string
+ saksbehandlerSensitiv:
+ type: string
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.MoetemappeUpdate'
+ allOf:
+ - $ref: '#/components/schemas/Registrering.RegistreringUpdate'
+ description: Moetedokument
+ x-idPrefix: mdok
+ Moetemappe.ListByMoetemappeParameters:
+ type: object
+ required:
+ - id
+ - moetemappeId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ moetemappeId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Moetemappe.Moetemappe:
+ type: object
+ required:
+ - entity
+ - moetenummer
+ - utvalg
+ - utvalgObjekt
+ - moetedato
+ properties:
+ entity:
+ type: string
+ enum:
+ - Moetemappe
+ readOnly: true
+ moetenummer:
+ type: string
+ utvalg:
+ type: string
+ utvalgObjekt:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ readOnly: true
+ moetedato:
+ type: string
+ format: date-time
+ moetested:
+ type: string
+ videoLink:
+ type: string
+ maxLength: 5000
+ referanseForrigeMoete:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ referanseNesteMoete:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ moetedokument:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ moetesak:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesak.Moetesak'
+ allOf:
+ - $ref: '#/components/schemas/Mappe.Mappe'
+ description: Moetemappe
+ x-idPrefix: mm
+ Moetemappe.MoetemappeUpdate:
+ type: object
+ properties:
+ moetenummer:
+ type: string
+ utvalg:
+ type: string
+ moetedato:
+ type: string
+ format: date-time
+ moetested:
+ type: string
+ videoLink:
+ type: string
+ maxLength: 5000
+ referanseForrigeMoete:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.MoetemappeUpdate'
+ referanseNesteMoete:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.MoetemappeUpdate'
+ moetedokument:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetedokument.Moetedokument'
+ moetesak:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesak.Moetesak'
+ allOf:
+ - $ref: '#/components/schemas/Mappe.MappeUpdate'
+ description: Moetemappe
+ x-idPrefix: mm
+ Moetesak.ListByMoetesakParameters:
+ type: object
+ required:
+ - id
+ - moetesakId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ moetesakId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Moetesak.Moetesak:
+ type: object
+ required:
+ - entity
+ - moetesakstype
+ - moetesaksaar
+ - moetesakssekvensnummer
+ - utvalgObjekt
+ properties:
+ entity:
+ type: string
+ enum:
+ - Moetesak
+ readOnly: true
+ moetesakstype:
+ type: string
+ enum:
+ - moete
+ - politisk
+ - delegert
+ - interpellasjon
+ - godkjenning
+ - orientering
+ - referat
+ - annet
+ moetesaksaar:
+ type: integer
+ minimum: 1900
+ moetesakssekvensnummer:
+ type: integer
+ minimum: 0
+ utvalg:
+ type: string
+ utvalgObjekt:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ readOnly: true
+ videoLink:
+ type: string
+ utredning:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Utredning.Utredning'
+ innstilling:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ vedtak:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Vedtak.Vedtak'
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.Moetemappe'
+ legacyMoetesakstype:
+ type: string
+ legacyReferanseTilMoetesak:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/Registrering.Registrering'
+ description: Moetesak
+ x-idPrefix: ms
+ Moetesak.MoetesakUpdate:
+ type: object
+ properties:
+ moetesakstype:
+ type: string
+ enum:
+ - moete
+ - politisk
+ - delegert
+ - interpellasjon
+ - godkjenning
+ - orientering
+ - referat
+ - annet
+ moetesaksaar:
+ type: integer
+ minimum: 1900
+ moetesakssekvensnummer:
+ type: integer
+ minimum: 0
+ utvalg:
+ type: string
+ videoLink:
+ type: string
+ utredning:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Utredning.UtredningUpdate'
+ innstilling:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.MoetesaksbeskrivelseUpdate'
+ vedtak:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Vedtak.VedtakUpdate'
+ moetemappe:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetemappe.MoetemappeUpdate'
+ legacyMoetesakstype:
+ type: string
+ legacyReferanseTilMoetesak:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/Registrering.RegistreringUpdate'
+ description: Moetesak
+ x-idPrefix: ms
+ Moetesaksbeskrivelse.Moetesaksbeskrivelse:
+ type: object
+ required:
+ - entity
+ - tekstInnhold
+ - tekstFormat
+ properties:
+ entity:
+ type: string
+ enum:
+ - Moetesaksbeskrivelse
+ readOnly: true
+ tekstInnhold:
+ type: string
+ tekstFormat:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Moetesaksbeskrivelse
+ x-idPrefix: msb
+ Moetesaksbeskrivelse.MoetesaksbeskrivelseUpdate:
+ type: object
+ properties:
+ tekstInnhold:
+ type: string
+ tekstFormat:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Moetesaksbeskrivelse
+ x-idPrefix: msb
+ QueryParameters.FilterParameters:
+ type: object
+ properties:
+ query:
+ type: string
+ description: A query string to filter by. Quotes can be used to search for exact matches or phrases. Words can be excluded by prefixing them with a minus sign.
+ administrativEnhet:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to filter by. This will also match subenhets.
+ administrativEnhetExact:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to filter by. This will only match the specified enhets, not subenhets.
+ excludeAdministrativEnhet:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to exclude from the result set. This will also exclude subenhets.
+ excludeAdministrativEnhetExact:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to exclude from the result set. This will only exclude the specified enhets, not subenhets.
+ publisertDatoBefore:
+ type: string
+ format: date-time
+ description: Filter by the published date of the document.
+ publisertDatoAfter:
+ type: string
+ format: date-time
+ description: Filter by the published date of the document.
+ oppdatertDatoBefore:
+ type: string
+ format: date-time
+ description: Filter by the updated date of the document.
+ oppdatertDatoAfter:
+ type: string
+ format: date-time
+ description: Filter by the updated date of the document.
+ moetedatoBefore:
+ type: string
+ format: date-time
+ description: Filter by the date of a meeting.
+ moetedatoAfter:
+ type: string
+ format: date-time
+ description: Filter by the date of a meeting.
+ entity:
+ type: string
+ enum:
+ - Journalpost
+ - Moetemappe
+ - Moetesak
+ - Saksmappe
+ description: Filter by the entity type.
+ QueryParameters.ListParameters:
+ type: object
+ properties:
+ expand:
+ type: array
+ items:
+ type: string
+ description: Specifies which fields in the response should be expanded.
+ limit:
+ type: integer
+ description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
+ default: 25
+ sortOrder:
+ type: string
+ enum:
+ - asc
+ - desc
+ description: The sort order of the result set. The default is ascending.
+ default: asc
+ startingAfter:
+ type: string
+ format: id
+ description: A cursor for use in pagination. StartingAfter is a resource ID that defines your place in the list.
+ endingBefore:
+ type: string
+ format: id
+ description: A cursor for use in pagination. EndingBefore is a resource ID that defines your place in the list.
+ ids:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of resource IDs to be returned. If this parameter is used, the other parameters will be ignored.
+ externalIds:
+ type: array
+ items:
+ type: string
+ description: A list of external IDs to be returned. If this parameter is used, the other parameters will be ignored.
+ journalenhet:
+ type: string
+ format: id
+ description: The Journalenhet to filter the result set by.
+ QueryParameters.SearchParameters:
+ type: object
+ properties:
+ query:
+ type: string
+ description: A query string to filter by. Quotes can be used to search for exact matches or phrases. Words can be excluded by prefixing them with a minus sign.
+ administrativEnhet:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to filter by. This will also match subenhets.
+ administrativEnhetExact:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to filter by. This will only match the specified enhets, not subenhets.
+ excludeAdministrativEnhet:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to exclude from the result set. This will also exclude subenhets.
+ excludeAdministrativEnhetExact:
+ type: array
+ items:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ description: A list of enhet IDs to exclude from the result set. This will only exclude the specified enhets, not subenhets.
+ publisertDatoBefore:
+ type: string
+ format: date-time
+ description: Filter by the published date of the document.
+ publisertDatoAfter:
+ type: string
+ format: date-time
+ description: Filter by the published date of the document.
+ oppdatertDatoBefore:
+ type: string
+ format: date-time
+ description: Filter by the updated date of the document.
+ oppdatertDatoAfter:
+ type: string
+ format: date-time
+ description: Filter by the updated date of the document.
+ moetedatoBefore:
+ type: string
+ format: date-time
+ description: Filter by the date of a meeting.
+ moetedatoAfter:
+ type: string
+ format: date-time
+ description: Filter by the date of a meeting.
+ entity:
+ type: string
+ enum:
+ - Journalpost
+ - Moetemappe
+ - Moetesak
+ - Saksmappe
+ description: Filter by the entity type.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Registrering.Registrering:
+ type: object
+ required:
+ - offentligTittel
+ - offentligTittelSensitiv
+ properties:
+ offentligTittel:
+ type: string
+ description: The title of the resource, with sensitive information redacted.
+ offentligTittelSensitiv:
+ type: string
+ description: The title of the resource, with sensitive information included.
+ beskrivelse:
+ type: string
+ publisertDato:
+ type: string
+ format: date-time
+ description: The date the resource was published. This field is updated automatically, but can be set manually by admins.
+ oppdatertDato:
+ type: string
+ format: date-time
+ description: The date the resource was last updated. This field is updated automatically, but can be set manually by admins.
+ korrespondansepart:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ dokumentbeskrivelse:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Registrering
+ Registrering.RegistreringUpdate:
+ type: object
+ properties:
+ offentligTittel:
+ type: string
+ description: The title of the resource, with sensitive information redacted.
+ offentligTittelSensitiv:
+ type: string
+ description: The title of the resource, with sensitive information included.
+ beskrivelse:
+ type: string
+ publisertDato:
+ type: string
+ format: date-time
+ description: The date the resource was published. This field is updated automatically, but can be set manually by admins.
+ oppdatertDato:
+ type: string
+ format: date-time
+ description: The date the resource was last updated. This field is updated automatically, but can be set manually by admins.
+ korrespondansepart:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Korrespondansepart.Korrespondansepart'
+ dokumentbeskrivelse:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Registrering
+ Responses.ErrorResponse:
+ type: object
+ required:
+ - body
+ properties:
+ body:
+ $ref: '#/components/schemas/Responses.ErrorResponseBody'
+ Responses.ErrorResponseBody:
+ type: object
+ required:
+ - status
+ - message
+ properties:
+ status:
+ type: string
+ message:
+ type: string
+ Responses.ValidationErrorResponseBody:
+ type: object
+ required:
+ - fieldError
+ properties:
+ fieldError:
+ type: array
+ items:
+ type: object
+ properties:
+ fieldName:
+ type: string
+ value:
+ type: string
+ message:
+ type: string
+ required:
+ - fieldName
+ allOf:
+ - $ref: '#/components/schemas/Responses.ErrorResponseBody'
+ Saksmappe.ListBySaksmappeParameters:
+ type: object
+ required:
+ - id
+ - saksmappeId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ saksmappeId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Saksmappe.Saksmappe:
+ type: object
+ required:
+ - entity
+ - saksaar
+ - sakssekvensnummer
+ - administrativEnhetObjekt
+ properties:
+ entity:
+ type: string
+ enum:
+ - Saksmappe
+ readOnly: true
+ saksaar:
+ type: integer
+ minimum: 1900
+ sakssekvensnummer:
+ type: integer
+ minimum: 0
+ saksnummer:
+ type: string
+ saksdato:
+ type: string
+ format: date
+ journalpost:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Journalpost.Journalpost'
+ administrativEnhet:
+ type: string
+ description: A code for the administrative Enhet associated with this Saksmappe.
+ administrativEnhetObjekt:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Enhet.Enhet'
+ description: |-
+ The adminsistrative Enhet associated with this Saksmappe. This is derived from the code given in `administrativEnhet`.
+ If no `administrativEnhet` is given, or the code is not found, the `journalenhet` of the authenticated user will be used.
+ readOnly: true
+ allOf:
+ - $ref: '#/components/schemas/Mappe.Mappe'
+ description: Saksmappe
+ x-idPrefix: sm
+ Saksmappe.SaksmappeUpdate:
+ type: object
+ properties:
+ saksaar:
+ type: integer
+ minimum: 1900
+ sakssekvensnummer:
+ type: integer
+ minimum: 0
+ saksnummer:
+ type: string
+ saksdato:
+ type: string
+ format: date
+ journalpost:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Journalpost.Journalpost'
+ administrativEnhet:
+ type: string
+ description: A code for the administrative Enhet associated with this Saksmappe.
+ allOf:
+ - $ref: '#/components/schemas/Mappe.MappeUpdate'
+ description: Saksmappe
+ x-idPrefix: sm
+ Skjerming.Skjerming:
+ type: object
+ required:
+ - entity
+ - tilgangsrestriksjon
+ properties:
+ entity:
+ type: string
+ enum:
+ - Skjerming
+ readOnly: true
+ tilgangsrestriksjon:
+ type: string
+ skjermingshjemmel:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Skjerming
+ x-idPrefix: skj
+ Skjerming.SkjermingUpdate:
+ type: object
+ properties:
+ tilgangsrestriksjon:
+ type: string
+ skjermingshjemmel:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Skjerming
+ x-idPrefix: skj
+ Tilbakemelding.Tilbakemelding:
+ type: object
+ required:
+ - entity
+ properties:
+ entity:
+ type: string
+ enum:
+ - Tilbakemelding
+ readOnly: true
+ messageFromUser:
+ type: string
+ path:
+ type: string
+ referer:
+ type: string
+ userAgent:
+ type: string
+ screenHeight:
+ type: integer
+ screenWidth:
+ type: integer
+ docHeight:
+ type: integer
+ docWidth:
+ type: integer
+ winHeight:
+ type: integer
+ winWidth:
+ type: integer
+ scrollX:
+ type: integer
+ scrollY:
+ type: integer
+ userSatisfied:
+ type: boolean
+ handledByAdmin:
+ type: boolean
+ adminComment:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/Base.Base'
+ description: Tilbakemelding
+ x-idPrefix: tbm
+ Tilbakemelding.TilbakemeldingUpdate:
+ type: object
+ properties:
+ messageFromUser:
+ type: string
+ path:
+ type: string
+ referer:
+ type: string
+ userAgent:
+ type: string
+ screenHeight:
+ type: integer
+ screenWidth:
+ type: integer
+ docHeight:
+ type: integer
+ docWidth:
+ type: integer
+ winHeight:
+ type: integer
+ winWidth:
+ type: integer
+ scrollX:
+ type: integer
+ scrollY:
+ type: integer
+ userSatisfied:
+ type: boolean
+ handledByAdmin:
+ type: boolean
+ adminComment:
+ type: string
+ allOf:
+ - $ref: '#/components/schemas/Base.BaseUpdate'
+ description: Tilbakemelding
+ x-idPrefix: tbm
+ Utredning.ListByUtredningParameters:
+ type: object
+ required:
+ - id
+ - utredningId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ utredningId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Utredning.Utredning:
+ type: object
+ required:
+ - entity
+ - saksbeskrivelse
+ - innstilling
+ properties:
+ entity:
+ type: string
+ enum:
+ - Utredning
+ readOnly: true
+ saksbeskrivelse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ innstilling:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ utredningsdokument:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Utredning
+ x-idPrefix: utr
+ Utredning.UtredningUpdate:
+ type: object
+ properties:
+ saksbeskrivelse:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.MoetesaksbeskrivelseUpdate'
+ innstilling:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.MoetesaksbeskrivelseUpdate'
+ utredningsdokument:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Utredning
+ x-idPrefix: utr
+ Vedtak.ListByVedtakParameters:
+ type: object
+ required:
+ - id
+ - vedtakId
+ properties:
+ id:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ vedtakId:
+ type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ allOf:
+ - $ref: '#/components/schemas/QueryParameters.ListParameters'
+ Vedtak.Vedtak:
+ type: object
+ required:
+ - entity
+ - vedtakstekst
+ - dato
+ properties:
+ entity:
+ type: string
+ enum:
+ - Vedtak
+ readOnly: true
+ vedtakstekst:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.Moetesaksbeskrivelse'
+ votering:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Votering.Votering'
+ behandlingsprotokoll:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Behandlingsprotokoll.Behandlingsprotokoll'
+ vedtaksdokument:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ dato:
+ type: string
+ format: date
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Vedtak
+ x-idPrefix: ved
+ Vedtak.VedtakUpdate:
+ type: object
+ properties:
+ vedtakstekst:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetesaksbeskrivelse.MoetesaksbeskrivelseUpdate'
+ votering:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Votering.Votering'
+ behandlingsprotokoll:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Behandlingsprotokoll.BehandlingsprotokollUpdate'
+ vedtaksdokument:
+ type: array
+ items:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Dokumentbeskrivelse.Dokumentbeskrivelse'
+ dato:
+ type: string
+ format: date
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Vedtak
+ x-idPrefix: ved
+ Votering.Votering:
+ type: object
+ required:
+ - entity
+ - moetedeltaker
+ - stemme
+ properties:
+ entity:
+ type: string
+ enum:
+ - Votering
+ readOnly: true
+ moetedeltaker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetedeltaker.Moetedeltaker'
+ stemme:
+ type: string
+ enum:
+ - Ja
+ - Nei
+ - Blankt
+ representerer:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Identifikator.Identifikator'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBase'
+ description: Votering
+ x-idPrefix: vot
+ Votering.VoteringUpdate:
+ type: object
+ properties:
+ moetedeltaker:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Moetedeltaker.MoetedeltakerUpdate'
+ stemme:
+ type: string
+ enum:
+ - Ja
+ - Nei
+ - Blankt
+ representerer:
+ anyOf:
+ - type: string
+ format: id
+ description: An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ - $ref: '#/components/schemas/Identifikator.IdentifikatorUpdate'
+ allOf:
+ - $ref: '#/components/schemas/ArkivBase.ArkivBaseUpdate'
+ description: Votering
+ x-idPrefix: vot
+ eInnsynId:
+ type: string
+ securitySchemes:
+ ApiKeyAuth:
+ type: apiKey
+ in: header
+ name: X-EIN-API-KEY
diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml
deleted file mode 100644
index f466263..0000000
--- a/openapi/spec3.yaml
+++ /dev/null
@@ -1,6183 +0,0 @@
-openapi: "3.0.0"
-
-info:
- title: eInnsyn REST API
- version: "1.0"
-
-servers:
- - url: https://api.einnsyn.no/
-
-tags:
- - name: Arkiv
- - name: Arkivdel
- - name: Bruker
- - name: Dokumentbeskrivelse
- - name: Dokumentobjekt
- - name: Enhet
- - name: InnsynskravBestilling
- - name: Innsynskrav
- - name: Journalpost
- - name: Klasse
- - name: Korrespondansepart
- - name: Moetemappe
- - name: Saksmappe
- - name: Skjerming
-
-paths:
- /arkiv:
- get:
- description: Get a Arkiv list.
- tags:
- - Arkiv
- operationId: GetArkivList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Arkiv"
- post:
- description: Create a Arkiv.
- tags:
- - Arkiv
- operationId: PostArkiv
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
-
- /arkiv/{arkivId}:
- get:
- description: Get a single Arkiv.
- tags:
- - Arkiv
- operationId: GetArkiv
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
- patch:
- description: Update a single Arkiv.
- tags:
- - Arkiv
- operationId: PatchArkiv
- parameters:
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
- delete:
- description: Delete a single Arkiv.
- tags:
- - Arkiv
- operationId: DeleteArkiv
- parameters:
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
-
- /arkiv/{arkivId}/arkivdel:
- get:
- description: Get a Arkivdel list.
- tags:
- - Arkivdel
- operationId: GetArkivArkivdelList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/Journalenhet"
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- - name: arkivId
- in: query
- description: Filter by Arkiv
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Arkivdel"
- post:
- description: Create a Arkivdel.
- tags:
- - Arkivdel
- parameters:
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- operationId: PostArkivArkivdel
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkivdel"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkivdel"
-
- /arkiv/{arkivId}/arkiv:
- get:
- description: Get a Arkiv list.
- tags:
- - Arkiv
- operationId: GetArkivArkivList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- - name: arkivId
- in: query
- description: Filter by Arkiv
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Arkiv"
- post:
- description: Create a Arkiv.
- tags:
- - Arkiv
- operationId: PostArkivArkiv
- parameters:
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkiv"
-
- /arkiv/{arkivId}/saksmappe:
- get:
- description: Get a Saksmappe list.
- tags:
- - Saksmappe
- operationId: GetArkivSaksmappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- - name: arkivId
- in: query
- description: Filter by Arkiv
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Saksmappe"
- post:
- description: Create a Saksmappe.
- tags:
- - Saksmappe
- operationId: PostArkivSaksmappe
- parameters:
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
-
- /arkiv/{arkivId}/moetemappe:
- get:
- description: Get a Moetemappe list.
- tags:
- - Moetemappe
- operationId: GetArkivMoetemappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- - name: arkivId
- in: query
- description: Filter by Arkiv
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetemappe"
- post:
- description: Create a Moetemappe.
- tags:
- - Moetemappe
- operationId: PostArkivMoetemappe
- parameters:
- - name: arkivId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkiv
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
-
- /arkivdel:
- get:
- description: Get an Arkivdel list.
- tags:
- - Arkivdel
- operationId: GetArkivdelList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Arkivdel"
-
- /arkivdel/{arkivdelId}:
- get:
- description: Get a single Arkivdel.
- tags:
- - Arkivdel
- operationId: GetArkivdel
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkivdel"
- patch:
- description: Update a single Arkivdel.
- tags:
- - Arkivdel
- operationId: PatchArkivdel
- parameters:
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkivdel"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkivdel"
- delete:
- description: Delete a single Arkivdel.
- tags:
- - Arkivdel
- operationId: DeleteArkivdel
- parameters:
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Arkivdel"
-
- /arkivdel/{arkivdelId}/klasse:
- get:
- description: Get a Klasse list.
- tags:
- - Klasse
- operationId: GetArkivdelKlasseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/Journalenhet"
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- - name: arkivdelId
- in: query
- description: Filter by Arkivdel
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Klasse"
- post:
- description: Create a Klasse.
- tags:
- - Klasse
- operationId: PostArkivdelKlasse
- parameters:
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
-
- /arkivdel/{arkivdelId}/klassifikasjonssystem:
- get:
- description: Get a Klassifikasjonssystem list.
- tags:
- - Klassifikasjonssystem
- operationId: GetArkivdelKlassifikasjonssystemList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- - name: arkivdelId
- in: query
- description: Filter by Arkivdel
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Klassifikasjonssystem"
- post:
- description: Create a Klassifikasjonssystem.
- tags:
- - Klassifikasjonssystem
- operationId: PostArkivdelKlassifikasjonssystem
- parameters:
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klassifikasjonssystem"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klassifikasjonssystem"
-
- /arkivdel/{arkivdelId}/saksmappe:
- get:
- description: Get a Saksmappe list.
- tags:
- - Saksmappe
- operationId: GetArkivdelSaksmappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- - name: arkivdelId
- in: query
- description: Filter by Arkivdel
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Saksmappe"
- post:
- description: Create a Saksmappe.
- tags:
- - Saksmappe
- operationId: PostArkivdelSaksmappe
- parameters:
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
-
- /arkivdel/{arkivdelId}/moetemappe:
- get:
- description: Get a Moetemappe list.
- tags:
- - Moetemappe
- operationId: GetArkivdelMoetemappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- - name: arkivdelId
- in: query
- description: Filter by Arkivdel
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetemappe"
- post:
- description: Create a Moetemappe.
- tags:
- - Moetemappe
- operationId: PostArkivdelMoetemappe
- parameters:
- - name: arkivdelId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Arkivdel
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
-
- /behandlingsprotokoll:
- get:
- description: Get a Behandlingsprotokoll list.
- tags:
- - Behandlingsprotokoll
- operationId: GetBehandlingsprotokollList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Behandlingsprotokoll"
-
- /behandlingsprotokoll/{behandlingsprotokollId}:
- get:
- description: Get a single Behandlingsprotokoll.
- tags:
- - Behandlingsprotokoll
- operationId: GetBehandlingsprotokoll
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: behandlingsprotokollId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Behandlingsprotokoll
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Behandlingsprotokoll"
- patch:
- description: Update a single Behandlingsprotokoll.
- tags:
- - Behandlingsprotokoll
- operationId: PatchBehandlingsprotokoll
- parameters:
- - name: behandlingsprotokollId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Behandlingsprotokoll
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Behandlingsprotokoll"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Behandlingsprotokoll"
- delete:
- description: Delete a single Behandlingsprotokoll.
- tags:
- - Behandlingsprotokoll
- operationId: DeleteBehandlingsprotokoll
- parameters:
- - name: behandlingsprotokollId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Behandlingsprotokoll
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Behandlingsprotokoll"
-
- /dokumentobjekt:
- get:
- description: Get a Dokumentobjekt list.
- tags:
- - Dokumentobjekt
- operationId: GetDokumentobjektList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentobjekt"
-
- /dokumentobjekt/{dokumentobjektId}:
- get:
- description: Get a single Dokumentobjekt.
- tags:
- - Dokumentobjekt
- operationId: GetDokumentobjekt
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: dokumentobjektId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentobjekt
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentobjekt"
- patch:
- description: Update a single Dokumentobjekt.
- tags:
- - Dokumentobjekt
- operationId: PatchDokumentobjekt
- parameters:
- - name: dokumentobjektId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentobjekt
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentobjekt"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentobjekt"
- delete:
- description: Delete a single Dokumentobjekt.
- tags:
- - Dokumentobjekt
- operationId: DeleteDokumentobjekt
- parameters:
- - name: dokumentobjektId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentobjekt
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentobjekt"
-
- /identifikator:
- get:
- description: Get a Identifikator list.
- tags:
- - Identifikator
- operationId: GetIdentifikatorList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Identifikator"
-
- /identifikator/{identifikatorId}:
- get:
- description: Get a single Identifikator.
- tags:
- - Identifikator
- operationId: GetIdentifikator
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: identifikatorId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Identifikator
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Identifikator"
- patch:
- description: Update a single Identifikator.
- tags:
- - Identifikator
- operationId: PatchIdentifikator
- parameters:
- - name: identifikatorId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Identifikator
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Identifikator"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Identifikator"
- delete:
- description: Delete a single Identifikator.
- tags:
- - Identifikator
- operationId: DeleteIdentifikator
- parameters:
- - name: identifikatorId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Identifikator
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Identifikator"
-
- /innsynskravBestilling:
- get:
- description: Get a InnsynskravBestilling list.
- tags:
- - InnsynskravBestilling
- operationId: GetInnsynskravBestillingList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/InnsynskravBestilling"
- post:
- description: Create a InnsynskravBestilling.
- tags:
- - InnsynskravBestilling
- operationId: PostInnsynskravBestilling
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
-
- /innsynskravBestilling/{innsynskravBestillingId}:
- get:
- description: Get a InnsynskravBestilling.
- tags:
- - InnsynskravBestilling
- operationId: GetInnsynskravBestilling
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: innsynskravBestillingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: InnsynskravBestilling
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
- patch:
- description: Update a InnsynskravBestilling.
- tags:
- - InnsynskravBestilling
- operationId: PatchInnsynskravBestilling
- parameters:
- - name: innsynskravBestillingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: InnsynskravBestilling
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
- delete:
- description: Delete a request.
- tags:
- - InnsynskravBestilling
- operationId: DeleteInnsynskravBestilling
- parameters:
- - name: innsynskravBestillingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: InnsynskravBestilling
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
-
- /innsynskravBestilling/{innsynskravBestillingId}/innsynskrav:
- get:
- description: Get a InnsynskravBestilling list.
- tags:
- - Innsynskrav
- operationId: GetInnsynskravBestillingInnsynskravList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: innsynskravBestillingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: InnsynskravBestilling
- - name: innsynskravBestillingId
- in: query
- description: Filter by InnsynskravBestilling
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Innsynskrav"
-
- /innsynskravBestilling/{innsynskravBestillingId}/verify/{secret}:
- patch:
- description: Verify a InnsynskravBestilling.
- tags:
- - InnsynskravBestilling
- operationId: VerifyInnsynskravBestilling
- parameters:
- - name: innsynskravBestillingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: InnsynskravBestilling
- - name: secret
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/InnsynskravBestilling"
-
- /innsynskrav:
- get:
- description: Get a Innsynskrav list.
- tags:
- - Innsynskrav
- operationId: GetInnsynskravList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Innsynskrav"
-
- /innsynskrav/{innsynskravId}:
- get:
- description: Get a single Innsynskrav.
- tags:
- - Innsynskrav
- operationId: GetInnsynskrav
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: innsynskravId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Innsynskrav
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Innsynskrav"
-
- /klasse:
- get:
- description: Get a Klasse list.
- tags:
- - Klasse
- operationId: GetKlasseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Klasse"
-
- /klasse/{klasseId}:
- get:
- description: Get a single Klasse.
- tags:
- - Klasse
- operationId: GetKlasse
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
- patch:
- description: Update a single Klasse.
- tags:
- - Klasse
- operationId: PatchKlasse
- parameters:
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
- delete:
- description: Delete a single Klasse.
- tags:
- - Klasse
- operationId: DeleteKlasse
- parameters:
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
-
- /klasse/{klasseId}/klasse:
- get:
- description: Get a Klasse list.
- tags:
- - Klasse
- operationId: GetKlasseKlasseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- - name: klasseId
- in: query
- description: Filter by Klasse
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Klasse"
- post:
- description: Create a Klasse.
- tags:
- - Klasse
- operationId: PostKlasseKlasse
- parameters:
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
-
- /klasse/{klasseId}/saksmappe:
- get:
- description: Get a Saksmappe list.
- tags:
- - Saksmappe
- operationId: GetKlasseSaksmappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- - name: klasseId
- in: query
- description: Filter by Klasse
- schema:
- type: string
-
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Saksmappe"
- post:
- description: Create a Saksmappe.
- tags:
- - Saksmappe
- operationId: PostKlasseSaksmappe
- parameters:
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
-
- /klasse/{klasseId}/moetemappe:
- get:
- description: Get a Moetemappe list.
- tags:
- - Moetemappe
- operationId: GetKlasseMoetemappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- - name: klasseId
- in: query
- description: Filter by Klasse
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetemappe"
- post:
- description: Create a Moetemappe.
- tags:
- - Moetemappe
- operationId: PostKlasseMoetemappe
- parameters:
- - name: klasseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klasse
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
-
- /klassifikasjonssystem:
- get:
- description: Get a Klassifikasjonssystem list.
- tags:
- - Klassifikasjonssystem
- operationId: GetKlassifikasjonssystemList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Klassifikasjonssystem"
-
- /klassifikasjonssystem/{klassifikasjonssystemId}:
- get:
- description: Get a single Klassifikasjonssystem.
- tags:
- - Klassifikasjonssystem
- operationId: GetKlassifikasjonssystem
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: klassifikasjonssystemId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klassifikasjonssystem
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klassifikasjonssystem"
- patch:
- description: Update a single Klassifikasjonssystem.
- tags:
- - Klassifikasjonssystem
- operationId: PatchKlassifikasjonssystem
- parameters:
- - name: klassifikasjonssystemId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klassifikasjonssystem
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klassifikasjonssystem"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klassifikasjonssystem"
- delete:
- description: Delete a single Klassifikasjonssystem.
- tags:
- - Klassifikasjonssystem
- operationId: DeleteKlassifikasjonssystem
- parameters:
- - name: klassifikasjonssystemId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klassifikasjonssystem
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klassifikasjonssystem"
-
- /klassifikasjonssystem/{klassifikasjonssystemId}/klasse:
- get:
- description: Get a Klasse list.
- tags:
- - Klasse
- operationId: GetKlassifikasjonssystemKlasseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: klassifikasjonssystemId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klassifikasjonssystem
- - name: klassifikasjonssystemId
- in: query
- description: Filter by Klassifikasjonssystem
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Klasse"
- post:
- description: Create a Klasse.
- tags:
- - Klasse
- operationId: PostKlassifikasjonssystemKlasse
- parameters:
- - name: klassifikasjonssystemId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Klassifikasjonssystem
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Klasse"
-
- /korrespondansepart:
- get:
- description: Get a Korrespondansepart list.
- tags:
- - Korrespondansepart
- operationId: GetKorrespondansepartList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Korrespondansepart"
-
- /korrespondansepart/{korrespondansepartId}:
- get:
- description: Get a single Korrespondansepart.
- tags:
- - Korrespondansepart
- operationId: GetKorrespondansepart
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: korrespondansepartId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Korrespondansepart
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Korrespondansepart"
- patch:
- description: Update a single Korrespondansepart.
- tags:
- - Korrespondansepart
- operationId: PatchKorrespondansepart
- parameters:
- - name: korrespondansepartId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Korrespondansepart
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Korrespondansepart"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Korrespondansepart"
- delete:
- description: Delete a single Korrespondansepart.
- tags:
- - Korrespondansepart
- operationId: DeleteKorrespondansepart
- parameters:
- - name: korrespondansepartId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Korrespondansepart
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Korrespondansepart"
-
- /lagretSak:
- get:
- description: Get a LagretSak list.
- tags:
- - LagretSak
- operationId: GetLagretSakList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- - name: brukerId
- in: query
- description: Filter by BrukerId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/LagretSak"
-
- /lagretSak/{lagretSakId}:
- get:
- description: Get a single LagretSak.
- tags:
- - LagretSak
- operationId: GetLagretSak
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: lagretSakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: LagretSak
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSak"
- patch:
- description: Update a single LagretSak.
- tags:
- - LagretSak
- operationId: PatchLagretSak
- parameters:
- - name: lagretSakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: LagretSak
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSak"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSak"
- delete:
- description: Delete a single LagretSak.
- tags:
- - LagretSak
- operationId: DeleteLagretSak
- parameters:
- - name: lagretSakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: LagretSak
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSak"
-
- /lagretSoek:
- get:
- description: Get a LagretSoek list.
- tags:
- - LagretSoek
- operationId: GetLagretSoekList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- - name: brukerId
- in: query
- description: Filter by BrukerId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/LagretSoek"
-
- /lagretSoek/{lagretSoekId}:
- get:
- description: Get a single LagretSoek.
- tags:
- - LagretSoek
- operationId: GetLagretSoek
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: lagretSoekId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: LagretSoek
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSoek"
- patch:
- description: Update a single LagretSoek.
- tags:
- - LagretSoek
- operationId: PatchLagretSoek
- parameters:
- - name: lagretSoekId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: LagretSoek
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSoek"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSoek"
- delete:
- description: Delete a single LagretSoek.
- tags:
- - LagretSoek
- operationId: DeleteLagretSoek
- parameters:
- - name: lagretSoekId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: LagretSoek
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSoek"
-
- /moetedeltaker:
- get:
- description: Get a Moetedeltaker list.
- tags:
- - Moetedeltaker
- operationId: GetMoetedeltakerList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetedeltaker"
-
- /moetedeltaker/{moetedeltakerId}:
- get:
- description: Get a single Moetedeltaker.
- tags:
- - Moetedeltaker
- operationId: GetMoetedeltaker
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: moetedeltakerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedeltaker
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedeltaker"
- patch:
- description: Update a single Moetedeltaker.
- tags:
- - Moetedeltaker
- operationId: PatchMoetedeltaker
- parameters:
- - name: moetedeltakerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedeltaker
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedeltaker"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedeltaker"
- delete:
- description: Delete a single Moetedeltaker.
- tags:
- - Moetedeltaker
- operationId: DeleteMoetedeltaker
- parameters:
- - name: moetedeltakerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedeltaker
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedeltaker"
-
- /moetedokument:
- get:
- description: Get a Moetedokument list.
- tags:
- - Moetedokument
- operationId: GetMoetedokumentList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetedokument"
-
- /moetedokument/{moetedokumentId}:
- get:
- description: Get a single Moetedokument.
- tags:
- - Moetedokument
- operationId: GetMoetedokument
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: moetedokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedokument
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedokument"
- patch:
- description: Update a single Moetedokument.
- tags:
- - Moetedokument
- operationId: PatchMoetedokument
- parameters:
- - name: moetedokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedokument
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedokument"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedokument"
- delete:
- description: Delete a single Moetedokument.
- tags:
- - Moetedokument
- operationId: DeleteMoetedokument
- parameters:
- - name: moetedokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedokument
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedokument"
-
- /moetedokument/{moetedokumentId}/dokumentbeskrivelse:
- get:
- description: Get a Dokumentbeskrivelse list.
- tags:
- - Dokumentbeskrivelse
- operationId: GetMoetedokumentDokumentbeskrivelseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: moetedokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedokument
- - name: moetedokumentId
- in: query
- description: Filter by Moetedokument
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- post:
- description: Create a Dokumentbeskrivelse, or relate to an existing one.
- tags:
- - Dokumentbeskrivelse
- operationId: PostMoetedokumentDokumentbeskrivelse
- parameters:
- - name: moetedokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetedokument
- requestBody:
- content:
- application/json:
- schema:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /moetesak:
- get:
- description: Get a Moetesak list.
- tags:
- - Moetesak
- operationId: GetMoetesakList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetesak"
- post:
- description: Create a Moetesak.
- tags:
- - Moetesak
- operationId: PostMoetesak
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
-
- /moetesak/{moetesakId}:
- get:
- description: Get a single Moetesak.
- tags:
- - Moetesak
- operationId: GetMoetesak
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: moetesakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesak
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
- patch:
- description: Update a single Moetesak.
- tags:
- - Moetesak
- operationId: PatchMoetesak
- parameters:
- - name: moetesakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesak
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
- delete:
- description: Delete a single Moetesak.
- tags:
- - Moetesak
- operationId: DeleteMoetesak
- parameters:
- - name: moetesakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesak
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
-
- /moetesak/{moetesakId}/dokumentbeskrivelse:
- get:
- description: Get a Dokumentbeskrivelse list.
- tags:
- - Dokumentbeskrivelse
- operationId: GetMoetesakDokumentbeskrivelseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: moetesakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesak
- - name: moetesakId
- in: query
- description: Filter by Moetesak
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- post:
- description: Create a Dokumentbeskrivelse.
- tags:
- - Dokumentbeskrivelse
- operationId: PostMoetesakDokumentbeskrivelse
- parameters:
- - name: moetesakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesak
- requestBody:
- content:
- application/json:
- schema:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /moetesaksbeskrivelse:
- get:
- description: Get a Moetesaksbeskrivelse list.
- tags:
- - Moetesaksbeskrivelse
- operationId: GetMoetesaksbeskrivelseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetesaksbeskrivelse"
-
- /moetesaksbeskrivelse/{moetesaksbeskrivelseId}:
- get:
- description: Get a single Moetesaksbeskrivelse.
- tags:
- - Moetesaksbeskrivelse
- operationId: GetMoetesaksbeskrivelse
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: moetesaksbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesaksbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesaksbeskrivelse"
- patch:
- description: Update a single Moetesaksbeskrivelse.
- tags:
- - Moetesaksbeskrivelse
- operationId: PatchMoetesaksbeskrivelse
- parameters:
- - name: moetesaksbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesaksbeskrivelse
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesaksbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesaksbeskrivelse"
- delete:
- description: Delete a single Moetesaksbeskrivelse.
- tags:
- - Moetesaksbeskrivelse
- operationId: DeleteMoetesaksbeskrivelse
- parameters:
- - name: moetesaksbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetesaksbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesaksbeskrivelse"
-
- /skjerming:
- get:
- description: Get a Skjerming list.
- tags:
- - Skjerming
- operationId: GetSkjermingList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Skjerming"
- post:
- description: Create a Skjerming.
- tags:
- - Skjerming
- operationId: PostSkjerming
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Skjerming"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Skjerming"
-
- /skjerming/{skjermingId}:
- get:
- description: Get a single Skjerming.
- tags:
- - Skjerming
- operationId: GetSkjerming
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: skjermingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Skjerming
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Skjerming"
- patch:
- description: Update a single Skjerming.
- tags:
- - Skjerming
- operationId: PatchSkjerming
- parameters:
- - name: skjermingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Skjerming
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Skjerming"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Skjerming"
- delete:
- description: Delete a single Skjerming.
- tags:
- - Skjerming
- operationId: DeleteSkjerming
- parameters:
- - name: skjermingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Skjerming
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Skjerming"
-
- /utredning:
- get:
- description: Get a Utredning list.
- tags:
- - Utredning
- operationId: GetUtredningList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Utredning"
-
- /utredning/{utredningId}:
- get:
- description: Get a single Utredning.
- tags:
- - Utredning
- operationId: GetUtredning
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: utredningId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Utredning
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Utredning"
- patch:
- description: Update a single Utredning.
- tags:
- - Utredning
- operationId: PatchUtredning
- parameters:
- - name: utredningId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Utredning
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Utredning"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Utredning"
- delete:
- description: Delete a single Utredning.
- tags:
- - Utredning
- operationId: DeleteUtredning
- parameters:
- - name: utredningId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Utredning
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Utredning"
-
- /utredning/{utredningId}/utredningsdokument:
- get:
- description: Get a Utredningsdokument list.
- tags:
- - Utredning
- operationId: GetUtredningUtredningsdokumentList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: utredningId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Utredning
- - name: utredningId
- in: query
- description: Filter by Utredning
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- post:
- description: Create a Utredningsdokument.
- tags:
- - Utredning
- operationId: PostUtredningUtredningsdokument
- parameters:
- - name: utredningId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Utredning
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /utredning/{utredningId}/utredningsdokument/{utredningsdokumentId}:
- delete:
- description: Delete a single Utredningsdokument.
- tags:
- - Utredning
- operationId: DeleteUtredningUtredningsdokument
- parameters:
- - name: utredningId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Utredning
- - name: utredningsdokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /vedtak:
- get:
- description: Get a Vedtak list.
- tags:
- - Vedtak
- operationId: GetVedtakList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Vedtak"
-
- /vedtak/{vedtakId}:
- get:
- description: Get a single Vedtak.
- tags:
- - Vedtak
- operationId: GetVedtak
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: vedtakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Vedtak
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Vedtak"
- patch:
- description: Update a single Vedtak.
- tags:
- - Vedtak
- operationId: PatchVedtak
- parameters:
- - name: vedtakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Vedtak
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Vedtak"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Vedtak"
- delete:
- description: Delete a single Vedtak.
- tags:
- - Vedtak
- operationId: DeleteVedtak
- parameters:
- - name: vedtakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Vedtak
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Vedtak"
-
- /vedtak/{vedtakId}/vedtaksdokument:
- get:
- description: Get a Vedtaksdokument list.
- tags:
- - Vedtak
- operationId: GetVedtakVedtaksdokumentList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: vedtakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Vedtak
- - name: vedtakId
- in: query
- description: Filter by Vedtak
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- post:
- description: Create a Vedtaksdokument.
- tags:
- - Vedtak
- operationId: PostVedtakVedtaksdokument
- parameters:
- - name: vedtakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Vedtak
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /vedtak/{vedtakId}/vedtaksdokument/{vedtaksdokumentId}:
- delete:
- description: Delete a single Vedtaksdokument.
- tags:
- - Vedtak
- operationId: DeleteVedtakVedtaksdokument
- parameters:
- - name: vedtakId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Vedtak
- - name: vedtaksdokumentId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /votering:
- get:
- description: Get a Votering list.
- tags:
- - Votering
- operationId: GetVoteringList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Votering"
-
- /votering/{voteringId}:
- get:
- description: Get a single Votering.
- tags:
- - Votering
- operationId: GetVotering
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: voteringId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Votering
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Votering"
- patch:
- description: Update a single Votering.
- tags:
- - Votering
- operationId: PatchVotering
- parameters:
- - name: voteringId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Votering
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Votering"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Votering"
- delete:
- description: Delete a single Votering.
- tags:
- - Votering
- operationId: DeleteVotering
- parameters:
- - name: voteringId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Votering
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Votering"
-
- /enhet:
- get:
- description: Get a Enhet list.
- tags:
- - Enhet
- operationId: GetEnhetList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- - name: parentId
- in: query
- description: Filter by parent
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Enhet"
-
- /enhet/{enhetId}:
- get:
- description: Get a single Enhet.
- tags:
- - Enhet
- operationId: GetEnhet
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Enhet"
- patch:
- description: Update a single Enhet.
- tags:
- - Enhet
- operationId: PatchEnhet
- parameters:
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Enhet"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Enhet"
- delete:
- description: Delete a single Enhet.
- tags:
- - Enhet
- operationId: DeleteEnhet
- parameters:
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Enhet"
-
- /enhet/{enhetId}/underenhet:
- get:
- description: Get all underenhet for a Enhet.
- tags:
- - Enhet
- operationId: GetEnhetUnderenhetList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Enhet"
-
- post:
- description: Add a subEnhet to a Enhet.
- tags:
- - Enhet
- operationId: PostEnhetUnderenhet
- parameters:
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Enhet"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Enhet"
-
- /enhet/{enhetId}/apiKey:
- get:
- description: Get a list of ApiKey for a Enhet.
- tags:
- - Enhet
- operationId: GetEnhetApiKeyList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- - name: enhetId
- in: query
- description: Filter by Enhet
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/ApiKey"
- post:
- description: Add a new ApiKey to a Enhet.
- tags:
- - Enhet
- operationId: PostEnhetApiKey
- parameters:
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ApiKey"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ApiKey"
-
- /enhet/{enhetId}/arkiv:
- get:
- description: Get a list of Arkiv for a Enhet.
- tags:
- - Enhet
- operationId: GetEnhetArkivList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/Journalenhet"
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- - name: enhetId
- in: query
- description: Filter by Enhet
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Arkiv"
-
- /enhet/{enhetId}/innsynskrav:
- get:
- description: Get a list of Innsynskrav for a Enhet.
- tags:
- - Enhet
- operationId: GetEnhetInnsynskravList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: enhetId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Enhet
- - name: enhetId
- in: query
- description: Filter by Enhet
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Innsynskrav"
-
- /journalpost:
- get:
- description: Get a Journalpost list.
- tags:
- - Journalpost
- operationId: GetJournalpostList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Journalpost"
-
- /journalpost/{journalpostId}:
- get:
- description: Get a single record.
- tags:
- - Journalpost
- operationId: GetJournalpost
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
- patch:
- description: Update a record
- tags:
- - Journalpost
- operationId: PatchJournalpost
- parameters:
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
- delete:
- description: Delete a record.
- tags:
- - Journalpost
- operationId: DeleteJournalpost
- parameters:
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
-
- /journalpost/{journalpostId}/korrespondansepart:
- get:
- description: Get a list of Korrespondansepart for a Journalpost.
- tags:
- - Journalpost
- operationId: GetJournalpostKorrespondansepartList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- - name: journalpostId
- in: query
- description: Filter by Journalpost
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Korrespondansepart"
- post:
- description: Add a new Korrespondansepart to a Journalpost.
- tags:
- - Journalpost
- operationId: PostJournalpostKorrespondansepart
- parameters:
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Korrespondansepart"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Korrespondansepart"
-
- /journalpost/{journalpostId}/dokumentbeskrivelse:
- get:
- description: Get a list of Dokumentbeskrivelse for a Journalpost.
- tags:
- - Journalpost
- operationId: GetJournalpostDokumentbeskrivelseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- - name: journalpostId
- in: query
- description: Filter by Journalpost id.
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- post:
- description: Add a new Dokumentbeskrivelse to a Journalpost.
- tags:
- - Journalpost
- operationId: PostJournalpostDokumentbeskrivelse
- parameters:
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- requestBody:
- content:
- application/json:
- schema:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /journalpost/{journalpostId}/dokumentbeskrivelse/{dokumentbeskrivelseId}:
- delete:
- description: Delete a Dokumentbeskrivelse from a Journalpost.
- tags:
- - Journalpost
- operationId: DeleteJournalpostDokumentbeskrivelse
- parameters:
- - name: journalpostId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Journalpost
- - name: dokumentbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
-
- /dokumentbeskrivelse:
- get:
- description: Get a Dokumentbeskrivelse list.
- tags:
- - Dokumentbeskrivelse
- operationId: GetDokumentbeskrivelseList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /dokumentbeskrivelse/{dokumentbeskrivelseId}:
- get:
- description: Get a single record.
- tags:
- - Dokumentbeskrivelse
- operationId: GetDokumentbeskrivelse
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: dokumentbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- patch:
- description: Update a document
- tags:
- - Dokumentbeskrivelse
- operationId: PatchDokumentbeskrivelse
- parameters:
- - name: dokumentbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
- delete:
- description: Delete a document.
- tags:
- - Dokumentbeskrivelse
- operationId: DeleteDokumentbeskrivelse
- parameters:
- - name: dokumentbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Dokumentbeskrivelse"
-
- /dokumentbeskrivelse/{dokumentbeskrivelseId}/download/{subId}.{docExtension}:
- get:
- description: Download the binary file.
- tags:
- - Dokumentbeskrivelse
- operationId: DownloadDokumentbeskrivelse
- parameters:
- - name: dokumentbeskrivelseId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentbeskrivelse
- - name: subId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Dokumentobjekt
- - in: path
- name: docExtension
- required: true
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/octet-stream:
- schema:
- type: string
- format: binary
-
- /saksmappe:
- get:
- description: Get a Saksmappe list.
- tags:
- - Saksmappe
- operationId: GetSaksmappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Saksmappe"
-
- /saksmappe/{saksmappeId}:
- get:
- description: Get a Saksmappe.
- tags:
- - Saksmappe
- operationId: GetSaksmappe
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: saksmappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Saksmappe
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
- patch:
- description: Update a Saksmappe.
- tags:
- - Saksmappe
- operationId: PatchSaksmappe
- parameters:
- - name: saksmappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Saksmappe
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
- delete:
- description: Delete a Saksmappe.
- tags:
- - Saksmappe
- operationId: DeleteSaksmappe
- parameters:
- - name: saksmappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Saksmappe
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Saksmappe"
-
- /saksmappe/{saksmappeId}/journalpost:
- get:
- description: Get Journalpost list for a Saksmappe.
- tags:
- - Saksmappe
- operationId: GetSaksmappeJournalpostList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: saksmappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Saksmappe
- - name: saksmappeId
- in: query
- description: Filter by SaksmappeId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Journalpost"
-
- post:
- description: Add a Journalpost to a Saksmappe.
- tags:
- - Saksmappe
- operationId: PostSaksmappeJournalpost
- parameters:
- - name: saksmappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Saksmappe
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Journalpost"
-
- /moetemappe:
- get:
- description: Get a Moetemappe list.
- tags:
- - Moetemappe
- operationId: GetMoetemappeList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetemappe"
-
- /moetemappe/{moetemappeId}:
- get:
- description: Get a Moetemappe.
- tags:
- - Moetemappe
- operationId: GetMoetemappe
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
- patch:
- description: Update a Moetemappe.
- tags:
- - Moetemappe
- operationId: PatchMoetemappe
- parameters:
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
- delete:
- description: Delete a Moetemappe.
- tags:
- - Moetemappe
- operationId: DeleteMoetemappe
- parameters:
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetemappe"
-
- /moetemappe/{moetemappeId}/moetedokument:
- get:
- description: Get a Moetedokument list.
- tags:
- - Moetemappe
- operationId: GetMoetemappeMoetedokumentList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- - name: moetemappeId
- in: query
- description: Filter by MoetemappeId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetedokument"
- post:
- description: Add a document to a meeting.
- tags:
- - Moetemappe
- operationId: PostMoetemappeMoetedokument
- parameters:
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedokument"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetedokument"
-
- /moetemappe/{moetemappeId}/moetesak:
- get:
- description: Get a Moetesak list for a Moetemappe.
- tags:
- - Moetemappe
- operationId: GetMoetemappeMoetesakList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- - name: moetemappeId
- in: query
- description: Filter by MoetemappeId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Moetesak"
- post:
- description: Add a Moetesak to a Moetemappe.
- tags:
- - Moetemappe
- operationId: PostMoetemappeMoetesak
- parameters:
- - name: moetemappeId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Moetemappe
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Moetesak"
-
- /bruker:
- get:
- description: Get a Bruker list.
- tags:
- - Bruker
- operationId: GetBrukerList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Bruker"
- post:
- description: Add a new Bruker.
- tags:
- - Bruker
- operationId: PostBruker
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
-
- /bruker/{brukerId}:
- get:
- description: Get a single Bruker.
- tags:
- - Bruker
- operationId: GetBruker
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
- patch:
- description: Update a single Bruker.
- tags:
- - Bruker
- operationId: PatchBruker
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
- delete:
- description: Delete a single Bruker.
- tags:
- - Bruker
- operationId: DeleteBruker
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
-
- /bruker/{brukerId}/innsynskravBestilling:
- get:
- description: Get all InnsynskravBestilling for a Bruker.
- tags:
- - Bruker
- operationId: GetBrukerInnsynskravBestillingList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- - name: brukerId
- in: query
- description: Filter by brukerId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/InnsynskravBestilling"
-
- /bruker/{brukerId}/innsynskrav:
- get:
- description: Get all Innsynskrav for a Bruker.
- tags:
- - Bruker
- operationId: GetBrukerInnsynskravList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- - name: brukerId
- in: query
- description: Filter by brukerId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Innsynskrav"
-
- /bruker/{brukerId}/lagretSoek:
- get:
- description: Get LagretSoek list for a Bruker.
- tags:
- - Bruker
- operationId: GetBrukerLagretSoekList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- - name: brukerId
- in: query
- description: Filter by brukerId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/LagretSoek"
-
- post:
- description: Add a saved search to a Bruker.
- tags:
- - Bruker
- operationId: PostBrukerLagretSoek
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSoek"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSoek"
-
- /bruker/{brukerId}/lagretSak:
- get:
- description: Get LagretSak list for a Bruker.
- tags:
- - Bruker
- operationId: GetBrukerLagretSakList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- - name: brukerId
- in: query
- description: Filter by brukerId
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/LagretSak"
-
- post:
- description: Add a saved case to a Bruker.
- tags:
- - Bruker
- operationId: PostBrukerLagretSak
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSak"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/LagretSak"
-
- /bruker/{brukerId}/activate/{secret}:
- patch:
- description: Activate a Bruker.
- tags:
- - Bruker
- operationId: Activate
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- - name: secret
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
-
- /bruker/{brukerId}/updatePassword:
- patch:
- description: Update password for a Bruker.
- tags:
- - Bruker
- operationId: PatchBrukerPassword
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- requestBody:
- content:
- application/json:
- schema:
- type: object
- properties:
- oldPassword:
- type: string
- newPassword:
- type: string
- format: password
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
-
- /bruker/{brukerId}/updatePassword/{secret}:
- patch:
- description: Update password for a Bruker.
- tags:
- - Bruker
- operationId: PatchBrukerPasswordWithSecret
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- - in: path
- name: secret
- required: true
- schema:
- type: string
- requestBody:
- content:
- application/json:
- schema:
- type: object
- properties:
- newPassword:
- type: string
- format: password
-
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
-
- /bruker/{brukerId}/requestPasswordReset:
- patch:
- description: Request password reset for a Bruker.
- tags:
- - Bruker
- operationId: RequestPasswordReset
- parameters:
- - name: brukerId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Bruker
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Bruker"
-
- /tilbakemelding:
- get:
- description: Get a Tilbakemelding list.
- tags:
- - Tilbakemelding
- operationId: GetTilbakemeldingList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/Tilbakemelding"
- post:
- description: Add a new Tilbakemelding.
- tags:
- - Tilbakemelding
- operationId: PostTilbakemelding
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Tilbakemelding"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Tilbakemelding"
-
- /tilbakemelding/{tilbakemeldingId}:
- get:
- description: Get a single Tilbakemelding.
- tags:
- - Tilbakemelding
- operationId: GetTilbakemelding
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: tilbakemeldingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Tilbakemelding
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Tilbakemelding"
- patch:
- description: Update a single Tilbakemelding.
- tags:
- - Tilbakemelding
- operationId: PatchTilbakemelding
- parameters:
- - name: tilbakemeldingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Tilbakemelding
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Tilbakemelding"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Tilbakemelding"
- delete:
- description: Delete a single Tilbakemelding.
- tags:
- - Tilbakemelding
- operationId: DeleteTilbakemelding
- parameters:
- - name: tilbakemeldingId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: Tilbakemelding
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Tilbakemelding"
-
- /search:
- get:
- description: Search Journalpost, Moetemappe, Moetesak, Saksmappe
- operationId: Search
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - name: sortBy
- in: query
- description: >-
- The field to sort the result set by. The default is `created`.
- required: false
- schema:
- type: string
- enum:
- [
- "created",
- "updated",
- "offentligTittel",
- "offentligTittelSensitiv",
- ]
- - name: query
- in: query
- description: >-
- A query string used to filter the result set.
- required: false
- schema:
- type: string
- - name: resource
- in: query
- description: >-
- Filter the source by resource type.
- required: false
- schema:
- type: string
- enum: ["Journalpost", "Moetemappe", "Moetesak", "Saksmappe"]
- - name: administrativEnhetId
- in: query
- description: >-
- Filter the source by administrativEnhetId.
- required: false
- schema:
- type: array
- items:
- type: string
- - name: administrativEnhetTransitiveId
- in: query
- description: >-
- Filter the source by administrativeEnhet, including parent units.
- required: false
- schema:
- type: array
- items:
- type: string
- - name: administrativEnhetIri
- in: query
- description: >-
- Filter the source by administrativEnhetIri.
- required: false
- schema:
- type: array
- items:
- type: string
- - name: administrativEnhetTransitiveIri
- in: query
- description: >-
- Filter the source by administrativeEnhet, including parent units.
- required: false
- schema:
- type: array
- items:
- type: string
-
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- anyOf:
- - $ref: "#/components/schemas/Journalpost"
- - $ref: "#/components/schemas/Moetemappe"
- - $ref: "#/components/schemas/Moetesak"
- - $ref: "#/components/schemas/Saksmappe"
-
- /apiKey:
- get:
- description: Get a ApiKey list.
- tags:
- - ApiKey
- operationId: GetApiKeyList
- parameters:
- - $ref: "#/components/parameters/Expand"
- - $ref: "#/components/parameters/Limit"
- - $ref: "#/components/parameters/SortOrder"
- - $ref: "#/components/parameters/StartingAfter"
- - $ref: "#/components/parameters/EndingBefore"
- - $ref: "#/components/parameters/IDs"
- - $ref: "#/components/parameters/ExternalIDs"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- type: object
- allOf:
- - $ref: "#/components/schemas/ResultList"
- - type: object
- properties:
- data:
- type: array
- items:
- $ref: "#/components/schemas/ApiKey"
-
- /apiKey/{apiKeyId}:
- get:
- description: Get a single ApiKey.
- tags:
- - ApiKey
- operationId: GetApiKey
- parameters:
- - $ref: "#/components/parameters/Expand"
- - name: apiKeyId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: ApiKey
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ApiKey"
- patch:
- description: Update a single ApiKey.
- tags:
- - ApiKey
- operationId: PatchApiKey
- parameters:
- - name: apiKeyId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: ApiKey
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ApiKey"
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ApiKey"
- delete:
- description: Delete a single ApiKey.
- tags:
- - ApiKey
- operationId: DeleteApiKey
- parameters:
- - name: apiKeyId
- in: path
- required: true
- schema:
- type: string
- x-resourceId: ApiKey
- responses:
- "200":
- description: Successful response.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ApiKey"
-
-security:
- - ApiKey: []
-
-components:
- schemas:
- Base:
- type: object
- x-resourceId: Base
- properties:
- id:
- type: string
- readOnly: true
- description: >-
- The unique identifier for the resource. This is is assigned by the
- system when the resource is created.
- created:
- type: string
- format: date-time
- readOnly: true
- description: >-
- A timestamp of when the resource was created. This field is updated
- automatically.
- updated:
- type: string
- format: date-time
- readOnly: true
- description: >-
- A timestamp of when the resource was last updated. This field is
- updated automatically.
- deleted:
- type: boolean
- readOnly: true
- description: >-
- This field is only present if the resource has been deleted. If
- present, it will always be `true`.
- externalId:
- type: string
- description: >-
- An external ID for the resource. This is similar to "systemId", but
- will be used for legacy IRIs that were used in earlier eInnsyn versions.
- required:
- - id
- - created
- - updated
- - entity
-
- ArkivBase:
- type: object
- x-resourceId: ArkivBase
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- systemId:
- type: string
- description: >-
- The unique identifier for the resource, given by the user's system.
- journalenhet:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- description: >-
- The administrative unit that is responsible for the resource. This
- is by default derived from the credentials used to authenticate the
- request on creation, or it can manually be set to an Enhet owned by
- that derived Enhet.
- x-expandableFields:
- - journalenhet
-
- Arkiv:
- type: object
- x-resourceId: Arkiv
- x-idPrefix: "ark"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - properties:
- entity:
- type: string
- enum: ["Arkiv"]
- readOnly: true
- tittel:
- type: string
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Arkiv"
- required:
- - tittel
- x-expandableFields:
- - parent
-
- Arkivdel:
- type: object
- x-resourceId: Arkivdel
- x-idPrefix: "arkd"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - properties:
- entity:
- type: string
- enum: ["Arkivdel"]
- readOnly: true
- tittel:
- type: string
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Arkiv"
- required:
- - tittel
- x-expandableFields:
- - parent
-
- Klasse:
- type: object
- x-resourceId: Klasse
- x-idPrefix: "kla"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Klasse"]
- readOnly: true
- tittel:
- type: string
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Arkivdel"
- - $ref: "#/components/schemas/Klasse"
- - $ref: "#/components/schemas/Klassifikasjonssystem"
- required:
- - tittel
- x-expandableFields:
- - parent
-
- Klassifikasjonssystem:
- type: object
- x-resourceId: Klassifikasjonssystem
- x-idPrefix: "ksys"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Klassifikasjonssystem"]
- readOnly: true
- tittel:
- type: string
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Arkivdel"
- required:
- - tittel
- x-expandableFields:
- - parent
-
- Registrering:
- type: object
- x-resourceId: Registrering
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- offentligTittel:
- type: string
- offentligTittelSensitiv:
- type: string
- beskrivelse:
- type: string
- publisertDato:
- type: string
- format: date-time
- description: >-
- The date the resource was published. This field is updated
- automatically, but can be set manually by admins.
- oppdatertDato:
- type: string
- format: date-time
- description: >-
- The date the resource was last updated. This field is updated
- automatically, but can be set manually by admins.
- korrespondansepart:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Korrespondansepart"
- dokumentbeskrivelse:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- required:
- - offentligTittel
- - offentligTittelSensitiv
- x-expandableFields:
- - korrespondansepart
- - dokumentbeskrivelse
-
- Journalpost:
- type: object
- x-resourceId: Journalpost
- x-idPrefix: "jp"
- allOf:
- - $ref: "#/components/schemas/Registrering"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Journalpost"]
- readOnly: true
- journalaar:
- type: integer
- journalsekvensnummer:
- type: integer
- journalpostnummer:
- type: integer
- journalposttype:
- type: string
- enum:
- [
- "inngaaende_dokument",
- "utgaaende_dokument",
- "organinternt_dokument_uten_oppfoelging",
- "organinternt_dokument_for_oppfoelging",
- "saksframlegg",
- "sakskart",
- "moeteprotokoll",
- "moetebok",
- "ukjent",
- ]
- legacyJournalposttype:
- type: string
- journaldato:
- type: string
- format: date
- dokumentetsDato:
- type: string
- format: date
- administrativEnhet:
- type: string
- readOnly: true
- administrativEnhetObjekt:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- saksmappe:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Saksmappe"
- readOnly: true
- skjerming:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Skjerming"
- legacyFoelgsakenReferanse:
- type: array
- items:
- type: string
- required:
- - journalaar
- - journalsekvensnummer
- - journalpostnummer
- - journalposttype
- - journaldato
- x-expandableFields:
- - saksmappe
- - skjerming
-
- Mappe:
- type: object
- x-resourceId: Mappe
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- offentligTittel:
- type: string
- offentligTittelSensitiv:
- type: string
- beskrivelse:
- type: string
- noekkelord:
- type: string
- publisertDato:
- type: string
- format: date-time
- description: >-
- The date the resource was published. This field is updated
- automatically, but can be set manually by admins.
- oppdatertDato:
- type: string
- format: date-time
- description: >-
- The date the resource was last updated. This field is updated
- automatically, but can be set manually by admins.
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Saksmappe"
- - $ref: "#/components/schemas/Moetemappe"
- - $ref: "#/components/schemas/Arkiv"
- - $ref: "#/components/schemas/Arkivdel"
- - $ref: "#/components/schemas/Klasse"
- required:
- - offentligTittel
- - offentligTittelSensitiv
- x-expandableFields:
- - parent
-
- Saksmappe:
- type: object
- x-resourceId: Saksmappe
- x-idPrefix: "sm"
- allOf:
- - $ref: "#/components/schemas/Mappe"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Saksmappe"]
- readOnly: true
- saksaar:
- type: integer
- sakssekvensnummer:
- type: integer
- saksnummer:
- type: string
- readOnly: true
- saksdato:
- type: string
- format: date
- journalpost:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Journalpost"
- administrativEnhet:
- type: string
- administrativEnhetObjekt:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- required:
- - saksaar
- - sakssekvensnummer
- x-expandableFields:
- - journalpost
- - administrativEnhetObjekt
-
- Moetemappe:
- type: object
- x-resourceId: Moetemappe
- x-idPrefix: "mm"
- allOf:
- - $ref: "#/components/schemas/Mappe"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Moetemappe"]
- readOnly: true
- moetenummer:
- type: string
- utvalg:
- type: string
- utvalgObjekt:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- moetedato:
- type: string
- format: date-time
- moetested:
- type: string
- videoLink:
- type: string
- maxLength: 5000
- referanseForrigeMoete:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetemappe"
- referanseNesteMoete:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetemappe"
- moetedokument:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetedokument"
- moetesak:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetesak"
- required:
- - moetenummer
- - utvalg
- - moetedato
- x-expandableFields:
- - utvalgObjekt
- - referanseForrigeMoete
- - referanseNesteMoete
- - moetedokument
- - moetesak
-
- Moetesak:
- type: object
- x-resourceId: Moetesak
- x-idPrefix: "ms"
- allOf:
- - $ref: "#/components/schemas/Registrering"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Moetesak"]
- readOnly: true
- moetesakstype:
- type: string
- enum:
- [
- "moete",
- "politisk",
- "delegert",
- "interpellasjon",
- "godkjenning",
- "orientering",
- "referat",
- "annet",
- ]
- legacyMoetesakstype:
- type: string
- moetesaksaar:
- type: integer
- moetesakssekvensnummer:
- type: integer
- utvalg:
- type: string
- utvalgObjekt:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- videoLink:
- type: string
- utredning:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Utredning"
- innstilling:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetesaksbeskrivelse"
- vedtak:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Vedtak"
- moetemappe:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetemappe"
- legacyReferanseTilMoetesak:
- type: string
- required:
- - moetesakstype
- - moetesakssekvensnummer
- x-expandableFields:
- - administrativEnhetObjekt
- - utredning
- - innstilling
- - vedtak
- - moetemappe
-
- Utredning:
- type: object
- x-resourceId: Utredning
- x-idPrefix: "utr"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Utredning"]
- readOnly: true
- saksbeskrivelse:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetesaksbeskrivelse"
- innstilling:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetesaksbeskrivelse"
- utredningsdokument:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- required:
- - saksbeskrivelse
- - innstilling
- x-expandableFields:
- - saksbeskrivelse
- - innstilling
- - utredningsdokument
-
- Vedtak:
- type: object
- x-resourceId: Vedtak
- x-idPrefix: "ved"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Vedtak"]
- readOnly: true
- vedtakstekst:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetesaksbeskrivelse"
- votering:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Votering"
- behandlingsprotokoll:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Behandlingsprotokoll"
- vedtaksdokument:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- dato:
- type: string
- format: date
- required:
- - vedtakstekst
- - dato
- x-expandableFields:
- - vedtakstekst
- - votering
- - behandlingsprotokoll
- - vedtaksdokument
-
- Votering:
- type: object
- x-resourceId: Votering
- x-idPrefix: "vot"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Votering"]
- readOnly: true
- moetedeltaker:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetedeltaker"
- stemme:
- type: string
- enum:
- - Ja
- - Nei
- - Blankt
- representerer:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Identifikator"
- required:
- - moetedeltaker
- - stemme
- x-expandableFields:
- - moetedeltaker
- - representerer
-
- Moetesaksbeskrivelse:
- type: object
- x-resourceId: Moetesaksbeskrivelse
- x-idPrefix: "msb"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Moetesaksbeskrivelse"]
- readOnly: true
- tekstInnhold:
- type: string
- tekstFormat:
- type: string
- required:
- - tekstInnhold
- - tekstFormat
-
- Behandlingsprotokoll:
- type: object
- x-resourceId: Behandlingsprotokoll
- x-idPrefix: "bp"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Behandlingsprotokoll"]
- readOnly: true
- tekstInnhold:
- type: string
- tekstFormat:
- type: string
- required:
- - tekstInnhold
- - tekstFormat
- - test
-
- Moetedeltaker:
- type: object
- x-resourceId: Moetedeltaker
- x-idPrefix: "md"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Moetedeltaker"]
- readOnly: true
- moetedeltakerNavn:
- type: string
- moetedeltakerFunksjon:
- type: string
- required:
- - moetedeltakerNavn
-
- Korrespondansepart:
- type: object
- x-resourceId: Korrespondansepart
- x-idPrefix: "kp"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - type: object
- properties:
- entity:
- type: string
- enum: ["Korrespondansepart"]
- readOnly: true
- korrespondansepartNavn:
- type: string
- maxLength: 20000
- korrespondansepartNavnSensitiv:
- type: string
- maxLength: 20000
- korrespondanseparttype:
- type: string
- # enum:
- # [
- # "avsender",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/avsender",
- # "mottaker",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/mottaker",
- # "kopimottaker",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/kopimottaker",
- # "gruppemottaker",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/gruppemottaker",
- # "intern_avsender",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/intern_avsender",
- # "intern_mottaker",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/intern_mottaker",
- # "intern_kopimottaker",
- # "http://www.arkivverket.no/standarder/noark5/arkivstruktur/intern_kopimottaker",
- # ]
- saksbehandler:
- type: string
- epostadresse:
- type: string
- postnummer:
- type: string
- erBehandlingsansvarlig:
- type: boolean
- administrativEnhet:
- type: string
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Journalpost"
- - $ref: "#/components/schemas/Moetedokument"
- - $ref: "#/components/schemas/Moetesak"
- required:
- - korrespondansepartNavn
- - korrespondansepartNavnSensitiv
- - korrespondanseparttype
- x-expandableFields:
- - journalpost
-
- Skjerming:
- type: object
- x-resourceId: Skjerming
- x-idPrefix: "skj"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - properties:
- entity:
- type: string
- enum: ["Skjerming"]
- readOnly: true
- skjermingshjemmel:
- type: string
- tilgangsrestriksjon:
- type: string
- required:
- - tilgangsrestriksjon
-
- Identifikator:
- type: object
- x-resourceId: Identifikator
- x-idPrefix: "ide"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - properties:
- entity:
- type: string
- enum: ["Identifikator"]
- readOnly: true
- navn:
- type: string
- identifikator:
- type: string
- initialer:
- type: string
- epostadresse:
- type: string
-
- Bruker:
- type: object
- x-resourceId: Bruker
- x-idPrefix: "bru"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["Bruker"]
- readOnly: true
- email:
- type: string
- format: email
- password:
- type: string
- format: password
- active:
- type: boolean
- default: false
- readOnly: true
- language:
- type: string
- default: nb
- enum:
- - nb
- - nn
- - en
- - se
- required:
- - email
- - password
-
- InnsynskravBestilling:
- type: object
- x-resourceId: InnsynskravBestilling
- x-idPrefix: "ik"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["InnsynskravBestilling"]
- readOnly: true
- email:
- type: string
- format: email
- innsynskrav:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Innsynskrav"
- verified:
- type: boolean
- default: false
- readOnly: true
- bruker:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Bruker"
- language:
- type: string
- enum:
- - nb
- - nn
- - en
- - se
- required:
- - email
- - innsynskrav
- x-expandableFields:
- - bruker
- - innsynskrav
-
- Innsynskrav:
- type: object
- x-resourceId: Innsynskrav
- x-idPrefix: "ikd"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["Innsynskrav"]
- readOnly: true
- innsynskravBestilling:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/InnsynskravBestilling"
- journalpost:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Journalpost"
- enhet:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- readOnly: true
- email:
- type: string
- format: email
- readOnly: true
- sent:
- type: string
- format: date-time
- readOnly: true
- retryCount:
- type: integer
- default: 0
- readOnly: true
- retryTimestamp:
- type: string
- format: date-time
- readOnly: true
- required:
- - journalpost
- x-expandableFields:
- - innsynskrav
- - journalpost
-
- Enhet:
- type: object
- x-resourceId: Enhet
- x-idPrefix: "enh"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["Enhet"]
- readOnly: true
- navn:
- type: string
- navnNynorsk:
- type: string
- navnEngelsk:
- type: string
- navnSami:
- type: string
- orgnummer:
- type: string
- enhetskode:
- type: string
- kontaktpunktAdresse:
- type: string
- kontaktpunktEpost:
- type: string
- format: email
- kontaktpunktTelefon:
- type: string
- innsynskravEpost:
- type: string
- format: email
- enhetstype:
- type: string
- enum:
- - ADMINISTRATIVENHET
- - AVDELING
- - BYDEL
- - DUMMYENHET
- - FYLKE
- - KOMMUNE
- - ORGAN
- - SEKSJON
- - UTVALG
- - VIRKSOMHET
- avsluttetDato:
- type: string
- format: date
- skjult:
- type: boolean
- default: false
- eFormidling:
- type: boolean
- default: false
- teknisk:
- type: boolean
- default: false
- skalKonvertereId:
- type: boolean
- default: false
- skalMottaKvittering:
- type: boolean
- default: false
- visToppnode:
- type: boolean
- default: false
- orderXmlVersjon:
- type: integer
- underenhet:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- handteresAv:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- parent:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- required:
- - navn
- - orgnummer
- - kontaktpunktEpost
- - innsynskravEpost
- - enhetstype
- x-expandableFields:
- - parent
-
- Dokumentbeskrivelse:
- type: object
- x-resourceId: Dokumentbeskrivelse
- x-idPrefix: "db"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - properties:
- entity:
- type: string
- enum: ["Dokumentbeskrivelse"]
- readOnly: true
- tittel:
- type: string
- tittelSensitiv:
- type: string
- dokumentnummer:
- type: integer
- dokumenttype:
- type: string
- tilknyttetRegistreringSom:
- type: string
- dokumentobjekt:
- type: array
- items:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentobjekt"
- required:
- - tittel
- - tittelSensitiv
- - dokumentnummer
- - tilknyttetRegistreringSom
- x-expandableFields:
- - dokumentobjekt
-
- Dokumentobjekt:
- type: object
- x-resourceId: Dokumentobjekt
- x-idPrefix: "do"
- allOf:
- - $ref: "#/components/schemas/ArkivBase"
- - properties:
- entity:
- type: string
- enum: ["Dokumentobjekt"]
- readOnly: true
- referanseDokumentfil:
- type: string
- format: url
- format:
- type: string
- sjekksum:
- type: string
- sjekksumAlgoritme:
- type: string
- dokumentbeskrivelse:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Dokumentbeskrivelse"
- readOnly: true
- required:
- - referanseDokumentfil
-
- Moetedokument:
- type: object
- x-resourceId: Moetedokument
- x-idPrefix: "mdok"
- allOf:
- - $ref: "#/components/schemas/Registrering"
- - properties:
- entity:
- type: string
- enum: ["Moetedokument"]
- readOnly: true
- moetedokumenttype:
- type: string
- saksbehandler:
- type: string
- saksbehandlerSensitiv:
- type: string
- moetemappe:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetemappe"
- readOnly: true
- required:
- - moetedokumenttype
-
- LagretSoek:
- type: object
- x-resourceId: LagretSoek
- x-idPrefix: "lsoek"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["LagretSoek"]
- readOnly: true
- bruker:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Bruker"
- readOnly: true # Insert-endpoints are under /bruker/{...}
- label:
- type: string
- subscribe:
- type: boolean
- default: false
- legacyQuery:
- type: string
- required:
- - label
- - legacyQuery
- x-expandableFields:
- - bruker
-
- LagretSak:
- type: object
- x-resourceId: LagretSak
- x-idPrefix: "lsak"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["LagretSak"]
- readOnly: true
- bruker:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Bruker"
- readOnly: true # Insert-endpoints are under /bruker/{...}
- saksmappe:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Saksmappe"
- moetemappe:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Moetemappe"
- subscribe:
- type: boolean
- default: false
- x-expandableFields:
- - bruker
- - saksmappe
- - moetemappe
-
- Tilbakemelding:
- type: object
- x-resourceId: Tilbakemelding
- x-idPrefix: "tbm"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["Tilbakemelding"]
- readOnly: true
- messageFromUser:
- type: string
- path:
- type: string
- referer:
- type: string
- userAgent:
- type: string
- screenHeight:
- type: integer
- screenWidth:
- type: integer
- docHeight:
- type: integer
- docWidth:
- type: integer
- winHeight:
- type: integer
- winWidth:
- type: integer
- scrollX:
- type: integer
- scrollY:
- type: integer
- userSatisfied:
- type: boolean
- handledByAdmin:
- type: boolean
- adminComment:
- type: string
-
- ApiKey:
- type: object
- x-resourceId: ApiKey
- x-idPrefix: "key"
- allOf:
- - $ref: "#/components/schemas/Base"
- - properties:
- entity:
- type: string
- enum: ["ApiKey"]
- readOnly: true
- name:
- type: string
- description: >-
- A name for the API key. This can be used to identify the key, in
- case you have multiple keys for multiple systems.
- secretKey:
- type: string
- description: >-
- The API key used to authenticate requests. This will only be shown
- once, and we will only store a hashed version.
- readOnly: true
- enhet:
- anyOf:
- - type: string
- - $ref: "#/components/schemas/Enhet"
- description: >-
- The Enhet that requests using this key will be associated with.
- x-expandableFields:
- - enhet
-
- ResultList:
- type: object
- x-resourceId: ResultList
- properties:
- next:
- type: string
- readOnly: true
- previous:
- type: string
- readOnly: true
-
- QueryParameters:
- type: object
- properties:
- expand:
- $ref: "#/components/parameters/Expand/schema"
-
- ListQueryParameters:
- type: object
- properties:
- expand:
- $ref: "#/components/parameters/Expand/schema"
- limit:
- $ref: "#/components/parameters/Limit/schema"
- sortOrder:
- $ref: "#/components/parameters/SortOrder/schema"
- startingAfter:
- $ref: "#/components/parameters/StartingAfter/schema"
- endingBefore:
- $ref: "#/components/parameters/EndingBefore/schema"
- ids:
- $ref: "#/components/parameters/IDs/schema"
- externalIds:
- $ref: "#/components/parameters/ExternalIDs/schema"
-
- parameters:
- Expand:
- description: >-
- Specifies which fields in the response should be expanded.
- explode: true
- in: query
- name: expand
- required: false
- schema:
- items:
- type: string
- type: array
- default: []
- style: deepObject
-
- Limit:
- description: >-
- A limit on the number of objects to be returned. Limit can range
- between 1 and 100, and the default is 10.
- in: query
- name: limit
- required: false
- schema:
- type: integer
- default: 25
-
- SortOrder:
- description: >-
- The sort order of the result set. The default is ascending.
- in: query
- name: sortOrder
- required: false
- schema:
- type: string
- enum: ["asc", "desc"]
-
- StartingAfter:
- description: >-
- A cursor for use in pagination. StartingAfter is a resource ID that
- defines your place in the list.
- in: query
- name: startingAfter
- schema:
- type: string
-
- EndingBefore:
- description: >-
- A cursor for use in pagination. EndingBefore is a resource ID that
- defines your place in the list.
- in: query
- name: endingBefore
- schema:
- type: string
-
- IDs:
- description: >-
- A list of resource IDs to be returned. If this parameter is used, the
- other parameters will be ignored.
- in: query
- name: ids
- schema:
- type: array
- items:
- type: string
-
- ExternalIDs:
- description: >-
- A list of external IDs to be returned. If this parameter is used, the
- other parameters will be ignored.
- in: query
- name: externalIds
- schema:
- type: array
- items:
- type: string
-
- Journalenhet:
- description: >-
- The Journalenhet to filter the result set by.
- in: query
- name: journalenhet
- schema:
- type: string
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..9a81ac3
--- /dev/null
+++ b/package.json
@@ -0,0 +1,15 @@
+{
+ "name": "einnsyn-api-spec",
+ "version": "1.0.0",
+ "type": "module",
+ "dependencies": {
+ "@typespec/compiler": "^0.63.0",
+ "@typespec/http": "^0.63.0",
+ "@typespec/openapi3": "^0.63.0",
+ "@typespec/rest": "^0.63.0"
+ },
+ "scripts": {
+ "build": "tsp compile ./typespec/einnsyn.tsp --emit=@typespec/openapi3 --output-dir ./openapi/"
+ },
+ "private": true
+}
diff --git a/tspconfig.yaml b/tspconfig.yaml
new file mode 100644
index 0000000..5b46d59
--- /dev/null
+++ b/tspconfig.yaml
@@ -0,0 +1,6 @@
+emit:
+ - "@typespec/openapi3"
+options:
+ "@typespec/openapi3":
+ emitter-output-dir: "{cwd}/openapi"
+ output-file: "einnsyn.openapi.yml"
diff --git a/typespec/einnsyn.arkiv.models.tsp b/typespec/einnsyn.arkiv.models.tsp
new file mode 100644
index 0000000..f1a0a4e
--- /dev/null
+++ b/typespec/einnsyn.arkiv.models.tsp
@@ -0,0 +1,611 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+
+using TypeSpec.OpenAPI;
+
+namespace EInnsyn;
+
+/**
+ * An eInnsynId is a Base32 encoded UUID, with a prefix to indicate the type of resource. All objects in eInnsyn has an eInnsynId.
+ */
+@format("id")
+scalar eInnsynId extends string;
+
+/**
+ * An expandable field is a field that can either be a reference to another resource by it's eInnsynId, or the full resource itself.
+ */
+alias ExpandableField = eInnsynId | T;
+
+namespace Base {
+ model Base {
+ /**
+ * The unique identifier for the resource. This is is assigned by the system when the resource is created.
+ */
+ @visibility("read") id: eInnsynId;
+
+ /**
+ * A timestamp of when the resource was created. This field is updated automatically.
+ */
+ @visibility("read") created: utcDateTime;
+
+ /**
+ * A timestamp of when the resource was last updated. This field is updated automatically.
+ */
+ @visibility("read") updated: utcDateTime;
+
+ /**
+ * This field is only present if the resource has been deleted. If present, it will always be `true`.
+ */
+ @visibility("read") deleted: boolean;
+
+ /**
+ * An external ID for the resource. This is similar to "systemId", but will be used for legacy IRIs that were used in earlier eInnsyn versions.
+ */
+ externalId?: string;
+ }
+}
+
+namespace ApiKey {
+ /**
+ * An API key used to authenticate requests to the eInnsyn API.
+ */
+ @extension("x-idPrefix", "key")
+ model ApiKey extends Base.Base {
+ @visibility("read") entity: "ApiKey";
+
+ /**
+ * A name for the API key. This can be used to identify the key, in case you have multiple keys for multiple systems.
+ */
+ name?: string;
+
+ /**
+ * The API key used to authenticate requests. This will only be shown once, and we will only store a hashed version.
+ */
+ @visibility("read") secretKey: string;
+
+ /**
+ * The Enhet that requests using this key will be associated with.
+ */
+ enhet?: ExpandableField;
+ }
+}
+
+namespace ArkivBase {
+ /**
+ * Properties shared by all Noark objects
+ */
+ model ArkivBase extends Base.Base {
+ /**
+ * The unique identifier for the resource, given by the user's system.
+ */
+ @format("id") systemId?: string;
+
+ /**
+ * The administrative unit that is responsible for the resource. This
+ * is by default derived from the credentials used to authenticate the
+ * request on creation, or it can manually be set to an Enhet owned by
+ * that derived Enhet.
+ */
+ journalenhet?: ExpandableField;
+ }
+}
+
+namespace Arkiv {
+ /**
+ * Represents a top-level archive in the Noark structure.
+ */
+ @extension("x-idPrefix", "ark")
+ model Arkiv extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Arkiv";
+
+ /**
+ * The title of the archive.
+ */
+ tittel: string;
+
+ /**
+ * The parent archive to which this archive belongs.
+ */
+ arkiv?: ExpandableField;
+ }
+}
+
+namespace Arkivdel {
+ /**
+ * Arkivdel
+ */
+ @extension("x-idPrefix", "arkd")
+ model Arkivdel extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Arkivdel";
+
+ /**
+ * The title of the Arkivdel.
+ */
+ tittel: string;
+
+ /**
+ * The parent Arkiv to which this Arkivdel belongs.
+ */
+ @visibility("read") arkiv: ExpandableField;
+ }
+}
+
+namespace Behandlingsprotokoll {
+ /**
+ * Behandlingsprotokoll
+ */
+ @extension("x-idPrefix", "bp")
+ model Behandlingsprotokoll extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Behandlingsprotokoll";
+ tekstInnhold: string;
+ tekstFormat: string;
+ }
+}
+
+namespace Dokumentbeskrivelse {
+ /**
+ * Dokumentbeskrivelse
+ */
+ @extension("x-idPrefix", "db")
+ model Dokumentbeskrivelse extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Dokumentbeskrivelse";
+
+ /**
+ * The title of the document, with sensitive information redacted.
+ */
+ tittel: string;
+
+ /**
+ * The title of the document, with sensitive information included.
+ */
+ tittelSensitiv: string;
+
+ dokumentnummer: integer;
+ dokumenttype?: string;
+ tilknyttetRegistreringSom: string;
+ dokumentobjekt?: ExpandableField[];
+ }
+}
+
+namespace Dokumentobjekt {
+ @extension("x-idPrefix", "do")
+ model Dokumentobjekt extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Dokumentobjekt";
+ referanseDokumentfil: url;
+ format?: string;
+ sjekksum?: string;
+ sjekksumAlgoritme?: string;
+ dokumentbeskrivelse?: ExpandableField;
+ }
+}
+
+namespace Enhet {
+ /**
+ * eInnsyn Enhet
+ */
+ @extension("x-idPrefix", "enh")
+ model Enhet extends Base.Base {
+ @visibility("read") entity: "Enhet";
+ navn: string;
+ navnNynorsk?: string;
+ navnEngelsk?: string;
+ navnSami?: string;
+ @pattern("^[0-9]{9}$") orgnummer: string;
+ enhetskode?: string;
+ kontaktpunktAdresse?: string;
+ @format("email") kontaktpunktEpost: string;
+ kontaktpunktTelefon?: string;
+ @format("email") innsynskravEpost: string;
+ @oneOf enhetstype:
+ | "ADMINISTRATIVENHET"
+ | "AVDELING"
+ | "BYDEL"
+ | "DUMMYENHET"
+ | "FYLKE"
+ | "KOMMUNE"
+ | "ORGAN"
+ | "SEKSJON"
+ | "UTVALG"
+ | "VIRKSOMHET";
+ avsluttetDato?: plainDate;
+ skjult?: boolean;
+ eFormidling?: boolean;
+ teknisk?: boolean;
+ skalKonvertereId?: boolean;
+ skalMottaKvittering?: boolean;
+ visToppnode?: boolean;
+ orderXmlVersjon?: integer;
+ underenhet?: ExpandableField[];
+ handteresAv?: ExpandableField;
+ parent?: ExpandableField;
+ }
+}
+
+namespace Identifikator {
+ /**
+ * Identifikator
+ */
+ @extension("x-idPrefix", "ide")
+ model Identifikator extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Identifikator";
+ navn: string;
+ identifikator: string;
+ initialer: string;
+ @format("email") epostadresse: string;
+ }
+}
+
+namespace Journalpost {
+ /**
+ * Journalpost
+ */
+ @extension("x-idPrefix", "jp")
+ model Journalpost extends Registrering.Registrering {
+ @visibility("read") entity: "Journalpost";
+ @minValue(1900) journalaar: integer;
+ @minValue(0) journalsekvensnummer: integer;
+ @minValue(0) journalpostnummer: integer;
+ journalposttype:
+ | "inngaaende_dokument"
+ | "utgaaende_dokument"
+ | "organinternt_dokument_uten_oppfoelging"
+ | "organinternt_dokument_for_oppfoelging"
+ | "saksframlegg"
+ | "sakskart"
+ | "moeteprotokoll"
+ | "moetebok"
+ | "ukjent";
+ journaldato: plainDate;
+ dokumentetsDato?: plainDate;
+ skjerming?: ExpandableField;
+ legacyJournalposttype?: string;
+ legacyFoelgsakenReferanse?: string[];
+ @visibility("read") administrativEnhet: string;
+ @visibility("read") administrativEnhetObjekt: ExpandableField;
+ @visibility("read") saksmappe: ExpandableField;
+ }
+}
+
+namespace Klasse {
+ /**
+ * Klasse
+ */
+ @extension("x-idPrefix", "kla")
+ model Klasse extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Klasse";
+
+ /**
+ * The title of the class.
+ */
+ tittel: string;
+
+ /**
+ * An optional parent klassifikasjonssystem
+ */
+ klassifikasjonssystem?: ExpandableField;
+
+ /**
+ * An optional parent klasse
+ */
+ klasse?: ExpandableField;
+
+ /**
+ * An optional parent arkivdel (non-standard field, due to legacy data)
+ */
+ arkivdel?: ExpandableField;
+ }
+}
+
+namespace Klassifikasjonssystem {
+ /**
+ * Klassifikasjonssystem
+ */
+ @extension("x-idPrefix", "ksys")
+ model Klassifikasjonssystem extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Klassifikasjonssystem";
+ tittel: string;
+
+ /**
+ * The parent arkivdel.
+ */
+ @visibility("read") arkivdel: ExpandableField;
+ }
+}
+
+namespace Korrespondansepart {
+ /**
+ * Korrespondansepart
+ */
+ @extension("x-idPrefix", "kp")
+ model Korrespondansepart extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Korrespondansepart";
+
+ /**
+ * The name of the Korrespondansepart, with sensitive parts redacted.
+ */
+ korrespondansepartNavn: string;
+
+ /**
+ * The name of the Korrespondansepart, with all parts included.
+ */
+ korrespondansepartNavnSensitiv: string;
+
+ korrespondanseparttype: string;
+ saksbehandler?: string;
+ epostadresse?: string;
+ postnummer?: string;
+ erBehandlingsansvarlig?: boolean;
+
+ /**
+ * The code for the administrative Enhet associated with this Korrespondansepart.
+ */
+ administrativEnhet?: string;
+
+ /**
+ * The Journalpost this Korrespondansepart is associated with, if any.
+ */
+ @visibility("read") journalpost?: ExpandableField;
+
+ /**
+ * The Moetedokument this Korrespondansepart is associated with, if any.
+ */
+ @visibility("read")
+ moetedokument?: ExpandableField;
+
+ /**
+ * The Moetesak this Korrespondansepart is associated with, if any.
+ */
+ @visibility("read") moetesak?: ExpandableField;
+ }
+}
+
+namespace Mappe {
+ /**
+ * Mappe
+ */
+ model Mappe extends ArkivBase.ArkivBase {
+ /**
+ * The title of the Mappe, with sensitive information redacted.
+ */
+ offentligTittel: string;
+
+ /**
+ * The title of the Mappe, with sensitive information included.
+ */
+ offentligTittelSensitiv: string;
+
+ beskrivelse?: string;
+ noekkelord?: string;
+
+ /**
+ * The date the resource was published. This field is updated automatically, but can be set manually by admins.
+ */
+ publisertDato?: utcDateTime;
+
+ /**
+ * The date the resource was last updated. This field is updated automatically, but can be set manually by admins.
+ */
+ oppdatertDato?: utcDateTime;
+
+ /**
+ * An optional Klasse for this Mappe.
+ */
+ klasse?: ExpandableField;
+
+ /**
+ * If this Mappe is the child of a Saksmappe, this field will contain the parent Saksmappe.
+ */
+ @visibility("read") saksmappe?: ExpandableField;
+
+ /**
+ * If this Mappe is the child of a Moetemappe, this field will contain the parent Moetemappe.
+ */
+ @visibility("read") moetemappe?: ExpandableField;
+
+ /**
+ * If this Mappe is not a child of a Saksmappe or Moetemappe, this field will contain the parent Arkivdel.
+ */
+ @visibility("read") arkivdel?: ExpandableField;
+ }
+}
+
+namespace Moetedeltaker {
+ /**
+ * Moetedeltaker
+ */
+ @extension("x-idPrefix", "md")
+ model Moetedeltaker extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Moetedeltaker";
+ moetedeltakerNavn: string;
+ moetedeltakerFunksjon?: string;
+ }
+}
+
+namespace Moetedokument {
+ /**
+ * Moetedokument
+ */
+ @extension("x-idPrefix", "mdok")
+ model Moetedokument extends Registrering.Registrering {
+ @visibility("read") entity: "Moetedokument";
+ moetedokumenttype: string;
+ saksbehandler?: string;
+ saksbehandlerSensitiv?: string;
+ moetemappe?: ExpandableField;
+ }
+}
+
+namespace Moetemappe {
+ /**
+ * Moetemappe
+ */
+ @extension("x-idPrefix", "mm")
+ model Moetemappe extends Mappe.Mappe {
+ @visibility("read") entity: "Moetemappe";
+ moetenummer: string;
+ utvalg: string;
+ @visibility("read") utvalgObjekt: ExpandableField;
+ moetedato: utcDateTime;
+ moetested?: string;
+ @maxLength(5000) videoLink?: string;
+ referanseForrigeMoete?: ExpandableField;
+ referanseNesteMoete?: ExpandableField;
+ moetedokument?: ExpandableField[];
+ moetesak?: ExpandableField[];
+ }
+}
+
+namespace Moetesak {
+ /**
+ * Moetesak
+ */
+ @extension("x-idPrefix", "ms")
+ model Moetesak extends Registrering.Registrering {
+ @visibility("read") entity: "Moetesak";
+ moetesakstype:
+ | "moete"
+ | "politisk"
+ | "delegert"
+ | "interpellasjon"
+ | "godkjenning"
+ | "orientering"
+ | "referat"
+ | "annet";
+ @minValue(1900) moetesaksaar: integer;
+ @minValue(0) moetesakssekvensnummer: integer;
+ utvalg?: string;
+ @visibility("read") utvalgObjekt: ExpandableField;
+ videoLink?: string;
+ utredning?: ExpandableField;
+ innstilling?: ExpandableField;
+ vedtak?: ExpandableField;
+ moetemappe?: ExpandableField;
+ legacyMoetesakstype?: string;
+ legacyReferanseTilMoetesak?: string;
+ }
+}
+
+namespace Moetesaksbeskrivelse {
+ /**
+ * Moetesaksbeskrivelse
+ */
+ @extension("x-idPrefix", "msb")
+ model Moetesaksbeskrivelse extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Moetesaksbeskrivelse";
+ tekstInnhold: string;
+ tekstFormat: string;
+ }
+}
+
+namespace Registrering {
+ /**
+ * Registrering
+ */
+ model Registrering extends ArkivBase.ArkivBase {
+ /**
+ * The title of the resource, with sensitive information redacted.
+ */
+ offentligTittel: string;
+
+ /**
+ * The title of the resource, with sensitive information included.
+ */
+ offentligTittelSensitiv: string;
+
+ beskrivelse?: string;
+
+ /**
+ * The date the resource was published. This field is updated automatically, but can be set manually by admins.
+ */
+ publisertDato?: utcDateTime;
+
+ /**
+ * The date the resource was last updated. This field is updated automatically, but can be set manually by admins.
+ */
+ oppdatertDato?: utcDateTime;
+
+ korrespondansepart?: ExpandableField[];
+ dokumentbeskrivelse?: ExpandableField[];
+ }
+}
+
+namespace Saksmappe {
+ /**
+ * Saksmappe
+ */
+ @extension("x-idPrefix", "sm")
+ model Saksmappe extends Mappe.Mappe {
+ @visibility("read") entity: "Saksmappe";
+ @minValue(1900) saksaar: integer;
+ @minValue(0) sakssekvensnummer: integer;
+ saksnummer?: string;
+ saksdato?: plainDate;
+ journalpost?: ExpandableField[];
+
+ /**
+ * A code for the administrative Enhet associated with this Saksmappe.
+ */
+ administrativEnhet?: string;
+
+ /**
+ * The adminsistrative Enhet associated with this Saksmappe. This is derived from the code given in `administrativEnhet`.
+ * If no `administrativEnhet` is given, or the code is not found, the `journalenhet` of the authenticated user will be used.
+ */
+ @visibility("read")
+ administrativEnhetObjekt: ExpandableField;
+ }
+}
+
+namespace Skjerming {
+ /**
+ * Skjerming
+ */
+ @extension("x-idPrefix", "skj")
+ model Skjerming extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Skjerming";
+ tilgangsrestriksjon: string;
+ skjermingshjemmel?: string;
+ }
+}
+
+namespace Utredning {
+ /**
+ * Utredning
+ */
+ @extension("x-idPrefix", "utr")
+ model Utredning extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Utredning";
+ saksbeskrivelse: ExpandableField;
+ innstilling: ExpandableField;
+ utredningsdokument?: ExpandableField[];
+ }
+}
+
+namespace Vedtak {
+ /**
+ * Vedtak
+ */
+ @extension("x-idPrefix", "ved")
+ model Vedtak extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Vedtak";
+ vedtakstekst: ExpandableField;
+ votering?: ExpandableField[];
+ behandlingsprotokoll?: ExpandableField;
+ vedtaksdokument?: ExpandableField[];
+ dato: plainDate;
+ }
+}
+
+namespace Votering {
+ /**
+ * Votering
+ */
+ @extension("x-idPrefix", "vot")
+ model Votering extends ArkivBase.ArkivBase {
+ @visibility("read") entity: "Votering";
+ moetedeltaker: ExpandableField;
+ stemme: "Ja" | "Nei" | "Blankt";
+ representerer?: ExpandableField;
+ }
+}
diff --git a/typespec/einnsyn.arkiv.operations.tsp b/typespec/einnsyn.arkiv.operations.tsp
new file mode 100644
index 0000000..1a51bb8
--- /dev/null
+++ b/typespec/einnsyn.arkiv.operations.tsp
@@ -0,0 +1,597 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+import "./einnsyn.arkiv.models.tsp";
+import "./einnsyn.web.models.tsp";
+import "./einnsyn.responses.tsp";
+import "./einnsyn.queryparameters.tsp";
+
+using TypeSpec.Http;
+
+namespace EInnsyn;
+
+/**
+ * A standard routable object should have endpoints for List, Read, Update and Delete operations.
+ * By default there is no endpoint for adding objects, this should be done through a parent object.
+ */
+interface Routable {
+ /**
+ * List all objects.
+ */
+ @route("")
+ @get
+ list(...QueryParameters.ListParameters): Responses.ListResponse;
+
+ /**
+ * Get an object.
+ * @param id The ID of the object.
+ * @returns The object.
+ */
+ @route("/{id}")
+ @get
+ get(
+ ...QueryParameters.GetParameters,
+ @path id: eInnsynId,
+ ): Responses.OkResponse;
+
+ /**
+ * Update an object.
+ * @param id The ID of the object.
+ * @returns The updated object.
+ */
+ @route("/{id}")
+ @patch
+ update(@path id: eInnsynId, @body body: T): Responses.OkResponse;
+
+ /**
+ * Delete an object.
+ * @param id The ID of the object.
+ * @returns The deleted object.
+ */
+ @route("/{id}")
+ @delete
+ delete(@path id: eInnsynId): Responses.OkResponse;
+}
+
+/**
+ * A globally routable object should have the standard "Routable" endpoints, in addition to an "Add" endpoint without a known parent.
+ */
+interface GloballyRoutable extends Routable {
+ @route("")
+ @post
+ add(@body body: T): Responses.AddResponse;
+}
+
+namespace ApiKey {
+ @route("/apiKey")
+ @tag("ApiKey")
+ interface ApiKeyRoutes extends Routable {}
+}
+
+namespace Arkiv {
+ model ListByArkivParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query arkivId: eInnsynId;
+ }
+
+ @route("/arkiv")
+ @tag("Arkiv")
+ interface ArkivRoutes extends GloballyRoutable {
+ @route("/{id}/arkivdel")
+ @get
+ listArkivdel(
+ ...ListByArkivParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/arkivdel")
+ @post
+ addArkivdel(
+ @path id: eInnsynId,
+ @body arkivdel: Arkivdel.Arkivdel,
+ ): Responses.AddResponse;
+
+ @route("/{id}/arkiv")
+ @get
+ listArkiv(...ListByArkivParameters): Responses.ListResponse;
+
+ @route("/{id}/arkiv")
+ @post
+ addArkiv(
+ @path id: eInnsynId,
+ @body arkiv: Arkiv,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Arkivdel {
+ model ListByArkivdelParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query arkivdelId: eInnsynId;
+ }
+
+ @route("/arkivdel")
+ @tag("Arkivdel")
+ interface ArkivdelRoutes extends Routable {
+ @route("/{id}/klasse")
+ @get
+ listKlasse(
+ ...ListByArkivdelParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/klasse")
+ @post
+ addKlasse(
+ @path id: eInnsynId,
+ @body klasse: Klasse.Klasse,
+ ): Responses.AddResponse;
+
+ @route("/{id}/klassifikasjonssystem")
+ @get
+ listKlassifikasjonssystem(
+ ...ListByArkivdelParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/klassifikasjonssystem")
+ @post
+ addKlassifikasjonssystem(
+ @path id: eInnsynId,
+ @body klassifikasjonssystem: Klassifikasjonssystem.Klassifikasjonssystem,
+ ): Responses.AddResponse;
+
+ @route("/{id}/saksmappe")
+ @get
+ listSaksmappe(
+ ...ListByArkivdelParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/saksmappe")
+ @post
+ addSaksmappe(
+ @path id: eInnsynId,
+ @body saksmappe: Saksmappe.Saksmappe,
+ ): Responses.AddResponse;
+
+ @route("/{id}/moetemappe")
+ @get
+ listMoetemappe(
+ ...ListByArkivdelParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/moetemappe")
+ @post
+ addMoetemappe(
+ @path id: eInnsynId,
+ @body moetemappe: Moetemappe.Moetemappe,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Behandlingsprotokoll {
+ @route("/behandlingsprotokoll")
+ @tag("Behandlingsprotokoll")
+ interface BehandlingsprotokollRoutes extends Routable {}
+}
+
+namespace Dokumentbeskrivelse {
+ @route("/dokumentbeskrivelse")
+ @tag("Dokumentbeskrivelse")
+ interface DokumentbeskrivelseRoutes extends Routable {}
+}
+
+namespace Dokumentobjekt {
+ @route("/dokumentobjekt")
+ @tag("Dokumentobjekt")
+ interface DokumentobjektRoutes extends Routable {}
+}
+
+namespace Enhet {
+ model ListByEnhetParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query enhetId: eInnsynId;
+ }
+
+ @route("/enhet")
+ @tag("Enhet")
+ interface EnhetRoutes extends GloballyRoutable {
+ @route("/{id}/underenhet")
+ @get
+ listUnderenhet(...ListByEnhetParameters): Responses.ListResponse;
+
+ @route("/{id}/underenhet")
+ @post
+ addUnderenhet(
+ @path id: eInnsynId,
+ @body body: ExpandableField,
+ ): Responses.AddResponse;
+
+ @route("/{id}/apiKey")
+ @get
+ listApiKey(...ListByEnhetParameters): Responses.ListResponse;
+
+ @route("/{id}/apiKey")
+ @post
+ addApiKey(
+ @path id: eInnsynId,
+ @body body: ApiKey.ApiKey,
+ ): Responses.AddResponse;
+
+ @route("/{id}/arkiv")
+ @get
+ listArkiv(...ListByEnhetParameters): Responses.ListResponse;
+
+ @route("/{id}/innsynskrav")
+ @get
+ listInnsynskrav(
+ ...ListByEnhetParameters,
+ ): Responses.ListResponse;
+ }
+}
+
+namespace Identifikator {
+ @route("/identifikator")
+ @tag("Identifikator")
+ interface IdentifikatorRoutes extends Routable {}
+}
+
+namespace Journalpost {
+ model ListByJournalpostParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query journalpostId: eInnsynId;
+ }
+
+ @route("/journalpost")
+ @tag("Journalpost")
+ interface JournalpostRoutes extends Routable {
+ @route("/{id}/korrespondansepart")
+ @get
+ listKorrespondansepart(
+ ...ListByJournalpostParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/korrespondansepart")
+ @post
+ addKorrespondansepart(
+ @path id: eInnsynId,
+ @body korrespondansepart: Korrespondansepart.Korrespondansepart,
+ ): Responses.AddResponse;
+
+ @route("/{id}/dokumentbeskrivelse")
+ @get
+ listDokumentbeskrivelse(
+ ...ListByJournalpostParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/dokumentbeskrivelse")
+ @post
+ addDokumentbeskrivelse(
+ @path id: eInnsynId,
+
+ @body
+ dokumentbeskrivelse: ExpandableField,
+ ): Responses.AddResponse;
+
+ @route("/{id}/dokumentbeskrivelse/{dokumentbeskrivelseId}")
+ @delete
+ deleteDokumentbeskrivelse(
+ @path id: eInnsynId,
+
+ @path
+ dokumentbeskrivelseId: eInnsynId,
+ ): Responses.OkResponse;
+ }
+}
+
+namespace Klasse {
+ model ListByKlasseParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query klasseId: eInnsynId;
+ }
+
+ @route("/klasse")
+ @tag("Klasse")
+ interface KlasseRoutes extends Routable {
+ @route("/{id}/saksmappe")
+ @get
+ listSaksmappe(
+ ...ListByKlasseParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/moetemappe")
+ @get
+ listMoetemappe(
+ ...ListByKlasseParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/klasse")
+ @get
+ listKlasse(...ListByKlasseParameters): Responses.ListResponse;
+
+ @route("/{id}/klasse")
+ @post
+ addKlasse(
+ @path id: eInnsynId,
+ @body klasse: Klasse,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Klassifikasjonssystem {
+ model ListByKlassifikasjonssystemParameters
+ extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query klassifikasjonssystemId: eInnsynId;
+ }
+
+ @route("/klassifikasjonssystem")
+ @tag("Klassifikasjonssystem")
+ interface KlassifikasjonssystemRoutes
+ extends Routable {
+ @route("/{id}/klasse")
+ @get
+ listKlasse(
+ ...ListByKlassifikasjonssystemParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/klasse")
+ @post
+ addKlasse(
+ @path id: eInnsynId,
+ @body klasse: Klasse.Klasse,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Korrespondansepart {
+ @route("/korrespondansepart")
+ @tag("Korrespondansepart")
+ interface KorrespondansepartRoutes extends Routable {}
+}
+
+namespace Moetedeltaker {
+ @route("/moetedeltaker")
+ @tag("Moetedeltaker")
+ interface MoetedeltakerRoutes extends Routable {}
+}
+
+namespace Moetedokument {
+ model ListByMoetedokumentParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query moetedokumentId: eInnsynId;
+ }
+
+ @route("/moetedokument")
+ @tag("Moetedokument")
+ interface MoetedokumentRoutes extends Routable {
+ @route("/{id}/dokumentbeskrivelse")
+ @get
+ listDokumentbeskrivelse(
+ ...ListByMoetedokumentParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/dokumentbeskrivelse")
+ @post
+ addDokumentbeskrivelse(
+ @path id: eInnsynId,
+
+ @body
+ dokumentbeskrivelse: ExpandableField,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Moetemappe {
+ model ListByMoetemappeParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query moetemappeId: eInnsynId;
+ }
+
+ @route("/moetemappe")
+ @tag("Moetemappe")
+ interface MoetemappeRoutes extends Routable {
+ @route("/{id}/moetesak")
+ @get
+ listMoetesak(
+ ...ListByMoetemappeParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/moetesak")
+ @post
+ addMoetesak(
+ @path id: eInnsynId,
+ @body moetesak: Moetesak.Moetesak,
+ ): Responses.AddResponse;
+
+ @route("/{id}/moetedokument")
+ @get
+ listMoetedokument(
+ ...ListByMoetemappeParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/moetedokument")
+ @post
+ addMoetedokument(
+ @path id: eInnsynId,
+ @body moetedokument: Moetedokument.Moetedokument,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Moetesak {
+ model ListByMoetesakParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query moetesakId: eInnsynId;
+ }
+
+ model GetByMoetesakParameters extends QueryParameters.GetParameters {
+ @path id: eInnsynId;
+ @query moetesakId: eInnsynId;
+ }
+
+ @route("/moetesak")
+ @tag("Moetesak")
+ interface MoetesakRoutes extends GloballyRoutable {
+ @route("/{id}/dokumentbeskrivelse")
+ @get
+ listDokumentbeskrivelse(
+ ...ListByMoetesakParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/dokumentbeskrivelse")
+ @post
+ addDokumentbeskrivelse(
+ @path id: eInnsynId,
+
+ @body
+ dokumentbeskrivelse: ExpandableField,
+ ): Responses.AddResponse;
+
+ @route("/{id}/utredning")
+ @get
+ getUtredning(
+ ...GetByMoetesakParameters,
+ ): Responses.OkResponse;
+
+ @route("/{id}/utredning")
+ @post
+ addUtredning(
+ @path id: eInnsynId,
+ @body utredning: Utredning.Utredning,
+ ): Responses.AddResponse;
+
+ @route("/{id}/vedtak")
+ @get
+ getVedtak(...GetByMoetesakParameters): Responses.OkResponse;
+
+ @route("/{id}/vedtak")
+ @post
+ addVedtak(
+ @path id: eInnsynId,
+ @body vedtak: Vedtak.Vedtak,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Moetesaksbeskrivelse {
+ @route("/moetesaksbeskrivelse")
+ @tag("Moetesaksbeskrivelse")
+ interface MoetesaksbeskrivelseRoutes extends Routable {}
+}
+
+namespace Saksmappe {
+ model ListBySaksmappeParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query saksmappeId: eInnsynId;
+ }
+
+ @route("/saksmappe")
+ @tag("Saksmappe")
+ interface SaksmappeRoutes extends Routable {
+ @route("/{id}/journalpost")
+ @get
+ listJournalpost(
+ ...ListBySaksmappeParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/journalpost")
+ @post
+ addJournalpost(
+ @path id: eInnsynId,
+ @body journalpost: Journalpost.Journalpost,
+ ): Responses.AddResponse;
+ }
+}
+
+namespace Skjerming {
+ @route("/skjerming")
+ @tag("Skjerming")
+ interface SkjermingRoutes extends GloballyRoutable {}
+}
+
+namespace Utredning {
+ model ListByUtredningParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query utredningId: eInnsynId;
+ }
+
+ @route("/utredning")
+ @tag("Utredning")
+ interface UtredningRoutes extends Routable {
+ @route("/{id}/utredningsdokument")
+ @get
+ listUtredningsdokument(
+ ...ListByUtredningParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/utredningsdokument")
+ @post
+ addUtredningsdokument(
+ @path id: eInnsynId,
+
+ @body
+ dokumentbeskrivelse: ExpandableField,
+ ): Responses.AddResponse;
+
+ @route("/{id}/utredningsdokument/{utredningsdokumentId}")
+ @delete
+ deleteUtredningsdokument(
+ @path id: eInnsynId,
+
+ @path
+ utredningsdokumentId: eInnsynId,
+ ): Responses.OkResponse;
+ }
+}
+
+namespace Vedtak {
+ model ListByVedtakParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query vedtakId: eInnsynId;
+ }
+
+ @route("/vedtak")
+ @tag("Vedtak")
+ interface VedtakRoutes extends Routable {
+ @route("/{id}/votering")
+ @get
+ listVotering(
+ ...ListByVedtakParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/votering")
+ @post
+ addVotering(
+ @path id: eInnsynId,
+ @body votering: Votering.Votering,
+ ): Responses.AddResponse;
+
+ @route("/{id}/vedtaksdokument")
+ @get
+ listVedtaksdokument(
+ ...ListByVedtakParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/vedtaksdokument")
+ @post
+ addVedtaksdokument(
+ @path id: eInnsynId,
+
+ @body
+ dokumentbeskrivelse: ExpandableField,
+ ): Responses.AddResponse;
+
+ @route("/{id}/vedtaksdokument/{vedtaksdokumentId}")
+ @delete
+ deleteVedtaksdokument(
+ @path id: eInnsynId,
+
+ @path
+ vedtaksdokumentId: eInnsynId,
+ ): Responses.OkResponse;
+ }
+}
+
+namespace Votering {
+ @route("/votering")
+ @tag("Votering")
+ interface VoteringRoutes extends Routable {}
+}
diff --git a/typespec/einnsyn.queryparameters.tsp b/typespec/einnsyn.queryparameters.tsp
new file mode 100644
index 0000000..4828402
--- /dev/null
+++ b/typespec/einnsyn.queryparameters.tsp
@@ -0,0 +1,121 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+import "./einnsyn.arkiv.models.tsp";
+
+using Http;
+
+namespace EInnsyn;
+
+namespace QueryParameters {
+ model GetParameters {
+ /**
+ * Specifies which fields in the response should be expanded.
+ */
+ @query expand?: string[];
+ }
+
+ model ListParameters {
+ /**
+ * Specifies which fields in the response should be expanded.
+ */
+ @query expand?: string[];
+
+ /**
+ * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
+ */
+ @query limit?: integer = 25;
+
+ /**
+ * The sort order of the result set. The default is ascending.
+ */
+ @query sortOrder?: "asc" | "desc" = "asc";
+
+ /**
+ * A cursor for use in pagination. StartingAfter is a resource ID that defines your place in the list.
+ */
+ @query startingAfter?: eInnsynId;
+
+ /**
+ * A cursor for use in pagination. EndingBefore is a resource ID that defines your place in the list.
+ */
+ @query endingBefore?: eInnsynId;
+
+ /**
+ * A list of resource IDs to be returned. If this parameter is used, the other parameters will be ignored.
+ */
+ @query ids?: eInnsynId[];
+
+ /**
+ * A list of external IDs to be returned. If this parameter is used, the other parameters will be ignored.
+ */
+ @query externalIds?: string[];
+
+ /**
+ * The Journalenhet to filter the result set by.
+ */
+ @query journalenhet?: eInnsynId;
+ }
+
+ model FilterParameters {
+ /**
+ * A query string to filter by. Quotes can be used to search for exact matches or phrases. Words can be excluded by prefixing them with a minus sign.
+ */
+ @query query?: string;
+
+ /**
+ * A list of enhet IDs to filter by. This will also match subenhets.
+ */
+ @query administrativEnhet?: eInnsynId[];
+
+ /**
+ * A list of enhet IDs to filter by. This will only match the specified enhets, not subenhets.
+ */
+ @query administrativEnhetExact?: eInnsynId[];
+
+ /**
+ * A list of enhet IDs to exclude from the result set. This will also exclude subenhets.
+ */
+ @query excludeAdministrativEnhet?: eInnsynId[];
+
+ /**
+ * A list of enhet IDs to exclude from the result set. This will only exclude the specified enhets, not subenhets.
+ */
+ @query excludeAdministrativEnhetExact?: eInnsynId[];
+
+ /**
+ * Filter by the published date of the document.
+ */
+ @query publisertDatoBefore?: utcDateTime;
+
+ /**
+ * Filter by the published date of the document.
+ */
+ @query publisertDatoAfter?: utcDateTime;
+
+ /**
+ * Filter by the updated date of the document.
+ */
+ @query oppdatertDatoBefore?: utcDateTime;
+
+ /**
+ * Filter by the updated date of the document.
+ */
+ @query oppdatertDatoAfter?: utcDateTime;
+
+ /**
+ * Filter by the date of a meeting.
+ */
+ @query moetedatoBefore?: utcDateTime;
+
+ /**
+ * Filter by the date of a meeting.
+ */
+ @query moetedatoAfter?: utcDateTime;
+
+ /**
+ * Filter by the entity type.
+ */
+ @query entity?: "Journalpost" | "Moetemappe" | "Moetesak" | "Saksmappe";
+ }
+}
diff --git a/typespec/einnsyn.responses.tsp b/typespec/einnsyn.responses.tsp
new file mode 100644
index 0000000..c8797dd
--- /dev/null
+++ b/typespec/einnsyn.responses.tsp
@@ -0,0 +1,64 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+import "./einnsyn.arkiv.models.tsp";
+
+using TypeSpec.Http;
+
+namespace EInnsyn;
+
+namespace Responses {
+ model ListResponseBody {
+ /**
+ * A paginated list of items.
+ */
+ items: Array;
+
+ /**
+ * The URL for the next page of items.
+ */
+ next?: url;
+
+ /**
+ * The URL for the previous page of items.
+ */
+ previous?: url;
+ }
+
+ model ErrorResponseBody {
+ status: string;
+ message: string;
+ }
+
+ model ValidationErrorResponseBody extends ErrorResponseBody {
+ fieldError: {
+ fieldName: string;
+ value?: string;
+ message?: string;
+ }[];
+ }
+
+ /**
+ * Result list
+ */
+ model ListResponse {
+ @statusCode _: 200;
+ @body body: ListResponseBody;
+ }
+
+ model OkResponse {
+ @statusCode _: 200;
+ @body body: T;
+ }
+
+ model AddResponse {
+ @statusCode _: 201;
+ @body body: T;
+ }
+
+ @error
+ model ErrorResponse {
+ @statusCode _: 400;
+ @body body: ErrorResponseBody;
+ }
+}
diff --git a/typespec/einnsyn.tsp b/typespec/einnsyn.tsp
new file mode 100644
index 0000000..e3328d2
--- /dev/null
+++ b/typespec/einnsyn.tsp
@@ -0,0 +1,19 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+import "./einnsyn.arkiv.operations.tsp";
+import "./einnsyn.web.operations.tsp";
+
+using TypeSpec.OpenAPI;
+using TypeSpec.Http;
+
+@service({
+ title: "eInnsyn",
+})
+@info({
+ version: "1.0",
+})
+@useAuth(ApiKeyAuth)
+namespace EInnsyn;
+
+using EInnsyn;
diff --git a/typespec/einnsyn.web.models.tsp b/typespec/einnsyn.web.models.tsp
new file mode 100644
index 0000000..1d56a8a
--- /dev/null
+++ b/typespec/einnsyn.web.models.tsp
@@ -0,0 +1,121 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+import "./einnsyn.arkiv.models.tsp";
+
+using TypeSpec.OpenAPI;
+
+namespace EInnsyn;
+
+namespace Bruker {
+ /**
+ * eInnsyn bruker
+ */
+ @extension("x-idPrefix", "bru")
+ model Bruker extends Base.Base {
+ @visibility("read") entity: "Bruker";
+ @format("email") email: string;
+ @visibility("read") active: boolean;
+ @format("password") password: string;
+ language?: "nb" | "nn" | "en" | "se" = "nb";
+ }
+}
+
+namespace Innsynskrav {
+ /**
+ * Innsynskrav
+ */
+ @extension("x-idPrefix", "ikd")
+ model Innsynskrav extends Base.Base {
+ @visibility("read") entity: "Innsynskrav";
+ innsynskravBestilling?: ExpandableField;
+ journalpost: ExpandableField;
+ enhet?: ExpandableField;
+ @visibility("read") @format("email") email?: string;
+ sent?: utcDateTime;
+ }
+}
+
+namespace InnsynskravBestilling {
+ /**
+ * Innsynskrav
+ */
+ @extension("x-idPrefix", "ik")
+ model InnsynskravBestilling extends Base.Base {
+ @visibility("read") entity: "Innsynskrav";
+ @format("email") email: string;
+ innsynskrav: ExpandableField[];
+ verified?: boolean;
+ bruker?: ExpandableField;
+ language?: "nb" | "nn" | "en" | "se" = "nb";
+ }
+}
+
+namespace LagretSak {
+ /**
+ * LagretSak
+ */
+ @extension("x-idPrefix", "lsak")
+ model LagretSak extends Base.Base {
+ @visibility("read") entity: "LagretSak";
+
+ /**
+ * The bruker that has saved this sak. This will be set to the authenticated user.
+ */
+ @visibility("read") bruker: ExpandableField;
+
+ /**
+ * The saksmappe that has been saved.
+ */
+ saksmappe?: ExpandableField;
+
+ /**
+ * The moetemappe that has been saved.
+ */
+ moetemappe?: ExpandableField;
+
+ /**
+ * Specifies whether the user wants to receive notifications about this sak.
+ */
+ subscribe?: boolean;
+ }
+}
+
+namespace LagretSoek {
+ /**
+ * LagretSoek
+ */
+ @extension("x-idPrefix", "lsoek")
+ model LagretSoek extends Base.Base {
+ @visibility("read") entity: "LagretSoek";
+ bruker?: ExpandableField;
+ label?: string;
+ legacyQuery?: string;
+ subscribe?: boolean;
+ }
+}
+
+namespace Tilbakemelding {
+ /**
+ * Tilbakemelding
+ */
+ @extension("x-idPrefix", "tbm")
+ model Tilbakemelding extends Base.Base {
+ @visibility("read") entity: "Tilbakemelding";
+ messageFromUser?: string;
+ path?: string;
+ referer?: string;
+ userAgent?: string;
+ screenHeight?: integer;
+ screenWidth?: integer;
+ docHeight?: integer;
+ docWidth?: integer;
+ winHeight?: integer;
+ winWidth?: integer;
+ scrollX?: integer;
+ scrollY?: integer;
+ userSatisfied?: boolean;
+ handledByAdmin?: boolean;
+ adminComment?: string;
+ }
+}
diff --git a/typespec/einnsyn.web.operations.tsp b/typespec/einnsyn.web.operations.tsp
new file mode 100644
index 0000000..1067bd0
--- /dev/null
+++ b/typespec/einnsyn.web.operations.tsp
@@ -0,0 +1,210 @@
+import "@typespec/http";
+import "@typespec/openapi";
+import "@typespec/openapi3";
+import "./einnsyn.arkiv.models.tsp";
+import "./einnsyn.arkiv.operations.tsp";
+import "./einnsyn.web.models.tsp";
+import "./einnsyn.responses.tsp";
+import "./einnsyn.queryparameters.tsp";
+
+using TypeSpec.Http;
+
+namespace EInnsyn;
+
+namespace Bruker {
+ model ListByBrukerParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query brukerId: eInnsynId;
+ }
+
+ @route("/bruker")
+ @tag("Bruker")
+ interface BrukerRoutes extends GloballyRoutable {
+ @route("/{id}/innsynskravBestilling")
+ @get
+ listInnsynskravBestilling(
+ ...ListByBrukerParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/innsynskravBestilling")
+ @post
+ addInnsynskravBestilling(
+ @path id: eInnsynId,
+ @body innsynskravBestilling: InnsynskravBestilling.InnsynskravBestilling,
+ ): Responses.AddResponse;
+
+ @route("/{id}/innsynskrav")
+ @get
+ listInnsynskrav(
+ ...ListByBrukerParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/lagretSak")
+ @get
+ listLagretSak(
+ ...ListByBrukerParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/lagretSak")
+ @post
+ addLagretSak(
+ @path id: eInnsynId,
+ @body lagretSak: LagretSak.LagretSak,
+ ): Responses.AddResponse;
+
+ @route("/{id}/lagretSoek")
+ @get
+ listLagretSoek(
+ ...ListByBrukerParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/lagretSoek")
+ @post
+ addLagretSoek(
+ @path id: eInnsynId,
+ @body lagretSoek: LagretSoek.LagretSoek,
+ ): Responses.AddResponse;
+
+ @route("/{id}/activate/{secret}")
+ @patch
+ activate(
+ @path id: eInnsynId,
+ @path secret: string,
+ ): Responses.OkResponse;
+
+ @route("/{id}/updatePassword")
+ @patch
+ updatePassword(
+ @path id: eInnsynId,
+ @body updatePassword: {
+ oldPassword: string;
+ newPassword: string;
+ },
+ ): Responses.OkResponse;
+
+ @route("/{id}/updatePassword/{secret}")
+ @patch
+ updatePasswordWithSecret(
+ @path id: eInnsynId,
+ @path secret: string,
+ @body updatePasswordWithSecret: {
+ newPassword: string;
+ },
+ ): Responses.OkResponse;
+
+ @route("/{id}/requestPasswordReset")
+ @patch
+ requestPasswordReset(
+ @path id: eInnsynId,
+ ): Responses.OkResponse;
+ }
+}
+
+namespace Innsynskrav {
+ model ListByInnsynskravParameters extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query innsynskravId: eInnsynId;
+ }
+
+ @route("/innsynskrav")
+ @tag("Innsynskrav")
+ interface InnsynskravRoutes extends Routable {}
+}
+
+namespace InnsynskravBestilling {
+ model ListByInnsynskravBestillingParameters
+ extends QueryParameters.ListParameters {
+ @path id: eInnsynId;
+ @query innsynskravBestillingId: eInnsynId;
+ }
+
+ @route("/innsynskravBestilling")
+ @tag("InnsynskravBestilling")
+ interface InnsynskravRoutes extends GloballyRoutable {
+ @route("/{id}/innsynskrav")
+ @get
+ listInnsynskrav(
+ ...ListByInnsynskravBestillingParameters,
+ ): Responses.ListResponse;
+
+ @route("/{id}/verify/{secret}")
+ @patch
+ verify(
+ @path id: eInnsynId,
+ @path secret: string,
+ ): Responses.OkResponse;
+ }
+}
+
+namespace LagretSak {
+ @route("/lagretSak")
+ @tag("LagretSak")
+ interface LagretSakRoutes extends Routable {}
+}
+
+namespace LagretSoek {
+ @route("/lagretSoek")
+ @tag("LagretSoek")
+ interface LagretSoekRoutes extends Routable {}
+}
+
+namespace Tilbakemelding {
+ @route("/tilbakemelding")
+ @tag("Tilbakemelding")
+ interface TilbakemeldingRoutes extends GloballyRoutable {}
+}
+
+namespace Search {
+ /**
+ * Search parameters
+ */
+ model SearchParameters extends QueryParameters.FilterParameters {
+ ...QueryParameters.ListParameters;
+ }
+ @route("/search")
+ @tag("Search")
+ interface SearchRoutes {
+ @route("")
+ @get
+ search(...SearchParameters): Responses.ListResponse;
+ }
+}
+
+namespace Statistics {
+ /**
+ * Statistics parameters
+ */
+ model StatisticsParameters extends QueryParameters.FilterParameters {
+ aggregateFrom?: utcDateTime;
+ aggregateTo?: utcDateTime;
+ }
+ model StatisticsResponse {
+ @statusCode _: 200;
+ @body body: {
+ innsynskrav?: {
+ count: integer;
+ samples: {
+ startTime: utcDateTime;
+ endTime: utcDateTime;
+ count: integer;
+ }[];
+ };
+ download?: {
+ count: integer;
+ samples: {
+ startTime: utcDateTime;
+ endTime: utcDateTime;
+ count: integer;
+ }[];
+ };
+ };
+ }
+
+ @route("/statistics")
+ @tag("Statistics")
+ interface Statistics {
+ @route("")
+ @get
+ getStatistics(...StatisticsParameters): StatisticsResponse;
+ }
+}