{
  "openapi": "3.0.4",
  "info": {
    "title": "Vitec Megler Hub",
    "version": "1.0"
  },
  "paths": {
    "/Account/Methods": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Hente liste over tillatte funksjoner og kunder - Fungerer kun med \"produktlogin\"",
        "description": "GET Account/Installations henter liste over installasjoner, navn og versjon.",
        "operationId": "GetMethods",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HubMethodAccsessInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HubMethodAccsessInfo"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HubMethodAccsessInfo"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HubMethodAccsessInfo"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HubMethodAccsessInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/Account/Installations": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Hente liste over installasjoner med navn og versjon",
        "operationId": "GetInstallations",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstallationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstallationsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstallationsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstallationsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstallationsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/CommissionSlips/{year}/{month}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente alle lønnsrader for angitt avdeling og periode",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetCommissionSlipsForPeriod",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "path",
            "description": "År",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "month",
            "in": "path",
            "description": "Måned",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/CommissionSlipsForExport": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente alle lønnsrader som ligger klar til overføring",
        "description": "Etter henting må mottak av radene bekreftes for å ikke komme med ved neste kall. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetCommissionSlipsForExport",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "year",
            "in": "query",
            "description": "År",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "month",
            "in": "query",
            "description": "Måned",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CommissionSlipResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/CommissionSlipLinesReceived": {
      "put": {
        "tags": [
          "Accounting"
        ],
        "summary": "Bekrefte mottak av lønnsrader",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutCommissionSlipLinesReceived",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CommissionSlipStatusRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CommissionSlipStatusRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CommissionSlipStatusRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CommissionSlipStatusRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CommissionSlipStatusRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CommissionSlipStatusRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Accounting/Estates": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente en liste med oppdrag relevant for regnskap",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAccountingEstates",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter tidpunkt",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingEstateObject"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingEstateObject"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingEstateObject"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingEstateObject"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingEstateObject"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/Estates/{estateId}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente et oppdrag med relevant data for regnskap - Pushaktivert (10)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (10)",
        "operationId": "GetAccountingEstateById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingEstateObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingEstateObject"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingEstateObject"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingEstateObject"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingEstateObject"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/IncomingInvoice": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente status på inngående faktura - Pushaktivert (11)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (11)",
        "operationId": "GetIncomingInvoiceStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Status på faktura\n\n10 = AwaitingManualConfirmation\n\n20 = Confirmed\n\n29 = Paid\n\n30 = Rejected\n\n39 = Canceled",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/IncomingInvoiceStatus"
                }
              ]
            },
            "x-enumNames": [
              "AwaitingManualConfirmation",
              "Confirmed",
              "Paid",
              "Rejected",
              "Canceled"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Accounting"
        ],
        "summary": "Registrerer en inngående faktura",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostIncomingInvoice",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/IncomingInvoice/{externalReference}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente status på en inngående faktura",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetIncomingInvoiceStatusByReference",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalReference",
            "in": "path",
            "description": "Referanse til faktura",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IncomingInvoiceResponseData"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Accounting"
        ],
        "summary": "Oppdatere status på en inngående faktura",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutIncomingInvoiceStatusByReference",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalReference",
            "in": "path",
            "description": "Referanse til faktura",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Status på faktura",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceStatusData"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceStatusData"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceStatusData"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceStatusData"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceStatusData"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IncomingInvoiceStatusData"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Accounting/Postings": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente alle posteringer som ligger klar til overføring",
        "description": "Etter henting må mottak av posteringen bekreftes for å ikke komme med ved neste kall. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAccountingPostings",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Accounting"
        ],
        "summary": "Lagre en postering manuelt ført i regnskapssystem eller oppdaterer postering hentet fra systemet",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatePostings",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Accounting/SettlementPostings": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente alle posteringer som er kladdet, til overføring, eller overført",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAccountingSettlementPostings",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FromDate",
            "in": "query",
            "description": "Transaksjonsdato fra",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ToDate",
            "in": "query",
            "description": "Transaksjonsdato til",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EstateId",
            "in": "query",
            "description": "Oppdrag",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DepartmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "description": "Bruker",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AccountNo",
            "in": "query",
            "description": "Kontonummer debet/kredit",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostingResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/SettlementPostings/{postingId}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente en postering som er kladdet, til overføring, eller overført - Pushaktivert (32)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (32)",
        "operationId": "GetAccountingSettlementPostingById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "postingId",
            "in": "path",
            "description": "Referanse til posteringen",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/Postings/{postingId}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente enkelt posteringer som ligger klar til overføring - Pushaktivert (8)",
        "description": "Etter henting må mottak av posteringen bekreftes. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (8)",
        "operationId": "GetAccountingPostingById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "postingId",
            "in": "path",
            "description": "Id til postering",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostingOutputData"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/Postings/Status": {
      "post": {
        "tags": [
          "Accounting"
        ],
        "summary": "Bekrefte mottak av postering.<br/><br/>\r\n\t\t\tEtter bokføring må bokførte transaksjoner sendes til POST {installationId}/Accounting/Postings.<br/>\r\n\t\t\tBekreftelse vil markere posten som overført og fjerne posteringen fra fremtidige kall til GET {installationId}/Accounting/Postings.<br/>\r\n\t\t\tAvvisning vil sette posten tilbake til kladd og åpne den for oppgjør",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostPostingStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingStatusRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingStatusRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingStatusRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingStatusRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingStatusRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostingStatusRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Accounting/Remit": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente alle posteringer som ligger klar til remittering. <br/><br/>\r\n\t\t\t\tEtter utbetalingen har gått og er bokført må bokførte transaksjoner sendes til POST {installationId}/Accounting/Postings",
        "description": "Etter henting må mottak av posteringen bekreftes for å ikke komme med ved neste kall. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAccountingRemit",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "\n\n1 = Waiting\n\n2 = Exported\n\n3 = Done\n\n4 = Failed\n\n5 = Removed",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/RemitStatus"
                }
              ],
              "description": "\r\n\r\n\r\n1 = waiting (Venter på overføring)\r\n            \r\n\r\n2 = exported (Eksportert)\r\n            \r\n\r\n3 = done (Fullført)\r\n            \r\n\r\n4 = failed (Feilet)\r\n            \r\n\r\n5 = removed (Slettet)",
              "default": 1,
              "x-enumNames": [
                "Waiting",
                "Exported",
                "Done",
                "Failed",
                "Removed"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Waiting",
              "Exported",
              "Done",
              "Failed",
              "Removed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemitResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemitResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RemitResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RemitResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemitResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/Remit/{postingId}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente en postering som skal remitteres.<br/><br/>\r\n\t\t\t\tEtter bokføring må bokførte transaksjoner sendes til POST {installationId}/Accounting/Postings - Pushaktivert (9)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (9)",
        "operationId": "GetAccountingRemitById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "postingId",
            "in": "path",
            "description": "Id til postering",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Remit"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Remit"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Remit"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Remit"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Remit"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/Remit/Status": {
      "post": {
        "tags": [
          "Accounting"
        ],
        "summary": "Oppdater status på remittering. <br/><br/>Bekreftelse vil markere posten som overført og fjerne posteringen fra fremtidige kall til GET {installationId}/Accounting/Remit<br/><br/>Avvisning vil sette posten tilbake til kladd og åpne den for oppgjør",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostRemitStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RemitStatusRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RemitStatusRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RemitStatusRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RemitStatusRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RemitStatusRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RemitStatusRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Accounting/Transactions": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente en liste over bokførte transaksjoner",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAccountingTransactions",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "Fra og med dato",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "Til og med dato",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "accountNumber",
            "in": "query",
            "description": "Kontonummer",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assignmentNumber",
            "in": "query",
            "description": "Oppdragsnummer formattert for regnskap",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ledgerType",
            "in": "query",
            "description": "Kontotype\n\n1 = General\n\n2 = Customer\n\n3 = Supplier",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/LedgerType"
                }
              ],
              "description": "\r\n\r\n\r\n1 = general (Hovedbok)\r\n            \r\n\r\n2 = customer (Kundereskontro)\r\n            \r\n\r\n3 = supplier (Levrandørreskontro)",
              "default": 1,
              "x-enumNames": [
                "General",
                "Customer",
                "Supplier"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "General",
              "Customer",
              "Supplier"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingTransactionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingTransactionResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingTransactionResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingTransactionResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingTransactionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/OutboundInvoices": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente en liste over utgående fakturaer.<br/><br/>\r\n\t\t\t\tVed bokføring må bokførte transaksjoner sendes til POST {installationId}/Accounting/Postings",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetOutboundInvoices",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Status\n\n0 = WaitingForTransfer\n\n1 = ReceivedByAccounting\n\n2 = Created\n\n3 = SentToCustomer\n\n6 = Removed\n\n7 = Settled\n\n8 = Failed",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/OutboundInvoiceStatus"
                }
              ],
              "description": "\r\n\r\n\r\n0 = waitingForTransfer (Grunnlaget venter på overføring til regnskap)\r\n            \r\n\r\n1 = receivedByAccounting (Grunnlaget er mottatt)\r\n            \r\n\r\n2 = created (Opprettet som en faktura)\r\n            \r\n\r\n3 = sentToCustomer (Sendt til kunde)\r\n            \r\n\r\n6 = removed (Fjernet)\r\n            \r\n\r\n7 = settled (Oppgjort)\r\n            \r\n\r\n8 = failed (Feilet)",
              "default": 0,
              "x-enumNames": [
                "WaitingForTransfer",
                "ReceivedByAccounting",
                "Created",
                "SentToCustomer",
                "Removed",
                "Settled",
                "Failed"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "WaitingForTransfer",
              "ReceivedByAccounting",
              "Created",
              "SentToCustomer",
              "Removed",
              "Settled",
              "Failed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoiceResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoiceResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoiceResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoiceResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Accounting"
        ],
        "summary": "Oppdater status på en utgående faktura",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostOutboundInvoice",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostOutboundInvoiceRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostOutboundInvoiceRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostOutboundInvoiceRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostOutboundInvoiceRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostOutboundInvoiceRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostOutboundInvoiceRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostOutboundInvoiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostOutboundInvoiceResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostOutboundInvoiceResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostOutboundInvoiceResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostOutboundInvoiceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/OutboundInvoices/{invoiceId}": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente en utgående faktura - Pushaktivert (24)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (24)",
        "operationId": "GetOutboundInvoiceById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "invoiceId",
            "in": "path",
            "description": "Referanse til faktura",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoice"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoice"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoice"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoice"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundInvoice"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Accounting/BalanceList": {
      "get": {
        "tags": [
          "Accounting"
        ],
        "summary": "Hente datagrunnlaget for saldoliste for oppdrag",
        "description": "Denne funksjonen henter alle oppdrag med saldo på selgers eller kjøpers reskontro eller bank på minst +-0,01. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAccountingBalance",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ToDate",
            "in": "query",
            "description": "Per dato",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "AccountNumber",
            "in": "query",
            "description": "Kontonummer på klientkonto",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DepartmentId",
            "in": "query",
            "description": "Referanse til avdeling, om ikke avdeling er angitt, hentes saldolister for alle avdelinger",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountingBalanceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountingBalanceResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountingBalanceResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountingBalanceResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountingBalanceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Activities": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "Opprette en aktivitet",
        "description": "Denne funksjonen oppretter en ny aktivitet knyttet til et oppdrag og/eller en eller flere kontakter. Returnerer referanse til aktiviteten",
        "operationId": "PostActivity",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Aktivitetsinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ActivityCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ActivityCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ActivityCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ActivityCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ActivityCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ActivityCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Activities"
        ],
        "summary": "Sette en aktivitet til 'Utført'",
        "description": "Denne funksjonen setter en aktivitet til 'Utført'. Returnerer referanse til aktiviteten",
        "operationId": "PutActivity",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ActivityId",
            "in": "query",
            "description": "Referanse til aktivitet",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DoneDate",
            "in": "query",
            "description": "Dato for når aktiviteten ble utført. Hvis ingen dato er oppgitt brukes dagens dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Activities/Details": {
      "put": {
        "tags": [
          "Activities"
        ],
        "summary": "Redigere aktiviteters start- og sluttidspunkt.",
        "operationId": "PutActivitiesDetails",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Aktivitetsinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutActivitiesDetailsRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutActivitiesDetailsRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutActivitiesDetailsRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutActivitiesDetailsRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutActivitiesDetailsRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutActivitiesDetailsRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/CallLists": {
      "post": {
        "tags": [
          "Callist"
        ],
        "summary": "Opprette ringeliste",
        "description": "Kontakter i ringelisten legges til med funksjonen POST {installationId}/CallLists/{callListId}/Contacts. Returnerer referanse til ringeliste. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostCallList",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Kontaktinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/CallLists/{callListId}": {
      "delete": {
        "tags": [
          "Callist"
        ],
        "summary": "Slette ringeliste",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "DeleteCallList",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "callListId",
            "in": "path",
            "description": "Referanse til ringeliste",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/{installationId}/CallLists/{callListId}/Contacts": {
      "post": {
        "tags": [
          "Callist"
        ],
        "summary": "Opprette nye medlemmer av ringeliste. Om kontakten allerede finnes i listen legges den ikke til igjen",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostCallListContacts",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "callListId",
            "in": "path",
            "description": "Referanse til ringeliste.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Liste med referanser til kontakter",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListContactsCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListContactsCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListContactsCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListContactsCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListContactsCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CallListContactsCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente informasjon knyttet til en kontakt - Pushaktivert (5)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (5)",
        "operationId": "GetContactById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Contact": {
      "put": {
        "tags": [
          "Contacts"
        ],
        "summary": "Lagre informasjon om en kontakt",
        "description": "Dersom kontakten ikke finnes fra før, blir den opprettet. Eksisterende informasjon i Next vil bli overskrevet hvis den sendes med, unntatt fornavn og etternavn på eksisterende kontakter som aldri bli overskrevet. Bruk Find på Contact for ikke å overskrive data på eksisterende kontakter. Gjelder kun personer, ikke firmaer. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutContact",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contact/Find": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Søke etter eksisterende kontakt ved hjelp av navn, adresse, mobiltelefon, epost og personnummer, der enten personnummer eller navn og mobiltelefon er påkrevet",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetContactByCriteria",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "firstName",
            "in": "query",
            "description": "Fornavn",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastName",
            "in": "query",
            "description": "Etternavn",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mobilePhone",
            "in": "query",
            "description": "Tlf. nr. mobil",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "description": "E-post",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "address",
            "in": "query",
            "description": "Adresse",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "postalCode",
            "in": "query",
            "description": "Postnummer",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "socialSecurity",
            "in": "query",
            "description": "Personnummer eller D-nummer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Contacts/Merged": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente liste over sammenslåtte kontakter",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetMergedContacts",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Hent kun kontakter som er endret etter et gitt tidspunkt",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/Consent": {
      "put": {
        "tags": [
          "Contacts"
        ],
        "summary": "Lagre samtykke for en kontakt. SMS sendes bare dersom samtykket ikke er historisk. Man får ikke sende inn flere samtykker av samme type i samme request",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutContactsConsent",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PutConsent"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PutConsent"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PutConsent"
                }
              }
            },
            "application/xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PutConsent"
                }
              }
            },
            "text/xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PutConsent"
                }
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PutConsent"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/GDPR": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente GDPR-informasjon om en kontakt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetContactByIdGdpr",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdGdprResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdGdprResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdGdprResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdGdprResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdGdprResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/Merged": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente ny Id til en sammenslått kontakt - Pushaktivert (21)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (21)",
        "operationId": "GetMergedContactById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "contactId til den originale kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MergedContactByIdResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/Private": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente privat informasjon knyttet til en kontakt - Pushaktivert (14)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (14)",
        "operationId": "GetContactByIdPrivate",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdPrivateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdPrivateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdPrivateResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdPrivateResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactByIdPrivateResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/SearchProfiles": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente informasjon om søkeprofilene til en kontakt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetSearchProfilesByContactId",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSearchProfilesByContactIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSearchProfilesByContactIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetSearchProfilesByContactIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetSearchProfilesByContactIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSearchProfilesByContactIdResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Opprette ny søkeprofil for en kontakt",
        "description": "Referanse til søkeprofil. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostSearchProfile",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Søkeprofil",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/SearchProfiles/{searchProfileId}": {
      "put": {
        "tags": [
          "Contacts"
        ],
        "summary": "Endre søkeprofil for en kontakt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutSearchProfile",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchProfileId",
            "in": "path",
            "description": "Referanse til søkeprofil",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Søkeprofil",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileUpdateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileUpdateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileUpdateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileUpdateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileUpdateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchProfileUpdateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Contacts"
        ],
        "summary": "Avslutte en søkeprofil for en kontakt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "DeleteSearchProfileById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchProfileId",
            "in": "path",
            "description": "Referanse til søkeprofil",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Contacts": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Erstattet av {installationId}/Estates/{estateId}/AllContactRelations. Hente liste over ulike oppdragsparter knyttet til et oppdrag - Pushaktivert (12)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (12)",
        "operationId": "GetEstatesContacts",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedContacts"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedContacts"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedContacts"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedContacts"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedContacts"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/{installationId}/Estates/{estateId}/ContactRelations": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Erstattet av {installationId}/Estates/{estateId}/AllContactRelations. Hente liste over kontakter knyttet til et oppdrag - Pushaktivert (15)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (15)",
        "operationId": "GetEstatesContactRelations",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relationType",
            "in": "query",
            "description": "Returner kun kontakter med en eller flere av disse relasjonene\r\n[ContactRelationType](#model-ContactRelationType)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ContactRelationType"
              }
            },
            "x-enumNames": [
              "Viewing",
              "Interested"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRelationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRelationsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRelationsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRelationsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRelationsResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/{installationId}/Estates/{estateId}/AllContactRelations": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente liste over kontakter knyttet til et oppdrag - Pushaktivert (28)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (28)",
        "operationId": "GetEstatesAllContactRelations",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relationType",
            "in": "query",
            "description": "Referanse til relasjonstype mellom kontakt og oppdrag\r\n[ContactEstateRelationTypeGroup](#model-ContactEstateRelationTypeGroup)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ContactEstateRelationTypeGroup"
              }
            },
            "x-enumNames": [
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesAllContactRelationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesAllContactRelationsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesAllContactRelationsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesAllContactRelationsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesAllContactRelationsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Contacts/{contactId}/ContactRelation": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Lagre relasjon mellom oppdrag og kontakt.",
        "description": "Relevante kunderelasjoner kan normalt kun endres til relasjoner med høyere rangering. Rangering konfigureres av kunde. \r\nOppdraget kan ikke være solgt eller tilbaketrukket. <br/>\r\n<br/>Det er to avvik:<br/>\r\n1)\tKunderelasjoner for selger, kjøper og budgiver kan ikke endres.<br/>\r\n2)\tFor visningsdeltager, match og interessent kan relasjonen settes uavhengig av rangering og man kan fritt bytte mellom visningsdeltager, match og interessent.<br/>\r\n<br/>\r\nSe teknisk beskrivelse for informasjon om mulige HTTP svarkoder.",
        "operationId": "PostContactRelation",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kunden",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Med kundespesifikt relasjonsnavn",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRelationRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRelationRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRelationRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRelationRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRelationRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRelationRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/ContactInformation": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente fullstendig informasjon, inkludert fødselsnummer, om ulike oppdragsparter knyttet til et oppdrag - Pushaktivert (22)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (22)",
        "operationId": "GetEstatesContactInformation",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactInformationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactInformationResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactInformationResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactInformationResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactInformationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/WithActivities": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente informasjon om kontakter med aktiviteter og relasjonstyper til oppdrag. Oppdrag kan være arkivert. Funksjonen får kun benyttes mellom kl. 00:00 og 06.00 GMT",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetContactsWithActivities",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "activityTypes",
            "in": "query",
            "description": "(ContactActivityType) - Liste over aktivitetstyper som alle kontakter som finnes i listen minimum må ha for å komme med\r\n[ContactActivityType](#model-ContactActivityType)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ContactActivityType"
              }
            },
            "x-enumNames": [
              "Showing",
              "PhoneIn",
              "PhoneOut",
              "BidFollow",
              "Document",
              "Mailing",
              "Sms",
              "Note",
              "Inspection",
              "PrivateViewing",
              "FollowUp",
              "Contract",
              "Takeover",
              "Ad",
              "SearchProfile",
              "Depot",
              "AssignmentPeriod",
              "Task",
              "ProjectGuarantee",
              "ProjectMeeting",
              "MappingAuthority",
              "Leads",
              "PreInspection",
              "ETinglysing",
              "CallList",
              "YearInspection",
              "SettlementFolder",
              "TakeoverLog",
              "Settlement",
              "Consent",
              "EstateData",
              "EmailIn",
              "EmailOut",
              "Distributing",
              "CommercialAreaRental",
              "AddressChange",
              "Photography",
              "Appraisal",
              "MoneyLaunderingControl",
              "InternalControl",
              "SellerTask",
              "BuyerTask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "relationTypes",
            "in": "query",
            "description": "Ta kun med oppdragsinformasjon dersom kontakten har en av disse kontaktrelasjonene. Dersom ingen verdi er angitt tas oppdragsinformasjon med for alle kontaktene\r\n[ContactEstatesRelationType](#model-ContactEstatesRelationType)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ContactEstatesRelationType"
              }
            },
            "x-enumNames": [
              "None",
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "Inkluderer kontakter som har aktiviteter som starter fra angitt tidspunkt",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "Inkluderer kontakter som har aktiviteter som avsluttes til og med angitt tidspunkt",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "includePrivate",
            "in": "query",
            "description": "Inkluderer aktiviteter som er markert som privat i Next. Dersom ingen verdi er angitt utelates private aktiviteter",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsWithActivitiesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsWithActivitiesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsWithActivitiesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsWithActivitiesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsWithActivitiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/Estates/{estateId}/Activities": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente informasjon om kontakter med aktiviteter og relasjonstyper til oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesContactsActivities",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "activityTypes",
            "in": "query",
            "description": "Liste over aktivitetstyper som skal hentes for kontakten og oppdraget\r\n[ContactActivityType](#model-ContactActivityType)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ContactActivityType"
              }
            },
            "x-enumNames": [
              "Showing",
              "PhoneIn",
              "PhoneOut",
              "BidFollow",
              "Document",
              "Mailing",
              "Sms",
              "Note",
              "Inspection",
              "PrivateViewing",
              "FollowUp",
              "Contract",
              "Takeover",
              "Ad",
              "SearchProfile",
              "Depot",
              "AssignmentPeriod",
              "Task",
              "ProjectGuarantee",
              "ProjectMeeting",
              "MappingAuthority",
              "Leads",
              "PreInspection",
              "ETinglysing",
              "CallList",
              "YearInspection",
              "SettlementFolder",
              "TakeoverLog",
              "Settlement",
              "Consent",
              "EstateData",
              "EmailIn",
              "EmailOut",
              "Distributing",
              "CommercialAreaRental",
              "AddressChange",
              "Photography",
              "Appraisal",
              "MoneyLaunderingControl",
              "InternalControl",
              "SellerTask",
              "BuyerTask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "relationTypes",
            "in": "query",
            "description": "Liste over kontaktrelasjoner som skal gjelde for kontakten og oppdraget\r\n[ContactEstateRelationTypeGroup](#model-ContactEstateRelationTypeGroup)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ContactEstateRelationTypeGroup"
              }
            },
            "x-enumNames": [
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "Inkluderer aktiviteter som starter fra angitt tidspunkt. Om ingen verdi er angitt utelates filtrering på fra-dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "Inkluderer aktiviteter som avsluttes til og med angitt tidspunkt. Om ingen verdi er angitt utelates filtrering på til-dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "includePrivate",
            "in": "query",
            "description": "Inkluderer aktiviteter som er markert som privat i Next. Dersom ingen verdi er angitt utelates private aktiviteter",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactActivitiesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactActivitiesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactActivitiesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactActivitiesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactActivitiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/Documents": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Laste opp dokument til en kontakt",
        "description": "Returnerer referanse til dokument. Dersom externalId matcher med et eksisterende dokument, vil det bli laget en ny versjon av dokumentet. Hvis et dokument av typen salgsoppgave sendes inn og det allerede finnes en salgsoppgave, settes den forrige til dokumentkategori 'salgsoppgavearkiv'. Eksempel: \"POST {installationId}/Contacts/{contactId}/Documents?head={head}&extension={extension}&url={url}&docType={docType}&lastChanged={lastChanged}&externalId={externalId}&signStatus={signStatus}&approvalDate={approvalDate}&approvedBy={approvedBy}&contactIdList[0]={contactIdList[0]}&contactIdList[1]={contactIdList[1]\"}",
        "operationId": "PostContactsDocument",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Head",
            "in": "query",
            "description": "Overskrift til fil",
            "required": true,
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "Extension",
            "in": "query",
            "description": "Filtype",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Url",
            "in": "query",
            "description": "Url til fil, hvis denne er oppgitt ignoreres body",
            "schema": {
              "maxLength": 255,
              "minLength": 0,
              "type": "string"
            }
          },
          {
            "name": "DocType",
            "in": "query",
            "description": "Dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentType"
                }
              ],
              "x-enumNames": [
                "SelfDeclaration",
                "Shareholders",
                "AdDraft",
                "PropertyInformation",
                "BidForm",
                "Various",
                "PropertyProfile",
                "PropertyValuation",
                "EnergyCertificate",
                "EmailReceived",
                "EmailSent",
                "ElectronicValuation",
                "Invoice",
                "CompletionCertificate",
                "PlotContract",
                "CompanyCertificate",
                "Financinginformation",
                "PreemptiveInformation",
                "ListingAgreementRenewal",
                "Authorization",
                "Warranties",
                "LandregistryTranscript",
                "LandownerInformation",
                "OwnerChange",
                "Contract",
                "MunicipalInformation",
                "ConcessionForm",
                "ValuationTax",
                "ListingAgreement",
                "Settlement",
                "SettlementForm",
                "AcquisitionProtocol",
                "LienOther",
                "Lien",
                "LienRevokedConfirmation",
                "LienLock",
                "ZoningplanMap",
                "Floorplan",
                "RemainingDebt",
                "PropertyDescription",
                "PropertyDescriptionDraft",
                "SectioningRequest",
                "Easement",
                "Deed",
                "BoardApproval",
                "Drawing",
                "SupplementaryAgreement",
                "Transport",
                "Statute",
                "OpenHouseList",
                "AuthorizationBuyer",
                "SettlementBuyer",
                "BrokerValuation",
                "AcceptanceLetterBuyer",
                "AcceptanceLetterSeller",
                "Lease",
                "InsuranceSeller",
                "InsuranceBuyer",
                "Pricelist",
                "Declaration",
                "CoverLetter",
                "SettlementLineupSeller",
                "SettlementLineupBuyer",
                "ProAndContraScheme",
                "AccountingInformation",
                "Requisition",
                "Offer",
                "InterestReport",
                "LienBuyer",
                "PrerequisiteLetterBank",
                "ContractAttachment",
                "PropertyDescriptionAttachment",
                "MoneyLaunderingDocument",
                "CompanyDocument",
                "ShareDocument",
                "Will",
                "MutualWill",
                "GrantOfProbate",
                "EstateAuthorization",
                "DocumentFeeRationale",
                "BidJournal",
                "BidAttachment",
                "ConfirmedLandregistryTranscript",
                "ConsentFromLessor",
                "ConsentFromRightsHolderToEncumbrance",
                "HouseRules",
                "BuildingDrawings",
                "DeliveryDescription",
                "SettlementFormSeller",
                "SettlementFormBuyer",
                "ConditionReportArchive",
                "SignedPurchaseContract",
                "BrokersValuation",
                "InspectionReport",
                "SalesBrochureDraft",
                "TemporaryUsePermit",
                "PreValuation",
                "CustomerEvaluation",
                "PropertyDescriptionDocuments"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            }
          },
          {
            "name": "LastChanged",
            "in": "query",
            "description": "Sist endret, hvis denne ikke oppgis blir sist endret tidspunktet filen mottas",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ExternalId",
            "in": "query",
            "description": "Ekstern id til gjenfinning av dokument. Dersom dokumentet allerede finnes og har endret seg lages en ny versjon av dokumentet. Dokumentrelaterte kontakter på det eksisterende dokumentet kopieres og nye dokumentrelaterte kontakter legges til. Ekstern id knyttes til partneren og må ellers være unik på tvers av installasjonens ulike oppdrag",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SignStatus",
            "in": "query",
            "description": "Signeringsstatus med standard verdi usignert\n\n0 = NotSigned\n\n1 = ManuallySigned\n\n2 = ElectronicallySigned",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentSignStatus"
                }
              ],
              "x-enumNames": [
                "NotSigned",
                "ManuallySigned",
                "ElectronicallySigned"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            }
          },
          {
            "name": "ApprovalDate",
            "in": "query",
            "description": "Tidspunkt for godkjent dokument. Angitt verdi må være innenfor tidsintervallet fra 1.1.2000 til nå. Vil bli ignorert uten angitt verdi for 'approvedBy'",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ApprovedBy",
            "in": "query",
            "description": "Referanse til bruker som har godkjent dokumentet. Vil bli ignorert uten angitt verdi for 'approvalDate'",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ContactIdList",
            "in": "query",
            "description": "Referanser til kontakter som dokumentet omhandler. Dersom det lages en ny versjon av et eksisterende dokument, vil de eksisterende dokumentrelaterte kontaktene bli kopiert og nye legges til",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "requestBody": {
          "description": "Vedlagt fil, dersom url angis skal ikke filen legges ved",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/ContactRole/{contactId}": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Hente informasjon om kontaktroller for kontakter knyttet til firma",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetContactRoles",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactRolesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactRolesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactRolesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactRolesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactRolesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/ContactRole": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Opprette kontaktrolle for kontakt knyttet til firma",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostContactRole",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRoleRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRoleRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRoleRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRoleRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRoleRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostContactRoleRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactRoleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactRoleResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactRoleResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactRoleResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactRoleResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/ContactRole/{contactRoleId}": {
      "put": {
        "tags": [
          "Contacts"
        ],
        "summary": "Oppdatere kontaktrolleinformasjon for firmakontakt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutContactRole",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactRoleId",
            "in": "path",
            "description": "Referanse til kontaktrolle",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Kontaktrolleinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRoleRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRoleRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRoleRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRoleRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRoleRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutContactRoleRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutContactRoleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutContactRoleResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutContactRoleResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutContactRoleResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PutContactRoleResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/ContactIdentification": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Lagre bekreftet identifikasjon av en kontakt for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesContactIdentification",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ContactId",
            "in": "query",
            "description": "Referanse til kontakt. Det lagres identifikasjon kun for kontakter som allerede har en relasjon til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyContactId",
            "in": "query",
            "description": "Referanse til valgt kontaktperson på oppdraget, dvs. 'contactId' er et firma og 'companyContactId' må være listet som signaturberettiget 'childContactId'. Se GET {installationId}/ContactRole/{contactId} og GET {installationId}/Next/ContactRoleTypes",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ConfirmedDate",
            "in": "query",
            "description": "Bekreftet dato",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ConfirmedBy",
            "in": "query",
            "description": "Bekreftet av",
            "required": true,
            "schema": {
              "maxLength": 7,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "AccordingToLaw",
            "in": "query",
            "description": "I henhold til loven\n\n1 = MoneyLaundering",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AccordingToLaw"
                }
              ],
              "x-enumNames": [
                "MoneyLaundering"
              ],
              "x-enumDescriptions": [
                ""
              ]
            }
          },
          {
            "name": "IdentityType",
            "in": "query",
            "description": "Identifikasjonstype/bankid\n\n1 = BankId",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/IdentityType"
                }
              ],
              "x-enumNames": [
                "BankId"
              ],
              "x-enumDescriptions": [
                ""
              ]
            }
          },
          {
            "name": "IdentityId",
            "in": "query",
            "description": "Identifikasjonsid/id-nummer",
            "schema": {
              "maxLength": 32,
              "minLength": 0,
              "type": "string"
            }
          },
          {
            "name": "ExpireDate",
            "in": "query",
            "description": "Utløpsdato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Comment",
            "in": "query",
            "description": "Kommentar",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesContactIdentificationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesContactIdentificationResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesContactIdentificationResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesContactIdentificationResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesContactIdentificationResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Contacts/{contactId}/Preserve": {
      "put": {
        "tags": [
          "Contacts"
        ],
        "summary": "Lagre at en kontakt ikke skal slettes når Next kjører GDPR-sletting av kontakter i basen",
        "operationId": "PreserveContact",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakt",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "preservedUntil",
            "in": "query",
            "description": "Hvor lenge kontakt ikke skal kunne slettes fra GDPR. Må være mindre en et halvt år inn i fremtiden",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Contacts"
        ],
        "summary": "Fjerne at en kontakt ikke skal slettes når Next kjører GDPR-sletting av kontakter i basen",
        "operationId": "RemovePreservationOfContact",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakt",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Departments": {
      "get": {
        "tags": [
          "Department"
        ],
        "summary": "Hente alle kontorer",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetDepartments",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Office"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Office"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Office"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Office"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Office"
                  }
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Departments/{departmentId}": {
      "get": {
        "tags": [
          "Department"
        ],
        "summary": "Hente ett kontor - Pushaktivert (19)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (19)",
        "operationId": "GetDepartmentById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "path",
            "description": "Avdelingens Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Office"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Office"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Office"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Office"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Office"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Departments/{departmentId}/Picture": {
      "get": {
        "tags": [
          "Department"
        ],
        "summary": "Hente standard bilde for en avdeling",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetDepartmentPicture",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "path",
            "description": "Avdelingens Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Departments/PostalCodes": {
      "get": {
        "tags": [
          "Department"
        ],
        "summary": "Hente en liste over hvilke avdelinger og callcenter som håndterer tips for tildelte postnummer",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetDepartmentsPostalCodes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "IncludeNotAssignedPostalCodes",
            "in": "query",
            "description": "Inkluder ikke-tildelte postnummer",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsPostalCodesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsPostalCodesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsPostalCodesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsPostalCodesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsPostalCodesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Departments/Roles": {
      "get": {
        "tags": [
          "Department"
        ],
        "summary": "Hente en liste over avdelinger med ansatte som innehar en standard rolle i en avdeling",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetDepartmentsRoles",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DepartmentId",
            "in": "query",
            "description": "Referanse til avdeling. Om denne utelates vil alle avdelinger bli hentet",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RoleTypes",
            "in": "query",
            "description": "Liste over roller det ønskes informasjon om. Utelates disse, vil alle roller bli hentet",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/DepartmentRoleType"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsRolesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsRolesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsRolesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsRolesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepartmentsRolesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Diagnostics/HelloWorld": {
      "post": {
        "tags": [
          "Diagnostics"
        ],
        "summary": "Teste tilkobling til installasjon",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostDiagnosticsHelloWorld",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "returnBytes",
            "in": "query",
            "description": "Størrelse på bytearray som skal returneres",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "requestBody": {
          "description": "Bytearray som skal sendes",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Employees": {
      "get": {
        "tags": [
          "Employees"
        ],
        "summary": "Hente alle meglere/ansatte",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEmployees",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Angir om tidligere ansatte også skal inkluderes i listen\n\n0 = Active\n\n1 = IncludeInactive",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/EmployeeStatus"
                }
              ],
              "description": "\r\n\r\n\r\n0 = active (Kun ansatte)\r\n            \r\n\r\n1 = includeInactive (Inkluderer også tidligere ansatte)",
              "default": 0,
              "x-enumNames": [
                "Active",
                "IncludeInactive"
              ],
              "x-enumDescriptions": [
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Active",
              "IncludeInactive"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Employee"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Employee"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Employee"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Employee"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Employee"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Employees/{employeeId}": {
      "get": {
        "tags": [
          "Employees"
        ],
        "summary": "Hente informasjon om en ansatt - Pushaktivert (18)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (18)",
        "operationId": "GetEmployeeById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "employeeId",
            "in": "path",
            "description": "Referanse til en megler/ansatt",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Angir om tidligere ansatte også skal inkluderes i listen\n\n0 = Active\n\n1 = IncludeInactive",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/EmployeeStatus"
                }
              ],
              "description": "\r\n\r\n\r\n0 = active (Kun ansatte)\r\n            \r\n\r\n1 = includeInactive (Inkluderer også tidligere ansatte)",
              "default": 0,
              "x-enumNames": [
                "Active",
                "IncludeInactive"
              ],
              "x-enumDescriptions": [
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Active",
              "IncludeInactive"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Employee"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Employee"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Employee"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Employee"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Employee"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Employees/{employeeId}/Picture": {
      "get": {
        "tags": [
          "Employees"
        ],
        "summary": "Hente bilde av en ansatt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEmployeePicture",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "employeeId",
            "in": "path",
            "description": "Referanse til en megler/ansatt",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      },
      "post": {
        "tags": [
          "Employees"
        ],
        "summary": "Laste opp bilde for megler/ansatt",
        "description": "Referanse til bilde. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEmployeePicture",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "employeeId",
            "in": "path",
            "description": "Referanse til en megler/ansatt",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Url",
            "in": "query",
            "description": "Url til fil, hvis denne er oppgitt ignoreres body",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FileType",
            "in": "query",
            "description": "Filtype\n\n0 = Jpg\n\n1 = Png",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ImageFileType"
                }
              ],
              "x-enumNames": [
                "Jpg",
                "Png"
              ],
              "x-enumDescriptions": [
                "",
                ""
              ]
            }
          },
          {
            "name": "LastChanged",
            "in": "query",
            "description": "Sist endret",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ImageDescription",
            "in": "query",
            "description": "Bildebeskrivelse",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImageSequence",
            "in": "query",
            "description": "Bildesorteringsnummer hvor 1 angir at bildet er standardbilde for den ansatte i Next",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ImageCategoryName",
            "in": "query",
            "description": "Bildetype, for eksempel HOVEDBILDE",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Vedlagt bildefil, dersom url angis skal ikke bildefilen legges ved",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Employees/BaseCommission": {
      "get": {
        "tags": [
          "Employees"
        ],
        "summary": "Hente meglerforetakets provisjonsgrunnlag per ansatt per måned",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEmployeesBaseCommission",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period",
            "in": "query",
            "description": "År og måned angitt som YYYYMM",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Dersom avdeling ikke er angitt leveres provisjonsgrunnlaget for alle ansatte i alle avdelinger",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBaseCommissionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBaseCommissionResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetBaseCommissionResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetBaseCommissionResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBaseCommissionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Employees/{employeeId}/SalesBudget": {
      "get": {
        "tags": [
          "Employees"
        ],
        "summary": "Hente salgsbudsjett for en ansatt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEmployeesSalesBudget",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "employeeId",
            "in": "path",
            "description": "Referanse til en megler/ansatt",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "description": "År",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmployeesSalesBudgetResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmployeesSalesBudgetResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmployeesSalesBudgetResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmployeesSalesBudgetResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmployeesSalesBudgetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Documents": {
      "get": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Hente en liste over dokumenter fra et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesDocuments",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docTypes",
            "in": "query",
            "description": "Liste av dokumenttyper som skal hentes\r\n[DocumentType](#model-DocumentType)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/DocumentType"
              }
            },
            "x-enumNames": [
              "SelfDeclaration",
              "Shareholders",
              "AdDraft",
              "PropertyInformation",
              "BidForm",
              "Various",
              "PropertyProfile",
              "PropertyValuation",
              "EnergyCertificate",
              "EmailReceived",
              "EmailSent",
              "ElectronicValuation",
              "Invoice",
              "CompletionCertificate",
              "PlotContract",
              "CompanyCertificate",
              "Financinginformation",
              "PreemptiveInformation",
              "ListingAgreementRenewal",
              "Authorization",
              "Warranties",
              "LandregistryTranscript",
              "LandownerInformation",
              "OwnerChange",
              "Contract",
              "MunicipalInformation",
              "ConcessionForm",
              "ValuationTax",
              "ListingAgreement",
              "Settlement",
              "SettlementForm",
              "AcquisitionProtocol",
              "LienOther",
              "Lien",
              "LienRevokedConfirmation",
              "LienLock",
              "ZoningplanMap",
              "Floorplan",
              "RemainingDebt",
              "PropertyDescription",
              "PropertyDescriptionDraft",
              "SectioningRequest",
              "Easement",
              "Deed",
              "BoardApproval",
              "Drawing",
              "SupplementaryAgreement",
              "Transport",
              "Statute",
              "OpenHouseList",
              "AuthorizationBuyer",
              "SettlementBuyer",
              "BrokerValuation",
              "AcceptanceLetterBuyer",
              "AcceptanceLetterSeller",
              "Lease",
              "InsuranceSeller",
              "InsuranceBuyer",
              "Pricelist",
              "Declaration",
              "CoverLetter",
              "SettlementLineupSeller",
              "SettlementLineupBuyer",
              "ProAndContraScheme",
              "AccountingInformation",
              "Requisition",
              "Offer",
              "InterestReport",
              "LienBuyer",
              "PrerequisiteLetterBank",
              "ContractAttachment",
              "PropertyDescriptionAttachment",
              "MoneyLaunderingDocument",
              "CompanyDocument",
              "ShareDocument",
              "Will",
              "MutualWill",
              "GrantOfProbate",
              "EstateAuthorization",
              "DocumentFeeRationale",
              "BidJournal",
              "BidAttachment",
              "ConfirmedLandregistryTranscript",
              "ConsentFromLessor",
              "ConsentFromRightsHolderToEncumbrance",
              "HouseRules",
              "BuildingDrawings",
              "DeliveryDescription",
              "SettlementFormSeller",
              "SettlementFormBuyer",
              "ConditionReportArchive",
              "SignedPurchaseContract",
              "BrokersValuation",
              "InspectionReport",
              "SalesBrochureDraft",
              "TemporaryUsePermit",
              "PreValuation",
              "CustomerEvaluation",
              "PropertyDescriptionDocuments"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentInfo"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentInfo"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentInfo"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentInfo"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Laste opp dokument til et oppdrag",
        "description": "Returnerer referanse til dokument. Dersom externalId matcher med et eksisterende dokument og lastChanged enten er utelatt eller er nyere enn da dokumentet sist ble lagret, vil det bli laget en ny versjon av dokumentet.Hvis et dokument av typen salgsoppgave sendes inn og det allerede finnes en salgsoppgave settes den forrige til dokumentkategori 'salgsoppgavearkiv'. Eksempel: \"POST {installationId}/Estates/{estateId}/Documents?head={head}&extension={extension}&url={url}&docType={docType}&lastChanged={lastChanged}&externalId={externalId}&signStatus={signStatus}&approvalDate={approvalDate}&approvedBy={approvedBy}&contactIdList[0]={contactIdList[0]}&contactIdList[1]={contactIdList[1]\"}",
        "operationId": "PostEstatesDocuments",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Head",
            "in": "query",
            "description": "Overskrift til fil",
            "required": true,
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "Extension",
            "in": "query",
            "description": "Filtype",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Url",
            "in": "query",
            "description": "Url til fil, hvis denne er oppgitt ignoreres body",
            "schema": {
              "maxLength": 255,
              "minLength": 0,
              "type": "string"
            }
          },
          {
            "name": "DocType",
            "in": "query",
            "description": "Dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentType"
                }
              ],
              "x-enumNames": [
                "SelfDeclaration",
                "Shareholders",
                "AdDraft",
                "PropertyInformation",
                "BidForm",
                "Various",
                "PropertyProfile",
                "PropertyValuation",
                "EnergyCertificate",
                "EmailReceived",
                "EmailSent",
                "ElectronicValuation",
                "Invoice",
                "CompletionCertificate",
                "PlotContract",
                "CompanyCertificate",
                "Financinginformation",
                "PreemptiveInformation",
                "ListingAgreementRenewal",
                "Authorization",
                "Warranties",
                "LandregistryTranscript",
                "LandownerInformation",
                "OwnerChange",
                "Contract",
                "MunicipalInformation",
                "ConcessionForm",
                "ValuationTax",
                "ListingAgreement",
                "Settlement",
                "SettlementForm",
                "AcquisitionProtocol",
                "LienOther",
                "Lien",
                "LienRevokedConfirmation",
                "LienLock",
                "ZoningplanMap",
                "Floorplan",
                "RemainingDebt",
                "PropertyDescription",
                "PropertyDescriptionDraft",
                "SectioningRequest",
                "Easement",
                "Deed",
                "BoardApproval",
                "Drawing",
                "SupplementaryAgreement",
                "Transport",
                "Statute",
                "OpenHouseList",
                "AuthorizationBuyer",
                "SettlementBuyer",
                "BrokerValuation",
                "AcceptanceLetterBuyer",
                "AcceptanceLetterSeller",
                "Lease",
                "InsuranceSeller",
                "InsuranceBuyer",
                "Pricelist",
                "Declaration",
                "CoverLetter",
                "SettlementLineupSeller",
                "SettlementLineupBuyer",
                "ProAndContraScheme",
                "AccountingInformation",
                "Requisition",
                "Offer",
                "InterestReport",
                "LienBuyer",
                "PrerequisiteLetterBank",
                "ContractAttachment",
                "PropertyDescriptionAttachment",
                "MoneyLaunderingDocument",
                "CompanyDocument",
                "ShareDocument",
                "Will",
                "MutualWill",
                "GrantOfProbate",
                "EstateAuthorization",
                "DocumentFeeRationale",
                "BidJournal",
                "BidAttachment",
                "ConfirmedLandregistryTranscript",
                "ConsentFromLessor",
                "ConsentFromRightsHolderToEncumbrance",
                "HouseRules",
                "BuildingDrawings",
                "DeliveryDescription",
                "SettlementFormSeller",
                "SettlementFormBuyer",
                "ConditionReportArchive",
                "SignedPurchaseContract",
                "BrokersValuation",
                "InspectionReport",
                "SalesBrochureDraft",
                "TemporaryUsePermit",
                "PreValuation",
                "CustomerEvaluation",
                "PropertyDescriptionDocuments"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            }
          },
          {
            "name": "LastChanged",
            "in": "query",
            "description": "Sist endret, hvis denne ikke oppgis blir sist endret tidspunktet filen mottas",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ExternalId",
            "in": "query",
            "description": "Ekstern id til gjenfinning av dokument. Dersom dokumentet allerede finnes og har endret seg lages en ny versjon av dokumentet. Dokumentrelaterte kontakter på det eksisterende dokumentet kopieres og nye dokumentrelaterte kontakter legges til. Ekstern id knyttes til partneren og må ellers være unik på tvers av installasjonens ulike oppdrag",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SignStatus",
            "in": "query",
            "description": "Signeringsstatus med standard verdi usignert\n\n0 = NotSigned\n\n1 = ManuallySigned\n\n2 = ElectronicallySigned",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentSignStatus"
                }
              ],
              "x-enumNames": [
                "NotSigned",
                "ManuallySigned",
                "ElectronicallySigned"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            }
          },
          {
            "name": "ApprovalDate",
            "in": "query",
            "description": "Tidspunkt for godkjent dokument. Angitt verdi må være innenfor tidsintervallet fra 1.1.2000 til nå. Vil bli ignorert uten angitt verdi for 'approvedBy'",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ApprovedBy",
            "in": "query",
            "description": "Referanse til bruker som har godkjent dokumentet. Vil bli ignorert uten angitt verdi for 'approvalDate'",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ContactIdList",
            "in": "query",
            "description": "Referanser til kontakter som dokumentet omhandler. Dersom det lages en ny versjon av et eksisterende dokument, vil de eksisterende dokumentrelaterte kontaktene bli kopiert og nye legges til",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "requestBody": {
          "description": "Vedlagt fil, dersom url angis skal ikke filen legges ved",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Documents/{documentId}": {
      "get": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Hente et dokument fra et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesDocumentById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "description": "Referanse til dokument",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docType",
            "in": "query",
            "description": "Referanse til dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentType"
                }
              ],
              "description": "\r\n\r\n\r\n1 = SelfDeclaration (Egenerklæring boligselgerforsikring)\r\n            \r\n\r\n2 = shareholders (Aksjeeierbok)\r\n            \r\n\r\n3 = adDraft (Annonseutkast)\r\n            \r\n\r\n5 = propertyInformation (Forretningsførerinfo)\r\n            \r\n\r\n6 = bidForm (Budskjema)\r\n            \r\n\r\n7 = various (Diverse)\r\n            \r\n\r\n9 = propertyProfile (Eiendomsprofil)\r\n            \r\n\r\n10 = propertyValuation (Takst)\r\n            \r\n\r\n11 = energyCertificate (Energiattest)\r\n            \r\n\r\n12 = emailReceived (E-post inn)\r\n            \r\n\r\n13 = emailSent (E-post ut)\r\n            \r\n\r\n14 = electronicValuation (E-takst)\r\n            \r\n\r\n15 = invoice (Faktura)\r\n            \r\n\r\n16 = completionCertificate (Ferdigattest)\r\n            \r\n\r\n17 = plotContract (Festekontrakt)\r\n            \r\n\r\n18 = companyCertificate (Firmaattest)\r\n            \r\n\r\n19 = financinginformation (Finansieringsinformasjon)\r\n            \r\n\r\n20 = preemptiveInformation (Forkjøpsrettinformasjon)\r\n            \r\n\r\n21 = listingAgreementRenewal (Fornyelse av oppdrag)\r\n            \r\n\r\n22 = authorization (Fullmakt selger)\r\n            \r\n\r\n23 = warranties (Garantidokument)\r\n            \r\n\r\n24 = landregistryTranscript (Grunnboksutskrift)\r\n            \r\n\r\n25 = landownerInformation (Grunneierinformasjon)\r\n            \r\n\r\n26 = ownerChange (Hjemmelserklæring)\r\n            \r\n\r\n27 = contract (Kontrakt)\r\n            \r\n\r\n28 = municipalInformation (Kommunalinformasjon)\r\n            \r\n\r\n29 = concessionForm (Konsesjonsskjema)\r\n            \r\n\r\n31 = valuationTax (Formuesverdi)\r\n            \r\n\r\n32 = listingAgreement (Oppdragsavtale)\r\n            \r\n\r\n33 = settlement (Oppgjørsdokument selger)\r\n            \r\n\r\n34 = settlementForm (Oppgjørsskjema)\r\n            \r\n\r\n35 = acquisitionProtocol (Overtakelsesprotokoll)\r\n            \r\n\r\n36 = lienOther (Pantattest løsøreregisteret)\r\n            \r\n\r\n37 = lien (Pantedokument, sikring)\r\n            \r\n\r\n38 = lienRevokedConfirmation (Pantefrafall)\r\n            \r\n\r\n39 = lienLock (Pantesperre)\r\n            \r\n\r\n40 = zoningplanMap (Plan, kart og regulering)\r\n            \r\n\r\n41 = floorplan (Plantegning)\r\n            \r\n\r\n42 = remainingDebt (Restgjeldsoppgave)\r\n            \r\n\r\n43 = propertyDescription (Salgsoppgave)\r\n            \r\n\r\n44 = propertyDescriptionDraft (Salgsoppgavearkiv)\r\n            \r\n\r\n45 = sectioningRequest (Seksjoneringsbegjæring)\r\n            \r\n\r\n46 = easement (Servitutt/Erklæring)\r\n            \r\n\r\n47 = deed (Skjøte/hjemmelsoverf.)\r\n            \r\n\r\n48 = boardApproval (Styregodkjennelse)\r\n            \r\n\r\n49 = drawing (Illustrasjon/tegning)\r\n            \r\n\r\n50 = supplementaryAgreement (Tilleggsavtale)\r\n            \r\n\r\n51 = transport (Transporterklæring)\r\n            \r\n\r\n52 = statute (Vedtekter)\r\n            \r\n\r\n53 = openHouseList (Visningsliste)\r\n            \r\n\r\n54 = authorizationBuyer (Fullmakt kjøper)\r\n            \r\n\r\n55 = settlementBuyer (Oppgjørsdokument kjøper)\r\n            \r\n\r\n56 = brokerValuation (Eiendomsvurdering)\r\n            \r\n\r\n57 = acceptanceLetterBuyer (Akseptbrev kjøper)\r\n            \r\n\r\n58 = acceptanceLetterSeller (Akseptbrev selger)\r\n            \r\n\r\n59 = lease (Leieavtale)\r\n            \r\n\r\n60 = insuranceSeller (Forsikring selger)\r\n            \r\n\r\n61 = insuranceBuyer (Forsikring kjøper)\r\n            \r\n\r\n62 = pricelist (Prisliste)\r\n            \r\n\r\n63 = declaration (Erklæring)\r\n            \r\n\r\n64 = coverLetter (Følgebrev)\r\n            \r\n\r\n65 = settlementLineupSeller (Oppgjørsoppstilling selger)\r\n            \r\n\r\n66 = settlementLineupBuyer (Oppgjørsoppstilling kjøper)\r\n            \r\n\r\n67 = proAndContraScheme (Pro og Contra-skjema)\r\n            \r\n\r\n69 = accountingInformation (Regnskapsinformasjon)\r\n            \r\n\r\n70 = requisition (Rekvisisjon)\r\n            \r\n\r\n71 = offer (Tilbud)\r\n            \r\n\r\n72 = interestReport (Rentegrunnlag)\r\n            \r\n\r\n73 = lienBuyer (Pantedokument kjøper)\r\n            \r\n\r\n74 = prerequisiteLetterBank (Forutsetningsbrev bank)\r\n            \r\n\r\n75 = contractAttachment (Kontraktsvedlegg)\r\n            \r\n\r\n76 = propertyDescriptionAttachment (Salgsoppgavevedlegg)\r\n            \r\n\r\n77 = moneyLaunderingDocument (Hvitvaskingsdokument)\r\n            \r\n\r\n78 = companyDocument (Selskapsdokument)\r\n            \r\n\r\n79 = shareDocument (Aksjedokument)\r\n            \r\n\r\n80 = will (Testament)\r\n            \r\n\r\n81 = mutualWill (Gjensidig testament)\r\n            \r\n\r\n82 = grantOfProbate (Skifteattest/uskifteattest)\r\n            \r\n\r\n83 = estateAuthorization (Skiftefullmakt)\r\n            \r\n\r\n84 = documentFeeRationale (Begrunnelse for dokumentavgift)\r\n            \r\n\r\n85 = bidJournal (Budjournal)\r\n            \r\n\r\n86 = bidAttachment (Budvedlegg)\r\n            \r\n\r\n88 = confirmedLandregistryTranscript (Bekreftet grunnboksutskrift)\r\n            \r\n\r\n89 = consentFromLessor (Samtykke fra bortfester)\r\n            \r\n\r\n90 = consentFromRightsHolderToEncumbrance (Samtykke fra rettighetshaver til urådighet)\r\n            \r\n\r\n91 = houseRules (Husordensregler)\r\n            \r\n\r\n92 = buildingDrawings (Byggetegninger)\r\n            \r\n\r\n93 = deliveryDescription (Leveransebeskrivelser)\r\n            \r\n\r\n94 = settlementFormSeller (Oppgjørsskjema selger)\r\n            \r\n\r\n95 = settlementFormBuyer (Oppgjørsskjema kjøper)\r\n            \r\n\r\n96 = conditionReportArchive (Tilstandsrapport arkiv)\r\n            \r\n\r\n97 = signedPurchaseContract (Signert kjøpekontrakt)\r\n            \r\n\r\n98 = brokersValuation (Meglers verdivurdering)\r\n            \r\n\r\n99 = inspectionReport (Befaringsrapport)\r\n            \r\n\r\n100 = salesBrochureDraft (Salgsoppgave korrektur)\r\n            \r\n\r\n101 = temporaryUsePermit (Midlertidig brukstillatelse)\r\n            \r\n\r\n102 = preValuation (Forhåndstakst)\r\n            \r\n\r\n103 = customerEvaluation (Kundevurdering)\r\n            \r\n\r\n1000 = propertyDescriptionDocuments (Dokumenter som vedlegges salgsoppgaven)",
              "x-enumNames": [
                "SelfDeclaration",
                "Shareholders",
                "AdDraft",
                "PropertyInformation",
                "BidForm",
                "Various",
                "PropertyProfile",
                "PropertyValuation",
                "EnergyCertificate",
                "EmailReceived",
                "EmailSent",
                "ElectronicValuation",
                "Invoice",
                "CompletionCertificate",
                "PlotContract",
                "CompanyCertificate",
                "Financinginformation",
                "PreemptiveInformation",
                "ListingAgreementRenewal",
                "Authorization",
                "Warranties",
                "LandregistryTranscript",
                "LandownerInformation",
                "OwnerChange",
                "Contract",
                "MunicipalInformation",
                "ConcessionForm",
                "ValuationTax",
                "ListingAgreement",
                "Settlement",
                "SettlementForm",
                "AcquisitionProtocol",
                "LienOther",
                "Lien",
                "LienRevokedConfirmation",
                "LienLock",
                "ZoningplanMap",
                "Floorplan",
                "RemainingDebt",
                "PropertyDescription",
                "PropertyDescriptionDraft",
                "SectioningRequest",
                "Easement",
                "Deed",
                "BoardApproval",
                "Drawing",
                "SupplementaryAgreement",
                "Transport",
                "Statute",
                "OpenHouseList",
                "AuthorizationBuyer",
                "SettlementBuyer",
                "BrokerValuation",
                "AcceptanceLetterBuyer",
                "AcceptanceLetterSeller",
                "Lease",
                "InsuranceSeller",
                "InsuranceBuyer",
                "Pricelist",
                "Declaration",
                "CoverLetter",
                "SettlementLineupSeller",
                "SettlementLineupBuyer",
                "ProAndContraScheme",
                "AccountingInformation",
                "Requisition",
                "Offer",
                "InterestReport",
                "LienBuyer",
                "PrerequisiteLetterBank",
                "ContractAttachment",
                "PropertyDescriptionAttachment",
                "MoneyLaunderingDocument",
                "CompanyDocument",
                "ShareDocument",
                "Will",
                "MutualWill",
                "GrantOfProbate",
                "EstateAuthorization",
                "DocumentFeeRationale",
                "BidJournal",
                "BidAttachment",
                "ConfirmedLandregistryTranscript",
                "ConsentFromLessor",
                "ConsentFromRightsHolderToEncumbrance",
                "HouseRules",
                "BuildingDrawings",
                "DeliveryDescription",
                "SettlementFormSeller",
                "SettlementFormBuyer",
                "ConditionReportArchive",
                "SignedPurchaseContract",
                "BrokersValuation",
                "InspectionReport",
                "SalesBrochureDraft",
                "TemporaryUsePermit",
                "PreValuation",
                "CustomerEvaluation",
                "PropertyDescriptionDocuments"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "SelfDeclaration",
              "Shareholders",
              "AdDraft",
              "PropertyInformation",
              "BidForm",
              "Various",
              "PropertyProfile",
              "PropertyValuation",
              "EnergyCertificate",
              "EmailReceived",
              "EmailSent",
              "ElectronicValuation",
              "Invoice",
              "CompletionCertificate",
              "PlotContract",
              "CompanyCertificate",
              "Financinginformation",
              "PreemptiveInformation",
              "ListingAgreementRenewal",
              "Authorization",
              "Warranties",
              "LandregistryTranscript",
              "LandownerInformation",
              "OwnerChange",
              "Contract",
              "MunicipalInformation",
              "ConcessionForm",
              "ValuationTax",
              "ListingAgreement",
              "Settlement",
              "SettlementForm",
              "AcquisitionProtocol",
              "LienOther",
              "Lien",
              "LienRevokedConfirmation",
              "LienLock",
              "ZoningplanMap",
              "Floorplan",
              "RemainingDebt",
              "PropertyDescription",
              "PropertyDescriptionDraft",
              "SectioningRequest",
              "Easement",
              "Deed",
              "BoardApproval",
              "Drawing",
              "SupplementaryAgreement",
              "Transport",
              "Statute",
              "OpenHouseList",
              "AuthorizationBuyer",
              "SettlementBuyer",
              "BrokerValuation",
              "AcceptanceLetterBuyer",
              "AcceptanceLetterSeller",
              "Lease",
              "InsuranceSeller",
              "InsuranceBuyer",
              "Pricelist",
              "Declaration",
              "CoverLetter",
              "SettlementLineupSeller",
              "SettlementLineupBuyer",
              "ProAndContraScheme",
              "AccountingInformation",
              "Requisition",
              "Offer",
              "InterestReport",
              "LienBuyer",
              "PrerequisiteLetterBank",
              "ContractAttachment",
              "PropertyDescriptionAttachment",
              "MoneyLaunderingDocument",
              "CompanyDocument",
              "ShareDocument",
              "Will",
              "MutualWill",
              "GrantOfProbate",
              "EstateAuthorization",
              "DocumentFeeRationale",
              "BidJournal",
              "BidAttachment",
              "ConfirmedLandregistryTranscript",
              "ConsentFromLessor",
              "ConsentFromRightsHolderToEncumbrance",
              "HouseRules",
              "BuildingDrawings",
              "DeliveryDescription",
              "SettlementFormSeller",
              "SettlementFormBuyer",
              "ConditionReportArchive",
              "SignedPurchaseContract",
              "BrokersValuation",
              "InspectionReport",
              "SalesBrochureDraft",
              "TemporaryUsePermit",
              "PreValuation",
              "CustomerEvaluation",
              "PropertyDescriptionDocuments"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Oppdatere et dokument fra et oppdrag",
        "description": "Returnerer referanse til dokument. Denne funksjonen erstatter det opprinnelige dokumentet uten å bevare historikken (det gamle dokumentet). Bruk 'POST {installationId}/Estates/{estateId}/Documents' for å lage en ny versjon av et gammelt dokument med historikk.",
        "operationId": "PutEstatesDocument",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "description": "Referanse til dokument",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SignStatus",
            "in": "query",
            "description": "Signeringsstatus\n\n0 = NotSigned\n\n1 = ManuallySigned\n\n2 = ElectronicallySigned",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentSignStatus"
                }
              ]
            }
          }
        ],
        "requestBody": {
          "description": "Dokumentinnholdet som skal lagres",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Arkiverer et dokument",
        "description": "Markerer et dokument som arkivert. Dette skjuler dokumentet fra den vanlige dokumentlisten men brukeren kan vise det hvis ønskelig.",
        "operationId": "DeleteEstatesDocumentById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "description": "Referanse til dokument",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docType",
            "in": "query",
            "description": "\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentType"
                }
              ],
              "description": "\r\n\r\n\r\n1 = SelfDeclaration (Egenerklæring boligselgerforsikring)\r\n            \r\n\r\n2 = shareholders (Aksjeeierbok)\r\n            \r\n\r\n3 = adDraft (Annonseutkast)\r\n            \r\n\r\n5 = propertyInformation (Forretningsførerinfo)\r\n            \r\n\r\n6 = bidForm (Budskjema)\r\n            \r\n\r\n7 = various (Diverse)\r\n            \r\n\r\n9 = propertyProfile (Eiendomsprofil)\r\n            \r\n\r\n10 = propertyValuation (Takst)\r\n            \r\n\r\n11 = energyCertificate (Energiattest)\r\n            \r\n\r\n12 = emailReceived (E-post inn)\r\n            \r\n\r\n13 = emailSent (E-post ut)\r\n            \r\n\r\n14 = electronicValuation (E-takst)\r\n            \r\n\r\n15 = invoice (Faktura)\r\n            \r\n\r\n16 = completionCertificate (Ferdigattest)\r\n            \r\n\r\n17 = plotContract (Festekontrakt)\r\n            \r\n\r\n18 = companyCertificate (Firmaattest)\r\n            \r\n\r\n19 = financinginformation (Finansieringsinformasjon)\r\n            \r\n\r\n20 = preemptiveInformation (Forkjøpsrettinformasjon)\r\n            \r\n\r\n21 = listingAgreementRenewal (Fornyelse av oppdrag)\r\n            \r\n\r\n22 = authorization (Fullmakt selger)\r\n            \r\n\r\n23 = warranties (Garantidokument)\r\n            \r\n\r\n24 = landregistryTranscript (Grunnboksutskrift)\r\n            \r\n\r\n25 = landownerInformation (Grunneierinformasjon)\r\n            \r\n\r\n26 = ownerChange (Hjemmelserklæring)\r\n            \r\n\r\n27 = contract (Kontrakt)\r\n            \r\n\r\n28 = municipalInformation (Kommunalinformasjon)\r\n            \r\n\r\n29 = concessionForm (Konsesjonsskjema)\r\n            \r\n\r\n31 = valuationTax (Formuesverdi)\r\n            \r\n\r\n32 = listingAgreement (Oppdragsavtale)\r\n            \r\n\r\n33 = settlement (Oppgjørsdokument selger)\r\n            \r\n\r\n34 = settlementForm (Oppgjørsskjema)\r\n            \r\n\r\n35 = acquisitionProtocol (Overtakelsesprotokoll)\r\n            \r\n\r\n36 = lienOther (Pantattest løsøreregisteret)\r\n            \r\n\r\n37 = lien (Pantedokument, sikring)\r\n            \r\n\r\n38 = lienRevokedConfirmation (Pantefrafall)\r\n            \r\n\r\n39 = lienLock (Pantesperre)\r\n            \r\n\r\n40 = zoningplanMap (Plan, kart og regulering)\r\n            \r\n\r\n41 = floorplan (Plantegning)\r\n            \r\n\r\n42 = remainingDebt (Restgjeldsoppgave)\r\n            \r\n\r\n43 = propertyDescription (Salgsoppgave)\r\n            \r\n\r\n44 = propertyDescriptionDraft (Salgsoppgavearkiv)\r\n            \r\n\r\n45 = sectioningRequest (Seksjoneringsbegjæring)\r\n            \r\n\r\n46 = easement (Servitutt/Erklæring)\r\n            \r\n\r\n47 = deed (Skjøte/hjemmelsoverf.)\r\n            \r\n\r\n48 = boardApproval (Styregodkjennelse)\r\n            \r\n\r\n49 = drawing (Illustrasjon/tegning)\r\n            \r\n\r\n50 = supplementaryAgreement (Tilleggsavtale)\r\n            \r\n\r\n51 = transport (Transporterklæring)\r\n            \r\n\r\n52 = statute (Vedtekter)\r\n            \r\n\r\n53 = openHouseList (Visningsliste)\r\n            \r\n\r\n54 = authorizationBuyer (Fullmakt kjøper)\r\n            \r\n\r\n55 = settlementBuyer (Oppgjørsdokument kjøper)\r\n            \r\n\r\n56 = brokerValuation (Eiendomsvurdering)\r\n            \r\n\r\n57 = acceptanceLetterBuyer (Akseptbrev kjøper)\r\n            \r\n\r\n58 = acceptanceLetterSeller (Akseptbrev selger)\r\n            \r\n\r\n59 = lease (Leieavtale)\r\n            \r\n\r\n60 = insuranceSeller (Forsikring selger)\r\n            \r\n\r\n61 = insuranceBuyer (Forsikring kjøper)\r\n            \r\n\r\n62 = pricelist (Prisliste)\r\n            \r\n\r\n63 = declaration (Erklæring)\r\n            \r\n\r\n64 = coverLetter (Følgebrev)\r\n            \r\n\r\n65 = settlementLineupSeller (Oppgjørsoppstilling selger)\r\n            \r\n\r\n66 = settlementLineupBuyer (Oppgjørsoppstilling kjøper)\r\n            \r\n\r\n67 = proAndContraScheme (Pro og Contra-skjema)\r\n            \r\n\r\n69 = accountingInformation (Regnskapsinformasjon)\r\n            \r\n\r\n70 = requisition (Rekvisisjon)\r\n            \r\n\r\n71 = offer (Tilbud)\r\n            \r\n\r\n72 = interestReport (Rentegrunnlag)\r\n            \r\n\r\n73 = lienBuyer (Pantedokument kjøper)\r\n            \r\n\r\n74 = prerequisiteLetterBank (Forutsetningsbrev bank)\r\n            \r\n\r\n75 = contractAttachment (Kontraktsvedlegg)\r\n            \r\n\r\n76 = propertyDescriptionAttachment (Salgsoppgavevedlegg)\r\n            \r\n\r\n77 = moneyLaunderingDocument (Hvitvaskingsdokument)\r\n            \r\n\r\n78 = companyDocument (Selskapsdokument)\r\n            \r\n\r\n79 = shareDocument (Aksjedokument)\r\n            \r\n\r\n80 = will (Testament)\r\n            \r\n\r\n81 = mutualWill (Gjensidig testament)\r\n            \r\n\r\n82 = grantOfProbate (Skifteattest/uskifteattest)\r\n            \r\n\r\n83 = estateAuthorization (Skiftefullmakt)\r\n            \r\n\r\n84 = documentFeeRationale (Begrunnelse for dokumentavgift)\r\n            \r\n\r\n85 = bidJournal (Budjournal)\r\n            \r\n\r\n86 = bidAttachment (Budvedlegg)\r\n            \r\n\r\n88 = confirmedLandregistryTranscript (Bekreftet grunnboksutskrift)\r\n            \r\n\r\n89 = consentFromLessor (Samtykke fra bortfester)\r\n            \r\n\r\n90 = consentFromRightsHolderToEncumbrance (Samtykke fra rettighetshaver til urådighet)\r\n            \r\n\r\n91 = houseRules (Husordensregler)\r\n            \r\n\r\n92 = buildingDrawings (Byggetegninger)\r\n            \r\n\r\n93 = deliveryDescription (Leveransebeskrivelser)\r\n            \r\n\r\n94 = settlementFormSeller (Oppgjørsskjema selger)\r\n            \r\n\r\n95 = settlementFormBuyer (Oppgjørsskjema kjøper)\r\n            \r\n\r\n96 = conditionReportArchive (Tilstandsrapport arkiv)\r\n            \r\n\r\n97 = signedPurchaseContract (Signert kjøpekontrakt)\r\n            \r\n\r\n98 = brokersValuation (Meglers verdivurdering)\r\n            \r\n\r\n99 = inspectionReport (Befaringsrapport)\r\n            \r\n\r\n100 = salesBrochureDraft (Salgsoppgave korrektur)\r\n            \r\n\r\n101 = temporaryUsePermit (Midlertidig brukstillatelse)\r\n            \r\n\r\n102 = preValuation (Forhåndstakst)\r\n            \r\n\r\n103 = customerEvaluation (Kundevurdering)\r\n            \r\n\r\n1000 = propertyDescriptionDocuments (Dokumenter som vedlegges salgsoppgaven)",
              "x-enumNames": [
                "SelfDeclaration",
                "Shareholders",
                "AdDraft",
                "PropertyInformation",
                "BidForm",
                "Various",
                "PropertyProfile",
                "PropertyValuation",
                "EnergyCertificate",
                "EmailReceived",
                "EmailSent",
                "ElectronicValuation",
                "Invoice",
                "CompletionCertificate",
                "PlotContract",
                "CompanyCertificate",
                "Financinginformation",
                "PreemptiveInformation",
                "ListingAgreementRenewal",
                "Authorization",
                "Warranties",
                "LandregistryTranscript",
                "LandownerInformation",
                "OwnerChange",
                "Contract",
                "MunicipalInformation",
                "ConcessionForm",
                "ValuationTax",
                "ListingAgreement",
                "Settlement",
                "SettlementForm",
                "AcquisitionProtocol",
                "LienOther",
                "Lien",
                "LienRevokedConfirmation",
                "LienLock",
                "ZoningplanMap",
                "Floorplan",
                "RemainingDebt",
                "PropertyDescription",
                "PropertyDescriptionDraft",
                "SectioningRequest",
                "Easement",
                "Deed",
                "BoardApproval",
                "Drawing",
                "SupplementaryAgreement",
                "Transport",
                "Statute",
                "OpenHouseList",
                "AuthorizationBuyer",
                "SettlementBuyer",
                "BrokerValuation",
                "AcceptanceLetterBuyer",
                "AcceptanceLetterSeller",
                "Lease",
                "InsuranceSeller",
                "InsuranceBuyer",
                "Pricelist",
                "Declaration",
                "CoverLetter",
                "SettlementLineupSeller",
                "SettlementLineupBuyer",
                "ProAndContraScheme",
                "AccountingInformation",
                "Requisition",
                "Offer",
                "InterestReport",
                "LienBuyer",
                "PrerequisiteLetterBank",
                "ContractAttachment",
                "PropertyDescriptionAttachment",
                "MoneyLaunderingDocument",
                "CompanyDocument",
                "ShareDocument",
                "Will",
                "MutualWill",
                "GrantOfProbate",
                "EstateAuthorization",
                "DocumentFeeRationale",
                "BidJournal",
                "BidAttachment",
                "ConfirmedLandregistryTranscript",
                "ConsentFromLessor",
                "ConsentFromRightsHolderToEncumbrance",
                "HouseRules",
                "BuildingDrawings",
                "DeliveryDescription",
                "SettlementFormSeller",
                "SettlementFormBuyer",
                "ConditionReportArchive",
                "SignedPurchaseContract",
                "BrokersValuation",
                "InspectionReport",
                "SalesBrochureDraft",
                "TemporaryUsePermit",
                "PreValuation",
                "CustomerEvaluation",
                "PropertyDescriptionDocuments"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "SelfDeclaration",
              "Shareholders",
              "AdDraft",
              "PropertyInformation",
              "BidForm",
              "Various",
              "PropertyProfile",
              "PropertyValuation",
              "EnergyCertificate",
              "EmailReceived",
              "EmailSent",
              "ElectronicValuation",
              "Invoice",
              "CompletionCertificate",
              "PlotContract",
              "CompanyCertificate",
              "Financinginformation",
              "PreemptiveInformation",
              "ListingAgreementRenewal",
              "Authorization",
              "Warranties",
              "LandregistryTranscript",
              "LandownerInformation",
              "OwnerChange",
              "Contract",
              "MunicipalInformation",
              "ConcessionForm",
              "ValuationTax",
              "ListingAgreement",
              "Settlement",
              "SettlementForm",
              "AcquisitionProtocol",
              "LienOther",
              "Lien",
              "LienRevokedConfirmation",
              "LienLock",
              "ZoningplanMap",
              "Floorplan",
              "RemainingDebt",
              "PropertyDescription",
              "PropertyDescriptionDraft",
              "SectioningRequest",
              "Easement",
              "Deed",
              "BoardApproval",
              "Drawing",
              "SupplementaryAgreement",
              "Transport",
              "Statute",
              "OpenHouseList",
              "AuthorizationBuyer",
              "SettlementBuyer",
              "BrokerValuation",
              "AcceptanceLetterBuyer",
              "AcceptanceLetterSeller",
              "Lease",
              "InsuranceSeller",
              "InsuranceBuyer",
              "Pricelist",
              "Declaration",
              "CoverLetter",
              "SettlementLineupSeller",
              "SettlementLineupBuyer",
              "ProAndContraScheme",
              "AccountingInformation",
              "Requisition",
              "Offer",
              "InterestReport",
              "LienBuyer",
              "PrerequisiteLetterBank",
              "ContractAttachment",
              "PropertyDescriptionAttachment",
              "MoneyLaunderingDocument",
              "CompanyDocument",
              "ShareDocument",
              "Will",
              "MutualWill",
              "GrantOfProbate",
              "EstateAuthorization",
              "DocumentFeeRationale",
              "BidJournal",
              "BidAttachment",
              "ConfirmedLandregistryTranscript",
              "ConsentFromLessor",
              "ConsentFromRightsHolderToEncumbrance",
              "HouseRules",
              "BuildingDrawings",
              "DeliveryDescription",
              "SettlementFormSeller",
              "SettlementFormBuyer",
              "ConditionReportArchive",
              "SignedPurchaseContract",
              "BrokersValuation",
              "InspectionReport",
              "SalesBrochureDraft",
              "TemporaryUsePermit",
              "PreValuation",
              "CustomerEvaluation",
              "PropertyDescriptionDocuments"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        },
        "deprecated": true
      }
    },
    "/{installationId}/Estates/{estateId}/Documents/{documentId}/Archive": {
      "put": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Arkiverer et dokument",
        "description": "Markerer et dokument som arkivert. Dette skjuler dokumentet fra den vanlige dokumentlisten, men brukeren kan vise det hvis ønskelig. Det arkiverte dokumentet beholder dokumenttypen",
        "operationId": "PutEstatesDocumentByIdArchive",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "description": "Referanse til dokument",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docType",
            "in": "query",
            "description": "\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentType"
                }
              ],
              "description": "\r\n\r\n\r\n1 = SelfDeclaration (Egenerklæring boligselgerforsikring)\r\n            \r\n\r\n2 = shareholders (Aksjeeierbok)\r\n            \r\n\r\n3 = adDraft (Annonseutkast)\r\n            \r\n\r\n5 = propertyInformation (Forretningsførerinfo)\r\n            \r\n\r\n6 = bidForm (Budskjema)\r\n            \r\n\r\n7 = various (Diverse)\r\n            \r\n\r\n9 = propertyProfile (Eiendomsprofil)\r\n            \r\n\r\n10 = propertyValuation (Takst)\r\n            \r\n\r\n11 = energyCertificate (Energiattest)\r\n            \r\n\r\n12 = emailReceived (E-post inn)\r\n            \r\n\r\n13 = emailSent (E-post ut)\r\n            \r\n\r\n14 = electronicValuation (E-takst)\r\n            \r\n\r\n15 = invoice (Faktura)\r\n            \r\n\r\n16 = completionCertificate (Ferdigattest)\r\n            \r\n\r\n17 = plotContract (Festekontrakt)\r\n            \r\n\r\n18 = companyCertificate (Firmaattest)\r\n            \r\n\r\n19 = financinginformation (Finansieringsinformasjon)\r\n            \r\n\r\n20 = preemptiveInformation (Forkjøpsrettinformasjon)\r\n            \r\n\r\n21 = listingAgreementRenewal (Fornyelse av oppdrag)\r\n            \r\n\r\n22 = authorization (Fullmakt selger)\r\n            \r\n\r\n23 = warranties (Garantidokument)\r\n            \r\n\r\n24 = landregistryTranscript (Grunnboksutskrift)\r\n            \r\n\r\n25 = landownerInformation (Grunneierinformasjon)\r\n            \r\n\r\n26 = ownerChange (Hjemmelserklæring)\r\n            \r\n\r\n27 = contract (Kontrakt)\r\n            \r\n\r\n28 = municipalInformation (Kommunalinformasjon)\r\n            \r\n\r\n29 = concessionForm (Konsesjonsskjema)\r\n            \r\n\r\n31 = valuationTax (Formuesverdi)\r\n            \r\n\r\n32 = listingAgreement (Oppdragsavtale)\r\n            \r\n\r\n33 = settlement (Oppgjørsdokument selger)\r\n            \r\n\r\n34 = settlementForm (Oppgjørsskjema)\r\n            \r\n\r\n35 = acquisitionProtocol (Overtakelsesprotokoll)\r\n            \r\n\r\n36 = lienOther (Pantattest løsøreregisteret)\r\n            \r\n\r\n37 = lien (Pantedokument, sikring)\r\n            \r\n\r\n38 = lienRevokedConfirmation (Pantefrafall)\r\n            \r\n\r\n39 = lienLock (Pantesperre)\r\n            \r\n\r\n40 = zoningplanMap (Plan, kart og regulering)\r\n            \r\n\r\n41 = floorplan (Plantegning)\r\n            \r\n\r\n42 = remainingDebt (Restgjeldsoppgave)\r\n            \r\n\r\n43 = propertyDescription (Salgsoppgave)\r\n            \r\n\r\n44 = propertyDescriptionDraft (Salgsoppgavearkiv)\r\n            \r\n\r\n45 = sectioningRequest (Seksjoneringsbegjæring)\r\n            \r\n\r\n46 = easement (Servitutt/Erklæring)\r\n            \r\n\r\n47 = deed (Skjøte/hjemmelsoverf.)\r\n            \r\n\r\n48 = boardApproval (Styregodkjennelse)\r\n            \r\n\r\n49 = drawing (Illustrasjon/tegning)\r\n            \r\n\r\n50 = supplementaryAgreement (Tilleggsavtale)\r\n            \r\n\r\n51 = transport (Transporterklæring)\r\n            \r\n\r\n52 = statute (Vedtekter)\r\n            \r\n\r\n53 = openHouseList (Visningsliste)\r\n            \r\n\r\n54 = authorizationBuyer (Fullmakt kjøper)\r\n            \r\n\r\n55 = settlementBuyer (Oppgjørsdokument kjøper)\r\n            \r\n\r\n56 = brokerValuation (Eiendomsvurdering)\r\n            \r\n\r\n57 = acceptanceLetterBuyer (Akseptbrev kjøper)\r\n            \r\n\r\n58 = acceptanceLetterSeller (Akseptbrev selger)\r\n            \r\n\r\n59 = lease (Leieavtale)\r\n            \r\n\r\n60 = insuranceSeller (Forsikring selger)\r\n            \r\n\r\n61 = insuranceBuyer (Forsikring kjøper)\r\n            \r\n\r\n62 = pricelist (Prisliste)\r\n            \r\n\r\n63 = declaration (Erklæring)\r\n            \r\n\r\n64 = coverLetter (Følgebrev)\r\n            \r\n\r\n65 = settlementLineupSeller (Oppgjørsoppstilling selger)\r\n            \r\n\r\n66 = settlementLineupBuyer (Oppgjørsoppstilling kjøper)\r\n            \r\n\r\n67 = proAndContraScheme (Pro og Contra-skjema)\r\n            \r\n\r\n69 = accountingInformation (Regnskapsinformasjon)\r\n            \r\n\r\n70 = requisition (Rekvisisjon)\r\n            \r\n\r\n71 = offer (Tilbud)\r\n            \r\n\r\n72 = interestReport (Rentegrunnlag)\r\n            \r\n\r\n73 = lienBuyer (Pantedokument kjøper)\r\n            \r\n\r\n74 = prerequisiteLetterBank (Forutsetningsbrev bank)\r\n            \r\n\r\n75 = contractAttachment (Kontraktsvedlegg)\r\n            \r\n\r\n76 = propertyDescriptionAttachment (Salgsoppgavevedlegg)\r\n            \r\n\r\n77 = moneyLaunderingDocument (Hvitvaskingsdokument)\r\n            \r\n\r\n78 = companyDocument (Selskapsdokument)\r\n            \r\n\r\n79 = shareDocument (Aksjedokument)\r\n            \r\n\r\n80 = will (Testament)\r\n            \r\n\r\n81 = mutualWill (Gjensidig testament)\r\n            \r\n\r\n82 = grantOfProbate (Skifteattest/uskifteattest)\r\n            \r\n\r\n83 = estateAuthorization (Skiftefullmakt)\r\n            \r\n\r\n84 = documentFeeRationale (Begrunnelse for dokumentavgift)\r\n            \r\n\r\n85 = bidJournal (Budjournal)\r\n            \r\n\r\n86 = bidAttachment (Budvedlegg)\r\n            \r\n\r\n88 = confirmedLandregistryTranscript (Bekreftet grunnboksutskrift)\r\n            \r\n\r\n89 = consentFromLessor (Samtykke fra bortfester)\r\n            \r\n\r\n90 = consentFromRightsHolderToEncumbrance (Samtykke fra rettighetshaver til urådighet)\r\n            \r\n\r\n91 = houseRules (Husordensregler)\r\n            \r\n\r\n92 = buildingDrawings (Byggetegninger)\r\n            \r\n\r\n93 = deliveryDescription (Leveransebeskrivelser)\r\n            \r\n\r\n94 = settlementFormSeller (Oppgjørsskjema selger)\r\n            \r\n\r\n95 = settlementFormBuyer (Oppgjørsskjema kjøper)\r\n            \r\n\r\n96 = conditionReportArchive (Tilstandsrapport arkiv)\r\n            \r\n\r\n97 = signedPurchaseContract (Signert kjøpekontrakt)\r\n            \r\n\r\n98 = brokersValuation (Meglers verdivurdering)\r\n            \r\n\r\n99 = inspectionReport (Befaringsrapport)\r\n            \r\n\r\n100 = salesBrochureDraft (Salgsoppgave korrektur)\r\n            \r\n\r\n101 = temporaryUsePermit (Midlertidig brukstillatelse)\r\n            \r\n\r\n102 = preValuation (Forhåndstakst)\r\n            \r\n\r\n103 = customerEvaluation (Kundevurdering)\r\n            \r\n\r\n1000 = propertyDescriptionDocuments (Dokumenter som vedlegges salgsoppgaven)",
              "x-enumNames": [
                "SelfDeclaration",
                "Shareholders",
                "AdDraft",
                "PropertyInformation",
                "BidForm",
                "Various",
                "PropertyProfile",
                "PropertyValuation",
                "EnergyCertificate",
                "EmailReceived",
                "EmailSent",
                "ElectronicValuation",
                "Invoice",
                "CompletionCertificate",
                "PlotContract",
                "CompanyCertificate",
                "Financinginformation",
                "PreemptiveInformation",
                "ListingAgreementRenewal",
                "Authorization",
                "Warranties",
                "LandregistryTranscript",
                "LandownerInformation",
                "OwnerChange",
                "Contract",
                "MunicipalInformation",
                "ConcessionForm",
                "ValuationTax",
                "ListingAgreement",
                "Settlement",
                "SettlementForm",
                "AcquisitionProtocol",
                "LienOther",
                "Lien",
                "LienRevokedConfirmation",
                "LienLock",
                "ZoningplanMap",
                "Floorplan",
                "RemainingDebt",
                "PropertyDescription",
                "PropertyDescriptionDraft",
                "SectioningRequest",
                "Easement",
                "Deed",
                "BoardApproval",
                "Drawing",
                "SupplementaryAgreement",
                "Transport",
                "Statute",
                "OpenHouseList",
                "AuthorizationBuyer",
                "SettlementBuyer",
                "BrokerValuation",
                "AcceptanceLetterBuyer",
                "AcceptanceLetterSeller",
                "Lease",
                "InsuranceSeller",
                "InsuranceBuyer",
                "Pricelist",
                "Declaration",
                "CoverLetter",
                "SettlementLineupSeller",
                "SettlementLineupBuyer",
                "ProAndContraScheme",
                "AccountingInformation",
                "Requisition",
                "Offer",
                "InterestReport",
                "LienBuyer",
                "PrerequisiteLetterBank",
                "ContractAttachment",
                "PropertyDescriptionAttachment",
                "MoneyLaunderingDocument",
                "CompanyDocument",
                "ShareDocument",
                "Will",
                "MutualWill",
                "GrantOfProbate",
                "EstateAuthorization",
                "DocumentFeeRationale",
                "BidJournal",
                "BidAttachment",
                "ConfirmedLandregistryTranscript",
                "ConsentFromLessor",
                "ConsentFromRightsHolderToEncumbrance",
                "HouseRules",
                "BuildingDrawings",
                "DeliveryDescription",
                "SettlementFormSeller",
                "SettlementFormBuyer",
                "ConditionReportArchive",
                "SignedPurchaseContract",
                "BrokersValuation",
                "InspectionReport",
                "SalesBrochureDraft",
                "TemporaryUsePermit",
                "PreValuation",
                "CustomerEvaluation",
                "PropertyDescriptionDocuments"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "SelfDeclaration",
              "Shareholders",
              "AdDraft",
              "PropertyInformation",
              "BidForm",
              "Various",
              "PropertyProfile",
              "PropertyValuation",
              "EnergyCertificate",
              "EmailReceived",
              "EmailSent",
              "ElectronicValuation",
              "Invoice",
              "CompletionCertificate",
              "PlotContract",
              "CompanyCertificate",
              "Financinginformation",
              "PreemptiveInformation",
              "ListingAgreementRenewal",
              "Authorization",
              "Warranties",
              "LandregistryTranscript",
              "LandownerInformation",
              "OwnerChange",
              "Contract",
              "MunicipalInformation",
              "ConcessionForm",
              "ValuationTax",
              "ListingAgreement",
              "Settlement",
              "SettlementForm",
              "AcquisitionProtocol",
              "LienOther",
              "Lien",
              "LienRevokedConfirmation",
              "LienLock",
              "ZoningplanMap",
              "Floorplan",
              "RemainingDebt",
              "PropertyDescription",
              "PropertyDescriptionDraft",
              "SectioningRequest",
              "Easement",
              "Deed",
              "BoardApproval",
              "Drawing",
              "SupplementaryAgreement",
              "Transport",
              "Statute",
              "OpenHouseList",
              "AuthorizationBuyer",
              "SettlementBuyer",
              "BrokerValuation",
              "AcceptanceLetterBuyer",
              "AcceptanceLetterSeller",
              "Lease",
              "InsuranceSeller",
              "InsuranceBuyer",
              "Pricelist",
              "Declaration",
              "CoverLetter",
              "SettlementLineupSeller",
              "SettlementLineupBuyer",
              "ProAndContraScheme",
              "AccountingInformation",
              "Requisition",
              "Offer",
              "InterestReport",
              "LienBuyer",
              "PrerequisiteLetterBank",
              "ContractAttachment",
              "PropertyDescriptionAttachment",
              "MoneyLaunderingDocument",
              "CompanyDocument",
              "ShareDocument",
              "Will",
              "MutualWill",
              "GrantOfProbate",
              "EstateAuthorization",
              "DocumentFeeRationale",
              "BidJournal",
              "BidAttachment",
              "ConfirmedLandregistryTranscript",
              "ConsentFromLessor",
              "ConsentFromRightsHolderToEncumbrance",
              "HouseRules",
              "BuildingDrawings",
              "DeliveryDescription",
              "SettlementFormSeller",
              "SettlementFormBuyer",
              "ConditionReportArchive",
              "SignedPurchaseContract",
              "BrokersValuation",
              "InspectionReport",
              "SalesBrochureDraft",
              "TemporaryUsePermit",
              "PreValuation",
              "CustomerEvaluation",
              "PropertyDescriptionDocuments"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/{installationId}/Documents/{documentId}/SignStatus": {
      "get": {
        "tags": [
          "EstateDocuments"
        ],
        "summary": "Hente signeringinformasjon for et dokument, kun endringer på signering vil skape push. Gjelder kun dokumenter som har en E-signeringsid - Pushaktivert (30)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (30)",
        "operationId": "GetDocumentsSignStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "description": "Referanse til signeringsdokument",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DocType",
            "in": "query",
            "description": "Dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DocumentType"
                }
              ],
              "x-enumNames": [
                "SelfDeclaration",
                "Shareholders",
                "AdDraft",
                "PropertyInformation",
                "BidForm",
                "Various",
                "PropertyProfile",
                "PropertyValuation",
                "EnergyCertificate",
                "EmailReceived",
                "EmailSent",
                "ElectronicValuation",
                "Invoice",
                "CompletionCertificate",
                "PlotContract",
                "CompanyCertificate",
                "Financinginformation",
                "PreemptiveInformation",
                "ListingAgreementRenewal",
                "Authorization",
                "Warranties",
                "LandregistryTranscript",
                "LandownerInformation",
                "OwnerChange",
                "Contract",
                "MunicipalInformation",
                "ConcessionForm",
                "ValuationTax",
                "ListingAgreement",
                "Settlement",
                "SettlementForm",
                "AcquisitionProtocol",
                "LienOther",
                "Lien",
                "LienRevokedConfirmation",
                "LienLock",
                "ZoningplanMap",
                "Floorplan",
                "RemainingDebt",
                "PropertyDescription",
                "PropertyDescriptionDraft",
                "SectioningRequest",
                "Easement",
                "Deed",
                "BoardApproval",
                "Drawing",
                "SupplementaryAgreement",
                "Transport",
                "Statute",
                "OpenHouseList",
                "AuthorizationBuyer",
                "SettlementBuyer",
                "BrokerValuation",
                "AcceptanceLetterBuyer",
                "AcceptanceLetterSeller",
                "Lease",
                "InsuranceSeller",
                "InsuranceBuyer",
                "Pricelist",
                "Declaration",
                "CoverLetter",
                "SettlementLineupSeller",
                "SettlementLineupBuyer",
                "ProAndContraScheme",
                "AccountingInformation",
                "Requisition",
                "Offer",
                "InterestReport",
                "LienBuyer",
                "PrerequisiteLetterBank",
                "ContractAttachment",
                "PropertyDescriptionAttachment",
                "MoneyLaunderingDocument",
                "CompanyDocument",
                "ShareDocument",
                "Will",
                "MutualWill",
                "GrantOfProbate",
                "EstateAuthorization",
                "DocumentFeeRationale",
                "BidJournal",
                "BidAttachment",
                "ConfirmedLandregistryTranscript",
                "ConsentFromLessor",
                "ConsentFromRightsHolderToEncumbrance",
                "HouseRules",
                "BuildingDrawings",
                "DeliveryDescription",
                "SettlementFormSeller",
                "SettlementFormBuyer",
                "ConditionReportArchive",
                "SignedPurchaseContract",
                "BrokersValuation",
                "InspectionReport",
                "SalesBrochureDraft",
                "TemporaryUsePermit",
                "PreValuation",
                "CustomerEvaluation",
                "PropertyDescriptionDocuments"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentsSignStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentsSignStatusResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentsSignStatusResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentsSignStatusResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentsSignStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Images": {
      "get": {
        "tags": [
          "EstateImages"
        ],
        "summary": "Hente en liste over bilder tilhørende et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesImages",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageInfo"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageInfo"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageInfo"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageInfo"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EstateImages"
        ],
        "summary": "Laste opp bilde til et oppdrag",
        "description": "Referanse til bilde. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesImages",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExternalImageReference",
            "in": "query",
            "description": "Unik id for denne bildefil, gjerne GUID. Påse at bildene har lik id hvis eksisterende bilde skal erstattes.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DeliveryPackageId",
            "in": "query",
            "description": "Unik id for denne pakke med bilder (en bilde-bestilling f.eks. tournr)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImageDescription",
            "in": "query",
            "description": "Bildebeskrivelse",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Url",
            "in": "query",
            "description": "Url til fil, hvis denne er oppgitt ignoreres body",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImageSequence",
            "in": "query",
            "description": "Bilde sorterings nr",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ImageCategory",
            "in": "query",
            "description": "Type bilde (plantegning, omgivelser etc), vil snart bli erstattet av imageCategoryName i Next\n\n0 = Normal\n\n1 = Surroundings\n\n2 = Facade\n\n3 = Floorplan",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ImageCategory"
                }
              ],
              "deprecated": true
            }
          },
          {
            "name": "Extension",
            "in": "query",
            "description": "Filtype (default JPG)\n\n0 = Jpg\n\n1 = Png",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ImageFileType"
                }
              ]
            }
          },
          {
            "name": "ImageQuality",
            "in": "query",
            "description": "Bilde kvalitet\n\n0 = Standard\n\n1 = Print",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ImageQuality"
                }
              ]
            }
          },
          {
            "name": "ApprovedBroker",
            "in": "query",
            "description": "Godkjent av megler",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ApprovedSeller",
            "in": "query",
            "description": "Godkjent av selger",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ImageCategoryName",
            "in": "query",
            "description": "Typenavn på bilde, for eksempel plantegning",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Vedlagt fil, dersom url angis skal ikke filen legges ved",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "text/xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "string",
                "format": "byte"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Images/{imageId}": {
      "get": {
        "tags": [
          "EstateImages"
        ],
        "summary": "Laste ned et bilde fra et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesImageById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "imageId",
            "in": "path",
            "description": "Unik referanse til fil",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      },
      "put": {
        "tags": [
          "EstateImages"
        ],
        "summary": "Oppdatere metadata informasjon om et bilde tilhørende et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesImageMetaData",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "imageId",
            "in": "path",
            "description": "Referanse til bilde",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ImageMetaData"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ImageMetaData"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ImageMetaData"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ImageMetaData"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ImageMetaData"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ImageMetaData"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/ImageByCategory/{categoryName}": {
      "get": {
        "tags": [
          "EstateImages"
        ],
        "summary": "Laste ned første bilde med angitt kategori fra et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesImageByCategoryName",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryName",
            "in": "path",
            "description": "Navn på kategori, f.eks. \"Hovedbilde\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Maksimal bredde bildet skal ha, 0 betyr at ingen verdi er satt. Standardverdi er 1024.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1024
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Maksimal høyde bildet skal ha, 0 betyr at ingen verdi er satt. Standardverdi er 1024.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1024
            }
          },
          {
            "name": "quality",
            "in": "query",
            "description": "JPEG-kvalitet ved nedskalering. Verdier kan være mellom 10 og 95. Standardverdi er 85.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 85
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/ScaledImages/{imageId}": {
      "get": {
        "tags": [
          "EstateImages"
        ],
        "summary": "Laste ned nedskalert bilde fra et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesImageScaledById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "imageId",
            "in": "path",
            "description": "Unik referanse til fil",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Maksimal bredde bildet skal ha, 0 betyr at ingen verdi er satt. Standardverdi er 1024",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1024
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Maksimal høyde bildet skal ha, 0 betyr at ingen verdi er satt. Standardverdi er 1024",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1024
            }
          },
          {
            "name": "quality",
            "in": "query",
            "description": "JPEG-kvalitet ved nedskalering. Verdier kan være mellom 10 og 95. Standardverdi er 85.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 85
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente liste over oppdrag som møter valgte kriterier. Oppdrag som har status arkivert eller høyere må hentes med GET {installationId}/EstatesNonActive",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder. Kun 10 000 oppdrag vil bli returnert per spørring.",
        "operationId": "GetEstates",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "statuses",
            "in": "query",
            "description": "Returner kun oppdrag med en av disse statusene\r\n[EstateStatus](#model-EstateStatus)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/EstateStatus"
              }
            },
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "employeeId",
            "in": "query",
            "description": "Ansvarlig megler Id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "employeeEmail",
            "in": "query",
            "description": "Ansvarlig megler e-post (dersom Id ikke er tilgjengelig)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "soldAfter",
            "in": "query",
            "description": "Solgt etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateListEntry"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateListEntry"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateListEntry"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateListEntry"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateListEntry"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Opprette et nytt oppdrag",
        "description": "Returnerer en lenke til Next for å opprette et nytt oppdrag med informasjon som blir sendt inn. Brukeren må manuelt ferdigstille registeringen. Når oppdraget er ferdig registrert kan en callback gjøres fra Next. Linken er gyldig i 12 timer.",
        "operationId": "PostEstatesTemplate",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Informasjon om oppdraget",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente et oppdrag - Pushaktivert (1)",
        "description": "For oppdrag av typen Prosjekt eller Næring kan mer informasjon hentes med funksjonene GET {installationId}/Estates/{estateId}/Project og GET {installationId}/Estates/{estateId}/Commercial. Oppdrag som har status arkivert eller høyere må hentes med GET {installationId}/EstatesNonActive/{estateId}. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (1)",
        "operationId": "GetEstateById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateObject"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateObject"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateObject"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstateObject"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/Ads": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Henter alle annonser",
        "description": "Returnerer aktive annonser som ikke er utløpt. Maksimalt 20 000 annonser.",
        "operationId": "GetEstatesAds",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "departments",
            "in": "query",
            "description": "Returner kun annonser tilhørende en eller flere av disse avdelingene",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "channels",
            "in": "query",
            "description": "Returner kun annonser med en eller flere av disse typene\r\n[AdChannel](#model-AdChannel)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AdChannel"
              }
            },
            "x-enumNames": [
              "Finn",
              "Zett",
              "Ne",
              "Publish"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAdsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAdsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAdsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAdsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAdsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Ads": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Henter oppdragets annonser",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstateAdsByEstateId",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "channels",
            "in": "query",
            "description": "Returner kun annonser med en eller flere av disse typene\r\n[AdChannel](#model-AdChannel)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AdChannel"
              }
            },
            "x-enumNames": [
              "Finn",
              "Zett",
              "Ne",
              "Publish"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Ads/{estateAdId}": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om annonse - Pushaktivert (17)",
        "description": "Dette kallet gir push når innholdet endrer seg, det vil si når det trykkes «publiser» i Next, når estateStatus endrer seg eller når noe endrer seg i bildedataene. Når brukeren trykker «overfør» første gang vil status være «ready» (1). Ved senere trykk vil status være «notSet» (0)  Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (17)",
        "operationId": "GetEstateAdById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateAdId",
            "in": "path",
            "description": "Referanse til annonse",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstateAdByIdResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Ads/{estateAdId}/Status": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere annonse tilhørende et oppdrag. Oppdateringer vil trigge ny push, så kall dette kun når du har oppdateringer og ikke automatisk på alle mottak av annonse-push.",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesAd",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateAdId",
            "in": "path",
            "description": "Referanse til annonse",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "channel",
            "in": "query",
            "description": "Referanse til annonsetype\n\n1 = Finn\n\n8 = Zett\n\n16 = Ne\n\n32 = Publish",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AdChannel"
                }
              ],
              "description": "\r\n\r\n\r\n1 = finn (Finn.no)\r\n            \r\n\r\n8 = zett (Amedia)\r\n            \r\n\r\n16 = ne (NE.NO)\r\n            \r\n\r\n32 = publish (Egenpublisering)",
              "x-enumNames": [
                "Finn",
                "Zett",
                "Ne",
                "Publish"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Finn",
              "Zett",
              "Ne",
              "Publish"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "requestBody": {
          "description": "Informasjon som skal oppdateres",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AdData"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AdData"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AdData"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AdData"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AdData"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AdData"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Ads/{estateAdId}/AdUpdate": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere annonsestatus for egenpubliseringsannonse tilhørende et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesAdUpdate",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateAdId",
            "in": "path",
            "description": "Referanse til annonse",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Channel",
            "in": "query",
            "description": "Annonsetype. Partner kan sette status kun på egenpubliseringsannonse\n\n1 = Finn\n\n8 = Zett\n\n16 = Ne\n\n32 = Publish",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AdChannel"
                }
              ],
              "x-enumNames": [
                "Finn",
                "Zett",
                "Ne",
                "Publish"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                ""
              ]
            }
          },
          {
            "name": "AdUpdateStatus",
            "in": "query",
            "description": "Annonsestatus\n\n2 = Live\n\n3 = Sold\n\n4 = Stopped\n\n5 = Expired",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AdUpdateStatus"
                }
              ],
              "x-enumNames": [
                "Live",
                "Sold",
                "Stopped",
                "Expired"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                ""
              ]
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Activities": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente liste over aktiviteter på ett oppdrag - Pushaktivert (16)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (16)",
        "operationId": "GetEstateActivities",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateActivity"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateActivity"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateActivity"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateActivity"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateActivity"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Bids": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente anonymisert liste over bud på ett oppdrag - Pushaktivert (2)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (2)",
        "operationId": "GetEstateBids",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateBid"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateBid"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateBid"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateBid"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstateBid"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Opprette nytt bud (ikke prosjektmaster)",
        "description": "Oppretter et bud i Next for at megler skal kunne journalføre budet og deretter varsle budinteressenter. Returnerer bidId på det nye budet.",
        "operationId": "PostEstateBid",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateBidRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateBidRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateBidRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateBidRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateBidRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateBidRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Bids/Private": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente liste over bud og budgivere på et oppdrag - Pushaktivert (23)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (23)",
        "operationId": "GetEstatesBidsPrivate",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesBidsPrivateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesBidsPrivateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesBidsPrivateResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesBidsPrivateResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesBidsPrivateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/CheckList": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Huke av eller nullstille et sjekklistepunkt for et oppdrag. Tilhørende makro vil bli kjørt hvis den finnes og punktet endrer status fra \"ikke avhuket\" til \"avhuket\"",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesCheckList",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesCheckListRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesCheckListRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesCheckListRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesCheckListRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesCheckListRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesCheckListRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente sjekklisteinformasjon for et oppdrag - Pushaktivert (25)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (25)",
        "operationId": "GetEstatesCheckList",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCheckListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCheckListResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCheckListResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCheckListResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCheckListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Commercial": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente et næringsoppdrag - Pushaktivert (31)",
        "description": "Denne funksjonen returnerer spesifikk informasjon for næring inkludert landbrukseiendommer. Basisinformasjon om oppdraget hentes med GET {installationId}/Estates/{estateId}. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (31)",
        "operationId": "GetEstateCommercialById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateCommercialObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstateCommercialObject"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateCommercialObject"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstateCommercialObject"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstateCommercialObject"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/DeliveryPackageStatus": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Sette status for en leveranse f.eks. kvittering på en pakke nye bilder for ett oppdrag",
        "description": "Pakken kan også inneholde link til tournr e.l. og tournr kan om ønskelig benyttes som pakkebegrep. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostDeliveryPackageStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryPackageStatus"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryPackageStatus"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryPackageStatus"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryPackageStatus"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryPackageStatus"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DeliveryPackageStatus"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Expense": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Postere et utlegg på et objekt",
        "description": "Referanse til oppdrag. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstateExpense",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Expense/{expenseId}": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Endre et kladdet utlegg på et objekt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstateExpense",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "expenseId",
            "in": "path",
            "description": "Referanse til utlegg",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Referanse til utlegg",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateExpense"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "Estates"
        ],
        "summary": "Slette et utlegg på et objekt",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "DeleteEstateExpense",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "expenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Expense/Post": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Bokføre et kladdet utlegg på et objekt. Funksjonen skal kun benyttes for kostnader som skal bokføres som utlegg, ikke utbetales direkte.",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstateExpensePost",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateExpensePostRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateExpensePostRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateExpensePostRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateExpensePostRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateExpensePostRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateExpensePostRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstateExpensePostResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstateExpensePostResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstateExpensePostResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstateExpensePostResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstateExpensePostResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Insurance/ChangeOfOwnership": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om boligselgerforsikring på et oppdrag (ikke prosjekt)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesInsuranceChangeOfOwnership",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Lagre informasjon om boligselgerforsikring på et oppdrag (ikke prosjekt)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesInsuranceChangeOfOwnership",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ChangeOfOwnershipInsuranceInfo"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Insurance/HomeOwner": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere beskrivende tekst for boligkjøperforsikring på et oppdrag (ikke prosjekt)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstateInsuranceHomeOwner",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "description",
            "in": "query",
            "description": "Beskrivende tekst for boligkjøperforsikring",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Links": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente liste over offentlige lenker til et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesLinks",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Opprette en offentlig lenke til et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesLinks",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LinkAttributes"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Project": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente et prosjekt (bare prosjektmaster) - Pushaktivert (13)",
        "description": "Denne funksjonen returnerer spesifikk informasjon for prosjekt. Basisinformasjon om oppdraget hentes med GET {installationId}/Estates/{estateId. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (13)",
        "operationId": "GetProjectById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til prosjektmaster oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectObject"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectObject"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectObject"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectObject"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/RegisterInterest": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Registrere en interessent på et oppdrag",
        "description": "Funksjonen returnerer contactId for kontakten som interessen knyttes til. Det kan være en eksisterende kontakt som har blitt funnet gjennom dublettkontroll, innsendt contactId eller en ny kontakt. Merk at eksisterende fornavn, etternavn og firmanavn på matchende kontakter aldri vil bli overskrevet. Hvilken relasjon kontakten får til oppdraget bestemmes av konfigurasjonen i Next. Dersom flere relasjoner angis eller kunden allerede har en relasjon til oppdraget, velges den viktigste relasjonen. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstateInterest",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateInterest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateInterest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateInterest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateInterest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateInterest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateInterest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/SendMessage": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Sende melding til en bruker på et oppdrag med meldingsvarsel i 'bjella'. Hvis ønsket mottakertype ikke er registrert på oppdraget, sendes meldingen til Megler 1 på oppdraget",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstateMessage",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateMessage"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateMessage"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateMessage"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateMessage"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateMessage"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/EstateMessage"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/EstateId": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente estateId for et oppdrag basert på oppdragsnummer",
        "description": "Referanse til oppdrag. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEmprofEstateIdByAssignmentNumber",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assignmentNumber",
            "in": "query",
            "description": "Oppdragsnummer",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/EstateId/BySystemId/{estateSystemId}": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente estateId for et oppdrag basert på oppdragets systemId.",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstateIdBySystemId",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateSystemId",
            "in": "path",
            "description": "System-Id til oppdraget, etterfulgt av en skråstrek. (f.eks {installationId}/EstateId/BySystemId/ABC.123/)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Ads/{estateAdId}/Statistics": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente statistikk for annonse",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesAdsStatistics",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateAdId",
            "in": "path",
            "description": "Referanse til annonse",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AdStatisticsPeriod",
            "in": "query",
            "description": "Statistikkperiode\n\n1 = FromStart\n\n2 = LastFortNight\n\n3 = LastWeek",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AdStatisticsPeriod"
                }
              ],
              "x-enumNames": [
                "FromStart",
                "LastFortNight",
                "LastWeek"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            }
          },
          {
            "name": "AdStatisticsType",
            "in": "query",
            "description": "Statistikktype. Hvis ingen verdi er angitt gjelder alle typer\n\n1 = PageViews\n\n2 = MatchedEmail\n\n3 = RequestedEmail\n\n4 = AdLiftedToFrontPage",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AdStatisticsType"
                }
              ]
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdStatisticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdStatisticsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AdStatisticsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AdStatisticsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AdStatisticsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Showings": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om visninger for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesShowings",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ShowingType",
            "in": "query",
            "description": "Type visning\n\n0 = Showing\n\n1 = PrivateShowing",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ShowingType"
                }
              ],
              "x-enumNames": [
                "Showing",
                "PrivateShowing"
              ],
              "x-enumDescriptions": [
                "",
                ""
              ]
            }
          },
          {
            "name": "ShowingDateType",
            "in": "query",
            "description": "Om ingen verdi er angitt, leveres kun visninger i dag og framover\n\n0 = Future\n\n1 = All",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ShowingDateType"
                }
              ]
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesShowingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesShowingResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesShowingResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesShowingResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesShowingResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Mortgage": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Be om oppdatering av pant og lån på matrikler for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstateMortgage",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateMortgageRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateMortgageRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateMortgageRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateMortgageRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateMortgageRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstateMortgageRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateMortgageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateMortgageResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateMortgageResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateMortgageResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstateMortgageResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om pant og lån for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesMortgage",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesMortgageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesMortgageResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesMortgageResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesMortgageResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesMortgageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Commission": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente vederlagsinformasjon for et oppdrag. Informasjonen inneholder ikke vederlag på omsetninger - Pushaktivert (34)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (34)",
        "operationId": "GetEstatesCommission",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Lagre informasjon om vederlag for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesCommission",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesCommissionRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesCommissionRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesCommissionRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesCommissionRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesCommissionRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesCommissionRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesCommissionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesCommissionResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesCommissionResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesCommissionResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesCommissionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/CommissionSplit": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente provisjon per ansatt for et oppdrag av type provisjon, fastpris eller timebasert - Pushaktivert (29)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (29)",
        "operationId": "GetEstatesCommissionSplit",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionSplitResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionSplitResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionSplitResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionSplitResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesCommissionSplitResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Depot": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere tidspunkt for oppdragets depotdokument. Normalt er det bare ett dokument i depotet som tilhører en gruppe. Dersom det er flere dokumenter i depotet som tilhører samme angitte gruppe, oppdateres alle",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesDepot",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDepotRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDepotRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDepotRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDepotRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDepotRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDepotRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDepotResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDepotResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDepotResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDepotResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDepotResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/AssignmentBudget": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente oppdragsbudsjett for et oppdrag - Pushaktivert (26)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (26)",
        "operationId": "GetEstatesAssignmentBudget",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Id til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAssignmentBudgetResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAssignmentBudgetResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAssignmentBudgetResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAssignmentBudgetResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesAssignmentBudgetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/BudgetPost": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Opprette budsjettpost for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesBudgetPost",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesBudgetPostRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesBudgetPostResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesBudgetPostResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesBudgetPostResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesBudgetPostResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesBudgetPostResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Endre budsjettpost for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesBudgetPost",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesBudgetPostRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesBudgetPostRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesBudgetPostResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesBudgetPostResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesBudgetPostResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesBudgetPostResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesBudgetPostResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Data": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Lagre data for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder.",
        "operationId": "PostEstatesData",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "manual",
            "in": "query",
            "description": "Liste av importtyper hvor verdier skal lagres i Next med manuell godkjenning av megler (rettighetsbasert). Dersom importtypen også er angitt i 'automatic' vil automatikken gjelde\r\n[ImportType](#model-ImportType)",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ImportType"
              }
            },
            "x-enumNames": [
              "None",
              "AccountingBudgeting",
              "AmountYearsInstallmentFree",
              "Animals",
              "BoardApproval",
              "CommunityFee",
              "ConstructionMethod",
              "GuaranteeFund",
              "InsuranceCompany",
              "InsurancePolicy",
              "JointCostAfterGracePeriod",
              "JointDebtDescription",
              "JointDebtInstallment",
              "JointDebtInterest",
              "LoanTermsCollectiveDebt",
              "PartAbout",
              "Preemptive",
              "RentIncludes",
              "ResidentCommitments",
              "Statutes",
              "ValuationType",
              "EstateCorporationPartialBondNumber",
              "PartNumber",
              "ShareJointDebtYear",
              "ChangeOfOwnershipFee",
              "CollectiveDebt",
              "CommunityTax",
              "Deposit",
              "EstateCorporationPartialDenominatedBond",
              "EstimatedValue",
              "LoanFare",
              "PreemptiveFee",
              "RentPrMonth",
              "ShareJointCapital",
              "HasBoardApproval",
              "HasPreemptiveRight",
              "PreemptiveDeadline",
              "ShareJointCapitalDate",
              "ShareJointDebtToDate",
              "ValuationDate",
              "EstateHousingCooperativeStockHousingUnitNumber",
              "ValuationTypeEnum",
              "PlotSize",
              "PlotDescription",
              "Standard",
              "NonMeasurableAreas",
              "CommonAreasAndRightsToUse",
              "ValuatorCommentsToArea",
              "Areas",
              "DeleteDocument",
              "SolarConditions",
              "LocalAreaName",
              "ApartmentNumber",
              "YearlyLeaseFee",
              "LeasingContractDate",
              "RegulationOfLeaseExpense",
              "LeasePeriod",
              "LeasingPartyTransportFee",
              "RedemptionTerms",
              "LocationDescription",
              "Directions",
              "NurserySchoolLeisure",
              "SchoolDistrict",
              "PublicTransport",
              "SellersDeclaration",
              "YearOfConstruction",
              "AmountOfFloors",
              "AmountOfBedrooms",
              "AmountOfRooms",
              "AmountOfBathRooms",
              "Heading",
              "About",
              "Contents",
              "MovableProperty",
              "WhiteGoods",
              "RenovatedYear",
              "Renovated",
              "TvInternetBroadband",
              "Parking",
              "RadonMeasurement",
              "Various",
              "Heating",
              "PowerConsumption",
              "EnergyClassLetter",
              "EnergyClassNumber",
              "Energy",
              "MunicipalTaxesYear",
              "PropertyTax",
              "PropertyTaxYear",
              "PropertyTaxInformation",
              "AssetValuePrimary",
              "AssetValuePrimaryYear",
              "AssetValueSecondary",
              "AssetValueSecondaryYear",
              "AssetValueInformation",
              "OtherFees",
              "WelfareAssociationFee",
              "WelfareAssociation",
              "WaterTax",
              "WaterTaxYear",
              "WaterTaxInformation",
              "LoanFinancingOffer",
              "CompletionReportDated",
              "LandOwnerEstateDocumentDate",
              "CompletionReport",
              "RoadWaterSewage",
              "RegulationAndAreaPlans",
              "AccessToRental",
              "PublicLawOrder",
              "EasementsAndDeclarations",
              "ProtectionClassSefrak",
              "LegalPledge",
              "CommentConcession",
              "CommentLiveDuty",
              "CommentManagementDuty",
              "CommentPropertyRights",
              "TakeOver",
              "PurchaseCosts",
              "HomeBuyerInsurance",
              "Bidding",
              "PurchaseCostsAmount",
              "MoneyLaunderingRules",
              "SalesProspectusAttachment",
              "HomeSellerInsurance",
              "EstateOfDeceased",
              "OtherInsurances"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "automatic",
            "in": "query",
            "description": "Liste av importtyper for verdier som skal lagres automatisk i Next uten manuell godkjenning (rettighetsbasert). Dersom importtypen også er angitt i 'manual', vil automatikken likevel gjelde\r\n[ImportType](#model-ImportType)",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ImportType"
              }
            },
            "x-enumNames": [
              "None",
              "AccountingBudgeting",
              "AmountYearsInstallmentFree",
              "Animals",
              "BoardApproval",
              "CommunityFee",
              "ConstructionMethod",
              "GuaranteeFund",
              "InsuranceCompany",
              "InsurancePolicy",
              "JointCostAfterGracePeriod",
              "JointDebtDescription",
              "JointDebtInstallment",
              "JointDebtInterest",
              "LoanTermsCollectiveDebt",
              "PartAbout",
              "Preemptive",
              "RentIncludes",
              "ResidentCommitments",
              "Statutes",
              "ValuationType",
              "EstateCorporationPartialBondNumber",
              "PartNumber",
              "ShareJointDebtYear",
              "ChangeOfOwnershipFee",
              "CollectiveDebt",
              "CommunityTax",
              "Deposit",
              "EstateCorporationPartialDenominatedBond",
              "EstimatedValue",
              "LoanFare",
              "PreemptiveFee",
              "RentPrMonth",
              "ShareJointCapital",
              "HasBoardApproval",
              "HasPreemptiveRight",
              "PreemptiveDeadline",
              "ShareJointCapitalDate",
              "ShareJointDebtToDate",
              "ValuationDate",
              "EstateHousingCooperativeStockHousingUnitNumber",
              "ValuationTypeEnum",
              "PlotSize",
              "PlotDescription",
              "Standard",
              "NonMeasurableAreas",
              "CommonAreasAndRightsToUse",
              "ValuatorCommentsToArea",
              "Areas",
              "DeleteDocument",
              "SolarConditions",
              "LocalAreaName",
              "ApartmentNumber",
              "YearlyLeaseFee",
              "LeasingContractDate",
              "RegulationOfLeaseExpense",
              "LeasePeriod",
              "LeasingPartyTransportFee",
              "RedemptionTerms",
              "LocationDescription",
              "Directions",
              "NurserySchoolLeisure",
              "SchoolDistrict",
              "PublicTransport",
              "SellersDeclaration",
              "YearOfConstruction",
              "AmountOfFloors",
              "AmountOfBedrooms",
              "AmountOfRooms",
              "AmountOfBathRooms",
              "Heading",
              "About",
              "Contents",
              "MovableProperty",
              "WhiteGoods",
              "RenovatedYear",
              "Renovated",
              "TvInternetBroadband",
              "Parking",
              "RadonMeasurement",
              "Various",
              "Heating",
              "PowerConsumption",
              "EnergyClassLetter",
              "EnergyClassNumber",
              "Energy",
              "MunicipalTaxesYear",
              "PropertyTax",
              "PropertyTaxYear",
              "PropertyTaxInformation",
              "AssetValuePrimary",
              "AssetValuePrimaryYear",
              "AssetValueSecondary",
              "AssetValueSecondaryYear",
              "AssetValueInformation",
              "OtherFees",
              "WelfareAssociationFee",
              "WelfareAssociation",
              "WaterTax",
              "WaterTaxYear",
              "WaterTaxInformation",
              "LoanFinancingOffer",
              "CompletionReportDated",
              "LandOwnerEstateDocumentDate",
              "CompletionReport",
              "RoadWaterSewage",
              "RegulationAndAreaPlans",
              "AccessToRental",
              "PublicLawOrder",
              "EasementsAndDeclarations",
              "ProtectionClassSefrak",
              "LegalPledge",
              "CommentConcession",
              "CommentLiveDuty",
              "CommentManagementDuty",
              "CommentPropertyRights",
              "TakeOver",
              "PurchaseCosts",
              "HomeBuyerInsurance",
              "Bidding",
              "PurchaseCostsAmount",
              "MoneyLaunderingRules",
              "SalesProspectusAttachment",
              "HomeSellerInsurance",
              "EstateOfDeceased",
              "OtherInsurances"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDataRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDataRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDataRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDataRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDataRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesDataRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDataResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDataResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDataResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesDataResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Contacts/{contactId}/AccountNumber": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere bankkontonr for en kontakt tilknyttet et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstateContactBankAccount",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Relasjon og bankontonr",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateContactBankAccountRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateContactBankAccountRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateContactBankAccountRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateContactBankAccountRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateContactBankAccountRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstateContactBankAccountRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/AntiMoneyLaundering": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Lagre Anti Money Laundering (AML) informasjon for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder.",
        "operationId": "PostEstatesAml",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesAmlRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesAmlRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesAmlRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesAmlRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesAmlRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesAmlRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesAmlResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesAmlResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesAmlResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesAmlResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesAmlResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/EstatesNonActive": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente liste over oppdrag som er arkivert, utgått eller tilbaketrukket i et gitt tidsintervall. Standard tidsintervall er inneværende år/måned",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder.",
        "operationId": "GetEstatesNonActive",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Month",
            "in": "query",
            "description": "Måned, om verdien er utelatt brukes inneværende måned\n\n1 = January\n\n2 = February\n\n3 = March\n\n4 = April\n\n5 = May\n\n6 = June\n\n7 = July\n\n8 = August\n\n9 = September\n\n10 = October\n\n11 = November\n\n12 = December",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Month"
                }
              ]
            }
          },
          {
            "name": "Year",
            "in": "query",
            "description": "År, om verdien er utelatt brukes inneværende år. Minimumsverdi er 10 år tilbake i tid",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DepartmentId",
            "in": "query",
            "description": "Avdeling",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesNonActiveResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesNonActiveResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesNonActiveResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesNonActiveResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesNonActiveResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/EstatesNonActive/{estateId}": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente et arkivert, utgått eller utløpt oppdrag - Pushaktivert (33)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (33)",
        "operationId": "GetEstateByIdNonActive",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstateByIdNonActiveResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstateByIdNonActiveResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstateByIdNonActiveResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstateByIdNonActiveResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstateByIdNonActiveResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Contacts/{contactId}/ContactRoles": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om et oppdrags kontaktroller for kontakter knyttet til firma",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesContactRoles",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contactId",
            "in": "path",
            "description": "Referanse til kontakten",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRolesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRolesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRolesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRolesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesContactRolesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/ProductCode": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om posteringskoder for et oppdrag, om ingen posteringskodetag er angitt, hentes en liste over alle oppdragets posteringskoder som har tag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesProductCode",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Tag",
            "in": "query",
            "description": "Tag til posteringskode",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesProductCodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesProductCodeResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesProductCodeResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesProductCodeResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesProductCodeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/MortgageStatus": {
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere status på et pantekort",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesMortgageStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesMortgageStatusRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesMortgageStatusRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesMortgageStatusRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesMortgageStatusRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesMortgageStatusRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesMortgageStatusRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesMortgageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesMortgageResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesMortgageResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesMortgageResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PutEstatesMortgageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/LoanById/{loanId}": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om et lån",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesLoanById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "loanId",
            "in": "path",
            "description": "Referanse til lån",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesLoanByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesLoanByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesLoanByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesLoanByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesLoanByIdResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Loan": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Opprette informasjon om et lån",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesLoan",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesLoanRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesLoanRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesLoanRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesLoanRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesLoanRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesLoanRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Estates"
        ],
        "summary": "Oppdatere informasjon om et lån",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutEstatesLoan",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesLoanRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesLoanRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesLoanRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesLoanRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesLoanRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PutEstatesLoanRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EstatesLoanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/OutstandingDebtBalanceById/{balanceId}": {
      "get": {
        "tags": [
          "Estates"
        ],
        "summary": "Hente informasjon om restgjeld",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstatesOutstandingDebtBalanceById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "balanceId",
            "in": "path",
            "description": "Referanse til restgjeldsaldo",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesOutstandingDebtBalanceByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesOutstandingDebtBalanceByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesOutstandingDebtBalanceByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesOutstandingDebtBalanceByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEstatesOutstandingDebtBalanceByIdResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/OutstandingDebtBalance": {
      "post": {
        "tags": [
          "Estates"
        ],
        "summary": "Opprette restgjeld for pantekort og lån på et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostEstatesOutstandingDebtBalance",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdrag",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostEstatesOutstandingDebtBalanceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/Areas": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente områder",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstateAreas",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateArea"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateArea"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateArea"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateArea"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateArea"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/AssignmentTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente oppdragstyper",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAssignmentTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextAssignmentType"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextAssignmentType"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextAssignmentType"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextAssignmentType"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextAssignmentType"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/EstateTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente objektstyper",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetEstateTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateType"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateType"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateType"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateType"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextEstateType"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/AreaTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente arealtyper, brukes i søkeprofil for næringsobjekter.",
        "description": "Denne returnerer en liste med NextAreaType, ikke AreaType (som er for arealbegreper). Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetAreaTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NextAreaTypesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NextAreaTypesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/NextAreaTypesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/NextAreaTypesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NextAreaTypesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/GetPath": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente sti for angitt side i Next",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetNextPath",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageCategory",
            "in": "query",
            "description": "Sidetype i Next som det ønskes sti for\n\n0 = EstateDocuments\n\n1 = EstateImages\n\n2 = EstateOverview\n\n3 = EstateOrders\n\n4 = EstateBidJournal\n\n5 = ContactOverview\n\n6 = ContactSearchProfile\n\n7 = ContactOwnership\n\n8 = ContactDocuments\n\n9 = ContactBasicInformation\n\n10 = EstateStakeholders\n\n11 = EstateInterests\n\n12 = ProjectDocuments\n\n13 = ProjectImages\n\n14 = ProjectOverview\n\n15 = ProjectOrders\n\n16 = ProjectBidJournal\n\n17 = ProjectStakeholders\n\n18 = ProjectInterests\n\n19 = CommercialDocuments\n\n20 = CommercialImages\n\n21 = CommercialOverview\n\n22 = CommercialOrders\n\n23 = CommercialBidJournal\n\n24 = CommercialStakeholders\n\n25 = CommercialInterests\n\n26 = EstateMortgage\n\n27 = ProjectMortgage\n\n28 = CommercialMortgage",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/PageCategory"
                }
              ],
              "description": "\r\n\r\n\r\n0 = EstateDocuments (EstateDocuments)\r\n            \r\n\r\n1 = EstateImages (EstateImages)\r\n            \r\n\r\n2 = EstateOverview (EstateOverview)\r\n            \r\n\r\n3 = EstateOrders (EstateOrders)\r\n            \r\n\r\n4 = EstateBidJournal (EstateBidJournal)\r\n            \r\n\r\n5 = ContactOverview (ContactOverview)\r\n            \r\n\r\n6 = ContactSearchProfile (ContactSearchProfile)\r\n            \r\n\r\n7 = ContactOwnership (ContactOwnership)\r\n            \r\n\r\n8 = ContactDocuments (ContactDocuments)\r\n            \r\n\r\n9 = ContactBasicInformation (ContactBasicInformation)\r\n            \r\n\r\n10 = EstateStakeholders (EstateStakeholders)\r\n            \r\n\r\n11 = EstateInterests (EstateInterests)\r\n            \r\n\r\n12 = ProjectDocuments (ProjectDocuments)\r\n            \r\n\r\n13 = ProjectImages (ProjectImages)\r\n            \r\n\r\n14 = ProjectOverview (ProjectOverview)\r\n            \r\n\r\n15 = ProjectOrders (ProjectOrders)\r\n            \r\n\r\n16 = ProjectBidJournal (ProjectBidJournal)\r\n            \r\n\r\n17 = ProjectStakeholders (ProjectStakeholders)\r\n            \r\n\r\n18 = ProjectInterests (ProjectInterests)\r\n            \r\n\r\n19 = CommercialDocuments (CommercialDocuments)\r\n            \r\n\r\n20 = CommercialImages (CommercialImages)\r\n            \r\n\r\n21 = CommercialOverview (CommercialOverview)\r\n            \r\n\r\n22 = CommercialOrders (CommercialOrders)\r\n            \r\n\r\n23 = CommercialBidJournal (CommercialBidJournal)\r\n            \r\n\r\n24 = CommercialStakeholders (CommercialStakeholders)\r\n            \r\n\r\n25 = CommercialInterests (CommercialInterests)\r\n            \r\n\r\n26 = EstateMortgage (EstateMortgage)\r\n            \r\n\r\n27 = ProjectMortgage (ProjectMortgage)\r\n            \r\n\r\n28 = CommercialMortgage (CommercialMortgage)",
              "x-enumNames": [
                "EstateDocuments",
                "EstateImages",
                "EstateOverview",
                "EstateOrders",
                "EstateBidJournal",
                "ContactOverview",
                "ContactSearchProfile",
                "ContactOwnership",
                "ContactDocuments",
                "ContactBasicInformation",
                "EstateStakeholders",
                "EstateInterests",
                "ProjectDocuments",
                "ProjectImages",
                "ProjectOverview",
                "ProjectOrders",
                "ProjectBidJournal",
                "ProjectStakeholders",
                "ProjectInterests",
                "CommercialDocuments",
                "CommercialImages",
                "CommercialOverview",
                "CommercialOrders",
                "CommercialBidJournal",
                "CommercialStakeholders",
                "CommercialInterests",
                "EstateMortgage",
                "ProjectMortgage",
                "CommercialMortgage"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "EstateDocuments",
              "EstateImages",
              "EstateOverview",
              "EstateOrders",
              "EstateBidJournal",
              "ContactOverview",
              "ContactSearchProfile",
              "ContactOwnership",
              "ContactDocuments",
              "ContactBasicInformation",
              "EstateStakeholders",
              "EstateInterests",
              "ProjectDocuments",
              "ProjectImages",
              "ProjectOverview",
              "ProjectOrders",
              "ProjectBidJournal",
              "ProjectStakeholders",
              "ProjectInterests",
              "CommercialDocuments",
              "CommercialImages",
              "CommercialOverview",
              "CommercialOrders",
              "CommercialBidJournal",
              "CommercialStakeholders",
              "CommercialInterests",
              "EstateMortgage",
              "ProjectMortgage",
              "CommercialMortgage"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "mainId",
            "in": "query",
            "description": "Referanse til id for aktuelt objekt. F.eks. estateId eller contactId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/DocumentTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente dokumenttyper",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetNextDocxumentTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextDocumentType"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextDocumentType"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextDocumentType"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextDocumentType"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NextDocumentType"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/SendSMS": {
      "post": {
        "tags": [
          "Next"
        ],
        "summary": "Sende SMS (faktureres meglerforetaket)",
        "description": "Sende SMS fra Next med valgt avsender. Kostnaden for SMS faktureres meglerforetaket i henhold til gjeldende prisliste. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "SendSms",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FromEmployeeId",
            "in": "query",
            "description": "Avsenders brukerid. Om brukerid ikke angis eller brukeren mangler telefonnummer, brukes standardavsenderen i systemet. Brukerid må finnes i Next.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UseSenderFallback",
            "in": "query",
            "description": "Settes dersom man ønsker at SMS skal bli sendt selv om avsender ikke er en aktiv bruker med telefonnummer. Dersom denne ikke settes, vil kallet feile dersom fromEmployeeId ikke er en aktiv bruker med gyldig telefonnummer",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "RecipientNumber",
            "in": "query",
            "description": "Telefonnummer som SMS skal sendes til. Dersom SMS skal sendes til et mobilnummer i utlandet, må enten 00 legges foran landkoden (f.eks. 0046 foran et svensk nummer) eller urlencode + foran landkoden",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Text",
            "in": "query",
            "description": "SMS-teksten som skal sendes",
            "required": true,
            "schema": {
              "maxLength": 1000,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "DepartmentId",
            "in": "query",
            "description": "Oppdragets eller den ansattes avdeling. Brukes som grunnlag for fakturering",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ContactId",
            "in": "query",
            "description": "Referanse til den kontakten meldingen gjelder. Krever Next 4.5",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "EstateId",
            "in": "query",
            "description": "Referanse til det aktive oppdraget meldingen gjelder. Krever Next 4.5",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Source",
            "in": "query",
            "description": "Kilde. Krever Next 4.5",
            "schema": {
              "maxLength": 250,
              "minLength": 0,
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/ContactRoleTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente informasjon om kontaktroller i Next",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetNextContactRoleTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextContactRoleTypesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextContactRoleTypesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextContactRoleTypesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextContactRoleTypesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextContactRoleTypesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/ConsentTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente kundespesifikke samtykketyper",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetConsentTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextConsentTypesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextConsentTypesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextConsentTypesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextConsentTypesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextConsentTypesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Next/OriginTypes": {
      "get": {
        "tags": [
          "Next"
        ],
        "summary": "Hente kundespesifikke typer for kilde for henvendelse",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetNextOriginTypes",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til systemet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextOriginTypesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextOriginTypesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextOriginTypesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextOriginTypesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextOriginTypesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Orders/{orderId}/Status": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Hente status på en ordre",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetOrderStatuses",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusType",
            "in": "query",
            "description": "Returner ordrestatus med en eller flere av disse statustypene\r\n[OrderStatus](#model-OrderStatus)",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OrderStatus"
              }
            },
            "x-enumNames": [
              "Created",
              "InProgress",
              "InteractionRequired",
              "Error",
              "Cancelled",
              "Delivered"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Sette ny status på en ordre",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostOrdersStatus",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message",
            "in": "query",
            "description": "Melding til brukeren",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Status på ordren\n\n1 = Created\n\n2 = InProgress\n\n3 = InteractionRequired\n\n4 = Error\n\n5 = Cancelled\n\n6 = Delivered",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/OrderStatus"
                }
              ],
              "description": "\r\n\r\n\r\n1 = created (Opprettet)\r\n            \r\n\r\n2 = inProgress (Ordren behandles)\r\n            \r\n\r\n3 = interactionRequired (Ordren venter på tilbakemelding fra bruker/kunde)\r\n            \r\n\r\n4 = error (En feil har oppstått)\r\n            \r\n\r\n5 = cancelled (Avbrutt/Slettet)\r\n            \r\n\r\n6 = delivered (Ordre levert)",
              "x-enumNames": [
                "Created",
                "InProgress",
                "InteractionRequired",
                "Error",
                "Cancelled",
                "Delivered"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Created",
              "InProgress",
              "InteractionRequired",
              "Error",
              "Cancelled",
              "Delivered"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "url",
            "in": "query",
            "description": "Lenke til ordresiden, makslengde 2047",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Orders/{orderId}/StatusRequest": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Sette ny status på en ordre, inkludert liste av lenker",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostOrdersStatusRequest",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message",
            "in": "query",
            "description": "Melding til brukeren",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Status på ordren\n\n1 = Created\n\n2 = InProgress\n\n3 = InteractionRequired\n\n4 = Error\n\n5 = Cancelled\n\n6 = Delivered",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/OrderStatus"
                }
              ],
              "description": "\r\n\r\n\r\n1 = created (Opprettet)\r\n            \r\n\r\n2 = inProgress (Ordren behandles)\r\n            \r\n\r\n3 = interactionRequired (Ordren venter på tilbakemelding fra bruker/kunde)\r\n            \r\n\r\n4 = error (En feil har oppstått)\r\n            \r\n\r\n5 = cancelled (Avbrutt/Slettet)\r\n            \r\n\r\n6 = delivered (Ordre levert)",
              "x-enumNames": [
                "Created",
                "InProgress",
                "InteractionRequired",
                "Error",
                "Cancelled",
                "Delivered"
              ],
              "x-enumDescriptions": [
                "",
                "",
                "",
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Created",
              "InProgress",
              "InteractionRequired",
              "Error",
              "Cancelled",
              "Delivered"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "url",
            "in": "query",
            "description": "Lenke til ordresiden, makslengde 2047",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatusRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatusRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatusRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatusRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatusRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatusRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Orders/ByProductId/{productId}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Hente alle ordre på et produkt for et oppdrag",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetProductOrders",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "description": "Returner alle ordre på oppdraget for dette produktet",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Estates/{estateId}/Orders/{orderId}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Hente ordre for et oppdrag - Pushaktivert (20)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (20)",
        "operationId": "GetEstateOrderById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estateId",
            "in": "path",
            "description": "Referanse til oppdraget",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "description": "Referanse til ordren",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderLine"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderLine"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderLine"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderLine"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProductOrderLine"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/SearchProfiles": {
      "get": {
        "tags": [
          "SearchProfiles"
        ],
        "summary": "Hente informasjon om søkeprofilene til alle kontakter",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetSearchProfiles",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "changedBefore",
            "in": "query",
            "description": "Endret før dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "includeEnded",
            "in": "query",
            "description": "Inkluder avsluttede søkeprofiler",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsSearchProfilesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsSearchProfilesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsSearchProfilesResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsSearchProfilesResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsSearchProfilesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/SearchProfiles/{searchProfileId}": {
      "get": {
        "tags": [
          "SearchProfiles"
        ],
        "summary": "Hente informasjon om søkeprofil - Pushaktivert (6)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (6)",
        "operationId": "GetSearchProfileById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchProfileId",
            "in": "path",
            "description": "Referanse til søkeprofil",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchProfile"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchProfile"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SearchProfile"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SearchProfile"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SearchProfile"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips": {
      "get": {
        "tags": [
          "Tips"
        ],
        "summary": "Hente en liste over tips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetTips",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originTypes",
            "in": "query",
            "description": "Returner kun tips med en eller flere av disse tipstypene\r\n[OriginType](#model-OriginType)",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OriginType"
              }
            },
            "x-enumNames": [
              "NextInternal",
              "External",
              "FromBank",
              "ToBank"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          {
            "name": "changedAfter",
            "in": "query",
            "description": "Endret etter dato",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tips"
        ],
        "summary": "Opprette et tips",
        "description": "Samtykke til oppfølging vil bli satt automatisk i Next når tipset knyttes til en kontakt, så før et tips sendes må samtykke innhentes fra kunden. Returnerer referanse til tips. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostTip",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Kontaktinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips/{tipId}": {
      "get": {
        "tags": [
          "Tips"
        ],
        "summary": "Hente informasjon om et tips - Pushaktivert (7)",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder - Pushaktivert (7)",
        "operationId": "GetTipById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipId",
            "in": "path",
            "description": "Referanse til tips",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipByIdResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tips"
        ],
        "summary": "Oppdatere et tips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutTip",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipId",
            "in": "path",
            "description": "Referanse til tips",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Kontaktinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipUpdateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipUpdateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipUpdateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipUpdateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipUpdateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipUpdateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips/Pro = defaultducts": {
      "get": {
        "tags": [
          "Tips"
        ],
        "summary": "Hente en liste over tipsprodukter for banktips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetTipsProducts",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips/Products/{tipsProductId}": {
      "get": {
        "tags": [
          "Tips"
        ],
        "summary": "Hente informasjon om et tipsprodukt for banktips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetTipsProductById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipsProductId",
            "in": "path",
            "description": "Referanse til tipsprodukt for banktips",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsProductByIdResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tips"
        ],
        "summary": "Oppdatere et tipsprodukt for banktips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutTipsProduct",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipsProductId",
            "in": "path",
            "description": "Referanse til tipsprodukt for banktips",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Produktinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductUpdateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductUpdateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductUpdateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductUpdateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductUpdateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductUpdateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tips"
        ],
        "summary": "Slette et tipsprodukt for banktips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "DeleteTipsProduct",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipsProductId",
            "in": "path",
            "description": "Referanse til tipsprodukt for banktips",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips/Products": {
      "post": {
        "tags": [
          "Tips"
        ],
        "summary": "Opprette et tipsprodukt for banktips",
        "description": "Referanse til tipsprodukt for banktips. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostTipsProduct",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Produktinformasjon",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsProductCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips/Recipients": {
      "get": {
        "tags": [
          "Tips"
        ],
        "summary": "Hente en liste over tipsmottakere for banktips",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetTipsRecipients",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "parentTipsRecipientId",
            "in": "query",
            "description": "Referanse til avdeling",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientsResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientsResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tips"
        ],
        "summary": "Opprette en tipsmottaker hos bank",
        "description": "Referanse til tipsmottaker hos bank. Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PostTipsRecipient",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Informasjon om mottaker hos bank",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientCreateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientCreateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientCreateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientCreateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientCreateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/{installationId}/Tips/Recipients/{tipsRecipientId}": {
      "get": {
        "tags": [
          "Tips"
        ],
        "summary": "Hente informasjon om en tipsmottaker hos bank",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "GetTipsRecipientById",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipsRecipientId",
            "in": "path",
            "description": "Referanse til tipsmottaker hos bank",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientByIdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientByIdResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientByIdResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTipsRecipientByIdResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tips"
        ],
        "summary": "Oppdatere en tipsmottaker hos bank",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "PutTipsRecipient",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipsRecipientId",
            "in": "path",
            "description": "Referanse til tipsmottaker hos bank",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Informasjon om mottaker hos bank",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientUpdateRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientUpdateRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientUpdateRequest"
                  }
                ]
              }
            },
            "application/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientUpdateRequest"
                  }
                ]
              }
            },
            "text/xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientUpdateRequest"
                  }
                ]
              }
            },
            "application/*+xml": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TipsRecipientUpdateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tips"
        ],
        "summary": "Slette en tipsmottaker hos bank",
        "description": "Se teknisk beskrivelse for informasjon om mulige HTTP svarkoder",
        "operationId": "DeleteTipsRecipient",
        "parameters": [
          {
            "name": "installationId",
            "in": "path",
            "description": "Referanse til system",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipsRecipientId",
            "in": "path",
            "description": "Referanse til tipsmottaker hos bank",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": { }
              },
              "text/json": {
                "schema": { }
              },
              "application/xml": {
                "schema": { }
              },
              "text/xml": {
                "schema": { }
              },
              "text/plain": {
                "schema": { }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccordingToLaw": {
        "enum": [
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = moneyLaundering (Loven for hvitvasking)\n\n1 = MoneyLaundering",
        "format": "int32",
        "x-enumNames": [
          "MoneyLaundering"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "AccountingContactObject": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Id til kontakt",
            "nullable": true
          },
          "contactPersonId": {
            "type": "string",
            "description": "Id til kontaktpersonen",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "Fornavn",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Etternavn",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Firmanavn",
            "nullable": true
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountingContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company\n\n2 = ContactPerson",
            "x-enumNames": [
              "Person",
              "Company",
              "ContactPerson"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "organisationNumber": {
            "type": "string",
            "description": "Orgnummer",
            "nullable": true
          },
          "socialSecurity": {
            "type": "string",
            "description": "Personnummer",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Epost",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "postalArea": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "isMainContact": {
            "type": "boolean",
            "description": "Er gruppens hovedkontakt"
          },
          "mobilePhone": {
            "type": "string",
            "description": "Tlf.nr mobil",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountingContactType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = person (Person)\r\n            \r\n\r\n1 = company (Firma)\r\n            \r\n\r\n2 = contactPerson (Kontaktperson til firma)\n\n0 = Person\n\n1 = Company\n\n2 = ContactPerson",
        "format": "int32",
        "x-enumNames": [
          "Person",
          "Company",
          "ContactPerson"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "AccountingEstateObject": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "assignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer formattert etter kundeinnstillinger",
            "nullable": true
          },
          "accountingFormatedAssignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Adresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "postalArea": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "sellerGroupName": {
            "type": "string",
            "description": "Navn på selger",
            "nullable": true
          },
          "sellerLedgerNumber": {
            "type": "string",
            "description": "Reskontronummer for selgers klientansvar",
            "nullable": true
          },
          "sellerNonClientLedgerNumber": {
            "type": "string",
            "description": "Reskontronummer for selger ikke klientansvar",
            "nullable": true
          },
          "sellers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountingContactObject"
            },
            "description": "Liste med alle selgere på oppdraget, hovedkontakt vil være først",
            "nullable": true
          },
          "buyerGroupName": {
            "type": "string",
            "description": "Navn på kjøper",
            "nullable": true
          },
          "buyerLedgerNumber": {
            "type": "string",
            "description": "Reskontronummer for kjøpers klientansvar",
            "nullable": true
          },
          "buyerNonClientLedgerNumber": {
            "type": "string",
            "description": "Reskontronummer for kjøper ikke klientansvar",
            "nullable": true
          },
          "buyers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountingContactObject"
            },
            "description": "Liste med alle kjøpere på oppdraget",
            "nullable": true
          },
          "assignmentAccepted": {
            "type": "string",
            "description": "Dato for oppdragsaksept",
            "format": "date-time"
          },
          "sold": {
            "type": "string",
            "description": "Solgt dato",
            "format": "date-time",
            "nullable": true
          },
          "brokersIdWithRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerWithRoles"
            },
            "description": "Liste over meglere tilknyttet oppdraget",
            "nullable": true
          },
          "assignmentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentType"
              }
            ],
            "description": "Oppdragstype. Utgått, benytt assignmentTypeGroup istedenfor oppdragstype\n\n0 = Sale\n\n1 = Rent\n\n2 = Valuation\n\n3 = Settlement\n\n4 = Foreclosure",
            "x-enumNames": [
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "Foreclosure"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe, erstatter oppdragstype. Endring i gruppetilhørighet for en oppdragskategori vil ikke medføre push\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "projectRelation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProjectRelation"
              }
            ],
            "description": "Relasjon til prosjektmaster eller prosjektenhet\n\n1 = ProjectMaster\n\n2 = ProjectUnit\n\n3 = NotProject",
            "nullable": true
          },
          "invoiceRecipientGroupName": {
            "type": "string",
            "description": "Navn på fakturamottaker",
            "nullable": true
          },
          "incoiveRecipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountingContactObject"
            },
            "description": "Liste med alle fakturamottakere på oppdraget",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Status\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "AccountingSettlementPostStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ukjent)\r\n            \r\n\r\n1 = draft (Kladdet)\r\n            \r\n\r\n2 = forward (Til bokføring)\r\n            \r\n\r\n3 = posted (Bokført)\r\n            \r\n\r\n4 = readback (Bokført)\r\n            \r\n\r\n5 = remitWaitingForCoSign (Til godkjenning)\r\n            \r\n\r\n6 = remitWaitingForTransfer (Til overføring)\r\n            \r\n\r\n7 = remitWaitingForPayment (Til utbetaling)\r\n            \r\n\r\n8 = rejectedRemit (Avvist)\r\n            \r\n\r\n9 = remitPayed (Utbetalt)\r\n            \r\n\r\n10 = postedToAccounting (Overført)\r\n            \r\n\r\n11 = failed (Feilet)\r\n            \r\n\r\n12 = readyForInvoice (Til fakturering)\r\n            \r\n\r\n13 = invoiced (Fakturert)\n\n0 = NotSet\n\n1 = Draft\n\n2 = Forward\n\n3 = Posted\n\n4 = Readback\n\n5 = RemitWaitingForCoSign\n\n6 = RemitWaitingForTransfer\n\n7 = RemitWaitingForPayment\n\n8 = RejectedRemit\n\n9 = RemitPayed\n\n10 = PostedToAccounting\n\n11 = Failed\n\n12 = ReadyForInvoice\n\n13 = Invoiced",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Draft",
          "Forward",
          "Posted",
          "Readback",
          "RemitWaitingForCoSign",
          "RemitWaitingForTransfer",
          "RemitWaitingForPayment",
          "RejectedRemit",
          "RemitPayed",
          "PostedToAccounting",
          "Failed",
          "ReadyForInvoice",
          "Invoiced"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AccountingTransaction": {
        "type": "object",
        "properties": {
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "account": {
            "type": "string",
            "description": "Kontonummer",
            "nullable": true
          },
          "ledgerType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LedgerType"
              }
            ],
            "description": "Konto\n\n1 = General\n\n2 = Customer\n\n3 = Supplier",
            "x-enumNames": [
              "General",
              "Customer",
              "Supplier"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Beløp uten mva",
            "format": "double"
          },
          "vatRate": {
            "type": "number",
            "description": "Mva prosent",
            "format": "double"
          },
          "vatAmount": {
            "type": "number",
            "description": "Mva beløp",
            "format": "double"
          },
          "voucherNumber": {
            "type": "integer",
            "description": "Bilagsnr",
            "format": "int32"
          },
          "lineNumber": {
            "type": "integer",
            "description": "Linjenr",
            "format": "int32"
          },
          "postingDate": {
            "type": "string",
            "description": "Posteringsdato",
            "format": "date-time"
          },
          "dueDate": {
            "type": "string",
            "description": "Forfallsdato",
            "format": "date-time",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Referanse til bruker",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountingTransactionResponse": {
        "type": "object",
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountingTransaction"
            },
            "description": "Liste over bokførte transaksjoner",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActivityCreateRequest": {
        "required": [
          "employeeId",
          "end",
          "start",
          "title"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ActivityType"
              }
            ],
            "description": "Aktivitetstype. Brukes kun om aktivitetstypenavn er utelatt. Anbefales brukt i løsninger for flere kunder\n\n1 = Showing\n\n2 = PhoneIn\n\n3 = PhoneOut\n\n4 = BidFollow\n\n5 = Document\n\n6 = Mailing\n\n7 = Sms\n\n8 = Note\n\n9 = Inspection\n\n10 = PrivateViewing\n\n11 = FollowUp\n\n12 = Contract\n\n13 = Takeover\n\n14 = Ad\n\n15 = SearchProfile\n\n16 = Depot\n\n17 = AssignmentPeriod\n\n18 = Task\n\n19 = ProjectGuarantee\n\n20 = ProjectMeeting\n\n21 = Kartverket\n\n22 = Leads\n\n23 = PreInspection\n\n24 = ETinglysing\n\n25 = CallList\n\n26 = YearInspection\n\n27 = SettlementFolder\n\n28 = TakeoverLog\n\n29 = Settlement\n\n30 = Consent\n\n31 = EstateData\n\n32 = EmailIn\n\n33 = EmailOut\n\n34 = Photography\n\n35 = Appraisal\n\n36 = MoneyLaunderingControl\n\n37 = InternalControl\n\n38 = SellerTask\n\n39 = BuyerTask",
            "x-enumNames": [
              "Showing",
              "PhoneIn",
              "PhoneOut",
              "BidFollow",
              "Document",
              "Mailing",
              "Sms",
              "Note",
              "Inspection",
              "PrivateViewing",
              "FollowUp",
              "Contract",
              "Takeover",
              "Ad",
              "SearchProfile",
              "Depot",
              "AssignmentPeriod",
              "Task",
              "ProjectGuarantee",
              "ProjectMeeting",
              "Kartverket",
              "Leads",
              "PreInspection",
              "ETinglysing",
              "CallList",
              "YearInspection",
              "SettlementFolder",
              "TakeoverLog",
              "Settlement",
              "Consent",
              "EstateData",
              "EmailIn",
              "EmailOut",
              "Photography",
              "Appraisal",
              "MoneyLaunderingControl",
              "InternalControl",
              "SellerTask",
              "BuyerTask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "typeName": {
            "type": "string",
            "description": "Aktivitetstypenavn. Kundespesifikke navn som kan endres av kunde",
            "nullable": true
          },
          "employeeId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til bruker som utfører aktiviteten"
          },
          "start": {
            "type": "string",
            "description": "Oppstart",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "description": "Avslutning. Aktivitet må avsluttes samme dag",
            "format": "date-time"
          },
          "title": {
            "minLength": 1,
            "type": "string",
            "description": "Overskrift. Begrensning på 63 tegn"
          },
          "note": {
            "type": "string",
            "description": "Notat",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "Lenke",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag. Enten oppdrag eller kontakter er påkrevet",
            "nullable": true
          },
          "contactIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Referanse til liste av kontakter. Enten oppdrag eller kontakter er påkrevet",
            "nullable": true
          },
          "notification": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Notification"
              }
            ],
            "description": "Aktivering av varsel",
            "nullable": true
          },
          "private": {
            "type": "boolean"
          },
          "doneDate": {
            "type": "string",
            "description": "Dato for når aktiviteten ble utført (hvis den allerede er utført). Varsel vil ikke bli aktivert når aktiviteten er utført",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActivityType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = showing (Visning)\r\n            \r\n\r\n2 = phoneIn (Telefon inn)\r\n            \r\n\r\n3 = phoneOut (Telefon ut)\r\n            \r\n\r\n4 = bidFollow (Budoppfølging)\r\n            \r\n\r\n5 = document (Dokument)\r\n            \r\n\r\n6 = mailing (Utsendelse)\r\n            \r\n\r\n7 = sms (SMS)\r\n            \r\n\r\n8 = note (Notat)\r\n            \r\n\r\n9 = inspection (Befaring)\r\n            \r\n\r\n10 = privateViewing (Privatvisning)\r\n            \r\n\r\n11 = followUp (Oppfølging)\r\n            \r\n\r\n12 = contract (Kontraktsmøte)\r\n            \r\n\r\n13 = takeover (Overtakelse)\r\n            \r\n\r\n14 = ad (Nettannonse)\r\n            \r\n\r\n15 = searchProfile (Søkeprofil)\r\n            \r\n\r\n16 = depot (Depot)\r\n            \r\n\r\n17 = assignmentPeriod (Oppdragsperiode)\r\n            \r\n\r\n18 = task (Gjøremål)\r\n            \r\n\r\n19 = projectGuarantee (Garantistillelse)\r\n            \r\n\r\n20 = projectMeeting (Prosjektmøte)\r\n            \r\n\r\n21 = kartverket (Kartverket)\r\n            \r\n\r\n22 = leads (Tips)\r\n            \r\n\r\n23 = preInspection (Forhåndsbefaring)\r\n            \r\n\r\n24 = eTinglysing (eTinglysing)\r\n            \r\n\r\n25 = callList (Ringelister)\r\n            \r\n\r\n26 = yearInspection (Ettårsbefaring)\r\n            \r\n\r\n27 = settlementFolder (Oppgjørsmappe)\r\n            \r\n\r\n28 = takeoverLog (Overtakelsesprotokoll)\r\n            \r\n\r\n29 = settlement (Oppgjør)\r\n            \r\n\r\n30 = consent (Samtykke)\r\n            \r\n\r\n31 = estateData (Oppdragsdata)\r\n            \r\n\r\n32 = emailIn (E-post inn)\r\n            \r\n\r\n33 = emailOut (E-post ut)\r\n            \r\n\r\n34 = photography (Fotografering)\r\n            \r\n\r\n35 = appraisal (Taksering)\r\n            \r\n\r\n36 = moneyLaunderingControl (Hvitvaskingskontroll)\r\n            \r\n\r\n37 = internalControl (Internkontroll)\r\n            \r\n\r\n38 = sellerTask (Oppgave for selger)\r\n            \r\n\r\n39 = buyerTask (Oppgave for kjøper)\n\n1 = Showing\n\n2 = PhoneIn\n\n3 = PhoneOut\n\n4 = BidFollow\n\n5 = Document\n\n6 = Mailing\n\n7 = Sms\n\n8 = Note\n\n9 = Inspection\n\n10 = PrivateViewing\n\n11 = FollowUp\n\n12 = Contract\n\n13 = Takeover\n\n14 = Ad\n\n15 = SearchProfile\n\n16 = Depot\n\n17 = AssignmentPeriod\n\n18 = Task\n\n19 = ProjectGuarantee\n\n20 = ProjectMeeting\n\n21 = Kartverket\n\n22 = Leads\n\n23 = PreInspection\n\n24 = ETinglysing\n\n25 = CallList\n\n26 = YearInspection\n\n27 = SettlementFolder\n\n28 = TakeoverLog\n\n29 = Settlement\n\n30 = Consent\n\n31 = EstateData\n\n32 = EmailIn\n\n33 = EmailOut\n\n34 = Photography\n\n35 = Appraisal\n\n36 = MoneyLaunderingControl\n\n37 = InternalControl\n\n38 = SellerTask\n\n39 = BuyerTask",
        "format": "int32",
        "x-enumNames": [
          "Showing",
          "PhoneIn",
          "PhoneOut",
          "BidFollow",
          "Document",
          "Mailing",
          "Sms",
          "Note",
          "Inspection",
          "PrivateViewing",
          "FollowUp",
          "Contract",
          "Takeover",
          "Ad",
          "SearchProfile",
          "Depot",
          "AssignmentPeriod",
          "Task",
          "ProjectGuarantee",
          "ProjectMeeting",
          "Kartverket",
          "Leads",
          "PreInspection",
          "ETinglysing",
          "CallList",
          "YearInspection",
          "SettlementFolder",
          "TakeoverLog",
          "Settlement",
          "Consent",
          "EstateData",
          "EmailIn",
          "EmailOut",
          "Photography",
          "Appraisal",
          "MoneyLaunderingControl",
          "InternalControl",
          "SellerTask",
          "BuyerTask"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AdChannel": {
        "enum": [
          1,
          8,
          16,
          32
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = finn (Finn.no)\r\n            \r\n\r\n8 = zett (Amedia)\r\n            \r\n\r\n16 = ne (NE.NO)\r\n            \r\n\r\n32 = publish (Egenpublisering)\n\n1 = Finn\n\n8 = Zett\n\n16 = Ne\n\n32 = Publish",
        "format": "int32",
        "x-enumNames": [
          "Finn",
          "Zett",
          "Ne",
          "Publish"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "AdData": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdTransferStatus"
              }
            ],
            "description": "Overføringsstatus\n\n0 = NotSet\n\n1 = Ready\n\n2 = Busy\n\n3 = Transferred\n\n4 = Acknowledged\n\n5 = NotAcknowledged",
            "x-enumNames": [
              "NotSet",
              "Ready",
              "Busy",
              "Transferred",
              "Acknowledged",
              "NotAcknowledged"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "transferTime": {
            "type": "string",
            "description": "Overføringstid",
            "format": "date-time",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Ekstern referanse til annonse. For Finnannonser er dette Finnkoden",
            "nullable": true
          },
          "link": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Lenke til annonse",
            "nullable": true
          },
          "ownAdvertisementType": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Egenpubliseringstype",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdStatistics": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdStatisticsType"
              }
            ],
            "description": "Statistikktype\n\n1 = PageViews\n\n2 = MatchedEmail\n\n3 = RequestedEmail\n\n4 = AdLiftedToFrontPage",
            "x-enumNames": [
              "PageViews",
              "MatchedEmail",
              "RequestedEmail",
              "AdLiftedToFrontPage"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "number": {
            "type": "integer",
            "description": "Antall",
            "format": "int32"
          },
          "adStatisticsPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdStatisticsPerDay"
            },
            "description": "Statistikk per dag siden startdato",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdStatisticsPerDay": {
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "description": "Dato",
            "format": "date-time"
          },
          "number": {
            "type": "integer",
            "description": "Antall",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AdStatisticsPeriod": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = fromStart (Fra annonsestart)\r\n            \r\n\r\n2 = lastFortNight (Siste 14 dager)\r\n            \r\n\r\n3 = lastWeek (Siste 7 dager)\n\n1 = FromStart\n\n2 = LastFortNight\n\n3 = LastWeek",
        "format": "int32",
        "x-enumNames": [
          "FromStart",
          "LastFortNight",
          "LastWeek"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "AdStatisticsResponse": {
        "type": "object",
        "properties": {
          "startDate": {
            "type": "string",
            "description": "Startdato",
            "format": "date-time",
            "nullable": true
          },
          "adStatistics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdStatistics"
            },
            "description": "Statistikk",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdStatisticsType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = pageViews (Sidevisninger)\r\n            \r\n\r\n2 = matchedEmail (Autoprospekt)\r\n            \r\n\r\n3 = requestedEmail (E-post sendt)\r\n            \r\n\r\n4 = adLiftedToFrontPage (Annonse som blir løftet fram)\n\n1 = PageViews\n\n2 = MatchedEmail\n\n3 = RequestedEmail\n\n4 = AdLiftedToFrontPage",
        "format": "int32",
        "x-enumNames": [
          "PageViews",
          "MatchedEmail",
          "RequestedEmail",
          "AdLiftedToFrontPage"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "AdStatus": {
        "enum": [
          0,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = unknown (Ukjent)\r\n            \r\n\r\n2 = live (Aktiv)\r\n            \r\n\r\n3 = sold (Solgt)\r\n            \r\n\r\n4 = stopped (Stoppet)\r\n            \r\n\r\n5 = expired (Utløpt)\n\n0 = Unknown\n\n2 = Live\n\n3 = Sold\n\n4 = Stopped\n\n5 = Expired",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Live",
          "Sold",
          "Stopped",
          "Expired"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AdTransferStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ikke angitt)\r\n            \r\n\r\n1 = ready (Venter publisering)\r\n            \r\n\r\n2 = busy (Oppdatering/overføring pågår)\r\n            \r\n\r\n3 = transferred (Overført)\r\n            \r\n\r\n4 = acknowledged (Publisert)\r\n            \r\n\r\n5 = notAcknowledged (Feilet)\n\n0 = NotSet\n\n1 = Ready\n\n2 = Busy\n\n3 = Transferred\n\n4 = Acknowledged\n\n5 = NotAcknowledged",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Ready",
          "Busy",
          "Transferred",
          "Acknowledged",
          "NotAcknowledged"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AdUpdateStatus": {
        "enum": [
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n2 = live (Aktiv)\r\n            \r\n\r\n3 = sold (Solgt)\r\n            \r\n\r\n4 = stopped (Stoppet)\r\n            \r\n\r\n5 = expired (Utløpt)\n\n2 = Live\n\n3 = Sold\n\n4 = Stopped\n\n5 = Expired",
        "format": "int32",
        "x-enumNames": [
          "Live",
          "Sold",
          "Stopped",
          "Expired"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "Address": {
        "type": "object",
        "properties": {
          "apartmentNumber": {
            "type": "string",
            "description": "Leilighetsnummer",
            "nullable": true
          },
          "streetAdress": {
            "type": "string",
            "description": "Gateadresse",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Sted",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AllContactRelation": {
        "type": "object",
        "properties": {
          "relationType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactEstateRelationTypeGroup"
              }
            ],
            "description": "Relasjon\n\n1 = Seller\n\n2 = Buyer\n\n3 = Viewing\n\n4 = Bidder\n\n5 = Invoicee\n\n6 = OriginalBuyer\n\n7 = HousingCoop\n\n8 = LegalHolder\n\n9 = LegalIssuer\n\n10 = Mortagee\n\n11 = Proxy\n\n12 = Valuator\n\n13 = Manager\n\n14 = Interested\n\n15 = Match\n\n16 = LeaseHolder\n\n17 = Creditor\n\n18 = Debitor\n\n19 = LegalRepresentative\n\n20 = County\n\n21 = StateMaps\n\n22 = LandOwner\n\n23 = FormerOwner\n\n24 = Heir\n\n25 = SellersSpouse\n\n26 = AccountManagerSeller\n\n27 = AccountManagerBuyer",
            "x-enumNames": [
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "relationName": {
            "type": "string",
            "description": "Kundedefinert relasjonsnavn som vil variere mellom installasjoner",
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactProxy"
            },
            "description": "Liste over kontakter",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGroup"
            },
            "description": "Liste over grupper",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AmlContactEstateRelationTypeGroup": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = seller (Selger/Utleier)\r\n            \r\n\r\n2 = buyer (Kjøper/Leietaker)\r\n            \r\n\r\n3 = legalHolder (Hjemmelshaver)\r\n            \r\n\r\n4 = proxy (Fullmektig)\r\n            \r\n\r\n5 = landOwner (Grunneier)\r\n            \r\n\r\n6 = heir (Arving)\r\n            \r\n\r\n7 = sellersSpouse (Selgers ektefelle)\r\n            \r\n\r\n8 = accountManagerSeller (Disponent selger/utleier)\r\n            \r\n\r\n9 = accountManagerBuyer (Disponent kjøper/leietager)\n\n1 = Seller\n\n2 = Buyer\n\n3 = LegalHolder\n\n4 = Proxy\n\n5 = LandOwner\n\n6 = Heir\n\n7 = SellersSpouse\n\n8 = AccountManagerSeller\n\n9 = AccountManagerBuyer",
        "format": "int32",
        "x-enumNames": [
          "Seller",
          "Buyer",
          "LegalHolder",
          "Proxy",
          "LandOwner",
          "Heir",
          "SellersSpouse",
          "AccountManagerSeller",
          "AccountManagerBuyer"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AmlContactRelation": {
        "required": [
          "contactId",
          "relationType"
        ],
        "type": "object",
        "properties": {
          "contactId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til personkontakt eller firmakontakt på et oppdrag"
          },
          "relationType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AmlContactEstateRelationTypeGroup"
              }
            ],
            "description": "Kontaktens relasjon til oppdraget. For oppslag på eksisterende kontaktrelasjoner til et oppdrag, bruk gjerne GET {installationId}/Estates/{estateId}/AllContactRelations?relationType[0]={relationType[0]}&relationType[1]={relationType[1]}\n\n1 = Seller\n\n2 = Buyer\n\n3 = LegalHolder\n\n4 = Proxy\n\n5 = LandOwner\n\n6 = Heir\n\n7 = SellersSpouse\n\n8 = AccountManagerSeller\n\n9 = AccountManagerBuyer",
            "x-enumNames": [
              "Seller",
              "Buyer",
              "LegalHolder",
              "Proxy",
              "LandOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "amlListContact": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AmlTypeAndValueForContact"
            },
            "description": "Anti Money Laundering (AML) verdier for kontaktrelasjon og evt. kontaktrolleid på et oppdrag",
            "nullable": true
          },
          "amlListCompanyContactRole": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AmlTypeAndValueForCompany"
            },
            "description": "Anti Money Laundering (AML) verdier for kontaktrelasjon og evt. kontaktrolleid på et oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AmlEstate": {
        "required": [
          "amlListEstate"
        ],
        "type": "object",
        "properties": {
          "amlListEstate": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AmlTypeAndValueForEstate"
            },
            "description": "Anti Money Laundering (AML) verdier for oppdrag"
          }
        },
        "additionalProperties": false
      },
      "AmlTypeAndValueForCompany": {
        "required": [
          "amlListContactRole",
          "roleId"
        ],
        "type": "object",
        "properties": {
          "roleId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til kontaktrolleid. For oppslag på eksisterende kontaktroller for kontakter knyttet til firma på et oppdrag, bruk gjerne GET {installationId}/ContactRole/{contactId}"
          },
          "amlListContactRole": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AmlTypeAndValueForContact"
            },
            "description": "Anti Money Laundering (AML) verdier for kontaktrelasjon og evt. kontaktrolleid på et oppdrag"
          }
        },
        "additionalProperties": false
      },
      "AmlTypeAndValueForContact": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "boolean",
            "description": "Anti Money Laundering (AML) verdi"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AmlTypeContactRelation"
              }
            ],
            "description": "Anti Money Laundering (AML) type\n\n1 = PoliticallyExposedPerson\n\n2 = FinancingCryptoCurrency\n\n3 = FinancingCrowdFunding\n\n4 = ConnectedToHighRiskCountry\n\n5 = ConnectedToHighRiskIndustry\n\n6 = ConnectedToBuildingAndConstructionIndustry\n\n7 = SettlementTransactionToOrFromHighRiskCountry\n\n8 = SettlementPaymentFromOtherThanContractPart\n\n9 = SettlementNetProceedsToOtherThanClient\n\n10 = SettlementNetProceedsDeviatesOwnerPart",
            "x-enumNames": [
              "PoliticallyExposedPerson",
              "FinancingCryptoCurrency",
              "FinancingCrowdFunding",
              "ConnectedToHighRiskCountry",
              "ConnectedToHighRiskIndustry",
              "ConnectedToBuildingAndConstructionIndustry",
              "SettlementTransactionToOrFromHighRiskCountry",
              "SettlementPaymentFromOtherThanContractPart",
              "SettlementNetProceedsToOtherThanClient",
              "SettlementNetProceedsDeviatesOwnerPart"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "AmlTypeAndValueForEstate": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "boolean",
            "description": "Anti Money Laundering (AML) verdi"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AmlTypeEstate"
              }
            ],
            "description": "Anti Money Laundering (AML) type\n\n1 = RenovationNotDocumented\n\n2 = RenovationFinanceNotDocumented",
            "x-enumNames": [
              "RenovationNotDocumented",
              "RenovationFinanceNotDocumented"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "AmlTypeContactRelation": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = PoliticallyExposedPerson (Politisk eksponert person (PEP))\r\n            \r\n\r\n2 = FinancingCryptoCurrency (Finansiert av kryptovaluta eller kryptokunst)\r\n            \r\n\r\n3 = FinancingCrowdFunding (Finansiert av folkefinansiering)\r\n            \r\n\r\n4 = ConnectedToHighRiskCountry (Tilknyttet høyrisikoland)\r\n            \r\n\r\n5 = ConnectedToHighRiskIndustry (Tilknyttet høyrisikobransje)\r\n            \r\n\r\n6 = ConnectedToBuildingAndConstructionIndustry (Tilknyttet bygg- og anleggsbransjen)\r\n            \r\n\r\n7 = SettlementTransactionToOrFromHighRiskCountry (Oppgjør - Transaksjoner til/fra høyrisikoland)\r\n            \r\n\r\n8 = SettlementPaymentFromOtherThanContractPart (Oppgjør - Innbetalinger fra andre enn kontraktsparter)\r\n            \r\n\r\n9 = SettlementNetProceedsToOtherThanClient (Oppgjør - Nettoproveny til andre enn oppdragsgiver)\r\n            \r\n\r\n10 = SettlementNetProceedsDeviatesOwnerPart (Oppgjør - Nettoproveny avvik eierbrøk)\n\n1 = PoliticallyExposedPerson\n\n2 = FinancingCryptoCurrency\n\n3 = FinancingCrowdFunding\n\n4 = ConnectedToHighRiskCountry\n\n5 = ConnectedToHighRiskIndustry\n\n6 = ConnectedToBuildingAndConstructionIndustry\n\n7 = SettlementTransactionToOrFromHighRiskCountry\n\n8 = SettlementPaymentFromOtherThanContractPart\n\n9 = SettlementNetProceedsToOtherThanClient\n\n10 = SettlementNetProceedsDeviatesOwnerPart",
        "format": "int32",
        "x-enumNames": [
          "PoliticallyExposedPerson",
          "FinancingCryptoCurrency",
          "FinancingCrowdFunding",
          "ConnectedToHighRiskCountry",
          "ConnectedToHighRiskIndustry",
          "ConnectedToBuildingAndConstructionIndustry",
          "SettlementTransactionToOrFromHighRiskCountry",
          "SettlementPaymentFromOtherThanContractPart",
          "SettlementNetProceedsToOtherThanClient",
          "SettlementNetProceedsDeviatesOwnerPart"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AmlTypeEstate": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = RenovationNotDocumented (Renovert hele/deler uten faktura)\r\n            \r\n\r\n2 = RenovationFinanceNotDocumented (Renovert med finansiering av ukjent opprinnelse)\n\n1 = RenovationNotDocumented\n\n2 = RenovationFinanceNotDocumented",
        "format": "int32",
        "x-enumNames": [
          "RenovationNotDocumented",
          "RenovationFinanceNotDocumented"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "Area": {
        "type": "object",
        "properties": {
          "areaTypeId": {
            "type": "string",
            "description": "Referanse til arealtype",
            "nullable": true
          },
          "fromMeters": {
            "type": "number",
            "description": "Minimum arealstørrelse",
            "format": "double"
          },
          "toMeters": {
            "type": "number",
            "description": "Maksimum arealstørrelse",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AreaField": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Bygningens navn om det er flere bygninger",
            "nullable": true
          },
          "areaDescription": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AreaFieldDescription"
            },
            "description": "Arealbeskrivelse",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AreaFieldDescription": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AreaFieldType"
              }
            ],
            "description": "Arealtype\n\n1 = Bra\n\n2 = BraI\n\n3 = BraE\n\n4 = BraB\n\n5 = Tba\n\n6 = Prom\n\n7 = Bta\n\n8 = BraS",
            "x-enumNames": [
              "Bra",
              "BraI",
              "BraE",
              "BraB",
              "Tba",
              "Prom",
              "Bta",
              "BraS"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "areaDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AreaFieldDescriptionDetails"
            },
            "description": "Arealdetaljer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AreaFieldDescriptionDetails": {
        "required": [
          "size"
        ],
        "type": "object",
        "properties": {
          "size": {
            "type": "number",
            "description": "Areal i kvm",
            "format": "double"
          },
          "description": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Arealbeskrivelse",
            "nullable": true
          },
          "floorNumber": {
            "type": "integer",
            "description": "Etasjenummer om det er flere etasjer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AreaFieldType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = bra (Bruksareal BRA - gjelder kun næring)\r\n            \r\n\r\n2 = braI (Bruksareal BRA-i)\r\n            \r\n\r\n3 = braE (Bruksareal BRA-e)\r\n            \r\n\r\n4 = braB (Bruksareal BRA-b)\r\n            \r\n\r\n5 = tba (Terrasse- og balkongareal TBA)\r\n            \r\n\r\n6 = prom (Primærrom PROM)\r\n            \r\n\r\n7 = bta (Bruttoareal BTA - gjelder kun næring)\r\n            \r\n\r\n8 = braS (Bruksareal Salgbart BRA-s - gjelder kun næring)\n\n1 = Bra\n\n2 = BraI\n\n3 = BraE\n\n4 = BraB\n\n5 = Tba\n\n6 = Prom\n\n7 = Bta\n\n8 = BraS",
        "format": "int32",
        "x-enumNames": [
          "Bra",
          "BraI",
          "BraE",
          "BraB",
          "Tba",
          "Prom",
          "Bta",
          "BraS"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AreaInformation": {
        "type": "object",
        "properties": {
          "floorNumber": {
            "type": "integer",
            "description": "Etasjenummer",
            "format": "int32"
          },
          "areaSize": {
            "type": "number",
            "description": "Arealstørrelse",
            "format": "double"
          },
          "areaDescription": {
            "type": "string",
            "description": "Arealbeskrivelse",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AreaTypes": {
        "enum": [
          1,
          2,
          3,
          4,
          10,
          11,
          12,
          20
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = UsageArea (Bruksareal BRA)\r\n            \r\n\r\n2 = LivingArea (Primærrom P-rom)\r\n            \r\n\r\n3 = GrossArea (Sekundærrom S-rom)\r\n            \r\n\r\n4 = GrossAreaBta (Bruttoareal BTA)\r\n            \r\n\r\n10 = UsageAreaI (Bruksareal BRA-I)\r\n            \r\n\r\n11 = UsageAreaE (Bruksareal BRA-E)\r\n            \r\n\r\n12 = UsageAreaB (Bruksareal BRA-B)\r\n            \r\n\r\n20 = OpenArea (Terrasse- og balkongareal TBA)\n\n1 = UsageArea\n\n2 = LivingArea\n\n3 = GrossArea\n\n4 = GrossAreaBta\n\n10 = UsageAreaI\n\n11 = UsageAreaE\n\n12 = UsageAreaB\n\n20 = OpenArea",
        "format": "int32",
        "x-enumNames": [
          "UsageArea",
          "LivingArea",
          "GrossArea",
          "GrossAreaBta",
          "UsageAreaI",
          "UsageAreaE",
          "UsageAreaB",
          "OpenArea"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ArticleSummary": {
        "type": "object",
        "properties": {
          "articleId": {
            "type": "string",
            "description": "Lønnsartikkel id",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Summert provisjonsbeløp for lønnsartikkel id",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AssignmentType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = sale (Vanlig salg)\r\n            \r\n\r\n1 = rent (Utleie)\r\n            \r\n\r\n2 = valuation (Verdivurdering)\r\n            \r\n\r\n3 = settlement (Tvangssalg)\r\n            \r\n\r\n4 = foreclosure (Oppgjørsoppdrag)\n\n0 = Sale\n\n1 = Rent\n\n2 = Valuation\n\n3 = Settlement\n\n4 = Foreclosure",
        "format": "int32",
        "x-enumNames": [
          "Sale",
          "Rent",
          "Valuation",
          "Settlement",
          "Foreclosure"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AssignmentTypeGroup": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ingen oppdragskategori)\r\n            \r\n\r\n1 = sale (Salg)\r\n            \r\n\r\n2 = rent (Utleie)\r\n            \r\n\r\n3 = valuation (Verdivurdering)\r\n            \r\n\r\n4 = settlement (Oppgjørsoppdrag)\r\n            \r\n\r\n5 = foreClosure (Tvangssalg)\r\n            \r\n\r\n6 = commercialArea (Arealobjekt)\r\n            \r\n\r\n7 = projectSale (Prosjektsalg)\r\n            \r\n\r\n8 = commercialSale (Næringssalg)\r\n            \r\n\r\n9 = commercialRent (Næringsutleie)\r\n            \r\n\r\n10 = administration (Administrativt)\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Sale",
          "Rent",
          "Valuation",
          "Settlement",
          "ForeClosure",
          "CommercialArea",
          "ProjectSale",
          "CommercialSale",
          "CommercialRent",
          "Administration"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "BalanceGroupObject": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Gruppe",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Forklaring",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "description": "Saldo",
            "format": "double"
          },
          "rate": {
            "type": "number",
            "description": "Sats",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "BalanceLogInfo": {
        "type": "object",
        "properties": {
          "balanceId": {
            "type": "string",
            "description": "Referanse til restgjeldsaldo",
            "nullable": true
          },
          "mortgageBalanceLogEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MortgageLogEvent"
            },
            "description": "Hendelser for restgjeldsaldo",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BidType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = offer (Bud)\r\n            \r\n\r\n2 = counterOffer (Motbud)\n\n1 = Offer\n\n2 = CounterOffer",
        "format": "int32",
        "x-enumNames": [
          "Offer",
          "CounterOffer"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "BoolField": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BoolFieldType"
              }
            ],
            "description": "Boolsk felt\n\n1 = HasBoardApproval\n\n2 = HasPreemptiveRight",
            "x-enumNames": [
              "HasBoardApproval",
              "HasPreemptiveRight"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "value": {
            "type": "boolean",
            "description": "Boolsk verdi"
          }
        },
        "additionalProperties": false
      },
      "BoolFieldType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = hasBoardApproval (Har styregodkjennelse (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n2 = hasPreemptiveRight (Har forkjøpsrett (borettslag, sameie eller aksjeselskap))\n\n1 = HasBoardApproval\n\n2 = HasPreemptiveRight",
        "format": "int32",
        "x-enumNames": [
          "HasBoardApproval",
          "HasPreemptiveRight"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "BrokerRole": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = mainBroker (Megler 1)\r\n            \r\n\r\n2 = responsibleBroker (Ansvarlig megler)\r\n            \r\n\r\n3 = assistant (Megler 2)\r\n            \r\n\r\n4 = responsibleSettlement (Oppgjørsansvarlig)\r\n            \r\n\r\n5 = secondaryAssistant (Medhjelper)\n\n1 = MainBroker\n\n2 = ResponsibleBroker\n\n3 = Assistant\n\n4 = ResponsibleSettlement\n\n5 = SecondaryAssistant",
        "format": "int32",
        "x-enumNames": [
          "MainBroker",
          "ResponsibleBroker",
          "Assistant",
          "ResponsibleSettlement",
          "SecondaryAssistant"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "BrokerWithRoles": {
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "string",
            "description": "AnsattId",
            "nullable": true
          },
          "brokerRole": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerRole"
              }
            ],
            "description": "Meglerens rolle\n\n1 = MainBroker\n\n2 = ResponsibleBroker\n\n3 = Assistant\n\n4 = ResponsibleSettlement\n\n5 = SecondaryAssistant",
            "x-enumNames": [
              "MainBroker",
              "ResponsibleBroker",
              "Assistant",
              "ResponsibleSettlement",
              "SecondaryAssistant"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "BudgetMonth": {
        "type": "object",
        "properties": {
          "month": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Month"
              }
            ],
            "description": "Måned\n\n1 = January\n\n2 = February\n\n3 = March\n\n4 = April\n\n5 = May\n\n6 = June\n\n7 = July\n\n8 = August\n\n9 = September\n\n10 = October\n\n11 = November\n\n12 = December",
            "x-enumNames": [
              "January",
              "February",
              "March",
              "April",
              "May",
              "June",
              "July",
              "August",
              "September",
              "October",
              "November",
              "December"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "usedBudget": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UsedBudgetPerMonth"
              }
            ],
            "description": "Bruktboligbudsjett per måned",
            "nullable": true
          },
          "newBudget": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NewBudget"
              }
            ],
            "description": "Nybyggbudsjett per måned",
            "nullable": true
          },
          "sumBudget": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SumBudget"
              }
            ],
            "description": "Sum budsjett for både bruktbolig og nybygg per måned",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BudgetPost": {
        "type": "object",
        "properties": {
          "budgetpostId": {
            "type": "integer",
            "description": "Referanse til budsjettposten",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Navn på budsjettpost (beskrivelse i valgt posteringskode)",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Referanse til bruker som er knyttet til budsjettpost",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetPostStatus"
              }
            ],
            "description": "Status på budsjettpost\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted\n\n4 = Invoiced",
            "x-enumNames": [
              "Unknown",
              "Draft",
              "Agreed",
              "Posted",
              "Invoiced"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "lastChanged": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time"
          },
          "changedBy": {
            "type": "string",
            "description": "Referanse til bruker som sist endret budsjettposten",
            "nullable": true
          },
          "amountWithTaxExcluded": {
            "type": "number",
            "description": "Beløp eks. mva",
            "format": "double",
            "nullable": true
          },
          "amountWithTaxIncluded": {
            "type": "number",
            "description": "Beløp ink. mva",
            "format": "double"
          },
          "productTag": {
            "type": "string",
            "description": "Tag til posteringskode",
            "nullable": true
          },
          "isEditable": {
            "type": "boolean",
            "description": "Kan endre beløp",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BudgetPostStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = unknown (Ukjent)\r\n            \r\n\r\n1 = draft (Utkast)\r\n            \r\n\r\n2 = agreed (Avtalt)\r\n            \r\n\r\n3 = posted (Overført oppgjør)\r\n            \r\n\r\n4 = invoiced (Fakturert)\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted\n\n4 = Invoiced",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Draft",
          "Agreed",
          "Posted",
          "Invoiced"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "BudgetPostStatusChange": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = unknown (Ukjent)\r\n            \r\n\r\n1 = draft (Utkast)\r\n            \r\n\r\n2 = agreed (Avtalt)\r\n            \r\n\r\n3 = posted (Overført oppgjør)\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Draft",
          "Agreed",
          "Posted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "BudgetYear": {
        "type": "object",
        "properties": {
          "usedBudget": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UsedBudget"
              }
            ],
            "description": "Sum bruktboligbudsjett for valgte år",
            "nullable": true
          },
          "newBudget": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NewBudget"
              }
            ],
            "description": "Sum nybyggbudsjett for valgte år",
            "nullable": true
          },
          "sumBudget": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SumBudget"
              }
            ],
            "description": "Sum totalbudsjett for både bruktbolig og nybygg for valgte år",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Building": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Bygningens navn",
            "nullable": true
          },
          "buildingArea": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BuildingArea"
            },
            "description": "Bygningsareal",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BuildingArea": {
        "type": "object",
        "properties": {
          "areaType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AreaTypes"
              }
            ],
            "description": "Arealtype\n\n1 = UsageArea\n\n2 = LivingArea\n\n3 = GrossArea\n\n4 = GrossAreaBta\n\n10 = UsageAreaI\n\n11 = UsageAreaE\n\n12 = UsageAreaB\n\n20 = OpenArea",
            "x-enumNames": [
              "UsageArea",
              "LivingArea",
              "GrossArea",
              "GrossAreaBta",
              "UsageAreaI",
              "UsageAreaE",
              "UsageAreaB",
              "OpenArea"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "areaInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AreaInformation"
            },
            "description": "Arealinformasjon",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CallCentersWithPostalCodes": {
        "type": "object",
        "properties": {
          "callCenterId": {
            "type": "string",
            "description": "Referanse til callcenter",
            "nullable": true
          },
          "callCenterName": {
            "type": "string",
            "description": "Callcenternavn",
            "nullable": true
          },
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentWithPostalCodes"
            },
            "description": "Liste over avdelinger med tildelte postnummer for tipshåndtering",
            "nullable": true
          },
          "postalCodesAndAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostalCodesAndAreas"
            },
            "description": "Liste over tildelte postnummer for tipshåndtering som kun er knyttet til callcenter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CallListContact": {
        "required": [
          "contactId"
        ],
        "type": "object",
        "properties": {
          "contactId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til kontakt"
          },
          "sortNumber": {
            "type": "integer",
            "description": "Kontaktens sorteringsnummer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CallListContactsCreateRequest": {
        "type": "object",
        "properties": {
          "contactIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Referanser til kontakter",
            "nullable": true
          },
          "callListContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CallListContact"
            },
            "description": "Referanser til kontakter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CallListCreateRequest": {
        "required": [
          "departmentId",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Navn"
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "Oppgave",
            "nullable": true
          },
          "instructions": {
            "type": "string",
            "description": "Instruksjoner",
            "nullable": true
          },
          "userid": {
            "type": "string",
            "description": "Eier (brukerid)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChangeOfOwnershipInsuranceInfo": {
        "type": "object",
        "properties": {
          "selfDeclerationSigned": {
            "type": "string",
            "description": "Dato for signering av egenerklæring",
            "format": "date-time",
            "nullable": true
          },
          "wantsInsurance": {
            "type": "boolean",
            "description": "Selger ønsker boligselgerforsikring",
            "nullable": true
          },
          "premium": {
            "type": "number",
            "description": "Forsikringspremie",
            "format": "float",
            "nullable": true
          },
          "bankAccount": {
            "type": "string",
            "description": "Konto for innbetaling av premie",
            "nullable": true
          },
          "KID": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Channel": {
        "enum": [
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = sms (SMS)\n\n1 = Sms",
        "format": "int32",
        "x-enumNames": [
          "Sms"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "CheckListValue": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = no (Ikke utført)\r\n            \r\n\r\n1 = yes (Utført)\r\n            \r\n\r\n2 = notRelevant (Ikke relevant)\n\n0 = No\n\n1 = Yes\n\n2 = NotRelevant",
        "format": "int32",
        "x-enumNames": [
          "No",
          "Yes",
          "NotRelevant"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CoOwnershipType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = Unknown (Ukjent verdi)\r\n            \r\n\r\n1 = None (Ingen)\r\n            \r\n\r\n2 = JointOwnership (Realsameie)\r\n            \r\n\r\n3 = FarmCommons (Jordsameie)\r\n            \r\n\r\n4 = PersonalJointOwnership (Personlig sameie)\n\n0 = Unknown\n\n1 = None\n\n2 = JointOwnership\n\n3 = FarmCommons\n\n4 = PersonalJointOwnership",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "None",
          "JointOwnership",
          "FarmCommons",
          "PersonalJointOwnership"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CommercialArea": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Arealnavn",
            "nullable": true
          },
          "typeId": {
            "type": "string",
            "description": "Referanse til arealtype",
            "nullable": true
          },
          "typeName": {
            "type": "string",
            "description": "Arealtypenavn",
            "nullable": true
          },
          "floorNumber": {
            "type": "integer",
            "description": "Etasjenummer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "number",
            "description": "Total arealstørrelse",
            "format": "double",
            "nullable": true
          },
          "price": {
            "type": "number",
            "description": "Kvadratmeterpris",
            "format": "double",
            "nullable": true
          },
          "totalPrice": {
            "type": "number",
            "description": "Totalpris",
            "format": "double",
            "nullable": true
          },
          "occupied": {
            "type": "boolean",
            "description": "Omsatt"
          }
        },
        "additionalProperties": false
      },
      "CommercialEstateTextFields": {
        "type": "object",
        "properties": {
          "potential": {
            "type": "string",
            "description": "Eiendommens potensiale",
            "nullable": true
          },
          "ventilation": {
            "type": "string",
            "description": "Ventilasjon og kjøleanlegg",
            "nullable": true
          },
          "pollution": {
            "type": "string",
            "description": "Forurensing og miljø",
            "nullable": true
          },
          "deliveries": {
            "type": "string",
            "description": "Vareleveranse/ramper",
            "nullable": true
          },
          "groundConditions": {
            "type": "string",
            "description": "Grunnforhold",
            "nullable": true
          },
          "managementAgreements": {
            "type": "string",
            "description": "Drifts- og vedlikeholdsavtaler",
            "nullable": true
          },
          "rentalIncomeComment": {
            "type": "string",
            "description": "Informasjon om leieavtaler",
            "nullable": true
          },
          "vacantAreas": {
            "type": "string",
            "description": "Ledige arealer",
            "nullable": true
          },
          "nonRegulatedDeals": {
            "type": "string",
            "description": "Avtaler ikke regulert i leieavtale",
            "nullable": true
          },
          "breachOfContract": {
            "type": "string",
            "description": "Mislighold leieavtale",
            "nullable": true
          },
          "terminationLeases": {
            "type": "string",
            "description": "Oppsigelse/reforhandling",
            "nullable": true
          },
          "landlordMeasures": {
            "type": "string",
            "description": "Avtalte tiltak for utleier",
            "nullable": true
          },
          "tenantMeasures": {
            "type": "string",
            "description": "Avtalte tiltak for leietaker",
            "nullable": true
          },
          "tenantDuties": {
            "type": "string",
            "description": "Leietakers undersøkelsesplikt",
            "nullable": true
          },
          "landlordDuties": {
            "type": "string",
            "description": "Utleiers plikter",
            "nullable": true
          },
          "accountingAuditor": {
            "type": "string",
            "description": "Revisor",
            "nullable": true
          },
          "accountant": {
            "type": "string",
            "description": "Regnskapsfører",
            "nullable": true
          },
          "companyPlans": {
            "type": "string",
            "description": "Historikk og fremtidige planer",
            "nullable": true
          },
          "shareholders": {
            "type": "string",
            "description": "Selskapets aksjonærer",
            "nullable": true
          },
          "shareholderAgreements": {
            "type": "string",
            "description": "Gjeldende aksjonæravtaler",
            "nullable": true
          },
          "thirdPartyRights": {
            "type": "string",
            "description": "Tredjeparts rettigheter i aksjer",
            "nullable": true
          },
          "ownershipOtherCompanies": {
            "type": "string",
            "description": "Eierskap i andre selskaper",
            "nullable": true
          },
          "longTermBankLoans": {
            "type": "string",
            "description": "Langsiktige banklån",
            "nullable": true
          },
          "shareholderLoan": {
            "type": "string",
            "description": "Aksjonærlån",
            "nullable": true
          },
          "guaranteesAndWarranties": {
            "type": "string",
            "description": "Stilt garanti/kausjon",
            "nullable": true
          },
          "rateAndSwapAgreements": {
            "type": "string",
            "description": "Rentebinding/swapavtaler",
            "nullable": true
          },
          "allocatedLosses": {
            "type": "string",
            "description": "Realisert og avsatt tap",
            "nullable": true
          },
          "companyClaims": {
            "type": "string",
            "description": "Selskapets fordringer",
            "nullable": true
          },
          "unlistedAssets": {
            "type": "string",
            "description": "Ikke bokførte eiendeler",
            "nullable": true
          },
          "unlistedDebt": {
            "type": "string",
            "description": "Ikke bokført gjeld",
            "nullable": true
          },
          "otherFinancialConditions": {
            "type": "string",
            "description": "Andre finansielle forhold",
            "nullable": true
          },
          "investment": {
            "type": "string",
            "description": "Investering og vedlikehold",
            "nullable": true
          },
          "disputes": {
            "type": "string",
            "description": "Pågående og forventede tvister",
            "nullable": true
          },
          "closedDisputes": {
            "type": "string",
            "description": "Avsluttede tvister siste 3 år",
            "nullable": true
          },
          "permits": {
            "type": "string",
            "description": "Konsesjoner og tillatelser",
            "nullable": true
          },
          "publicOrders": {
            "type": "string",
            "description": "Offentlige pålegg",
            "nullable": true
          },
          "reorganisations": {
            "type": "string",
            "description": "Reorganiseringer siste 10 år",
            "nullable": true
          },
          "adjustmentCommitments": {
            "type": "string",
            "description": "Justeringsforpliktelser skatt og MVA",
            "nullable": true
          },
          "environmentSafety": {
            "type": "string",
            "description": "HMS leietakere",
            "nullable": true
          },
          "otherSignificantConditions": {
            "type": "string",
            "description": "Andre betydningsfulle forhold",
            "nullable": true
          },
          "dueDiligence": {
            "type": "string",
            "description": "Due diligence/juridisk analyse",
            "nullable": true
          },
          "boardApproval": {
            "type": "string",
            "description": "Styreforbehold",
            "nullable": true
          },
          "competitionAuthority": {
            "type": "string",
            "description": "Konkurransetilsynet",
            "nullable": true
          },
          "priceCalculation": {
            "type": "string",
            "description": "Grunnlag prisberegning/bud",
            "nullable": true
          },
          "defects": {
            "type": "string",
            "description": "Mangler og pålegg om utbedring",
            "nullable": true
          },
          "rentIncludes": {
            "type": "string",
            "description": "Leiebeløp inkluderer",
            "nullable": true
          },
          "rentGuaranteeAgreement": {
            "type": "string",
            "description": "Utleiers krav til sikkerhet",
            "nullable": true
          },
          "rentTermination": {
            "type": "string",
            "description": "Leieperiode og partenes oppsigelsesadgang",
            "nullable": true
          },
          "sublease": {
            "type": "string",
            "description": "Fremleie",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommercialPricePrDates": {
        "type": "object",
        "properties": {
          "bookValuePlotPrDate": {
            "type": "string",
            "description": "Dato for tomtens bokførte verdi",
            "format": "date-time",
            "nullable": true
          },
          "taxedBalancePlotPrDate": {
            "type": "string",
            "description": "Dato for Skattemessig saldoverdi tomt",
            "format": "date-time",
            "nullable": true
          },
          "marketValuePlotPrDate": {
            "type": "string",
            "description": "Dato for Tomtens markedsmessige verdi",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommercialPrices": {
        "type": "object",
        "properties": {
          "rentalIncome": {
            "type": "number",
            "description": "Årlige leieinntekter",
            "format": "double"
          },
          "numberOfShares": {
            "type": "number",
            "description": "Antall aksjer",
            "format": "double"
          },
          "shareValue": {
            "type": "number",
            "description": "Aksjenes pålydende",
            "format": "double"
          },
          "shareCapital": {
            "type": "number",
            "description": "Aksjekapital",
            "format": "double"
          },
          "taxedBalanceProperty": {
            "type": "number",
            "description": "Skattemessig saldoverdi eiendom",
            "format": "double"
          },
          "taxedBalancePlot": {
            "type": "number",
            "description": "Skattemessig saldoverdi tomt",
            "format": "double"
          },
          "bookValuePlot": {
            "type": "number",
            "description": "Tomtens bokførte verdi",
            "format": "double"
          },
          "marketValuePlot": {
            "type": "number",
            "description": "Tomtens markedsmessige verdi",
            "format": "double"
          },
          "netPropertyValue": {
            "type": "number",
            "description": "Netto eiendomsverdi",
            "format": "double"
          },
          "grossPropertyValue": {
            "type": "number",
            "description": "Brutto eiendomsverdi",
            "format": "double"
          },
          "rentalValue": {
            "type": "number",
            "description": "Beregnet utleieverdi",
            "format": "double"
          },
          "commercialProperty": {
            "type": "number",
            "description": "Beregnet verdi av næringseiendom",
            "format": "double"
          },
          "valueBehindShares": {
            "type": "number",
            "description": "Beregnet samlet verdi bak aksjer",
            "format": "double"
          },
          "valueCompany": {
            "type": "number",
            "description": "Verdi for aksjeselskap",
            "format": "double"
          },
          "revisedBalance": {
            "type": "number",
            "description": "Revidert balanse",
            "format": "double"
          },
          "revisedSalesPrice": {
            "type": "number",
            "description": "Revidert kjøpesum",
            "format": "double"
          },
          "deposit": {
            "type": "number",
            "description": "Depositum beløp",
            "format": "double"
          },
          "rentGuaranteeAmount": {
            "type": "number",
            "description": "Garanti beløp",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CommissionBudgetStatus": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = unconfirmed (Ubekreftet)\r\n            \r\n\r\n1 = confirmed (Bekreftet)\n\n0 = Unconfirmed\n\n1 = Confirmed",
        "format": "int32",
        "x-enumNames": [
          "Unconfirmed",
          "Confirmed"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CommissionSlip": {
        "required": [
          "departmentId",
          "employeeId",
          "employeeSalaryNum"
        ],
        "type": "object",
        "properties": {
          "employeeId": {
            "minLength": 1,
            "type": "string",
            "description": "Id for ansatt"
          },
          "employeeSalaryNum": {
            "minLength": 1,
            "type": "string",
            "description": "Ansattnummer i lønnssystem"
          },
          "departmentId": {
            "type": "integer",
            "description": "Id for det kontor denne person i hovedsak jobber på",
            "format": "int32"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommissionSlipLine"
            },
            "description": "Lønnsrader",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommissionSlipLine": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Lønnsrad Id. Sendes tilbake for å bekrefte en overføring etter export",
            "format": "int64"
          },
          "account": {
            "type": "string",
            "description": "Kontonummer",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Beløp",
            "format": "double"
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse for hva beløpet gjelder",
            "nullable": true
          },
          "itemCode": {
            "type": "string",
            "description": "Lønnsart",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap der dette er relevant",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionSlipType"
              }
            ],
            "description": "Linjetype\n\n0 = Unknown\n\n3 = PaidCommission\n\n5 = PaidAmount\n\n7 = PaidGuaranteeSalary\n\n8 = PaidFromPool",
            "x-enumNames": [
              "Unknown",
              "PaidCommission",
              "PaidAmount",
              "PaidGuaranteeSalary",
              "PaidFromPool"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "year": {
            "type": "integer",
            "description": "År",
            "format": "int32"
          },
          "month": {
            "type": "integer",
            "description": "Måned",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CommissionSlipResponse": {
        "type": "object",
        "properties": {
          "commissionSlips": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommissionSlip"
            },
            "description": "Liste med lønnsrader per bruker",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommissionSlipStatusRequest": {
        "type": "object",
        "properties": {
          "succesfullIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "description": "Liste med id på mottatte lønnsrader",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommissionSlipType": {
        "enum": [
          0,
          3,
          5,
          7,
          8
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = Unknown (Unknown)\r\n            \r\n\r\n3 = PaidCommission (PaidCommission)\r\n            \r\n\r\n5 = PaidAmount (PaidAmount)\r\n            \r\n\r\n7 = PaidGuaranteeSalary (PaidGuaranteeSalary)\r\n            \r\n\r\n8 = PaidFromPool (PaidFromPool)\n\n0 = Unknown\n\n3 = PaidCommission\n\n5 = PaidAmount\n\n7 = PaidGuaranteeSalary\n\n8 = PaidFromPool",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "PaidCommission",
          "PaidAmount",
          "PaidGuaranteeSalary",
          "PaidFromPool"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CommissionSplit": {
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "string",
            "description": "Referanse til ansatt",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionSplitType"
              }
            ],
            "description": "Type\n\n1 = Percent",
            "x-enumNames": [
              "Percent"
            ],
            "x-enumDescriptions": [
              ""
            ]
          },
          "percent": {
            "type": "number",
            "description": "Avtalt eller utregnet prosentandel",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CommissionSplitType": {
        "enum": [
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = percent (Prosent)\n\n1 = Percent",
        "format": "int32",
        "x-enumNames": [
          "Percent"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "CommissionSplitValue": {
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "string",
            "description": "Referanse til ansatt",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionType"
              }
            ],
            "description": "Type\n\n0 = NotSet\n\n1 = Percent\n\n2 = FixedPrice\n\n3 = Hourly",
            "x-enumNames": [
              "NotSet",
              "Percent",
              "FixedPrice",
              "Hourly"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "commissionValue": {
            "type": "number",
            "description": "Beløp",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CommissionType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ikke avtalt)\r\n            \r\n\r\n1 = percent (Provisjon)\r\n            \r\n\r\n2 = fixedPrice (Fastpris)\r\n            \r\n\r\n3 = hourly (Timebasert)\n\n0 = NotSet\n\n1 = Percent\n\n2 = FixedPrice\n\n3 = Hourly",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Percent",
          "FixedPrice",
          "Hourly"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "Consent": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ConsentType"
              }
            ],
            "description": "Samtykketype\n\n0 = Valuation\n\n1 = Searchprofile\n\n2 = Financing\n\n3 = Keepmeinformed\n\n4 = Other",
            "x-enumNames": [
              "Valuation",
              "Searchprofile",
              "Financing",
              "Keepmeinformed",
              "Other"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "boolean",
            "description": "Samtykker"
          },
          "changedDate": {
            "type": "string",
            "description": "Dato for endring",
            "format": "date-time",
            "nullable": true
          },
          "changedBy": {
            "type": "string",
            "description": "Endret av",
            "nullable": true
          },
          "typeTag": {
            "type": "string",
            "description": "Samtykketypetag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConsentType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = valuation (Oppfølging)\r\n            \r\n\r\n1 = searchprofile (Søkeprofil)\r\n            \r\n\r\n2 = financing (Finansiering)\r\n            \r\n\r\n3 = keepmeinformed (Nyhetsbrev)\r\n            \r\n\r\n4 = other (Annet)\n\n0 = Valuation\n\n1 = Searchprofile\n\n2 = Financing\n\n3 = Keepmeinformed\n\n4 = Other",
        "format": "int32",
        "x-enumNames": [
          "Valuation",
          "Searchprofile",
          "Financing",
          "Keepmeinformed",
          "Other"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ContactActivity": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Starttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Sluttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "activityType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactActivityType"
              }
            ],
            "description": "Type aktivitet\n\n1 = Showing\n\n2 = PhoneIn\n\n3 = PhoneOut\n\n4 = BidFollow\n\n5 = Document\n\n6 = Mailing\n\n7 = Sms\n\n8 = Note\n\n9 = Inspection\n\n10 = PrivateViewing\n\n11 = FollowUp\n\n12 = Contract\n\n13 = Takeover\n\n14 = Ad\n\n15 = SearchProfile\n\n16 = Depot\n\n17 = AssignmentPeriod\n\n18 = Task\n\n19 = ProjectGuarantee\n\n20 = ProjectMeeting\n\n21 = MappingAuthority\n\n22 = Leads\n\n23 = PreInspection\n\n24 = ETinglysing\n\n25 = CallList\n\n26 = YearInspection\n\n27 = SettlementFolder\n\n28 = TakeoverLog\n\n29 = Settlement\n\n30 = Consent\n\n31 = EstateData\n\n32 = EmailIn\n\n33 = EmailOut\n\n34 = Distributing\n\n35 = CommercialAreaRental\n\n36 = AddressChange\n\n37 = Photography\n\n38 = Appraisal\n\n39 = MoneyLaunderingControl\n\n40 = InternalControl\n\n41 = SellerTask\n\n42 = BuyerTask",
            "x-enumNames": [
              "Showing",
              "PhoneIn",
              "PhoneOut",
              "BidFollow",
              "Document",
              "Mailing",
              "Sms",
              "Note",
              "Inspection",
              "PrivateViewing",
              "FollowUp",
              "Contract",
              "Takeover",
              "Ad",
              "SearchProfile",
              "Depot",
              "AssignmentPeriod",
              "Task",
              "ProjectGuarantee",
              "ProjectMeeting",
              "MappingAuthority",
              "Leads",
              "PreInspection",
              "ETinglysing",
              "CallList",
              "YearInspection",
              "SettlementFolder",
              "TakeoverLog",
              "Settlement",
              "Consent",
              "EstateData",
              "EmailIn",
              "EmailOut",
              "Distributing",
              "CommercialAreaRental",
              "AddressChange",
              "Photography",
              "Appraisal",
              "MoneyLaunderingControl",
              "InternalControl",
              "SellerTask",
              "BuyerTask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "name": {
            "type": "string",
            "description": "Kundedefinert navn på aktiviteten",
            "nullable": true
          },
          "done": {
            "type": "boolean",
            "description": "Angir om aktiviteten er markert som utført i Next"
          },
          "privateActivity": {
            "type": "boolean",
            "description": "Angir om aktiviteten er markert som privat i Next"
          },
          "id": {
            "type": "string",
            "description": "Referanse til aktiviteten",
            "nullable": true
          },
          "estateRelation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactEstatesRelation"
              }
            ],
            "description": "Relasjon som kontakten har dersom aktiviteten er relatert til et oppdrag (kan være arkivert oppdrag)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactActivityType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = showing (Visning)\r\n            \r\n\r\n2 = phoneIn (Telefon inn)\r\n            \r\n\r\n3 = phoneOut (Telefon ut)\r\n            \r\n\r\n4 = bidFollow (Budoppfølging)\r\n            \r\n\r\n5 = document (Dokument)\r\n            \r\n\r\n6 = mailing (Utsendelse)\r\n            \r\n\r\n7 = sms (SMS)\r\n            \r\n\r\n8 = note (Notat)\r\n            \r\n\r\n9 = inspection (Befaring)\r\n            \r\n\r\n10 = privateViewing (Privatvisning)\r\n            \r\n\r\n11 = followUp (Oppfølging)\r\n            \r\n\r\n12 = contract (Kontraktsmøte)\r\n            \r\n\r\n13 = takeover (Overtakelse)\r\n            \r\n\r\n14 = ad (Nettannonse)\r\n            \r\n\r\n15 = searchProfile (Søkeprofil)\r\n            \r\n\r\n16 = depot (Depot)\r\n            \r\n\r\n17 = assignmentPeriod (Oppdragsperiode)\r\n            \r\n\r\n18 = task (Gjøremål)\r\n            \r\n\r\n19 = projectGuarantee (Garantistillelse)\r\n            \r\n\r\n20 = projectMeeting (Prosjektmøte)\r\n            \r\n\r\n21 = mappingAuthority (Kartverket)\r\n            \r\n\r\n22 = leads (Tips)\r\n            \r\n\r\n23 = preInspection (Forhåndsbefaring)\r\n            \r\n\r\n24 = eTinglysing (eTingLysing)\r\n            \r\n\r\n25 = callList (Ringelister)\r\n            \r\n\r\n26 = yearInspection (Ettårsbefaring)\r\n            \r\n\r\n27 = settlementFolder (Oppgjørsmappe)\r\n            \r\n\r\n28 = takeoverLog (Overtakelsesprotokoll)\r\n            \r\n\r\n29 = settlement (Oppgjør)\r\n            \r\n\r\n30 = consent (Samtykke)\r\n            \r\n\r\n31 = estateData (Oppdragsdata)\r\n            \r\n\r\n32 = emailIn (E-post inn)\r\n            \r\n\r\n33 = emailOut (E-post ut)\r\n            \r\n\r\n34 = distributing (Fordelingskjennelse)\r\n            \r\n\r\n35 = commercialAreaRental (Arealutleie)\r\n            \r\n\r\n36 = addressChange (Adresseendring)\r\n            \r\n\r\n37 = photography (Fotografering)\r\n            \r\n\r\n38 = appraisal (Taksering)\r\n            \r\n\r\n39 = moneyLaunderingControl (Hvitvaskingskontroll)\r\n            \r\n\r\n40 = internalControl (Internkontroll)\r\n            \r\n\r\n41 = sellerTask (Oppgave for selger)\r\n            \r\n\r\n42 = buyerTask (Oppgave for kjøper)\n\n1 = Showing\n\n2 = PhoneIn\n\n3 = PhoneOut\n\n4 = BidFollow\n\n5 = Document\n\n6 = Mailing\n\n7 = Sms\n\n8 = Note\n\n9 = Inspection\n\n10 = PrivateViewing\n\n11 = FollowUp\n\n12 = Contract\n\n13 = Takeover\n\n14 = Ad\n\n15 = SearchProfile\n\n16 = Depot\n\n17 = AssignmentPeriod\n\n18 = Task\n\n19 = ProjectGuarantee\n\n20 = ProjectMeeting\n\n21 = MappingAuthority\n\n22 = Leads\n\n23 = PreInspection\n\n24 = ETinglysing\n\n25 = CallList\n\n26 = YearInspection\n\n27 = SettlementFolder\n\n28 = TakeoverLog\n\n29 = Settlement\n\n30 = Consent\n\n31 = EstateData\n\n32 = EmailIn\n\n33 = EmailOut\n\n34 = Distributing\n\n35 = CommercialAreaRental\n\n36 = AddressChange\n\n37 = Photography\n\n38 = Appraisal\n\n39 = MoneyLaunderingControl\n\n40 = InternalControl\n\n41 = SellerTask\n\n42 = BuyerTask",
        "format": "int32",
        "x-enumNames": [
          "Showing",
          "PhoneIn",
          "PhoneOut",
          "BidFollow",
          "Document",
          "Mailing",
          "Sms",
          "Note",
          "Inspection",
          "PrivateViewing",
          "FollowUp",
          "Contract",
          "Takeover",
          "Ad",
          "SearchProfile",
          "Depot",
          "AssignmentPeriod",
          "Task",
          "ProjectGuarantee",
          "ProjectMeeting",
          "MappingAuthority",
          "Leads",
          "PreInspection",
          "ETinglysing",
          "CallList",
          "YearInspection",
          "SettlementFolder",
          "TakeoverLog",
          "Settlement",
          "Consent",
          "EstateData",
          "EmailIn",
          "EmailOut",
          "Distributing",
          "CommercialAreaRental",
          "AddressChange",
          "Photography",
          "Appraisal",
          "MoneyLaunderingControl",
          "InternalControl",
          "SellerTask",
          "BuyerTask"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ContactDescription": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactDescriptionComment"
            },
            "description": "Liste over kommentarer",
            "nullable": true
          },
          "proxyId": {
            "type": "string",
            "description": "ContactId til den fullmektige",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactDescriptionComment": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactEstatePrice": {
        "type": "object",
        "properties": {
          "priceSuggestion": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double",
            "nullable": true
          },
          "soldPrice": {
            "type": "number",
            "description": "Salgssum",
            "format": "double",
            "nullable": true
          },
          "estimatedValue": {
            "type": "number",
            "description": "Markedsverdi/Verditakst",
            "format": "double",
            "nullable": true
          },
          "collectiveDebt": {
            "type": "number",
            "description": "Fellesgjeld",
            "format": "double",
            "nullable": true
          },
          "collectiveAssets": {
            "type": "number",
            "description": "Fellesformue",
            "format": "double",
            "nullable": true
          },
          "totalPrice": {
            "type": "number",
            "description": "Estimert totalpris inklusive omkostninger og fellesgjeld (kun for ikke solgt bolig)",
            "format": "double",
            "nullable": true
          },
          "totalPriceExclusiveCostsAndDebt": {
            "type": "number",
            "description": "Estimert totalpris eksklusive omkostninger og fellesgjeld",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactEstateRelationTypeGroup": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = seller (Selger)\r\n            \r\n\r\n2 = buyer (Kjøper)\r\n            \r\n\r\n3 = viewing (Visningsdeltaker)\r\n            \r\n\r\n4 = bidder (Budgiver)\r\n            \r\n\r\n5 = invoicee (Fakturamottaker)\r\n            \r\n\r\n6 = originalBuyer (Opprinnelig kjøper)\r\n            \r\n\r\n7 = housingCoop (Borettslag/sameie/aksjeselskap)\r\n            \r\n\r\n8 = legalHolder (Hjemmelshaver)\r\n            \r\n\r\n9 = legalIssuer (Hjemmelsutsteder)\r\n            \r\n\r\n10 = mortagee (Panthaver)\r\n            \r\n\r\n11 = proxy (Fullmektig)\r\n            \r\n\r\n12 = valuator (Takstmann)\r\n            \r\n\r\n13 = manager (Forretningsfører)\r\n            \r\n\r\n14 = interested (Interessent)\r\n            \r\n\r\n15 = match (Match)\r\n            \r\n\r\n16 = leaseHolder (Fester)\r\n            \r\n\r\n17 = creditor (Saksøker)\r\n            \r\n\r\n18 = debitor (Saksøkt)\r\n            \r\n\r\n19 = legalRepresentative (Prosessfullmektig)\r\n            \r\n\r\n20 = county (Kommune)\r\n            \r\n\r\n21 = stateMaps (Statens Kartverk)\r\n            \r\n\r\n22 = landOwner (Grunneier)\r\n            \r\n\r\n23 = formerOwner (Tidligere eier/avdød)\r\n            \r\n\r\n24 = heir (Arving)\r\n            \r\n\r\n25 = sellersSpouse (Selgers ektefelle)\r\n            \r\n\r\n26 = accountManagerSeller (Disponent selger/utleier)\r\n            \r\n\r\n27 = accountManagerBuyer (Disponent kjøper/leietager)\n\n1 = Seller\n\n2 = Buyer\n\n3 = Viewing\n\n4 = Bidder\n\n5 = Invoicee\n\n6 = OriginalBuyer\n\n7 = HousingCoop\n\n8 = LegalHolder\n\n9 = LegalIssuer\n\n10 = Mortagee\n\n11 = Proxy\n\n12 = Valuator\n\n13 = Manager\n\n14 = Interested\n\n15 = Match\n\n16 = LeaseHolder\n\n17 = Creditor\n\n18 = Debitor\n\n19 = LegalRepresentative\n\n20 = County\n\n21 = StateMaps\n\n22 = LandOwner\n\n23 = FormerOwner\n\n24 = Heir\n\n25 = SellersSpouse\n\n26 = AccountManagerSeller\n\n27 = AccountManagerBuyer",
        "format": "int32",
        "x-enumNames": [
          "Seller",
          "Buyer",
          "Viewing",
          "Bidder",
          "Invoicee",
          "OriginalBuyer",
          "HousingCoop",
          "LegalHolder",
          "LegalIssuer",
          "Mortagee",
          "Proxy",
          "Valuator",
          "Manager",
          "Interested",
          "Match",
          "LeaseHolder",
          "Creditor",
          "Debitor",
          "LegalRepresentative",
          "County",
          "StateMaps",
          "LandOwner",
          "FormerOwner",
          "Heir",
          "SellersSpouse",
          "AccountManagerSeller",
          "AccountManagerBuyer"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ContactEstatesRelation": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactEstatesRelationType"
              }
            ],
            "description": "Relasjonstype\n\n0 = None\n\n1 = Seller\n\n2 = Buyer\n\n3 = Viewing\n\n4 = Bidder\n\n5 = Invoicee\n\n6 = OriginalBuyer\n\n7 = HousingCoop\n\n8 = LegalHolder\n\n9 = LegalIssuer\n\n10 = Mortagee\n\n11 = Proxy\n\n12 = Valuator\n\n13 = Manager\n\n14 = Interested\n\n15 = Match\n\n16 = LeaseHolder\n\n17 = Creditor\n\n18 = Debitor\n\n19 = LegalRepresentative\n\n20 = County\n\n21 = StateMaps\n\n22 = LandOwner\n\n23 = FormerOwner\n\n24 = Heir\n\n25 = SellersSpouse\n\n26 = AccountManagerSeller\n\n27 = AccountManagerBuyer",
            "x-enumNames": [
              "None",
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "date": {
            "type": "string",
            "description": "Tidspunkt for opprettelse av relasjonen",
            "format": "date-time",
            "nullable": true
          },
          "estate": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RelatedEstate"
              }
            ],
            "description": "Relatert oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactEstatesRelationType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = none (Ingen definert relasjon)\r\n            \r\n\r\n1 = seller (Selger)\r\n            \r\n\r\n2 = buyer (Kjøper)\r\n            \r\n\r\n3 = viewing (Visningsdeltaker)\r\n            \r\n\r\n4 = bidder (Budgiver)\r\n            \r\n\r\n5 = invoicee (Fakturamottaker)\r\n            \r\n\r\n6 = originalBuyer (Opprinnelig kjøper)\r\n            \r\n\r\n7 = housingCoop (Borettslag/sameie/aksjeselskap)\r\n            \r\n\r\n8 = legalHolder (Hjemmelshaver)\r\n            \r\n\r\n9 = legalIssuer (Hjemmelsutsteder)\r\n            \r\n\r\n10 = mortagee (Panthaver)\r\n            \r\n\r\n11 = proxy (Fullmektig)\r\n            \r\n\r\n12 = valuator (Takstmann)\r\n            \r\n\r\n13 = manager (Forretningsfører)\r\n            \r\n\r\n14 = interested (Interessent)\r\n            \r\n\r\n15 = match (Match)\r\n            \r\n\r\n16 = leaseHolder (Fester)\r\n            \r\n\r\n17 = creditor (Saksøker)\r\n            \r\n\r\n18 = debitor (Saksøkt)\r\n            \r\n\r\n19 = legalRepresentative (Prosessfullmektig)\r\n            \r\n\r\n20 = county (Kommune)\r\n            \r\n\r\n21 = stateMaps (Statens Kartverk)\r\n            \r\n\r\n22 = landOwner (Grunneier)\r\n            \r\n\r\n23 = formerOwner (Tidligere eier/avdød)\r\n            \r\n\r\n24 = heir (Arving)\r\n            \r\n\r\n25 = sellersSpouse (Selgers ektefelle)\r\n            \r\n\r\n26 = accountManagerSeller (Disponent selger/utleier)\r\n            \r\n\r\n27 = accountManagerBuyer (Disponent kjøper/leietaker)\n\n0 = None\n\n1 = Seller\n\n2 = Buyer\n\n3 = Viewing\n\n4 = Bidder\n\n5 = Invoicee\n\n6 = OriginalBuyer\n\n7 = HousingCoop\n\n8 = LegalHolder\n\n9 = LegalIssuer\n\n10 = Mortagee\n\n11 = Proxy\n\n12 = Valuator\n\n13 = Manager\n\n14 = Interested\n\n15 = Match\n\n16 = LeaseHolder\n\n17 = Creditor\n\n18 = Debitor\n\n19 = LegalRepresentative\n\n20 = County\n\n21 = StateMaps\n\n22 = LandOwner\n\n23 = FormerOwner\n\n24 = Heir\n\n25 = SellersSpouse\n\n26 = AccountManagerSeller\n\n27 = AccountManagerBuyer",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Seller",
          "Buyer",
          "Viewing",
          "Bidder",
          "Invoicee",
          "OriginalBuyer",
          "HousingCoop",
          "LegalHolder",
          "LegalIssuer",
          "Mortagee",
          "Proxy",
          "Valuator",
          "Manager",
          "Interested",
          "Match",
          "LeaseHolder",
          "Creditor",
          "Debitor",
          "LegalRepresentative",
          "County",
          "StateMaps",
          "LandOwner",
          "FormerOwner",
          "Heir",
          "SellersSpouse",
          "AccountManagerSeller",
          "AccountManagerBuyer"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ContactGdprActivity": {
        "type": "object",
        "properties": {
          "header": {
            "type": "string",
            "description": "Overskrift",
            "nullable": true
          },
          "activityTypeName": {
            "type": "string",
            "description": "Aktivitetstype navn",
            "nullable": true
          },
          "start": {
            "type": "string",
            "description": "Starttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Sluttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "doneDate": {
            "type": "string",
            "description": "Utført dato",
            "format": "date-time",
            "nullable": true
          },
          "text": {
            "type": "string",
            "description": "Notater",
            "nullable": true
          },
          "personal": {
            "type": "boolean",
            "description": "Privat"
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "estateAddress": {
            "type": "string",
            "description": "Oppdragsadresse",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprBid": {
        "type": "object",
        "properties": {
          "partyName": {
            "type": "string",
            "description": "Gruppe",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "estateAddress": {
            "type": "string",
            "description": "Oppdragsadresse",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Budbeløp",
            "format": "double"
          },
          "expires": {
            "type": "string",
            "description": "Akseptfrist dato",
            "format": "date-time",
            "nullable": true
          },
          "reservations": {
            "type": "string",
            "description": "Forbehold",
            "nullable": true
          },
          "financeReady": {
            "type": "boolean",
            "description": "Finansiering"
          },
          "wantedTakeover": {
            "type": "string",
            "description": "Ønsket overtakelse",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprCompanyRelation": {
        "type": "object",
        "properties": {
          "companyName": {
            "type": "string",
            "description": "Firmanavn",
            "nullable": true
          },
          "organisationNumber": {
            "type": "string",
            "description": "Organisasjonsnummer",
            "nullable": true
          },
          "contactRole": {
            "type": "string",
            "description": "Kontaktrolle",
            "nullable": true
          },
          "start": {
            "type": "string",
            "description": "Startdato",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Avslutningsdato",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprConsent": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ConsentType"
              }
            ],
            "description": "Samtykketype\n\n0 = Valuation\n\n1 = Searchprofile\n\n2 = Financing\n\n3 = Keepmeinformed\n\n4 = Other",
            "x-enumNames": [
              "Valuation",
              "Searchprofile",
              "Financing",
              "Keepmeinformed",
              "Other"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "boolean",
            "description": "Endret til"
          },
          "changedBy": {
            "type": "string",
            "description": "Endret av",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "typeTag": {
            "type": "string",
            "description": "Samtykketypetag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprDebt": {
        "type": "object",
        "properties": {
          "reference": {
            "type": "string",
            "description": "Lånereferanse",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprDocument": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "description": "Referanse til dokumentet",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Navn",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "description": "Filnavn",
            "nullable": true
          },
          "documentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentType"
              }
            ],
            "description": "Dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "estateAddress": {
            "type": "string",
            "description": "Oppdragsadresse",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprExternalOrderRelation": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "estateAddress": {
            "type": "string",
            "description": "Adresse",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactGdprProductCategoryType"
              }
            ],
            "description": "Type\n\n1 = SellerInsurance\n\n2 = BuyerInsurance\n\n3 = SellerCustomerPortal\n\n4 = BuyerCustomerPortal",
            "x-enumNames": [
              "SellerInsurance",
              "BuyerInsurance",
              "SellerCustomerPortal",
              "BuyerCustomerPortal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "orderDate": {
            "type": "string",
            "description": "Ordredato",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ContactGdprId": {
        "type": "object",
        "properties": {
          "typeId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactGdprIdType"
              }
            ],
            "description": "Idtype\n\n1 = PassPort\n\n2 = DriverLicense\n\n3 = BankCard\n\n4 = BankId\n\n5 = Other",
            "x-enumNames": [
              "PassPort",
              "DriverLicense",
              "BankCard",
              "BankId",
              "Other"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "refId": {
            "type": "string",
            "description": "Idreferanse",
            "nullable": true
          },
          "confirmedDate": {
            "type": "string",
            "description": "Id bekreftet dato",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprIdType": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = passPort (Pass)\r\n            \r\n\r\n2 = driverLicense (Førerkort)\r\n            \r\n\r\n3 = bankCard (Bankkort)\r\n            \r\n\r\n4 = bankId (Bankid)\r\n            \r\n\r\n5 = other (Annet)\n\n1 = PassPort\n\n2 = DriverLicense\n\n3 = BankCard\n\n4 = BankId\n\n5 = Other",
        "format": "int32",
        "x-enumNames": [
          "PassPort",
          "DriverLicense",
          "BankCard",
          "BankId",
          "Other"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ContactGdprObjectRelation": {
        "type": "object",
        "properties": {
          "partyName": {
            "type": "string",
            "description": "Gruppe",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "estateAddress": {
            "type": "string",
            "description": "Oppdragsadresse",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "relationName": {
            "type": "string",
            "description": "Relasjonsnavn",
            "nullable": true
          },
          "debts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprDebt"
            },
            "description": "Liste over gjeld",
            "nullable": true
          },
          "proxies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprProxy"
            },
            "description": "Liste over fullmektiger",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGdprProductCategoryType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = sellerInsurance (Personen det gjelder er selger og et produkt er bestilt av typen 'Boligselgerforsikring')\r\n            \r\n\r\n2 = buyerInsurance (Personen det gjelder er kjøper og et produkt er bestilt av typen 'Boligkjøperforsikring')\r\n            \r\n\r\n3 = sellerCustomerPortal (Personen det gjelder er selger og et produkt er bestilt av typen 'Kundeportal selger')\r\n            \r\n\r\n4 = buyerCustomerPortal (Personen det gjelder er kjøper og et produkt er bestilt av typen 'Kundeportal kjøper')\n\n1 = SellerInsurance\n\n2 = BuyerInsurance\n\n3 = SellerCustomerPortal\n\n4 = BuyerCustomerPortal",
        "format": "int32",
        "x-enumNames": [
          "SellerInsurance",
          "BuyerInsurance",
          "SellerCustomerPortal",
          "BuyerCustomerPortal"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ContactGdprProxy": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til fullmektig",
            "nullable": true
          },
          "contactFirstName": {
            "type": "string",
            "description": "Fornavn til fullmektig",
            "nullable": true
          },
          "contactLastName": {
            "type": "string",
            "description": "Etternavn til fullmektig",
            "nullable": true
          },
          "isMainContact": {
            "type": "boolean",
            "description": "Er hovedkontakt",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactGroup": {
        "type": "object",
        "properties": {
          "groupProxy": {
            "type": "string",
            "description": "Referanse til gruppefullmektig",
            "nullable": true
          },
          "mainContactId": {
            "type": "string",
            "description": "Referanse til hovedkontakt",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Gruppenavn",
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactProxy"
            },
            "description": "Liste over kontakter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactProxy": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "proxyId": {
            "type": "string",
            "description": "Referanse til fullmektig",
            "nullable": true
          },
          "registered": {
            "type": "string",
            "description": "Første registreringsdato",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactRelationType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = viewing (Visningsdeltaker)\r\n            \r\n\r\n1 = interested (Interessert)\n\n0 = Viewing\n\n1 = Interested",
        "format": "int32",
        "x-enumNames": [
          "Viewing",
          "Interested"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ContactRelations": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactRelationType"
              }
            ],
            "description": "Kontakttype\n\n0 = Viewing\n\n1 = Interested",
            "x-enumNames": [
              "Viewing",
              "Interested"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactDescription"
            },
            "description": "Liste over kontakter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactRoleBaseType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ikke definert)\r\n            \r\n\r\n1 = spouse (Ektefelle)\r\n            \r\n\r\n2 = employment (Ansettelse)\r\n            \r\n\r\n3 = shareholder (Aksjonær)\r\n            \r\n\r\n4 = manager (Daglig leder)\r\n            \r\n\r\n5 = boardChair (Styreleder)\r\n            \r\n\r\n6 = boardMember (Styremedlem)\r\n            \r\n\r\n7 = signatureEligible (Signaturberettiget)\r\n            \r\n\r\n8 = authorizedSignatory (Prokurist)\r\n            \r\n\r\n9 = realLicensee (Reell rettighetshaver)\r\n            \r\n\r\n10 = accountant (Revisor)\r\n            \r\n\r\n11 = companyContact (Firmakontaktperson)\n\n0 = NotSet\n\n1 = Spouse\n\n2 = Employment\n\n3 = Shareholder\n\n4 = Manager\n\n5 = BoardChair\n\n6 = BoardMember\n\n7 = SignatureEligible\n\n8 = AuthorizedSignatory\n\n9 = RealLicensee\n\n10 = Accountant\n\n11 = CompanyContact",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Spouse",
          "Employment",
          "Shareholder",
          "Manager",
          "BoardChair",
          "BoardMember",
          "SignatureEligible",
          "AuthorizedSignatory",
          "RealLicensee",
          "Accountant",
          "CompanyContact"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ContactRoleInformation": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "description": "Referanse til firmakontaktrollen",
            "nullable": true
          },
          "parentContactId": {
            "type": "string",
            "description": "Referanse til firma",
            "nullable": true
          },
          "childContactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "ownerPercentage": {
            "type": "number",
            "description": "Eierandel i prosent",
            "format": "double",
            "nullable": true
          },
          "baseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactRoleBaseType"
              }
            ],
            "description": "Reservert basistype\n\n0 = NotSet\n\n1 = Spouse\n\n2 = Employment\n\n3 = Shareholder\n\n4 = Manager\n\n5 = BoardChair\n\n6 = BoardMember\n\n7 = SignatureEligible\n\n8 = AuthorizedSignatory\n\n9 = RealLicensee\n\n10 = Accountant\n\n11 = CompanyContact",
            "x-enumNames": [
              "NotSet",
              "Spouse",
              "Employment",
              "Shareholder",
              "Manager",
              "BoardChair",
              "BoardMember",
              "SignatureEligible",
              "AuthorizedSignatory",
              "RealLicensee",
              "Accountant",
              "CompanyContact"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "typeId": {
            "type": "string",
            "description": "Referanse til kontaktrolletypen i Next",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "Gyldig fra",
            "format": "date-time",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "Gyldig til",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactRoleType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Referanse til kontaktrolletypen",
            "nullable": true
          },
          "baseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactRoleBaseType"
              }
            ],
            "description": "Reservert basistype\n\n0 = NotSet\n\n1 = Spouse\n\n2 = Employment\n\n3 = Shareholder\n\n4 = Manager\n\n5 = BoardChair\n\n6 = BoardMember\n\n7 = SignatureEligible\n\n8 = AuthorizedSignatory\n\n9 = RealLicensee\n\n10 = Accountant\n\n11 = CompanyContact",
            "x-enumNames": [
              "NotSet",
              "Spouse",
              "Employment",
              "Shareholder",
              "Manager",
              "BoardChair",
              "BoardMember",
              "SignatureEligible",
              "AuthorizedSignatory",
              "RealLicensee",
              "Accountant",
              "CompanyContact"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "contactRoleName": {
            "type": "string",
            "description": "Kontaktens tilknytning til selskapet",
            "nullable": true
          },
          "companyContactRoleName": {
            "type": "string",
            "description": "Selskapets rolle i forhold til kontakten",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = person (Person)\r\n            \r\n\r\n1 = company (Firma)\n\n0 = Person\n\n1 = Company",
        "format": "int32",
        "x-enumNames": [
          "Person",
          "Company"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ContactsWithActivities": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactActivity"
            },
            "description": "Liste over aktiviteter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Coordinates": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "Lengdegrad (WGS84)",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "description": "Breddegrad (WGS84)",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CorporationShareholder": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Aksjonærens navn",
            "nullable": true
          },
          "ownerPercentage": {
            "type": "number",
            "description": "Aksjonærens eierandel",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DateTimeField": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateTimeFieldType"
              }
            ],
            "description": "Datofelt\n\n1 = PreemptiveDeadline\n\n2 = ShareJointCapitalDate\n\n3 = ShareJointDebtToDate\n\n4 = ValuationDate\n\n5 = LeasingContractDate\n\n6 = CompletionReportDated\n\n7 = LandOwnerEstateDocumentDate",
            "x-enumNames": [
              "PreemptiveDeadline",
              "ShareJointCapitalDate",
              "ShareJointDebtToDate",
              "ValuationDate",
              "LeasingContractDate",
              "CompletionReportDated",
              "LandOwnerEstateDocumentDate"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "string",
            "description": "Datoverdi",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DateTimeFieldType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = preemptiveDeadline (Forkjøpsfrist (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n2 = shareJointCapitalDate (Andel felles formue per dato (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n3 = shareJointDebtToDate (Andel fellesgjeld per dato (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n4 = valuationDate (Rapportdato)\r\n            \r\n\r\n5 = leasingContractDate (Festekontrakt datert)\r\n            \r\n\r\n6 = completionReportDated (Ferdigattest/bruktstillatelse datert)\r\n            \r\n\r\n7 = landOwnerEstateDocumentDate (Grunnboksdato)\n\n1 = PreemptiveDeadline\n\n2 = ShareJointCapitalDate\n\n3 = ShareJointDebtToDate\n\n4 = ValuationDate\n\n5 = LeasingContractDate\n\n6 = CompletionReportDated\n\n7 = LandOwnerEstateDocumentDate",
        "format": "int32",
        "x-enumNames": [
          "PreemptiveDeadline",
          "ShareJointCapitalDate",
          "ShareJointDebtToDate",
          "ValuationDate",
          "LeasingContractDate",
          "CompletionReportDated",
          "LandOwnerEstateDocumentDate"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "DeliveryPackageStatus": {
        "required": [
          "deliveryPackageId",
          "numberOk"
        ],
        "type": "object",
        "properties": {
          "deliveryPackageId": {
            "minLength": 1,
            "type": "string",
            "description": "Id for denne pakke med bilder (en bilde-bestilling, f.eks. tournr)"
          },
          "customersOrderNumber": {
            "type": "string",
            "description": "Meglers bestillings referanse",
            "nullable": true
          },
          "deliveryNote": {
            "type": "string",
            "description": "Beskjed til mottaker ang. denne leveranse",
            "nullable": true
          },
          "toEmail": {
            "type": "string",
            "description": "Mottakers epost (kan utelates dersom melding skal sendes til oppdragets megler)",
            "nullable": true
          },
          "replyToEmail": {
            "type": "string",
            "description": "Avsenders e-post adresse",
            "nullable": true
          },
          "fromContactName": {
            "type": "string",
            "description": "Avsenders navn (fotograf / kontaktperson)",
            "nullable": true
          },
          "fromContactPhone": {
            "type": "string",
            "description": "Avsenders telefonummer",
            "nullable": true
          },
          "numberOk": {
            "type": "integer",
            "description": "Antall bilder vellykket overført",
            "format": "int32"
          },
          "numberTotal": {
            "type": "integer",
            "description": "Antall bilder totalt i denne bestilling",
            "format": "int32",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "URL som følger meldingen til oppdragets megler",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepartmentPermission": {
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "integer",
            "description": "Id for et kontor denne personen har tilgang til",
            "format": "int32"
          },
          "departmentPermissionType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DepartmentPermissionType"
              }
            ],
            "description": "Tilgangen personen har til avdelingen\n\n1 = Read\n\n2 = ReadWrite",
            "x-enumNames": [
              "Read",
              "ReadWrite"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "DepartmentPermissionType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = read (Den ansatte har kun lesetilgang til avdelingen)\r\n            \r\n\r\n2 = readWrite (Den ansatte har lese- og skrivetilgang til avdelingen)\n\n1 = Read\n\n2 = ReadWrite",
        "format": "int32",
        "x-enumNames": [
          "Read",
          "ReadWrite"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "DepartmentRoleType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = managingDirector (Daglig leder)\r\n            \r\n\r\n2 = chiefExecutiveOfficer (Administrerende direktør)\r\n            \r\n\r\n3 = departmentManager (Avdelingsleder)\r\n            \r\n\r\n4 = moneyLaundringComplianceManager (Hvitvaskingsansvarlig)\r\n            \r\n\r\n5 = internalControlProxy (Internkontrollfullmektig)\r\n            \r\n\r\n6 = subjectMatterManager (Fagansvarlig)\r\n            \r\n\r\n7 = settlementManager (Oppgjørsansvarlig)\r\n            \r\n\r\n8 = authorizedSignatory (Prokurist)\r\n            \r\n\r\n9 = signatureEligible (Signaturberettiget)\r\n            \r\n\r\n10 = shareholder (Aksjonær)\r\n            \r\n\r\n11 = boardMember (Styremedlem)\r\n            \r\n\r\n12 = chairman (Styreleder)\r\n            \r\n\r\n13 = realLicensee (Reell rettighetshaver)\r\n            \r\n\r\n14 = accountant (Regnskapsfører)\r\n            \r\n\r\n15 = auditor (Revisor)\n\n1 = ManagingDirector\n\n2 = ChiefExecutiveOfficer\n\n3 = DepartmentManager\n\n4 = MoneyLaundringComplianceManager\n\n5 = InternalControlProxy\n\n6 = SubjectMatterManager\n\n7 = SettlementManager\n\n8 = AuthorizedSignatory\n\n9 = SignatureEligible\n\n10 = Shareholder\n\n11 = BoardMember\n\n12 = Chairman\n\n13 = RealLicensee\n\n14 = Accountant\n\n15 = Auditor",
        "format": "int32",
        "x-enumNames": [
          "ManagingDirector",
          "ChiefExecutiveOfficer",
          "DepartmentManager",
          "MoneyLaundringComplianceManager",
          "InternalControlProxy",
          "SubjectMatterManager",
          "SettlementManager",
          "AuthorizedSignatory",
          "SignatureEligible",
          "Shareholder",
          "BoardMember",
          "Chairman",
          "RealLicensee",
          "Accountant",
          "Auditor"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "DepartmentRoles": {
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "string",
            "description": "Referanse til avdeling",
            "nullable": true
          },
          "departmentName": {
            "type": "string",
            "description": "Avdelingens navn",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmployeeRole"
            },
            "description": "Liste over ansatte med roller, kontaktinformasjon og eierandel",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepartmentWithPostalCodes": {
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "string",
            "description": "Referanse til avdeling",
            "nullable": true
          },
          "departmentNumber": {
            "type": "string",
            "description": "Avdelingsnummer, kan være likt id for avdeling",
            "nullable": true
          },
          "callCenterId": {
            "type": "string",
            "description": "Referanse til callcenter",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Avdelingsnavn",
            "nullable": true
          },
          "tipManagerUserId": {
            "type": "string",
            "description": "Referanse til tipshåndterer. Erstattet av TipManagerUserIds",
            "nullable": true,
            "deprecated": true
          },
          "tipManagerUserIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over tipshåndterere. Erstatter TipManagerUserId",
            "nullable": true
          },
          "postalCodesAndAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostalCodesAndAreas"
            },
            "description": "Liste over tildelte postnummer for tipshåndtering",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepotDocumentGroup": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = pledge (Sikringspant)\r\n            \r\n\r\n2 = ownerChange (Hjemmelsoverføring)\n\n1 = Pledge\n\n2 = OwnerChange",
        "format": "int32",
        "x-enumNames": [
          "Pledge",
          "OwnerChange"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "DevelopersReservation": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DevelopersReservationType"
              }
            ],
            "description": "Type forbehold\n\n0 = NotSet\n\n1 = StartPermissionGranted\n\n2 = SaleCount\n\n3 = SalePercent\n\n4 = BuildingLoanFunded\n\n5 = Other",
            "x-enumNames": [
              "NotSet",
              "StartPermissionGranted",
              "SaleCount",
              "SalePercent",
              "BuildingLoanFunded",
              "Other"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "description": {
            "type": "string",
            "description": "Avhengig av type beskrives utbyggers forbehold om salgsgrad antall (2), salgsgrad prosent (3) eller annet (5)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DevelopersReservationType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ingen utbyggers reservasjonstype er satt)\r\n            \r\n\r\n1 = startPermissionGranted (Igangsettelse/Rammetillatelse)\r\n            \r\n\r\n2 = saleCount (Salgsgrad antall)\r\n            \r\n\r\n3 = salePercent (Salgsgrad prosent)\r\n            \r\n\r\n4 = buildingLoanFunded (Åpning av byggelån)\r\n            \r\n\r\n5 = other (Annet)\n\n0 = NotSet\n\n1 = StartPermissionGranted\n\n2 = SaleCount\n\n3 = SalePercent\n\n4 = BuildingLoanFunded\n\n5 = Other",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "StartPermissionGranted",
          "SaleCount",
          "SalePercent",
          "BuildingLoanFunded",
          "Other"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "DocumentESignStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = none (Ingen signering)\r\n            \r\n\r\n1 = pending (Sendt til signering)\r\n            \r\n\r\n2 = partiallySigned (Delvis signert)\r\n            \r\n\r\n3 = signed (Ferdig signert)\n\n0 = None\n\n1 = Pending\n\n2 = PartiallySigned\n\n3 = Signed",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Pending",
          "PartiallySigned",
          "Signed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "DocumentInfo": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "description": "Referanse til dokument",
            "nullable": true
          },
          "head": {
            "type": "string",
            "description": "Overskrift til fil",
            "nullable": true
          },
          "extension": {
            "type": "string",
            "description": "Filtype",
            "nullable": true
          },
          "docType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentType"
              }
            ],
            "description": "Dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "nullable": true
          },
          "lastChanged": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "signStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentSignStatus"
              }
            ],
            "description": "Signeringsstatus med standard verdi usignert\n\n0 = NotSigned\n\n1 = ManuallySigned\n\n2 = ElectronicallySigned",
            "x-enumNames": [
              "NotSigned",
              "ManuallySigned",
              "ElectronicallySigned"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "eSignStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentESignStatus"
              }
            ],
            "description": "Dokumentets status for e-signering\n\n0 = None\n\n1 = Pending\n\n2 = PartiallySigned\n\n3 = Signed",
            "nullable": true
          },
          "approvalDate": {
            "type": "string",
            "description": "Tidspunkt for godkjent dokument",
            "format": "date-time",
            "nullable": true
          },
          "approvedBy": {
            "type": "string",
            "description": "Referanse til bruker som har godkjent dokumentet",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentSignStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSigned (Ikke signert)\r\n            \r\n\r\n1 = manuallySigned (Manuelt signert)\r\n            \r\n\r\n2 = electronicallySigned (Elektronisk signert med signeringsinformasjon i dokumentet)\n\n0 = NotSigned\n\n1 = ManuallySigned\n\n2 = ElectronicallySigned",
        "format": "int32",
        "x-enumNames": [
          "NotSigned",
          "ManuallySigned",
          "ElectronicallySigned"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "DocumentSignatoryStatus": {
        "enum": [
          0,
          10,
          20,
          30
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = none (Ikke signert)\r\n            \r\n\r\n10 = pending (Under signering)\r\n            \r\n\r\n20 = aborted (Avbrutt)\r\n            \r\n\r\n30 = signed (Signert)\n\n0 = None\n\n10 = Pending\n\n20 = Aborted\n\n30 = Signed",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Pending",
          "Aborted",
          "Signed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "DocumentSignatoryType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = contact (Kundekontakt)\r\n            \r\n\r\n1 = user (Megler)\n\n0 = Contact\n\n1 = User",
        "format": "int32",
        "x-enumNames": [
          "Contact",
          "User"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "DocumentType": {
        "enum": [
          1,
          2,
          3,
          5,
          6,
          7,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          1000
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = SelfDeclaration (Egenerklæring boligselgerforsikring)\r\n            \r\n\r\n2 = shareholders (Aksjeeierbok)\r\n            \r\n\r\n3 = adDraft (Annonseutkast)\r\n            \r\n\r\n5 = propertyInformation (Forretningsførerinfo)\r\n            \r\n\r\n6 = bidForm (Budskjema)\r\n            \r\n\r\n7 = various (Diverse)\r\n            \r\n\r\n9 = propertyProfile (Eiendomsprofil)\r\n            \r\n\r\n10 = propertyValuation (Takst)\r\n            \r\n\r\n11 = energyCertificate (Energiattest)\r\n            \r\n\r\n12 = emailReceived (E-post inn)\r\n            \r\n\r\n13 = emailSent (E-post ut)\r\n            \r\n\r\n14 = electronicValuation (E-takst)\r\n            \r\n\r\n15 = invoice (Faktura)\r\n            \r\n\r\n16 = completionCertificate (Ferdigattest)\r\n            \r\n\r\n17 = plotContract (Festekontrakt)\r\n            \r\n\r\n18 = companyCertificate (Firmaattest)\r\n            \r\n\r\n19 = financinginformation (Finansieringsinformasjon)\r\n            \r\n\r\n20 = preemptiveInformation (Forkjøpsrettinformasjon)\r\n            \r\n\r\n21 = listingAgreementRenewal (Fornyelse av oppdrag)\r\n            \r\n\r\n22 = authorization (Fullmakt selger)\r\n            \r\n\r\n23 = warranties (Garantidokument)\r\n            \r\n\r\n24 = landregistryTranscript (Grunnboksutskrift)\r\n            \r\n\r\n25 = landownerInformation (Grunneierinformasjon)\r\n            \r\n\r\n26 = ownerChange (Hjemmelserklæring)\r\n            \r\n\r\n27 = contract (Kontrakt)\r\n            \r\n\r\n28 = municipalInformation (Kommunalinformasjon)\r\n            \r\n\r\n29 = concessionForm (Konsesjonsskjema)\r\n            \r\n\r\n31 = valuationTax (Formuesverdi)\r\n            \r\n\r\n32 = listingAgreement (Oppdragsavtale)\r\n            \r\n\r\n33 = settlement (Oppgjørsdokument selger)\r\n            \r\n\r\n34 = settlementForm (Oppgjørsskjema)\r\n            \r\n\r\n35 = acquisitionProtocol (Overtakelsesprotokoll)\r\n            \r\n\r\n36 = lienOther (Pantattest løsøreregisteret)\r\n            \r\n\r\n37 = lien (Pantedokument, sikring)\r\n            \r\n\r\n38 = lienRevokedConfirmation (Pantefrafall)\r\n            \r\n\r\n39 = lienLock (Pantesperre)\r\n            \r\n\r\n40 = zoningplanMap (Plan, kart og regulering)\r\n            \r\n\r\n41 = floorplan (Plantegning)\r\n            \r\n\r\n42 = remainingDebt (Restgjeldsoppgave)\r\n            \r\n\r\n43 = propertyDescription (Salgsoppgave)\r\n            \r\n\r\n44 = propertyDescriptionDraft (Salgsoppgavearkiv)\r\n            \r\n\r\n45 = sectioningRequest (Seksjoneringsbegjæring)\r\n            \r\n\r\n46 = easement (Servitutt/Erklæring)\r\n            \r\n\r\n47 = deed (Skjøte/hjemmelsoverf.)\r\n            \r\n\r\n48 = boardApproval (Styregodkjennelse)\r\n            \r\n\r\n49 = drawing (Illustrasjon/tegning)\r\n            \r\n\r\n50 = supplementaryAgreement (Tilleggsavtale)\r\n            \r\n\r\n51 = transport (Transporterklæring)\r\n            \r\n\r\n52 = statute (Vedtekter)\r\n            \r\n\r\n53 = openHouseList (Visningsliste)\r\n            \r\n\r\n54 = authorizationBuyer (Fullmakt kjøper)\r\n            \r\n\r\n55 = settlementBuyer (Oppgjørsdokument kjøper)\r\n            \r\n\r\n56 = brokerValuation (Eiendomsvurdering)\r\n            \r\n\r\n57 = acceptanceLetterBuyer (Akseptbrev kjøper)\r\n            \r\n\r\n58 = acceptanceLetterSeller (Akseptbrev selger)\r\n            \r\n\r\n59 = lease (Leieavtale)\r\n            \r\n\r\n60 = insuranceSeller (Forsikring selger)\r\n            \r\n\r\n61 = insuranceBuyer (Forsikring kjøper)\r\n            \r\n\r\n62 = pricelist (Prisliste)\r\n            \r\n\r\n63 = declaration (Erklæring)\r\n            \r\n\r\n64 = coverLetter (Følgebrev)\r\n            \r\n\r\n65 = settlementLineupSeller (Oppgjørsoppstilling selger)\r\n            \r\n\r\n66 = settlementLineupBuyer (Oppgjørsoppstilling kjøper)\r\n            \r\n\r\n67 = proAndContraScheme (Pro og Contra-skjema)\r\n            \r\n\r\n69 = accountingInformation (Regnskapsinformasjon)\r\n            \r\n\r\n70 = requisition (Rekvisisjon)\r\n            \r\n\r\n71 = offer (Tilbud)\r\n            \r\n\r\n72 = interestReport (Rentegrunnlag)\r\n            \r\n\r\n73 = lienBuyer (Pantedokument kjøper)\r\n            \r\n\r\n74 = prerequisiteLetterBank (Forutsetningsbrev bank)\r\n            \r\n\r\n75 = contractAttachment (Kontraktsvedlegg)\r\n            \r\n\r\n76 = propertyDescriptionAttachment (Salgsoppgavevedlegg)\r\n            \r\n\r\n77 = moneyLaunderingDocument (Hvitvaskingsdokument)\r\n            \r\n\r\n78 = companyDocument (Selskapsdokument)\r\n            \r\n\r\n79 = shareDocument (Aksjedokument)\r\n            \r\n\r\n80 = will (Testament)\r\n            \r\n\r\n81 = mutualWill (Gjensidig testament)\r\n            \r\n\r\n82 = grantOfProbate (Skifteattest/uskifteattest)\r\n            \r\n\r\n83 = estateAuthorization (Skiftefullmakt)\r\n            \r\n\r\n84 = documentFeeRationale (Begrunnelse for dokumentavgift)\r\n            \r\n\r\n85 = bidJournal (Budjournal)\r\n            \r\n\r\n86 = bidAttachment (Budvedlegg)\r\n            \r\n\r\n88 = confirmedLandregistryTranscript (Bekreftet grunnboksutskrift)\r\n            \r\n\r\n89 = consentFromLessor (Samtykke fra bortfester)\r\n            \r\n\r\n90 = consentFromRightsHolderToEncumbrance (Samtykke fra rettighetshaver til urådighet)\r\n            \r\n\r\n91 = houseRules (Husordensregler)\r\n            \r\n\r\n92 = buildingDrawings (Byggetegninger)\r\n            \r\n\r\n93 = deliveryDescription (Leveransebeskrivelser)\r\n            \r\n\r\n94 = settlementFormSeller (Oppgjørsskjema selger)\r\n            \r\n\r\n95 = settlementFormBuyer (Oppgjørsskjema kjøper)\r\n            \r\n\r\n96 = conditionReportArchive (Tilstandsrapport arkiv)\r\n            \r\n\r\n97 = signedPurchaseContract (Signert kjøpekontrakt)\r\n            \r\n\r\n98 = brokersValuation (Meglers verdivurdering)\r\n            \r\n\r\n99 = inspectionReport (Befaringsrapport)\r\n            \r\n\r\n100 = salesBrochureDraft (Salgsoppgave korrektur)\r\n            \r\n\r\n101 = temporaryUsePermit (Midlertidig brukstillatelse)\r\n            \r\n\r\n102 = preValuation (Forhåndstakst)\r\n            \r\n\r\n103 = customerEvaluation (Kundevurdering)\r\n            \r\n\r\n1000 = propertyDescriptionDocuments (Dokumenter som vedlegges salgsoppgaven)\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
        "format": "int32",
        "x-enumNames": [
          "SelfDeclaration",
          "Shareholders",
          "AdDraft",
          "PropertyInformation",
          "BidForm",
          "Various",
          "PropertyProfile",
          "PropertyValuation",
          "EnergyCertificate",
          "EmailReceived",
          "EmailSent",
          "ElectronicValuation",
          "Invoice",
          "CompletionCertificate",
          "PlotContract",
          "CompanyCertificate",
          "Financinginformation",
          "PreemptiveInformation",
          "ListingAgreementRenewal",
          "Authorization",
          "Warranties",
          "LandregistryTranscript",
          "LandownerInformation",
          "OwnerChange",
          "Contract",
          "MunicipalInformation",
          "ConcessionForm",
          "ValuationTax",
          "ListingAgreement",
          "Settlement",
          "SettlementForm",
          "AcquisitionProtocol",
          "LienOther",
          "Lien",
          "LienRevokedConfirmation",
          "LienLock",
          "ZoningplanMap",
          "Floorplan",
          "RemainingDebt",
          "PropertyDescription",
          "PropertyDescriptionDraft",
          "SectioningRequest",
          "Easement",
          "Deed",
          "BoardApproval",
          "Drawing",
          "SupplementaryAgreement",
          "Transport",
          "Statute",
          "OpenHouseList",
          "AuthorizationBuyer",
          "SettlementBuyer",
          "BrokerValuation",
          "AcceptanceLetterBuyer",
          "AcceptanceLetterSeller",
          "Lease",
          "InsuranceSeller",
          "InsuranceBuyer",
          "Pricelist",
          "Declaration",
          "CoverLetter",
          "SettlementLineupSeller",
          "SettlementLineupBuyer",
          "ProAndContraScheme",
          "AccountingInformation",
          "Requisition",
          "Offer",
          "InterestReport",
          "LienBuyer",
          "PrerequisiteLetterBank",
          "ContractAttachment",
          "PropertyDescriptionAttachment",
          "MoneyLaunderingDocument",
          "CompanyDocument",
          "ShareDocument",
          "Will",
          "MutualWill",
          "GrantOfProbate",
          "EstateAuthorization",
          "DocumentFeeRationale",
          "BidJournal",
          "BidAttachment",
          "ConfirmedLandregistryTranscript",
          "ConsentFromLessor",
          "ConsentFromRightsHolderToEncumbrance",
          "HouseRules",
          "BuildingDrawings",
          "DeliveryDescription",
          "SettlementFormSeller",
          "SettlementFormBuyer",
          "ConditionReportArchive",
          "SignedPurchaseContract",
          "BrokersValuation",
          "InspectionReport",
          "SalesBrochureDraft",
          "TemporaryUsePermit",
          "PreValuation",
          "CustomerEvaluation",
          "PropertyDescriptionDocuments"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "DoubleField": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DoubleFieldType"
              }
            ],
            "description": "Heltallsfelt\n\n1 = ChangeOfOwnershipFee\n\n2 = CollectiveDebt\n\n3 = CommunityTax\n\n4 = Deposit\n\n5 = EstateCorporationPartialDenominatedBond\n\n6 = EstimatedValue\n\n7 = LoanFare\n\n8 = PreemptiveFee\n\n9 = RentPrMonth\n\n10 = ShareJointCapital\n\n11 = PlotSize",
            "x-enumNames": [
              "ChangeOfOwnershipFee",
              "CollectiveDebt",
              "CommunityTax",
              "Deposit",
              "EstateCorporationPartialDenominatedBond",
              "EstimatedValue",
              "LoanFare",
              "PreemptiveFee",
              "RentPrMonth",
              "ShareJointCapital",
              "PlotSize"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "number",
            "description": "Heltallsverdi",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DoubleFieldType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = changeOfOwnershipFee (Eierskiftegebyr)\r\n            \r\n\r\n2 = collectiveDebt (Andel fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n3 = communityTax (Kommunale avgifter)\r\n            \r\n\r\n4 = deposit (Innskudd (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n5 = estateCorporationPartialDenominatedBond (Partialobligasjon pålydende (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n6 = estimatedValue (Verditakst)\r\n            \r\n\r\n7 = loanFare (Lånetakst)\r\n            \r\n\r\n8 = preemptiveFee (Gebyr forkjøpsrett (borettslag eller aksjeselskap))\r\n            \r\n\r\n9 = rentPrMonth (Felleskostnader per måned (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n10 = shareJointCapital (Andel fellesformue (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n11 = plotSize (Tomteareal)\n\n1 = ChangeOfOwnershipFee\n\n2 = CollectiveDebt\n\n3 = CommunityTax\n\n4 = Deposit\n\n5 = EstateCorporationPartialDenominatedBond\n\n6 = EstimatedValue\n\n7 = LoanFare\n\n8 = PreemptiveFee\n\n9 = RentPrMonth\n\n10 = ShareJointCapital\n\n11 = PlotSize",
        "format": "int32",
        "x-enumNames": [
          "ChangeOfOwnershipFee",
          "CollectiveDebt",
          "CommunityTax",
          "Deposit",
          "EstateCorporationPartialDenominatedBond",
          "EstimatedValue",
          "LoanFare",
          "PreemptiveFee",
          "RentPrMonth",
          "ShareJointCapital",
          "PlotSize"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "Employee": {
        "required": [
          "departmentId",
          "employeeId",
          "name",
          "title"
        ],
        "type": "object",
        "properties": {
          "employeeId": {
            "minLength": 1,
            "type": "string",
            "description": "Id pr. megler og andre ansatte, unik pr. Installationid. Kan inneholde både bokstaver og tall."
          },
          "employeeNum": {
            "type": "integer",
            "description": "Ansattnummer",
            "format": "int32"
          },
          "title": {
            "minLength": 1,
            "type": "string",
            "description": "Tittel / stilling"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn og etternavn for denne ansatte"
          },
          "departmentId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Id for det kontor denne person i hovedsak jobber på. Foreløpig kun 1 verdi."
          },
          "mobilePhone": {
            "type": "string",
            "description": "Tlf.nr mobil",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "description": "Tlf.nr arbeid hvis megler også har fasttelefon",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "employeeActive": {
            "type": "boolean",
            "description": "Personen er aktiv / har tilgang til Next",
            "nullable": true
          },
          "student": {
            "type": "boolean",
            "description": "Personen er student"
          },
          "webPublish": {
            "type": "boolean",
            "description": "Personen skal publiseres på web"
          },
          "imageTimestamp": {
            "type": "string",
            "description": "Timestamp for bilde av denne megler. Bruk metode GetEmployeePicture for å hente det faktiske bildet",
            "format": "date-time",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "description": "Opprettet dato",
            "format": "date-time",
            "nullable": true
          },
          "aboutMe": {
            "type": "string",
            "description": "Kort om meg",
            "nullable": true
          },
          "employeePositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmployeePosition"
            },
            "description": "Stillingsgrad",
            "nullable": true
          },
          "availabilityStatus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmployeeAvailabilityStatus"
            },
            "description": "Tilgjengelighet",
            "nullable": true
          },
          "departmentPermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentPermission"
            },
            "description": "Tilgang til andre avdelinger. Merk: Gjelder kun GET {installationId}/Employees/{employeeId}. GET {installationId}/Employees inneholder også et felt for departmentPermissions, men det vil alltid være null for å unngå å levere for stor informasjonsmengde",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeeAvailabilityStatus": {
        "type": "object",
        "properties": {
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EmployeeStatusLeave"
              }
            ],
            "description": "Status for ansattes tilgjengelighet\n\n0 = Unknown\n\n1 = Vacation\n\n2 = Leave\n\n3 = SickLeave\n\n4 = SickLeaveChild\n\n5 = Resigned",
            "nullable": true
          },
          "percent": {
            "type": "number",
            "description": "Prosentandel som gjelder valgt status",
            "format": "double",
            "nullable": true
          },
          "fromDate": {
            "type": "string",
            "description": "Dato for når status starter",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "description": "Dato for når status opphører",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeeBaseCommission": {
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "string",
            "description": "Referanse til ansatt",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Referanse til avdeling",
            "format": "int32"
          },
          "articleSummaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArticleSummary"
            },
            "description": "Liste over lønnsartikler og beløp for den ansatte",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeeDetails": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Navn",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "Tlf.",
            "nullable": true
          },
          "mail": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "ownerShare": {
            "type": "number",
            "description": "Eierandel hvis aksjonær",
            "format": "double",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "Gyldig fra",
            "format": "date-time",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "Gyldig til",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeePosition": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EmployeePositionType"
              }
            ],
            "description": "Stillingstype\n\n0 = Unknown\n\n1 = Realtor\n\n2 = ManagingDirector\n\n3 = SubjectMatterComplianceManager\n\n4 = AntiMoneyLaunderingManager\n\n5 = Assistant\n\n6 = SettlementEmployee\n\n7 = Administration\n\n8 = RealEstateAttorney\n\n9 = SalesManager\n\n10 = OfficeManager",
            "nullable": true
          },
          "percent": {
            "type": "number",
            "description": "Stillingsprosent",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeePositionType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = unknown (Ukjent)\r\n            \r\n\r\n1 = realtor (Megler)\r\n            \r\n\r\n2 = managingDirector (Daglig leder)\r\n            \r\n\r\n3 = subjectMatterComplianceManager (Fagansvarlig)\r\n            \r\n\r\n4 = antiMoneyLaunderingManager (Antihvitvaskingsansvarlig)\r\n            \r\n\r\n5 = assistant (Medhjelper)\r\n            \r\n\r\n6 = settlementEmployee (Oppgjørsmedarbeider)\r\n            \r\n\r\n7 = administration (Administrasjon)\r\n            \r\n\r\n8 = realEstateAttorney (Eiendomsmeglerfullmektig)\r\n            \r\n\r\n9 = salesManager (Salgsleder)\r\n            \r\n\r\n10 = officeManager (Kontorleder)\n\n0 = Unknown\n\n1 = Realtor\n\n2 = ManagingDirector\n\n3 = SubjectMatterComplianceManager\n\n4 = AntiMoneyLaunderingManager\n\n5 = Assistant\n\n6 = SettlementEmployee\n\n7 = Administration\n\n8 = RealEstateAttorney\n\n9 = SalesManager\n\n10 = OfficeManager",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Realtor",
          "ManagingDirector",
          "SubjectMatterComplianceManager",
          "AntiMoneyLaunderingManager",
          "Assistant",
          "SettlementEmployee",
          "Administration",
          "RealEstateAttorney",
          "SalesManager",
          "OfficeManager"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EmployeeRole": {
        "type": "object",
        "properties": {
          "roleType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DepartmentRoleType"
              }
            ],
            "description": "Rolle\n\n1 = ManagingDirector\n\n2 = ChiefExecutiveOfficer\n\n3 = DepartmentManager\n\n4 = MoneyLaundringComplianceManager\n\n5 = InternalControlProxy\n\n6 = SubjectMatterManager\n\n7 = SettlementManager\n\n8 = AuthorizedSignatory\n\n9 = SignatureEligible\n\n10 = Shareholder\n\n11 = BoardMember\n\n12 = Chairman\n\n13 = RealLicensee\n\n14 = Accountant\n\n15 = Auditor",
            "x-enumNames": [
              "ManagingDirector",
              "ChiefExecutiveOfficer",
              "DepartmentManager",
              "MoneyLaundringComplianceManager",
              "InternalControlProxy",
              "SubjectMatterManager",
              "SettlementManager",
              "AuthorizedSignatory",
              "SignatureEligible",
              "Shareholder",
              "BoardMember",
              "Chairman",
              "RealLicensee",
              "Accountant",
              "Auditor"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "roleName": {
            "type": "string",
            "description": "Rollenavn",
            "nullable": true
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmployeeDetails"
            },
            "description": "Informasjon om den ansatte",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeeStatus": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = active (Kun ansatte)\r\n            \r\n\r\n1 = includeInactive (Inkluderer også tidligere ansatte)\n\n0 = Active\n\n1 = IncludeInactive",
        "format": "int32",
        "x-enumNames": [
          "Active",
          "IncludeInactive"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "EmployeeStatusLeave": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = unknown (Ukjent)\r\n            \r\n\r\n1 = vacation (Ferie)\r\n            \r\n\r\n2 = leave (Permisjon)\r\n            \r\n\r\n3 = sickLeave (Sykdom)\r\n            \r\n\r\n4 = sickLeaveChild (Sykdom barn)\r\n            \r\n\r\n5 = resigned (Under oppsigelse. Brukeren settes til inaktiv når oppsigelsestiden er over)\n\n0 = Unknown\n\n1 = Vacation\n\n2 = Leave\n\n3 = SickLeave\n\n4 = SickLeaveChild\n\n5 = Resigned",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Vacation",
          "Leave",
          "SickLeave",
          "SickLeaveChild",
          "Resigned"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EnergyClassLetterType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = a (A)\r\n            \r\n\r\n2 = b (B)\r\n            \r\n\r\n3 = c (C)\r\n            \r\n\r\n4 = d (D)\r\n            \r\n\r\n5 = e (E)\r\n            \r\n\r\n6 = f (F)\r\n            \r\n\r\n7 = g (G)\n\n1 = A\n\n2 = B\n\n3 = C\n\n4 = D\n\n5 = E\n\n6 = F\n\n7 = G",
        "format": "int32",
        "x-enumNames": [
          "A",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EnergyClassNumberType": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = one (1)\r\n            \r\n\r\n2 = two (2)\r\n            \r\n\r\n3 = three (3)\r\n            \r\n\r\n4 = four (4)\r\n            \r\n\r\n5 = five (5)\n\n1 = One\n\n2 = Two\n\n3 = Three\n\n4 = Four\n\n5 = Five",
        "format": "int32",
        "x-enumNames": [
          "One",
          "Two",
          "Three",
          "Four",
          "Five"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EnergyColorCode": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          -1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = green (green)\r\n            \r\n\r\n2 = lightGreen (lightGreen)\r\n            \r\n\r\n3 = yellow (yellow)\r\n            \r\n\r\n4 = orange (orange)\r\n            \r\n\r\n5 = red (red)\r\n            \r\n\r\n-1 = unknown (unknown)\n\n1 = Green\n\n2 = LightGreen\n\n3 = Yellow\n\n4 = Orange\n\n5 = Red\n\n-1 = Unknown",
        "format": "int32",
        "x-enumNames": [
          "Green",
          "LightGreen",
          "Yellow",
          "Orange",
          "Red",
          "Unknown"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EnergyLetter": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          -1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = A (A)\r\n            \r\n\r\n2 = B (B)\r\n            \r\n\r\n3 = C (C)\r\n            \r\n\r\n4 = D (D)\r\n            \r\n\r\n5 = E (E)\r\n            \r\n\r\n6 = F (F)\r\n            \r\n\r\n7 = G (G)\r\n            \r\n\r\n-1 = unknown (unknown)\n\n1 = A\n\n2 = B\n\n3 = C\n\n4 = D\n\n5 = E\n\n6 = F\n\n7 = G\n\n-1 = Unknown",
        "format": "int32",
        "x-enumNames": [
          "A",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G",
          "Unknown"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EnumField": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnumFieldType"
              }
            ],
            "description": "Enum felt\n\n1 = ValuationReportType\n\n2 = EnergyClassLetterType\n\n3 = EnergyClassNumberType",
            "x-enumNames": [
              "ValuationReportType",
              "EnergyClassLetterType",
              "EnergyClassNumberType"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "reportType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ValuationReportType"
              }
            ],
            "description": "Takstrapporttype\n\n1 = PropertySalesReport\n\n2 = ChangeOfOwnershipReport\n\n3 = AgriculturalRate\n\n4 = ConditionReport\n\n5 = ValuationReport\n\n6 = WetRoomReport\n\n7 = AreaReport",
            "nullable": true
          },
          "energyClassLetterType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnergyClassLetterType"
              }
            ],
            "description": "Energikaraktertype\n\n1 = A\n\n2 = B\n\n3 = C\n\n4 = D\n\n5 = E\n\n6 = F\n\n7 = G",
            "nullable": true
          },
          "energyClassNumberType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnergyClassNumberType"
              }
            ],
            "description": "Oppvarmingskaraktertype\n\n1 = One\n\n2 = Two\n\n3 = Three\n\n4 = Four\n\n5 = Five",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EnumFieldType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = valuationReportType (Takstrapporttype)\r\n            \r\n\r\n2 = energyClassLetterType (Energikarakter (A-G))\r\n            \r\n\r\n3 = energyClassNumberType (Oppvarmingskarakter (1-5))\n\n1 = ValuationReportType\n\n2 = EnergyClassLetterType\n\n3 = EnergyClassNumberType",
        "format": "int32",
        "x-enumNames": [
          "ValuationReportType",
          "EnergyClassLetterType",
          "EnergyClassNumberType"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ErrorMessage": {
        "required": [
          "ErrMessage"
        ],
        "type": "object",
        "properties": {
          "ErrMessage": {
            "type": "string",
            "description": "Feilmelding",
            "nullable": true
          },
          "ErrContent": {
            "description": "Øvrige detaljer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateActivity": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Starttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Sluttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateActivityType"
              }
            ],
            "description": "Type aktivitet\n\n1 = Inspection\n\n2 = Contract\n\n3 = PreInspection\n\n4 = YearInspection\n\n5 = Takeover\n\n6 = TakeoverLog\n\n7 = ProjectMeeting\n\n8 = Viewing\n\n9 = PrivateViewing\n\n10 = FollowUp\n\n11 = Photography\n\n12 = Appraisal\n\n13 = MoneyLaunderingControl\n\n14 = InternalControl\n\n15 = SellerTask\n\n16 = BuyerTask",
            "x-enumNames": [
              "Inspection",
              "Contract",
              "PreInspection",
              "YearInspection",
              "Takeover",
              "TakeoverLog",
              "ProjectMeeting",
              "Viewing",
              "PrivateViewing",
              "FollowUp",
              "Photography",
              "Appraisal",
              "MoneyLaunderingControl",
              "InternalControl",
              "SellerTask",
              "BuyerTask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "name": {
            "type": "string",
            "description": "Kundedefinert navn på aktiviteten",
            "nullable": true
          },
          "performedById": {
            "type": "string",
            "description": "ID til Employee som er utførende på aktiviteten",
            "nullable": true
          },
          "done": {
            "type": "boolean",
            "description": "Angir om aktiviteten er markert som utført"
          },
          "id": {
            "type": "string",
            "description": "Referanse til aktiviteten",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateActivityType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = inspection (Visning)\r\n            \r\n\r\n2 = contract (Kontraktsmøte)\r\n            \r\n\r\n3 = preInspection (Forhåndsbefaring)\r\n            \r\n\r\n4 = yearInspection (1-års befaring)\r\n            \r\n\r\n5 = takeover (Overtakelse)\r\n            \r\n\r\n6 = takeoverLog (Overtakelsesprotokoll)\r\n            \r\n\r\n7 = projectMeeting (Prosjektmøte)\r\n            \r\n\r\n8 = viewing (Visning)\r\n            \r\n\r\n9 = privateViewing (Privatvisning)\r\n            \r\n\r\n10 = followUp (Oppfølging)\r\n            \r\n\r\n11 = photography (Fotografering)\r\n            \r\n\r\n12 = appraisal (Taksering)\r\n            \r\n\r\n13 = moneyLaunderingControl (Hvitvaskingskontroll)\r\n            \r\n\r\n14 = internalControl (Internkontroll)\r\n            \r\n\r\n15 = sellerTask (Oppgave for selger)\r\n            \r\n\r\n16 = buyerTask (Oppgave for kjøper)\n\n1 = Inspection\n\n2 = Contract\n\n3 = PreInspection\n\n4 = YearInspection\n\n5 = Takeover\n\n6 = TakeoverLog\n\n7 = ProjectMeeting\n\n8 = Viewing\n\n9 = PrivateViewing\n\n10 = FollowUp\n\n11 = Photography\n\n12 = Appraisal\n\n13 = MoneyLaunderingControl\n\n14 = InternalControl\n\n15 = SellerTask\n\n16 = BuyerTask",
        "format": "int32",
        "x-enumNames": [
          "Inspection",
          "Contract",
          "PreInspection",
          "YearInspection",
          "Takeover",
          "TakeoverLog",
          "ProjectMeeting",
          "Viewing",
          "PrivateViewing",
          "FollowUp",
          "Photography",
          "Appraisal",
          "MoneyLaunderingControl",
          "InternalControl",
          "SellerTask",
          "BuyerTask"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateAdByIdResponse": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdTransferStatus"
              }
            ],
            "description": "Overføringsstatus\n\n0 = NotSet\n\n1 = Ready\n\n2 = Busy\n\n3 = Transferred\n\n4 = Acknowledged\n\n5 = NotAcknowledged",
            "x-enumNames": [
              "NotSet",
              "Ready",
              "Busy",
              "Transferred",
              "Acknowledged",
              "NotAcknowledged"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "transferTime": {
            "type": "string",
            "description": "Overføringstid",
            "format": "date-time",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Ekstern referanse til annonse. For Finnannonser er dette Finnkoden",
            "nullable": true
          },
          "link": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Lenke til annonse",
            "nullable": true
          },
          "ownAdvertisementType": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Egenpubliseringstype",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "Referanse til annonse",
            "format": "int64"
          },
          "preview": {
            "type": "boolean",
            "description": "Forhåndsvisning"
          },
          "channel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdChannel"
              }
            ],
            "description": "Kanal for annonse\n\n1 = Finn\n\n8 = Zett\n\n16 = Ne\n\n32 = Publish",
            "nullable": true
          },
          "finnAdType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FinnAdType"
              }
            ],
            "description": "Annonsetype\n\n0 = NotSet\n\n1 = EstateDevelopment\n\n2 = EstateProject\n\n3 = EstateSale\n\n4 = EstateRent\n\n5 = LeisureSale\n\n6 = LeisureRent\n\n7 = CommercialSale\n\n8 = CommercialRent\n\n9 = PlotBusinessSale\n\n10 = PlotSale\n\n11 = EstateDevelopmentSingle\n\n12 = EstateWantedRented\n\n13 = ComingForSale\n\n14 = EstateProjectNew",
            "x-enumNames": [
              "NotSet",
              "EstateDevelopment",
              "EstateProject",
              "EstateSale",
              "EstateRent",
              "LeisureSale",
              "LeisureRent",
              "CommercialSale",
              "CommercialRent",
              "PlotBusinessSale",
              "PlotSale",
              "EstateDevelopmentSingle",
              "EstateWantedRented",
              "ComingForSale",
              "EstateProjectNew"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "adStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdStatus"
              }
            ],
            "description": "Annonsestatus\n\n0 = Unknown\n\n2 = Live\n\n3 = Sold\n\n4 = Stopped\n\n5 = Expired",
            "x-enumNames": [
              "Unknown",
              "Live",
              "Sold",
              "Stopped",
              "Expired"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "publishStart": {
            "type": "string",
            "description": "Publisering start",
            "format": "date-time",
            "nullable": true
          },
          "publishEnd": {
            "type": "string",
            "description": "Publisering slutter",
            "format": "date-time",
            "nullable": true
          },
          "lastChanged": {
            "type": "string",
            "description": "Annonse endret",
            "format": "date-time",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageInfo"
            },
            "description": "Annonserte bilder",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget",
            "nullable": true
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype for oppdraget\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Status for oppdraget\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "statistics": {
            "type": "string",
            "description": "Statistikk",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateAdItem": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdTransferStatus"
              }
            ],
            "description": "Overføringsstatus\n\n0 = NotSet\n\n1 = Ready\n\n2 = Busy\n\n3 = Transferred\n\n4 = Acknowledged\n\n5 = NotAcknowledged",
            "x-enumNames": [
              "NotSet",
              "Ready",
              "Busy",
              "Transferred",
              "Acknowledged",
              "NotAcknowledged"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "transferTime": {
            "type": "string",
            "description": "Overføringstid",
            "format": "date-time",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Ekstern referanse til annonse. For Finnannonser er dette Finnkoden",
            "nullable": true
          },
          "link": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Lenke til annonse",
            "nullable": true
          },
          "ownAdvertisementType": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Egenpubliseringstype",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "Referanse til annonse",
            "format": "int64"
          },
          "preview": {
            "type": "boolean",
            "description": "Forhåndsvisning"
          },
          "channel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdChannel"
              }
            ],
            "description": "Kanal for annonse\n\n1 = Finn\n\n8 = Zett\n\n16 = Ne\n\n32 = Publish",
            "nullable": true
          },
          "finnAdType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FinnAdType"
              }
            ],
            "description": "Annonsetype\n\n0 = NotSet\n\n1 = EstateDevelopment\n\n2 = EstateProject\n\n3 = EstateSale\n\n4 = EstateRent\n\n5 = LeisureSale\n\n6 = LeisureRent\n\n7 = CommercialSale\n\n8 = CommercialRent\n\n9 = PlotBusinessSale\n\n10 = PlotSale\n\n11 = EstateDevelopmentSingle\n\n12 = EstateWantedRented\n\n13 = ComingForSale\n\n14 = EstateProjectNew",
            "x-enumNames": [
              "NotSet",
              "EstateDevelopment",
              "EstateProject",
              "EstateSale",
              "EstateRent",
              "LeisureSale",
              "LeisureRent",
              "CommercialSale",
              "CommercialRent",
              "PlotBusinessSale",
              "PlotSale",
              "EstateDevelopmentSingle",
              "EstateWantedRented",
              "ComingForSale",
              "EstateProjectNew"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "adStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdStatus"
              }
            ],
            "description": "Annonsestatus\n\n0 = Unknown\n\n2 = Live\n\n3 = Sold\n\n4 = Stopped\n\n5 = Expired",
            "x-enumNames": [
              "Unknown",
              "Live",
              "Sold",
              "Stopped",
              "Expired"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "publishStart": {
            "type": "string",
            "description": "Publisering start",
            "format": "date-time",
            "nullable": true
          },
          "publishEnd": {
            "type": "string",
            "description": "Publisering slutter",
            "format": "date-time",
            "nullable": true
          },
          "lastChanged": {
            "type": "string",
            "description": "Annonse endret",
            "format": "date-time",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageInfo"
            },
            "description": "Annonserte bilder",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateAdsResponse": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget",
            "nullable": true
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype for oppdraget\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Status for oppdraget\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "statistics": {
            "type": "string",
            "description": "Statistikk",
            "nullable": true
          },
          "ads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateAdItem"
            },
            "description": "Oppdragets annonser",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateBackOfficeStatusGroup": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ingen meglerstøttestatus)\r\n            \r\n\r\n1 = sent (Sendt til meglerstøtte)\r\n            \r\n\r\n2 = received (Mottatt meglerstøtte)\r\n            \r\n\r\n3 = documentation (Innhenting av dokumentasjon)\r\n            \r\n\r\n4 = prospect (Salgsoppgave)\r\n            \r\n\r\n5 = marketing (Markedsføring)\r\n            \r\n\r\n6 = contract (Kontrakt)\r\n            \r\n\r\n7 = settlementPreparation (Oppgjørsforberedelse)\r\n            \r\n\r\n8 = payment (Innbetaling)\r\n            \r\n\r\n9 = takeover (Overtakelse)\r\n            \r\n\r\n10 = registration (Tinglysing/eierskifte)\r\n            \r\n\r\n11 = settlement (Oppgjør)\r\n            \r\n\r\n12 = settlementCompleted (Oppgjør utbetalt)\r\n            \r\n\r\n13 = withholdment (Tilbakehold)\r\n            \r\n\r\n14 = finishing (Etterarbeid)\r\n            \r\n\r\n15 = completion (Avslutning oppdrag)\n\n0 = NotSet\n\n1 = Sent\n\n2 = Received\n\n3 = Documentation\n\n4 = Prospect\n\n5 = Marketing\n\n6 = Contract\n\n7 = SettlementPreparation\n\n8 = Payment\n\n9 = Takeover\n\n10 = Registration\n\n11 = Settlement\n\n12 = SettlementCompleted\n\n13 = Withholdment\n\n14 = Finishing\n\n15 = Completion",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Sent",
          "Received",
          "Documentation",
          "Prospect",
          "Marketing",
          "Contract",
          "SettlementPreparation",
          "Payment",
          "Takeover",
          "Registration",
          "Settlement",
          "SettlementCompleted",
          "Withholdment",
          "Finishing",
          "Completion"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateBalance": {
        "type": "object",
        "properties": {
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "account": {
            "type": "string",
            "description": "Kontonummer på klientkonto",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "userId": {
            "type": "string",
            "description": "Referanse til bruker",
            "nullable": true
          },
          "estateStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Oppdragsstatus\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "projectRelation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProjectRelation"
              }
            ],
            "description": "Relasjon til prosjektmaster eller prosjektenhet\n\n1 = ProjectMaster\n\n2 = ProjectUnit\n\n3 = NotProject",
            "nullable": true
          },
          "sumSellerLedger": {
            "type": "number",
            "description": "Sum bokført mot selgers reskontro per valgt dato",
            "format": "double"
          },
          "sumBuyerLedger": {
            "type": "number",
            "description": "Sum bokført mot kjøpers reskontro per valgt dato",
            "format": "double"
          },
          "sumGeneralLedger": {
            "type": "number",
            "description": "Sum bokført på hovedbøker markert som klientkonto per valgt dato",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "EstateBaseType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          -1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ingen grunntype)\r\n            \r\n\r\n1 = detached (Bolig)\r\n            \r\n\r\n2 = leisure (Fritid)\r\n            \r\n\r\n3 = business (Næring)\r\n            \r\n\r\n4 = project (Prosjekt)\r\n            \r\n\r\n5 = plot (Tomt)\r\n            \r\n\r\n-1 = unknown (Ukjent)\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Detached",
          "Leisure",
          "Business",
          "Project",
          "Plot",
          "Unknown"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateBid": {
        "required": [
          "accepted",
          "amount",
          "bidId",
          "partyid",
          "time",
          "type"
        ],
        "type": "object",
        "properties": {
          "bidId": {
            "type": "integer",
            "description": "Budets ID",
            "format": "int64"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BidType"
              }
            ],
            "description": "Type bud. Bud eller motbud\n\n1 = Offer\n\n2 = CounterOffer",
            "x-enumNames": [
              "Offer",
              "CounterOffer"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "time": {
            "type": "string",
            "description": "Tidspunkt for journalføring av budet",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "description": "Budbeløp",
            "format": "double"
          },
          "partyid": {
            "type": "integer",
            "description": "Budgiver/Motpart",
            "format": "int32"
          },
          "expires": {
            "type": "string",
            "description": "Akseptfrist",
            "format": "date-time",
            "nullable": true
          },
          "reservations": {
            "type": "boolean",
            "description": "Forbehold"
          },
          "accepted": {
            "type": "boolean",
            "description": "Er budet akseptert?"
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "rejectedDate": {
            "type": "string",
            "description": "Avslåttdato",
            "format": "date-time",
            "nullable": true
          },
          "isProfessionalBidder": {
            "type": "boolean",
            "description": "Er budet fra en profesjonell budgiver?"
          }
        },
        "additionalProperties": false
      },
      "EstateBidPrivate": {
        "type": "object",
        "properties": {
          "bidId": {
            "type": "integer",
            "description": "Budets ID",
            "format": "int64"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BidType"
              }
            ],
            "description": "Type bud. Bud eller motbud\n\n1 = Offer\n\n2 = CounterOffer",
            "x-enumNames": [
              "Offer",
              "CounterOffer"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "time": {
            "type": "string",
            "description": "Tidspunkt for journalføring av budet",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "description": "Budbeløp",
            "format": "double"
          },
          "expires": {
            "type": "string",
            "description": "Akseptfrist",
            "format": "date-time",
            "nullable": true
          },
          "reservations": {
            "type": "boolean",
            "description": "Forbehold"
          },
          "accepted": {
            "type": "boolean",
            "description": "Er budet akseptert?"
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "rejectedDate": {
            "type": "string",
            "description": "Avslåttdato",
            "format": "date-time",
            "nullable": true
          },
          "contactIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over budgivere/motpart",
            "nullable": true
          },
          "isProfessionalBidder": {
            "type": "boolean",
            "description": "Er budet fra en profesjonell budgiver?"
          }
        },
        "additionalProperties": false
      },
      "EstateCommercialObject": {
        "required": [
          "changedDate",
          "departmentId",
          "estateId",
          "status"
        ],
        "type": "object",
        "properties": {
          "estateId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til oppdrag"
          },
          "assignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "assignmentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentType"
              }
            ],
            "description": "Oppdragstype. Utgått, benytt assignmentTypeGroup istedenfor oppdragstype\n\n0 = Sale\n\n1 = Rent\n\n2 = Valuation\n\n3 = Settlement\n\n4 = Foreclosure",
            "x-enumNames": [
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "Foreclosure"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe, erstatter oppdragstype\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Oppdragsstatus\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "saleItem": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SaleItemType"
              }
            ],
            "description": "Type salgsobjekt\n\n0 = SaleProperty\n\n1 = SaleCorporation",
            "x-enumNames": [
              "SaleProperty",
              "SaleCorporation"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "workingPlaces": {
            "type": "integer",
            "description": "Antall arbeidsplasser",
            "format": "int32",
            "nullable": true
          },
          "hasGarageDoors": {
            "type": "boolean",
            "description": "Har kjøreport",
            "nullable": true
          },
          "prices": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommercialPrices"
              }
            ],
            "description": "Pris og kostnader",
            "nullable": true
          },
          "pricePerDates": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommercialPricePrDates"
              }
            ],
            "description": "Dato for fastsatte verdier",
            "nullable": true
          },
          "textFields": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommercialEstateTextFields"
              }
            ],
            "description": "Tekstfelter tilhørende objekt",
            "nullable": true
          },
          "balanceGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BalanceGroupObject"
            },
            "description": "Saldogrupper tilhørende objekt",
            "nullable": true
          },
          "commercialAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommercialArea"
            },
            "description": "Næringsarealer tilhørende objekt",
            "nullable": true
          },
          "corporationName": {
            "type": "string",
            "description": "Aksjeselskapets navn",
            "nullable": true
          },
          "corporationOrganisationNumber": {
            "type": "string",
            "description": "Aksjeselskapets organisasjonsnummer",
            "nullable": true
          },
          "corporationShareholders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CorporationShareholder"
            },
            "description": "Aksjonærer",
            "nullable": true
          },
          "companyCertificateDate": {
            "type": "string",
            "description": "Firmaattest dato",
            "format": "date-time",
            "nullable": true
          },
          "establishmentDate": {
            "type": "string",
            "description": "Selskapets stiftelsesdato",
            "format": "date-time",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Endret dato",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "EstateContactActivity": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Starttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Sluttidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "activityType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactActivityType"
              }
            ],
            "description": "Type aktivitet\n\n1 = Showing\n\n2 = PhoneIn\n\n3 = PhoneOut\n\n4 = BidFollow\n\n5 = Document\n\n6 = Mailing\n\n7 = Sms\n\n8 = Note\n\n9 = Inspection\n\n10 = PrivateViewing\n\n11 = FollowUp\n\n12 = Contract\n\n13 = Takeover\n\n14 = Ad\n\n15 = SearchProfile\n\n16 = Depot\n\n17 = AssignmentPeriod\n\n18 = Task\n\n19 = ProjectGuarantee\n\n20 = ProjectMeeting\n\n21 = MappingAuthority\n\n22 = Leads\n\n23 = PreInspection\n\n24 = ETinglysing\n\n25 = CallList\n\n26 = YearInspection\n\n27 = SettlementFolder\n\n28 = TakeoverLog\n\n29 = Settlement\n\n30 = Consent\n\n31 = EstateData\n\n32 = EmailIn\n\n33 = EmailOut\n\n34 = Distributing\n\n35 = CommercialAreaRental\n\n36 = AddressChange\n\n37 = Photography\n\n38 = Appraisal\n\n39 = MoneyLaunderingControl\n\n40 = InternalControl\n\n41 = SellerTask\n\n42 = BuyerTask",
            "x-enumNames": [
              "Showing",
              "PhoneIn",
              "PhoneOut",
              "BidFollow",
              "Document",
              "Mailing",
              "Sms",
              "Note",
              "Inspection",
              "PrivateViewing",
              "FollowUp",
              "Contract",
              "Takeover",
              "Ad",
              "SearchProfile",
              "Depot",
              "AssignmentPeriod",
              "Task",
              "ProjectGuarantee",
              "ProjectMeeting",
              "MappingAuthority",
              "Leads",
              "PreInspection",
              "ETinglysing",
              "CallList",
              "YearInspection",
              "SettlementFolder",
              "TakeoverLog",
              "Settlement",
              "Consent",
              "EstateData",
              "EmailIn",
              "EmailOut",
              "Distributing",
              "CommercialAreaRental",
              "AddressChange",
              "Photography",
              "Appraisal",
              "MoneyLaunderingControl",
              "InternalControl",
              "SellerTask",
              "BuyerTask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "name": {
            "type": "string",
            "description": "Kundedefinert navn på aktiviteten",
            "nullable": true
          },
          "done": {
            "type": "boolean",
            "description": "Angir om aktiviteten er markert som utført i Next"
          },
          "privateActivity": {
            "type": "boolean",
            "description": "Angir om aktiviteten er markert som privat i Next"
          },
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          },
          "registered": {
            "type": "string",
            "description": "Registrert",
            "format": "date-time",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Referanse til aktiviteten",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateContactRoleInformation": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "description": "Referanse til firmakontaktrollen",
            "nullable": true
          },
          "parentContactId": {
            "type": "string",
            "description": "Referanse til firma",
            "nullable": true
          },
          "childContactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "ownerPercentage": {
            "type": "number",
            "description": "Eierandel i prosent",
            "format": "double",
            "nullable": true
          },
          "baseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactRoleBaseType"
              }
            ],
            "description": "Reservert basistype\n\n0 = NotSet\n\n1 = Spouse\n\n2 = Employment\n\n3 = Shareholder\n\n4 = Manager\n\n5 = BoardChair\n\n6 = BoardMember\n\n7 = SignatureEligible\n\n8 = AuthorizedSignatory\n\n9 = RealLicensee\n\n10 = Accountant\n\n11 = CompanyContact",
            "x-enumNames": [
              "NotSet",
              "Spouse",
              "Employment",
              "Shareholder",
              "Manager",
              "BoardChair",
              "BoardMember",
              "SignatureEligible",
              "AuthorizedSignatory",
              "RealLicensee",
              "Accountant",
              "CompanyContact"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "typeId": {
            "type": "string",
            "description": "Referanse til kontaktrolletypen i Next",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "Gyldig fra",
            "format": "date-time",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "Gyldig til",
            "format": "date-time",
            "nullable": true
          },
          "contactEstatesRelationType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactEstatesRelationType"
              }
            ],
            "description": "Kontaktrelasjonstype for firmaet\n\n0 = None\n\n1 = Seller\n\n2 = Buyer\n\n3 = Viewing\n\n4 = Bidder\n\n5 = Invoicee\n\n6 = OriginalBuyer\n\n7 = HousingCoop\n\n8 = LegalHolder\n\n9 = LegalIssuer\n\n10 = Mortagee\n\n11 = Proxy\n\n12 = Valuator\n\n13 = Manager\n\n14 = Interested\n\n15 = Match\n\n16 = LeaseHolder\n\n17 = Creditor\n\n18 = Debitor\n\n19 = LegalRepresentative\n\n20 = County\n\n21 = StateMaps\n\n22 = LandOwner\n\n23 = FormerOwner\n\n24 = Heir\n\n25 = SellersSpouse\n\n26 = AccountManagerSeller\n\n27 = AccountManagerBuyer",
            "x-enumNames": [
              "None",
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "contactEstatesRelationTypeName": {
            "type": "string",
            "description": "Kontaktrelasjonstypenavn for firmaet",
            "nullable": true
          },
          "contactRoleName": {
            "type": "string",
            "description": "Kontaktrollenavn",
            "nullable": true
          },
          "companyContactRoleName": {
            "type": "string",
            "description": "Firmakontaktrollenavn",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateExpense": {
        "required": [
          "productTag"
        ],
        "type": "object",
        "properties": {
          "productTag": {
            "minLength": 1,
            "type": "string",
            "description": "Tag til posteringskode"
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse av kostnad",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "description": "Bruttobeløp",
            "format": "double"
          },
          "bankAccount": {
            "type": "string",
            "description": "Eventuell til-konto",
            "nullable": true
          },
          "kid": {
            "type": "string",
            "description": "Eventuell KID",
            "nullable": true
          },
          "dueDate": {
            "type": "string",
            "description": "Eventuell forfallsdato",
            "format": "date-time",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "description": "Ekstern id til gjenfinning av utlegg. Den må være unik innenfor en kunde (installasjonsId), så den entydig identifiserer et utlegg. Dersom utlegget allerede finnes lages en ny versjon av utlegget. Brukes kun når expenseId ikke er angitt",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateExpenseStatus": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = failed (Det har oppstått en feil, og utlegget er ikke satt til overføring)\r\n            \r\n\r\n2 = accepted (Utlegget er satt klart for overføring til regnskap)\r\n            \r\n\r\n3 = posted (Utlegget er bokført)\n\n1 = Failed\n\n2 = Accepted\n\n3 = Posted",
        "format": "int32",
        "x-enumNames": [
          "Failed",
          "Accepted",
          "Posted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "EstateFacility": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = Lift (Heis)\r\n            \r\n\r\n2 = Garage (Garasje)\r\n            \r\n\r\n3 = Veranda (Veranda)\n\n1 = Lift\n\n2 = Garage\n\n3 = Veranda",
        "format": "int32",
        "x-enumNames": [
          "Lift",
          "Garage",
          "Veranda"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "EstateInterest": {
        "required": [
          "contactType",
          "firstName",
          "lastName",
          "mobilePhone"
        ],
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Intern id denne kontakt. Kun utfylt hvis denne kontakt er mottatt fra Vitec og nå skal oppdateres.",
            "nullable": true
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "companyName": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Firmanavn. Husk også å fylle ut fornavn, etternavn, mobiltlf for firmaets hovedkontakt.",
            "nullable": true
          },
          "organisationNumber": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "description": "Orgnr",
            "nullable": true
          },
          "firstName": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "maxLength": 31,
            "minLength": 1,
            "type": "string",
            "description": "Tlf.nr mobil"
          },
          "privatePhone": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Tlf.nr privat",
            "nullable": true
          },
          "workPhone": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Tlf.nr arbeid",
            "nullable": true
          },
          "email": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "description": "Fødselsdato",
            "format": "date-time",
            "nullable": true
          },
          "socialSecurity": {
            "maxLength": 11,
            "minLength": 0,
            "type": "string",
            "description": "Fødselsnummer (11-siffer)",
            "nullable": true
          },
          "postalAddress": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "maxLength": 15,
            "minLength": 0,
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "description": "Opprettet dato",
            "format": "date-time",
            "nullable": true
          },
          "keepMeInformedOnBids": {
            "type": "boolean",
            "description": "Hold meg oppdatert ved bud på dette oppdraget. Setter en relasjon i Next som gjør at kunden får SMS om bud på dette oppdraget",
            "nullable": true
          },
          "keepMeInformedOnSimilarProspects": {
            "type": "boolean",
            "description": "Send meg informasjon om lignende eiendommer. Setter en relasjon i Next som informerer megleren om at kunden ønsker å bli informert om liknende eiendommer. Søkeprofil kan skapes med funksjonene for SearchProfile",
            "nullable": true
          },
          "keepMeInformed": {
            "type": "boolean",
            "description": "Send meg annen informasjon, typisk nyhetsbrev, reklame mv.",
            "nullable": true,
            "deprecated": true
          },
          "attendedViewing": {
            "type": "string",
            "description": "Dato og tid for visningsdeltagelse. Vi anbefaler at 'showingId' brukes istedenfor 'attendedViewing' for å sikre identifikasjon av visning",
            "format": "date-time",
            "nullable": true
          },
          "showingId": {
            "type": "string",
            "description": "Referanse til visning. Interessenten blir lagret som visningsdeltager på denne visningen.",
            "nullable": true
          },
          "source": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Kilde til endring hvis relasjonen endres",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Lager et notat på koblingen mellom kunden og oppdraget",
            "nullable": true
          },
          "participants": {
            "type": "integer",
            "description": "Antall deltakere på visningen, verdi skal bare angis om referanse til visning er angitt",
            "format": "int32",
            "nullable": true
          },
          "slotId": {
            "type": "integer",
            "description": "Referanse til ett tidsintervall i visningen, verdi skal bare angis om referanse til visning er angitt",
            "format": "int32",
            "nullable": true
          },
          "origin": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Kilde til visningspåmelding",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateListEntry": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time"
          },
          "streetAdress": {
            "type": "string",
            "description": "Gateadresse",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "assignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentType"
              }
            ],
            "description": "Oppdragstype. Utgått, benytt assignmentTypeGroup istedenfor oppdragstype\n\n0 = Sale\n\n1 = Rent\n\n2 = Valuation\n\n3 = Settlement\n\n4 = Foreclosure",
            "x-enumNames": [
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "Foreclosure"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe, erstatter oppdragstype\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "ownership": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OwnershipType"
              }
            ],
            "description": "Eierform\n\n0 = Owned\n\n1 = Cooprative\n\n2 = Stock\n\n3 = Bond\n\n4 = Condominium",
            "x-enumNames": [
              "Owned",
              "Cooprative",
              "Stock",
              "Bond",
              "Condominium"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "employeeId": {
            "type": "string",
            "description": "Ansvarlig Megler",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Status\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "primaryArea": {
            "type": "number",
            "description": "P-Rom",
            "format": "double"
          },
          "salesPriceEstimate": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double"
          },
          "defaultImageId": {
            "type": "string",
            "description": "Referanse til standard bilde",
            "nullable": true
          },
          "originType": {
            "type": "string",
            "description": "Kilde for henvendelse",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateMessage": {
        "required": [
          "body",
          "subject"
        ],
        "type": "object",
        "properties": {
          "subject": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "description": "Emne for meldingen"
          },
          "fromName": {
            "type": "string",
            "description": "Avsendernavn",
            "nullable": true
          },
          "fromEmail": {
            "type": "string",
            "description": "Avsender epost-adresse",
            "nullable": true
          },
          "body": {
            "minLength": 1,
            "type": "string",
            "description": "Melding. Kun ren tekst. HTML skal ikke benyttes."
          },
          "url": {
            "type": "string",
            "description": "URL som følger meldingen",
            "nullable": true
          },
          "messageReciever": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateMessageReciever"
              }
            ],
            "description": "Hvem skal meldingen sendes til. Vil bli erstattet av messageReceiver\n\n1 = Assignment\n\n2 = Settlement",
            "deprecated": true,
            "x-enumNames": [
              "Assignment",
              "Settlement"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "messageReceiver": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateMessageReceiver"
              }
            ],
            "description": "Hvem skal meldingen sendes til. Skal brukes istedenfor messageReciever\n\n1 = Assignment\n\n2 = Settlement\n\n3 = ResponsibleBroker\n\n4 = Assistant\n\n5 = SecondaryAssistant",
            "x-enumNames": [
              "Assignment",
              "Settlement",
              "ResponsibleBroker",
              "Assistant",
              "SecondaryAssistant"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateMessageLinkType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateMessageLinkType"
              }
            ],
            "description": "Dersom url ikke har noen verdi, angir estateMessageLinkType hvilken type lenke som skal vises i meldingen, f.eks. oppdragets dokumentside eller bildeside\n\n1 = EstateDocuments\n\n2 = EstateImages\n\n3 = EstateOverview\n\n4 = EstateOrders\n\n5 = EstateBidJournal\n\n6 = EstateStakeholders\n\n7 = EstateInterests\n\n8 = EstateMortgage",
            "x-enumNames": [
              "EstateDocuments",
              "EstateImages",
              "EstateOverview",
              "EstateOrders",
              "EstateBidJournal",
              "EstateStakeholders",
              "EstateInterests",
              "EstateMortgage"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "EstateMessageLinkType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = estateDocuments (Dokumenter)\r\n            \r\n\r\n2 = estateImages (Bilder)\r\n            \r\n\r\n3 = estateOverview (Oversikt)\r\n            \r\n\r\n4 = estateOrders (Marked og tjenester)\r\n            \r\n\r\n5 = estateBidJournal (Budjournal)\r\n            \r\n\r\n6 = estateStakeholders (Oppdragsparter)\r\n            \r\n\r\n7 = estateInterests (Interessenter)\r\n            \r\n\r\n8 = estateMortgage (Pant og lån)\n\n1 = EstateDocuments\n\n2 = EstateImages\n\n3 = EstateOverview\n\n4 = EstateOrders\n\n5 = EstateBidJournal\n\n6 = EstateStakeholders\n\n7 = EstateInterests\n\n8 = EstateMortgage",
        "format": "int32",
        "x-enumNames": [
          "EstateDocuments",
          "EstateImages",
          "EstateOverview",
          "EstateOrders",
          "EstateBidJournal",
          "EstateStakeholders",
          "EstateInterests",
          "EstateMortgage"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateMessageReceiver": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = assignment (Send melding til Megler 1)\r\n            \r\n\r\n2 = settlement (Send melding til Oppgjørsansvarlig)\r\n            \r\n\r\n3 = responsibleBroker (Send melding til Ansvarlig megler)\r\n            \r\n\r\n4 = assistant (Send melding til Megler 2)\r\n            \r\n\r\n5 = secondaryAssistant (Send melding til Medhjelper)\n\n1 = Assignment\n\n2 = Settlement\n\n3 = ResponsibleBroker\n\n4 = Assistant\n\n5 = SecondaryAssistant",
        "format": "int32",
        "x-enumNames": [
          "Assignment",
          "Settlement",
          "ResponsibleBroker",
          "Assistant",
          "SecondaryAssistant"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateMessageReciever": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = assignment (Send melding til megler)\r\n            \r\n\r\n2 = settlement (Send melding til oppgjør)\n\n1 = Assignment\n\n2 = Settlement",
        "format": "int32",
        "x-enumNames": [
          "Assignment",
          "Settlement"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "EstateObject": {
        "required": [
          "estateId",
          "status"
        ],
        "type": "object",
        "properties": {
          "heading": {
            "type": "string",
            "description": "Overskrift",
            "nullable": true
          },
          "estateId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til oppdrag"
          },
          "assignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "systemId": {
            "type": "string",
            "description": "System ID",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "settleDepartmentId": {
            "type": "integer",
            "description": "Oppgjørsavdeling",
            "format": "int32"
          },
          "brokersIdWithRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerWithRoles"
            },
            "description": "Liste over meglere tilknyttet oppdraget",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Oppdragsstatus\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentType"
              }
            ],
            "description": "Oppdragstype. Utgått, benytt assignmentTypeGroup istedenfor oppdragstype\n\n0 = Sale\n\n1 = Rent\n\n2 = Valuation\n\n3 = Settlement\n\n4 = Foreclosure",
            "x-enumNames": [
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "Foreclosure"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe, erstatter oppdragstype. Endring i gruppetilhørighet for en oppdragskategori vil ikke medføre push\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeId": {
            "type": "string",
            "description": "ID på oppdragstypen, se GET {installationId}/Next/AssignmentTypes for mulige verdier. Merk: Oppdragstype er kundespesifikk slik at navn og ID kan være forskjellige mellom kunde-installasjoner",
            "nullable": true
          },
          "ownership": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OwnershipType"
              }
            ],
            "description": "Eierform\n\n0 = Owned\n\n1 = Cooprative\n\n2 = Stock\n\n3 = Bond\n\n4 = Condominium",
            "x-enumNames": [
              "Owned",
              "Cooprative",
              "Stock",
              "Bond",
              "Condominium"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateTypeExternal": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateTypeExternal"
              }
            ],
            "description": "Ekstern type - matcher finn.no hvis annonse finnes\n\n1 = Detached\n\n2 = Semidetached\n\n3 = Flat\n\n4 = Terraced\n\n5 = Office\n\n6 = Garage\n\n7 = Warehouse\n\n8 = Hotel\n\n9 = Industrial\n\n10 = Business\n\n11 = Farm\n\n12 = Cottage\n\n13 = Other_leisure\n\n14 = Plot\n\n15 = Leisure_plot\n\n16 = Bedsit\n\n17 = Houseshare\n\n18 = Other\n\n19 = Multipurposearea\n\n20 = Multiunits\n\n21 = Businessplot\n\n22 = Shoppingmall\n\n23 = Restaurant\n\n24 = Project\n\n26 = Mechshop\n\n28 = Learningfacility\n\n-1 = Unknown",
            "x-enumNames": [
              "Detached",
              "Semidetached",
              "Flat",
              "Terraced",
              "Office",
              "Garage",
              "Warehouse",
              "Hotel",
              "Industrial",
              "Business",
              "Farm",
              "Cottage",
              "Other_leisure",
              "Plot",
              "Leisure_plot",
              "Bedsit",
              "Houseshare",
              "Other",
              "Multipurposearea",
              "Multiunits",
              "Businessplot",
              "Shoppingmall",
              "Restaurant",
              "Project",
              "Mechshop",
              "Learningfacility",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estatePreferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Finn data",
            "nullable": true
          },
          "estateFacilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ObjectFacility"
            },
            "description": "Fasiliteter",
            "nullable": true
          },
          "showings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Showing"
            },
            "description": "Visninger",
            "nullable": true
          },
          "showingNote": {
            "type": "string",
            "description": "Generelt visningsnotat",
            "nullable": true
          },
          "noOfRooms": {
            "type": "integer",
            "description": "Antall rom",
            "format": "int32",
            "nullable": true
          },
          "noOfBedRooms": {
            "type": "integer",
            "description": "Antall soverom",
            "format": "int32",
            "nullable": true
          },
          "noOfBathRooms": {
            "type": "integer",
            "description": "Antall baderom",
            "format": "int32",
            "nullable": true
          },
          "floor": {
            "type": "integer",
            "description": "Etasje",
            "format": "int32",
            "nullable": true
          },
          "constructionYear": {
            "type": "integer",
            "description": "Byggeår",
            "format": "int32",
            "nullable": true
          },
          "energyLetter": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnergyLetter"
              }
            ],
            "description": "Energibokstav (A-G)\n\n1 = A\n\n2 = B\n\n3 = C\n\n4 = D\n\n5 = E\n\n6 = F\n\n7 = G\n\n-1 = Unknown",
            "x-enumNames": [
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "energyColorCode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnergyColorCode"
              }
            ],
            "description": "Energifargekode/Oppvarmingskarakter, gjelder energimerking fra før 2026\n\n1 = Green\n\n2 = LightGreen\n\n3 = Yellow\n\n4 = Orange\n\n5 = Red\n\n-1 = Unknown",
            "x-enumNames": [
              "Green",
              "LightGreen",
              "Yellow",
              "Orange",
              "Red",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "rentalCost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RentalCost"
              }
            ],
            "description": "Leiekostnader (for utleieoppdrag)",
            "nullable": true
          },
          "rentalTimeSpan": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RentalTimeSpan"
              }
            ],
            "description": "Leieperiode (for utleieoppdrag)",
            "nullable": true
          },
          "availableDate": {
            "type": "string",
            "description": "Ledig fra (for utleieoppdrag)",
            "format": "date-time",
            "nullable": true
          },
          "plot": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Plot"
              }
            ],
            "description": "Tomt",
            "nullable": true
          },
          "partOwnership": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PartOwnership"
              }
            ],
            "description": "Borettslag/sameie/andel/aksje",
            "nullable": true
          },
          "estatePrice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstatePrice"
              }
            ],
            "description": "Pris og kostnader (for salgsoppdrag)",
            "nullable": true
          },
          "estateSize": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateSize"
              }
            ],
            "description": "Størrelse",
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkAttributesExport"
            },
            "description": "Linker",
            "nullable": true
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ],
            "description": "Adresse",
            "nullable": true
          },
          "matrikkel": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Matrikkel"
            },
            "description": "Matrikkelinformasjon",
            "nullable": true
          },
          "textFields": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateTextFields"
              }
            ],
            "description": "Tekstfelter tilhørende objekt",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "description": "Opprettet dato",
            "format": "date-time"
          },
          "soldDate": {
            "type": "string",
            "description": "Omsatt dato",
            "format": "date-time",
            "nullable": true
          },
          "commissionAcceptedDate": {
            "type": "string",
            "description": "Dato oppdrag akseptert",
            "format": "date-time",
            "nullable": true
          },
          "takeOverDate": {
            "type": "string",
            "description": "Overtakelsesdato",
            "format": "date-time",
            "nullable": true
          },
          "contractMeetingDate": {
            "type": "string",
            "description": "Kontraktsmøtedato",
            "format": "date-time",
            "nullable": true
          },
          "expireDate": {
            "type": "string",
            "description": "Oppdragets utløpsdato",
            "format": "date-time",
            "nullable": true
          },
          "finnCode": {
            "type": "string",
            "description": "FINN-kode",
            "nullable": true
          },
          "finnPublishDate": {
            "type": "string",
            "description": "Dato for publisering til FINN",
            "format": "date-time",
            "nullable": true
          },
          "finnExpireDate": {
            "type": "string",
            "description": "Dato for utløp av FINN-annonse",
            "format": "date-time",
            "nullable": true
          },
          "leasingContractDate": {
            "type": "string",
            "description": "Dato for festekontrakt",
            "format": "date-time",
            "nullable": true
          },
          "valuationTax": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ValuationTax"
              }
            ],
            "description": "Formuesverdi og skatt.",
            "nullable": true
          },
          "municipality": {
            "type": "string",
            "description": "Kommunenavn",
            "nullable": true
          },
          "municipalityId": {
            "type": "string",
            "description": "Kommunenummer",
            "nullable": true
          },
          "projectId": {
            "type": "string",
            "description": "Id på prosjekt hvis det finnes",
            "nullable": true
          },
          "projectRelation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProjectRelation"
              }
            ],
            "description": "Relasjon til prosjektmaster eller prosjektenhet\n\n1 = ProjectMaster\n\n2 = ProjectUnit\n\n3 = NotProject",
            "nullable": true
          },
          "publicApartmentNumber": {
            "type": "string",
            "description": "Bruksenhetsnummer (bolignummer)",
            "nullable": true
          },
          "customerPortal": {
            "type": "boolean",
            "description": "Skal vises på kundeportal. Denne opsjonen på oppdrag brukes ikke lenger",
            "deprecated": true
          },
          "estateTypeId": {
            "type": "string",
            "description": "Referanse til objektstype",
            "nullable": true
          },
          "estateType": {
            "type": "string",
            "description": "Navn på kundedefinert objektstype",
            "nullable": true
          },
          "longitude": {
            "type": "number",
            "description": "Lengdegrad (WGS84)",
            "format": "double"
          },
          "latitude": {
            "type": "number",
            "description": "Breddegrad (WGS84)",
            "format": "double"
          },
          "takeoverComment": {
            "type": "string",
            "description": "Kommentar til overtakelse",
            "nullable": true
          },
          "appraiserContactId": {
            "type": "string",
            "description": "Referanse til takstmann/kontakt",
            "nullable": true
          },
          "areaId": {
            "type": "string",
            "description": "Referanse til område",
            "nullable": true
          },
          "completionCertificateDate": {
            "type": "string",
            "description": "Dato for ferdigattest/brukstillatelse",
            "format": "date-time",
            "nullable": true
          },
          "facilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateFacility"
            },
            "description": "Fasiliteter",
            "nullable": true,
            "deprecated": true
          },
          "objectFacilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ObjectFacility"
            },
            "description": "Fasiliteter",
            "nullable": true,
            "deprecated": true
          },
          "landOwnerEstateDocumentDate": {
            "type": "string",
            "description": "Grunnboksdato",
            "format": "date-time",
            "nullable": true
          },
          "liveAndManagementDuty": {
            "type": "boolean",
            "description": "Boplikt (tidligere bo-og driveplikt)"
          },
          "managementDuty": {
            "type": "boolean",
            "description": "Driveplikt"
          },
          "odel": {
            "type": "boolean",
            "description": "Odelsrett"
          },
          "ownAssignmentType": {
            "type": "string",
            "description": "Kundedefinert oppdragstype",
            "nullable": true
          },
          "ownAdvertisementType": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Egenpubliseringstype",
            "nullable": true
          },
          "requiresConcession": {
            "type": "boolean",
            "description": "Oppgjørsflagg: Konsesjonsplikt",
            "deprecated": true
          },
          "tag": {
            "type": "string",
            "description": "Søkebegrep (Alpha)",
            "nullable": true
          },
          "buildings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Building"
            },
            "description": "Bygninger",
            "nullable": true
          },
          "sumArea": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SumArea"
              }
            ],
            "description": "Sum arealer",
            "nullable": true
          },
          "estateSettlementStatusGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateSettlementStatusGroup"
              }
            ],
            "description": "Oppgjørsgruppe\n\n0 = None\n\n1 = Preparation\n\n2 = Payment\n\n3 = Takeover\n\n4 = Registration\n\n5 = Settlement\n\n6 = Retention\n\n7 = Completion\n\n8 = SettlementPaidOut",
            "x-enumNames": [
              "None",
              "Preparation",
              "Payment",
              "Takeover",
              "Registration",
              "Settlement",
              "Retention",
              "Completion",
              "SettlementPaidOut"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateBackOfficeStatusGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBackOfficeStatusGroup"
              }
            ],
            "description": "Meglerstøttestatusgruppe\n\n0 = NotSet\n\n1 = Sent\n\n2 = Received\n\n3 = Documentation\n\n4 = Prospect\n\n5 = Marketing\n\n6 = Contract\n\n7 = SettlementPreparation\n\n8 = Payment\n\n9 = Takeover\n\n10 = Registration\n\n11 = Settlement\n\n12 = SettlementCompleted\n\n13 = Withholdment\n\n14 = Finishing\n\n15 = Completion",
            "x-enumNames": [
              "NotSet",
              "Sent",
              "Received",
              "Documentation",
              "Prospect",
              "Marketing",
              "Contract",
              "SettlementPreparation",
              "Payment",
              "Takeover",
              "Registration",
              "Settlement",
              "SettlementCompleted",
              "Withholdment",
              "Finishing",
              "Completion"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "farm": {
            "type": "boolean",
            "description": "Angir om oppdraget er et landbruksoppdrag"
          },
          "inSettlement": {
            "type": "boolean",
            "description": "Angir om oppdraget er i oppgjørsfasen"
          },
          "lastDocumentChangeDate": {
            "type": "string",
            "description": "Endret dato for oppdragets dokumenter",
            "format": "date-time",
            "nullable": true
          },
          "lastImageChangeDate": {
            "type": "string",
            "description": "Endret dato for oppdragets bilder",
            "format": "date-time",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Endret dato",
            "format": "date-time",
            "nullable": true
          },
          "originTypeId": {
            "type": "string",
            "description": "ID på kilde for henvendelse, se GET {installationId}/Next/OriginTypes for mulige verdier. Merk: Kilde for henvendelse er kundespesifikk slik at navn og ID kan være forskjellige mellom kunde-installasjoner",
            "nullable": true
          },
          "originType": {
            "type": "string",
            "description": "Kilde for henvendelse",
            "nullable": true
          },
          "estateOfDeceased": {
            "type": "boolean",
            "description": "Angir om oppdraget er et dødsbo",
            "nullable": true,
            "deprecated": true
          },
          "publicProbate": {
            "type": "boolean",
            "description": "Angir om oppdraget er et offentlig skifte",
            "nullable": true
          },
          "settlementOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateSettlementOptions"
            },
            "description": "Oppgjørsflagg. Erstatter RequiresConcession og EstateOfDeceased",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatePrice": {
        "type": "object",
        "properties": {
          "priceSuggestion": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double",
            "nullable": true
          },
          "soldPrice": {
            "type": "number",
            "description": "Salgssum",
            "format": "double",
            "nullable": true
          },
          "estimatedValue": {
            "type": "number",
            "description": "Markedsverdi/Verditakst",
            "format": "double",
            "nullable": true
          },
          "collectiveDebt": {
            "type": "number",
            "description": "Fellesgjeld",
            "format": "double",
            "nullable": true
          },
          "collectiveAssets": {
            "type": "number",
            "description": "Fellesformue",
            "format": "double",
            "nullable": true
          },
          "loanFare": {
            "type": "number",
            "description": "Lånetakst",
            "format": "double",
            "nullable": true
          },
          "communityTax": {
            "type": "number",
            "description": "Kommunale avgifter",
            "format": "double",
            "nullable": true
          },
          "communityTaxYear": {
            "type": "integer",
            "description": "Kommunale avgifter tilknyttet årstall",
            "format": "int32",
            "nullable": true
          },
          "salesCostDescription": {
            "type": "string",
            "description": "Omkostninger",
            "nullable": true
          },
          "rent": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Rent"
              }
            ],
            "description": "Husleie/felleskostnader",
            "nullable": true
          },
          "purchaseCostsAmount": {
            "type": "number",
            "description": "Omkostning kjøpers beløp",
            "format": "double",
            "nullable": true
          },
          "totalPrice": {
            "type": "number",
            "description": "Estimert totalpris inklusive omkostninger og fellesgjeld (kun for ikke solgt bolig)",
            "format": "double",
            "nullable": true
          },
          "totalPriceExclusiveCostsAndDebt": {
            "type": "number",
            "description": "Estimert totalpris eksklusive omkostninger og fellesgjeld",
            "format": "double",
            "nullable": true
          },
          "waterRate": {
            "type": "number",
            "description": "Vannavgift",
            "format": "double",
            "nullable": true
          },
          "waterRateDescription": {
            "type": "string",
            "description": "Info vannavgift",
            "nullable": true
          },
          "waterRateYear": {
            "type": "integer",
            "description": "Vannavgift tilknyttet årstall",
            "format": "int32",
            "nullable": true
          },
          "yearlySocietyTax": {
            "type": "number",
            "description": "Årlig velavgift",
            "format": "double",
            "nullable": true
          },
          "yearlyLeaseFee": {
            "type": "number",
            "description": "Årlig festeavgift",
            "format": "double",
            "nullable": true
          },
          "leasingPartyTransportFee": {
            "type": "number",
            "description": "Bortfesters transportgebyr",
            "format": "double",
            "nullable": true
          },
          "originalAgreementPrice": {
            "type": "number",
            "description": "Kjøpesum opprinnelig avtale",
            "format": "double",
            "nullable": true
          },
          "additionalAgreementOptions": {
            "type": "number",
            "description": "Tilvalg i opprinnelig avtale",
            "format": "double",
            "nullable": true
          },
          "originalExpensesPrice": {
            "type": "number",
            "description": "Omkostninger opprinnelig avtale",
            "format": "double",
            "nullable": true
          },
          "transportAgreementCosts": {
            "type": "number",
            "description": "Omkostninger transportavtale",
            "format": "double",
            "nullable": true
          },
          "otherExpenses": {
            "type": "string",
            "description": "Andre utgifter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateSettlementOptions": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = requiresConcession (Konsesjonsplikt)\r\n            \r\n\r\n2 = estateOfDeceased (Angir om oppdraget er et dødsbo)\r\n            \r\n\r\n3 = awaitingDNumber (Avventer ID-nummer)\r\n            \r\n\r\n4 = blancoDeed (Blanco-skjøte)\r\n            \r\n\r\n5 = selfDeclarationConcession (Egenerklæring konsesjon)\r\n            \r\n\r\n6 = generalPowerOfAttorney (Generalfullmakt)\r\n            \r\n\r\n7 = buyerEquityOnly (Kjøper: kun egenkapital)\r\n            \r\n\r\n8 = netProceedsTransferToBank (Nettoproveny til bank)\r\n            \r\n\r\n9 = overBurdened (Overbeheftet)\r\n            \r\n\r\n10 = sharedSettlement (Splittet oppgjør)\r\n            \r\n\r\n11 = withhold (Tilbakehold)\r\n            \r\n\r\n12 = transport (Transport)\n\n1 = RequiresConcession\n\n2 = EstateOfDeceased\n\n3 = AwaitingDNumber\n\n4 = BlancoDeed\n\n5 = SelfDeclarationConcession\n\n6 = GeneralPowerOfAttorney\n\n7 = BuyerEquityOnly\n\n8 = NetProceedsTransferToBank\n\n9 = OverBurdened\n\n10 = SharedSettlement\n\n11 = Withhold\n\n12 = Transport",
        "format": "int32",
        "x-enumNames": [
          "RequiresConcession",
          "EstateOfDeceased",
          "AwaitingDNumber",
          "BlancoDeed",
          "SelfDeclarationConcession",
          "GeneralPowerOfAttorney",
          "BuyerEquityOnly",
          "NetProceedsTransferToBank",
          "OverBurdened",
          "SharedSettlement",
          "Withhold",
          "Transport"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateSettlementStatusGroup": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = none (Ingen oppgjørsstatusgruppe)\r\n            \r\n\r\n1 = preparation (Oppgjørsforberedelse)\r\n            \r\n\r\n2 = payment (Innbetaling)\r\n            \r\n\r\n3 = takeover (Overtakelse)\r\n            \r\n\r\n4 = registration (Tinglysing/eierskifte)\r\n            \r\n\r\n5 = settlement (Oppgjør)\r\n            \r\n\r\n6 = retention (Tilbakehold)\r\n            \r\n\r\n7 = completion (Etterarbeid)\r\n            \r\n\r\n8 = settlementPaidOut (Oppgjør utbetalt)\n\n0 = None\n\n1 = Preparation\n\n2 = Payment\n\n3 = Takeover\n\n4 = Registration\n\n5 = Settlement\n\n6 = Retention\n\n7 = Completion\n\n8 = SettlementPaidOut",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Preparation",
          "Payment",
          "Takeover",
          "Registration",
          "Settlement",
          "Retention",
          "Completion",
          "SettlementPaidOut"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateSize": {
        "type": "object",
        "properties": {
          "primaryRoomArea": {
            "type": "number",
            "description": "P-ROM",
            "format": "double",
            "nullable": true
          },
          "primaryRoomAreaDescription": {
            "type": "string",
            "description": "P-ROM Beskrivelse",
            "nullable": true
          },
          "grossArea": {
            "type": "number",
            "description": "BTA (Bruttoareal). Boligens areal inkl. yttervegger og ved leiligheter til senter av vegg mot nabo/ fellesareal.",
            "format": "double",
            "nullable": true
          },
          "usableArea": {
            "type": "number",
            "description": "BRA (Bruksareal). Boligens innvendige areal, målt til innsiden av omsluttende vegger.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = request (Henvendelse, foreligger ikke skriftlig avtale med oppdragsgiver)\r\n            \r\n\r\n1 = preparation (Forberedelser pågår, oppdragsavtale er sign)\r\n            \r\n\r\n2 = forSale (Til salgs)\r\n            \r\n\r\n3 = sold (Solgt)\r\n            \r\n\r\n4 = reserved (Reservert)\r\n            \r\n\r\n5 = archived (Arkivert)\r\n            \r\n\r\n6 = expired (Utløpt)\r\n            \r\n\r\n7 = terminated (Tilbaketrukket)\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
        "format": "int32",
        "x-enumNames": [
          "Request",
          "Preparation",
          "ForSale",
          "Sold",
          "Reserved",
          "Archived",
          "Expired",
          "Terminated"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstateTextFields": {
        "type": "object",
        "properties": {
          "adkomst": {
            "type": "string",
            "nullable": true
          },
          "bebyggelse": {
            "type": "string",
            "nullable": true
          },
          "barnehageSkoleFritid": {
            "type": "string",
            "nullable": true
          },
          "skolekrets": {
            "type": "string",
            "nullable": true
          },
          "offentligKommunikasjon": {
            "type": "string",
            "nullable": true
          },
          "innhold": {
            "type": "string",
            "nullable": true
          },
          "standard": {
            "type": "string",
            "nullable": true
          },
          "renovert": {
            "type": "string",
            "nullable": true
          },
          "hvitevarer": {
            "type": "string",
            "nullable": true
          },
          "tekniskeInstallasjoner": {
            "type": "string",
            "nullable": true
          },
          "parkering": {
            "type": "string",
            "nullable": true
          },
          "diverse": {
            "type": "string",
            "nullable": true
          },
          "ferdigattest": {
            "type": "string",
            "nullable": true
          },
          "veiVannAvlop": {
            "type": "string",
            "nullable": true
          },
          "reguleringsplan": {
            "type": "string",
            "nullable": true
          },
          "adgangForUtleie": {
            "type": "string",
            "nullable": true
          },
          "servitutterErklaeringer": {
            "type": "string",
            "description": "Denne informasjonen finnes under servitutter",
            "nullable": true,
            "deprecated": true
          },
          "radonmåling": {
            "type": "string",
            "nullable": true
          },
          "legalpant": {
            "type": "string",
            "nullable": true
          },
          "kommentarKonsesjon": {
            "type": "string",
            "nullable": true
          },
          "kommentarBoDriveplikt": {
            "type": "string",
            "description": "Kommentar boplikt (tidligere kommentar bo- og driveplikt)",
            "nullable": true
          },
          "kommentarDriveplikt": {
            "type": "string",
            "description": "Kommentar driveplikt",
            "nullable": true
          },
          "kommentarOdelsrett": {
            "type": "string",
            "nullable": true
          },
          "dodsbo": {
            "type": "string",
            "nullable": true
          },
          "sentraleLoverAsIs": {
            "type": "string",
            "description": "Sentrale lover",
            "nullable": true
          },
          "eierskifteforsikring": {
            "type": "string",
            "description": "Boligselgerforsikring",
            "nullable": true
          },
          "vedlegg": {
            "type": "string",
            "description": "Vedlegg salgsoppgave",
            "nullable": true
          },
          "beliggenhet": {
            "type": "string",
            "description": "Beliggenhet",
            "nullable": true
          },
          "oppvarming": {
            "type": "string",
            "description": "Oppvarming",
            "nullable": true
          },
          "velforening": {
            "type": "string",
            "description": "Velforening",
            "nullable": true
          },
          "servitutter": {
            "type": "string",
            "description": "Tinglyste heftelser og rettigheter",
            "nullable": true
          },
          "meglersVederlag": {
            "type": "string",
            "description": "Meglers vederlag",
            "nullable": true
          },
          "biddingInfo": {
            "type": "string",
            "description": "Budgivning",
            "nullable": true
          },
          "communityFee": {
            "type": "string",
            "description": "Info kommunale avgifter",
            "nullable": true
          },
          "constructionMethod": {
            "type": "string",
            "description": "Byggemåte",
            "nullable": true
          },
          "electricalUsage": {
            "type": "string",
            "description": "Info strømforbruk",
            "nullable": true
          },
          "energyMarking": {
            "type": "string",
            "description": "Info energiklasse",
            "nullable": true
          },
          "financing": {
            "type": "string",
            "description": "Tilbud på lånefinansiering",
            "nullable": true
          },
          "homeOwnersInsurance": {
            "type": "string",
            "description": "Boligkjøperforsikring",
            "nullable": true
          },
          "insuranceCompany": {
            "type": "string",
            "description": "Forsikringsselskap",
            "nullable": true
          },
          "insurancePolicy": {
            "type": "string",
            "description": "Polisenummer",
            "nullable": true
          },
          "moneyLaunderingRules": {
            "type": "string",
            "description": "Lov om hvitvasking",
            "nullable": true
          },
          "fulfillmentBond": {
            "type": "string",
            "description": "Innfrielse av obligasjon",
            "nullable": true
          },
          "paymentConditions": {
            "type": "string",
            "description": "Betalingsbetingelser",
            "nullable": true
          },
          "personalDataAct": {
            "type": "string",
            "description": "Personopplysningsloven",
            "nullable": true
          },
          "purchaseContractAttachment": {
            "type": "string",
            "description": "Vedlegg til kjøpekontrakt",
            "nullable": true
          },
          "purchaseCosts": {
            "type": "string",
            "description": "Omkostninger kjøper",
            "nullable": true
          },
          "sellersDeclaration": {
            "type": "string",
            "description": "Sammendrag selgers egenerklæring",
            "nullable": true
          },
          "descriptionItemRenovated": {
            "type": "string",
            "description": "Moderniseringer og påkostninger",
            "nullable": true
          },
          "propertyTaxComments": {
            "type": "string",
            "description": "Info eiendomsskatt",
            "nullable": true
          },
          "aboutTheUnit": {
            "type": "string",
            "description": "Beskrivelse / Kort om eiendommen",
            "nullable": true
          },
          "redemptionTerms": {
            "type": "string",
            "description": "Innløsningsvilkår festeavgift",
            "nullable": true
          },
          "regulationOfLeaseExpense": {
            "type": "string",
            "description": "Regulering av festeavgift",
            "nullable": true
          },
          "leasePeriod": {
            "type": "string",
            "description": "Festetid",
            "nullable": true
          },
          "localAreaName": {
            "type": "string",
            "description": "Områdebenevnelse",
            "nullable": true
          },
          "contractPosition": {
            "type": "string",
            "description": "Kontraktsposisjon",
            "nullable": true
          },
          "contractPositionGuarantees": {
            "type": "string",
            "description": "Kontraktsposisjon garantier",
            "nullable": true
          },
          "otherInsurances": {
            "type": "string",
            "description": "Andre forsikringer",
            "nullable": true
          },
          "originalAdvanceAgreement": {
            "type": "string",
            "description": "Forskudd opprinnelig avtale",
            "nullable": true
          },
          "kitchenDeliveryDescription": {
            "type": "string",
            "description": "Kjøkkenleveranse",
            "nullable": true
          },
          "bathroomDeliveryDescription": {
            "type": "string",
            "description": "Baderomleveranse",
            "nullable": true
          },
          "livingroomDescription": {
            "type": "string",
            "description": "Andre oppholdsrom",
            "nullable": true
          },
          "additionalDeliveryInfo": {
            "type": "string",
            "description": "Tilvalgsmuligheter",
            "nullable": true
          },
          "importantInfo": {
            "type": "string",
            "description": "Viktig informasjon",
            "nullable": true
          },
          "outsideAreaType": {
            "type": "string",
            "description": "Beskrivelse uteareal",
            "nullable": true
          },
          "organizationType": {
            "type": "string",
            "description": "Organisasjonsform",
            "nullable": true
          },
          "tvInternetBroadband": {
            "type": "string",
            "description": "TV/Internett/Bredbånd",
            "nullable": true
          },
          "movableContent": {
            "type": "string",
            "description": "Innbo og løsøre",
            "nullable": true
          },
          "publicOrder": {
            "type": "string",
            "description": "Offentligrettslig pålegg",
            "nullable": true
          },
          "sefrak": {
            "type": "string",
            "description": "Vern/SEFRAK",
            "nullable": true
          },
          "projectMiscellaneous": {
            "type": "string",
            "description": "Generell orientering",
            "nullable": true
          },
          "projectGarageParking": {
            "type": "string",
            "description": "Garasje/parkering",
            "nullable": true
          },
          "projectCompletion": {
            "type": "string",
            "description": "Fremdriftsplan og ferdigstillelse",
            "nullable": true
          },
          "projectPricing": {
            "type": "string",
            "description": "Prisinformasjon",
            "nullable": true
          },
          "projectOptions": {
            "type": "string",
            "description": "Tilvalg og endringer",
            "nullable": true
          },
          "projectZoning": {
            "type": "string",
            "description": "Reguleringsplan og rammeprosjekt",
            "nullable": true
          },
          "nonMeasurableAreas": {
            "type": "string",
            "description": "Ikke målbare arealer",
            "nullable": true
          },
          "fellesarealerOgRettigheter": {
            "type": "string",
            "description": "Fellesarealer og rettigher til bruk",
            "nullable": true
          },
          "valuatorCommentsToArea": {
            "type": "string",
            "description": "Takstmannens kommentar til arealoppmåling",
            "nullable": true
          },
          "solarConditions": {
            "type": "string",
            "description": "Solforhold",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstateTypeExternal": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          26,
          28,
          -1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = detached (Enebolig)\r\n            \r\n\r\n2 = semidetached (Tomannsbolig)\r\n            \r\n\r\n3 = flat (Leilighet)\r\n            \r\n\r\n4 = terraced (Rekkehus)\r\n            \r\n\r\n5 = office (Kontor)\r\n            \r\n\r\n6 = garage (Garasje)\r\n            \r\n\r\n7 = warehouse (Lager)\r\n            \r\n\r\n8 = hotel (Hotell)\r\n            \r\n\r\n9 = industrial (Produksjon)\r\n            \r\n\r\n10 = business (Butikk)\r\n            \r\n\r\n11 = farm (Gårdsbruk)\r\n            \r\n\r\n12 = cottage (Hyttetomt)\r\n            \r\n\r\n13 = other_leisure (Annen fritid)\r\n            \r\n\r\n14 = plot (Tomt)\r\n            \r\n\r\n15 = leisure_plot (Hyttetomt)\r\n            \r\n\r\n16 = bedsit (Hybel)\r\n            \r\n\r\n17 = houseshare (Rom)\r\n            \r\n\r\n18 = other (Andre)\r\n            \r\n\r\n19 = multipurposearea (Kombinasjonslokale)\r\n            \r\n\r\n20 = multiunits (Bygård)\r\n            \r\n\r\n21 = businessplot (Næringstomt)\r\n            \r\n\r\n22 = shoppingmall (Kjøpesenter)\r\n            \r\n\r\n23 = restaurant (Serveringslokale)\r\n            \r\n\r\n24 = project (Prosjekt)\r\n            \r\n\r\n26 = mechshop (Verksted)\r\n            \r\n\r\n28 = learningfacility (Undervisning)\r\n            \r\n\r\n-1 = unknown (Ukjent)\n\n1 = Detached\n\n2 = Semidetached\n\n3 = Flat\n\n4 = Terraced\n\n5 = Office\n\n6 = Garage\n\n7 = Warehouse\n\n8 = Hotel\n\n9 = Industrial\n\n10 = Business\n\n11 = Farm\n\n12 = Cottage\n\n13 = Other_leisure\n\n14 = Plot\n\n15 = Leisure_plot\n\n16 = Bedsit\n\n17 = Houseshare\n\n18 = Other\n\n19 = Multipurposearea\n\n20 = Multiunits\n\n21 = Businessplot\n\n22 = Shoppingmall\n\n23 = Restaurant\n\n24 = Project\n\n26 = Mechshop\n\n28 = Learningfacility\n\n-1 = Unknown",
        "format": "int32",
        "x-enumNames": [
          "Detached",
          "Semidetached",
          "Flat",
          "Terraced",
          "Office",
          "Garage",
          "Warehouse",
          "Hotel",
          "Industrial",
          "Business",
          "Farm",
          "Cottage",
          "Other_leisure",
          "Plot",
          "Leisure_plot",
          "Bedsit",
          "Houseshare",
          "Other",
          "Multipurposearea",
          "Multiunits",
          "Businessplot",
          "Shoppingmall",
          "Restaurant",
          "Project",
          "Mechshop",
          "Learningfacility",
          "Unknown"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "EstatesAdsResponse": {
        "type": "object",
        "properties": {
          "ads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateAdByIdResponse"
            },
            "description": "Annonser",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesAssignmentBudgetResponse": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionType"
              }
            ],
            "description": "Type\n\n0 = NotSet\n\n1 = Percent\n\n2 = FixedPrice\n\n3 = Hourly",
            "x-enumNames": [
              "NotSet",
              "Percent",
              "FixedPrice",
              "Hourly"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "estimatedCommission": {
            "type": "number",
            "description": "Estimert vederlag",
            "format": "double"
          },
          "baseCommission": {
            "type": "number",
            "description": "Provisjonsgrunnlag",
            "format": "double"
          },
          "commonDebtIncluded": {
            "type": "boolean",
            "description": "Andel fellesgjeld inkludert eller ikke"
          },
          "sumCommission": {
            "type": "number",
            "description": "Sum vederlag",
            "format": "double"
          },
          "sumOtherIncome": {
            "type": "number",
            "description": "Sum andre inntekter",
            "format": "double"
          },
          "sumOutlay": {
            "type": "number",
            "description": "Sum utlegg",
            "format": "double"
          },
          "sumOtherExpenses": {
            "type": "number",
            "description": "Sum andre utgifter",
            "format": "double"
          },
          "sumTotal": {
            "type": "number",
            "description": "Sum totalt",
            "format": "double"
          },
          "otherIncomeBudgetPosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BudgetPost"
            },
            "description": "Liste over budsjettposter under 'Andre inntekter'",
            "nullable": true
          },
          "outlayBudgetPosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BudgetPost"
            },
            "description": "Liste over budsjettposter under 'Utlegg'",
            "nullable": true
          },
          "otherExpensesBudgetPosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BudgetPost"
            },
            "description": "Liste over budsjettposter under 'Andre utgifter'",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionBudgetStatus"
              }
            ],
            "description": "Status budsjett\n\n0 = Unconfirmed\n\n1 = Confirmed",
            "x-enumNames": [
              "Unconfirmed",
              "Confirmed"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "feePercent": {
            "type": "number",
            "description": "Provisjonssats inkl. mva",
            "format": "double",
            "nullable": true
          },
          "fixedPriceIncludes": {
            "type": "string",
            "description": "Fastpris inkluderer - gjelder fastpris",
            "nullable": true
          },
          "hourlyPrice": {
            "type": "number",
            "description": "Timepris - gjelder timebasert",
            "format": "double",
            "nullable": true
          },
          "noCommissionBase": {
            "type": "boolean",
            "description": "Ikke provisjonsbærende oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesCheckList": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over tags som er knyttet til sjekklistepunktet",
            "nullable": true
          },
          "value": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CheckListValue"
              }
            ],
            "description": "Om sjekklistepunktet er utført eller ikke\n\n0 = No\n\n1 = Yes\n\n2 = NotRelevant",
            "x-enumNames": [
              "No",
              "Yes",
              "NotRelevant"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "changedBy": {
            "type": "string",
            "description": "UserId på bruker som endret sjekklistepunktet",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Dato for siste endring",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesCheckListResponse": {
        "type": "object",
        "properties": {
          "checkListItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstatesCheckList"
            },
            "description": "Liste over oppdragets sjekklistepunkter",
            "nullable": true
          },
          "lastChanged": {
            "type": "string",
            "description": "Dato for siste endring av oppdragets sjekklistepunkter",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesCommissionResponse": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionType"
              }
            ],
            "description": "Type\n\n0 = NotSet\n\n1 = Percent\n\n2 = FixedPrice\n\n3 = Hourly",
            "x-enumNames": [
              "NotSet",
              "Percent",
              "FixedPrice",
              "Hourly"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "commissionType": {
            "type": "string",
            "description": "Avtalt vederlagstype",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommissionBudgetStatus"
              }
            ],
            "description": "Status budsjett\n\n0 = Unconfirmed\n\n1 = Confirmed",
            "x-enumNames": [
              "Unconfirmed",
              "Confirmed"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "sumCommission": {
            "type": "number",
            "description": "Sum vederlag. Beløpet baserer seg på bokførte vederlagsposteringer etter omsetning og kan avvike fra estimert vederlag",
            "format": "double"
          },
          "sumOtherIncome": {
            "type": "number",
            "description": "Sum andre inntekter",
            "format": "double"
          },
          "sumOutlay": {
            "type": "number",
            "description": "Sum utlegg",
            "format": "double"
          },
          "sumOtherExpenses": {
            "type": "number",
            "description": "Sum andre utgifter",
            "format": "double"
          },
          "sumTotal": {
            "type": "number",
            "description": "Sum totalt",
            "format": "double"
          },
          "hourlySum": {
            "type": "number",
            "description": "Timebasert totalt - gjelder timebasert",
            "format": "double"
          },
          "hourlyEstimatedCommission": {
            "type": "number",
            "description": "Estimert vederlag - gjelder timebasert",
            "format": "double"
          },
          "percentBaseCommission": {
            "type": "number",
            "description": "Provisjonsgrunnlag - gjelder provisjon. Grunnlaget er prisantydning. Ved omsetning endres ikke beløpet",
            "format": "double"
          },
          "percentCommonDebtIncluded": {
            "type": "boolean",
            "description": "Fellesgjeld inkludert i provisjonsgrunnlag - gjelder provisjon"
          },
          "percentEstimatedCommission": {
            "type": "number",
            "description": "Estimert vederlag - gjelder provisjon. Beløpet viser hva vederlaget er estimert til basert på prisantydning. Ved omsetning endres ikke beløpet.",
            "format": "double"
          },
          "percentMinimumCommission": {
            "type": "number",
            "description": "Minimumsprovisjon - gjelder provisjon",
            "format": "double",
            "nullable": true
          },
          "fixedPriceCommission": {
            "type": "number",
            "description": "Vederlag - gjelder fastpris",
            "format": "double"
          },
          "fixedPriceIncludes": {
            "type": "string",
            "description": "Fastpris inkluderer - gjelder fastpris",
            "nullable": true
          },
          "commissionSplits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommissionSplit"
            },
            "description": "Provisjonssplitt",
            "nullable": true
          },
          "salesPriceEstimate": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesCommissionSplitResponse": {
        "type": "object",
        "properties": {
          "commissionSplits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommissionSplitValue"
            },
            "description": "Provisjonsfordeling",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesLoanResponse": {
        "type": "object",
        "properties": {
          "loanId": {
            "type": "string",
            "description": "Referanse til lån",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesMortgageInformation": {
        "type": "object",
        "properties": {
          "mortgageId": {
            "type": "string",
            "description": "Referanse til gjeld",
            "nullable": true
          },
          "mortgagee": {
            "type": "string",
            "description": "Referanse til panthaver",
            "nullable": true
          },
          "loanIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over tilknyttede lån",
            "nullable": true
          },
          "mortgageType": {
            "type": "string",
            "description": "Pantetype",
            "nullable": true
          },
          "registeredTime": {
            "type": "string",
            "description": "Tinglyst tidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "documentNumber": {
            "type": "string",
            "description": "Dokumentnummer",
            "nullable": true
          },
          "officeNumber": {
            "type": "string",
            "description": "Embetenummer",
            "nullable": true
          },
          "establishmentOfLaw": {
            "type": "string",
            "description": "Rettsstiftelse",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Status",
            "nullable": true
          },
          "mortgageLogInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MortgageLogInfo"
            },
            "description": "Liste over oppdateringer av status for pantekort",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstatesProductCodeInformation": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "active": {
            "type": "boolean",
            "description": "Aktiv",
            "nullable": true
          },
          "code": {
            "type": "string",
            "description": "Kode",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Overskrift",
            "nullable": true
          },
          "tag": {
            "type": "string",
            "description": "Tag",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeLinkType"
              }
            ],
            "description": "Tilknyttes\n\n1 = Seller\n\n2 = Buyer",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Beløp",
            "format": "double",
            "nullable": true
          },
          "amountFormula": {
            "type": "string",
            "description": "Beløp som flettekode",
            "nullable": true
          },
          "amountIncludedTax": {
            "type": "number",
            "description": "Beløp inkl mva",
            "format": "double",
            "nullable": true
          },
          "productFixed": {
            "type": "boolean",
            "description": "Faste verdier",
            "nullable": true
          },
          "debitAccount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeAccount"
              }
            ],
            "description": "Debetkonto",
            "nullable": true
          },
          "creditAccount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeAccount"
              }
            ],
            "description": "Kreditkonto",
            "nullable": true
          },
          "options": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeFilterOptions"
              }
            ],
            "description": "Valgte filter for å se når og hvilken avdeling en posteringskode skal benyttes for",
            "nullable": true
          },
          "group": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeGroup"
              }
            ],
            "description": "Dersom hovebokskonto er definert i klientinnstillingene angis her hvilken gruppe posteringskoden tilhører\n\n1 = Commission\n\n2 = OtherIncome\n\n3 = Expenses\n\n4 = OtherExpenses",
            "x-enumNames": [
              "Commission",
              "OtherIncome",
              "Expenses",
              "OtherExpenses"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "EstatesShowingResponse": {
        "type": "object",
        "properties": {
          "showings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Showings"
            },
            "description": "Liste over visninger",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilitiesOption": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = Wanted (Må ha)\r\n            \r\n\r\n2 = NotWanted (Skal ikke ha)\r\n            \r\n\r\n3 = NotSet (Ingen preferanse)\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
        "format": "int32",
        "x-enumNames": [
          "Wanted",
          "NotWanted",
          "NotSet"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "FinnAdType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ikke satt)\r\n            \r\n\r\n1 = estateDevelopment (Boligprosjekt)\r\n            \r\n\r\n2 = estateProject (Nybygg)\r\n            \r\n\r\n3 = estateSale (Bolig - Salg)\r\n            \r\n\r\n4 = estateRent (Bolig - Leie)\r\n            \r\n\r\n5 = leisureSale (Fritidsbolig - Salg)\r\n            \r\n\r\n6 = leisureRent (Fritidsbolig - Leie)\r\n            \r\n\r\n7 = commercialSale (Næringseiendom - Salg)\r\n            \r\n\r\n8 = commercialRent (Næringseiendom - Utleie)\r\n            \r\n\r\n9 = plotBusinessSale (Næringseiendom - Tomt)\r\n            \r\n\r\n10 = plotSale (Bolig/fritid - Tomt)\r\n            \r\n\r\n11 = estateDevelopmentSingle (Nybygg enkelthus)\r\n            \r\n\r\n12 = estateWantedRented (Bolig - Ønskes leid)\r\n            \r\n\r\n13 = comingForSale (Kommer for salg)\r\n            \r\n\r\n14 = estateProjectNew (FINN - Nybygg)\n\n0 = NotSet\n\n1 = EstateDevelopment\n\n2 = EstateProject\n\n3 = EstateSale\n\n4 = EstateRent\n\n5 = LeisureSale\n\n6 = LeisureRent\n\n7 = CommercialSale\n\n8 = CommercialRent\n\n9 = PlotBusinessSale\n\n10 = PlotSale\n\n11 = EstateDevelopmentSingle\n\n12 = EstateWantedRented\n\n13 = ComingForSale\n\n14 = EstateProjectNew",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "EstateDevelopment",
          "EstateProject",
          "EstateSale",
          "EstateRent",
          "LeisureSale",
          "LeisureRent",
          "CommercialSale",
          "CommercialRent",
          "PlotBusinessSale",
          "PlotSale",
          "EstateDevelopmentSingle",
          "EstateWantedRented",
          "ComingForSale",
          "EstateProjectNew"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "GetAccountingBalanceResponse": {
        "type": "object",
        "properties": {
          "estateBalanceList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateBalance"
            },
            "description": "Liste over oppdrag med saldoliste",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBaseCommissionResponse": {
        "type": "object",
        "properties": {
          "salalaryArticles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalaryArticle"
            },
            "description": "Liste over lønnsartikler",
            "nullable": true
          },
          "employeeBaseCommission": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmployeeBaseCommission"
            },
            "description": "Liste over provisjonsgrunnlag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContactByIdGdprResponse": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Fornavn",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Etternavn",
            "nullable": true
          },
          "socialSecurity": {
            "type": "string",
            "description": "Fødselsnummer (11-siffer)",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Besøksadresse",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "citizenship": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Statsborgerskap, liste med ISO 31166-1 alpha-2 landkode",
            "nullable": true
          },
          "bankAccount": {
            "type": "string",
            "description": "Bankkonto",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "description": "Mobiltelefon",
            "nullable": true
          },
          "privatePhone": {
            "type": "string",
            "description": "Telefon privat",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "description": "Telefon arbeid",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "hasActiveSearchProfile": {
            "type": "boolean",
            "description": "Angir om det finnes en aktiv søkeprofil på kontakten"
          },
          "id": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprId"
            },
            "description": "Liste over ID'er",
            "nullable": true
          },
          "consents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprConsent"
            },
            "description": "Liste over samtykker",
            "nullable": true
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprDocument"
            },
            "description": "Liste over dokumenter",
            "nullable": true
          },
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprActivity"
            },
            "description": "Liste over aktiviteter",
            "nullable": true
          },
          "bids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprBid"
            },
            "description": "Liste over bud",
            "nullable": true
          },
          "objectRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprObjectRelation"
            },
            "description": "Liste over objektsrelasjoner",
            "nullable": true
          },
          "companyRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprCompanyRelation"
            },
            "description": "Liste over tilknytning til selskaper",
            "nullable": true
          },
          "externalOrderRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactGdprExternalOrderRelation"
            },
            "description": "Liste over bestillinger til eksterne systemer via Marked og Tjenester i Next",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContactByIdPrivateResponse": {
        "required": [
          "contactType",
          "firstName",
          "lastName",
          "mobilePhone"
        ],
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "companyName": {
            "type": "string",
            "description": "Firmanavn",
            "nullable": true
          },
          "organisationNumber": {
            "type": "string",
            "description": "Orgnr",
            "nullable": true
          },
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "minLength": 1,
            "type": "string",
            "description": "Tlf.nr mobil"
          },
          "privatePhone": {
            "type": "string",
            "description": "Tlf.nr privat",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "description": "Tlf.nr arbeid",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Besøksadresse",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "consents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Consent"
            },
            "description": "Samtykke",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "customerReview": {
            "type": "string",
            "description": "Kundeomtale",
            "nullable": true
          },
          "webSite": {
            "type": "string",
            "description": "Hjemmeside",
            "nullable": true
          },
          "socialSecurity": {
            "type": "string",
            "description": "Fødselsnummer (11-siffer)",
            "nullable": true
          },
          "citizenship": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Statsborgerskap, liste med ISO 31166-1 alpha-2 landkode",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContactByIdResponse": {
        "required": [
          "contactType",
          "firstName",
          "lastName",
          "mobilePhone"
        ],
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "companyName": {
            "type": "string",
            "description": "Firmanavn",
            "nullable": true
          },
          "organisationNumber": {
            "type": "string",
            "description": "Orgnr",
            "nullable": true
          },
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "minLength": 1,
            "type": "string",
            "description": "Tlf.nr mobil"
          },
          "privatePhone": {
            "type": "string",
            "description": "Tlf.nr privat",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "description": "Tlf.nr arbeid",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Besøksadresse",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "consents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Consent"
            },
            "description": "Samtykke",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "customerReview": {
            "type": "string",
            "description": "Kundeomtale",
            "nullable": true
          },
          "webSite": {
            "type": "string",
            "description": "Hjemmeside",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContactRolesResponse": {
        "type": "object",
        "properties": {
          "contactRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactRoleInformation"
            },
            "description": "Liste over kontaktens firmakontaktroller",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContactsSearchProfilesResponse": {
        "type": "object",
        "properties": {
          "searchProfiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchProfile"
            },
            "description": "Liste over søkeprofiler",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContactsWithActivitiesResponse": {
        "type": "object",
        "properties": {
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactsWithActivities"
            },
            "description": "Liste over kontakter med aktiviteter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDepartmentsPostalCodesResponse": {
        "type": "object",
        "properties": {
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentWithPostalCodes"
            },
            "description": "Liste over avdelinger med tildelte postnummer for tipshåndtering, som ikke er knyttet til callcenter",
            "nullable": true
          },
          "callCenters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CallCentersWithPostalCodes"
            },
            "description": "Liste over callcenter med avdelinger og tildelte postnummer for tipshåndtering",
            "nullable": true
          },
          "notAssignedPostalCodeAndAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostalCodesAndAreas"
            },
            "description": "Liste over ikke-tildelte postnummer for tipshåndtering",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDepartmentsRolesResponse": {
        "type": "object",
        "properties": {
          "departmentRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentRoles"
            },
            "description": "Liste over avdelinger",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDocumentsSignStatusResponse": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "description": "Referanse til signeringsdokument",
            "nullable": true
          },
          "docType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentType"
              }
            ],
            "description": "Dokumenttype\n\n1 = SelfDeclaration\n\n2 = Shareholders\n\n3 = AdDraft\n\n5 = PropertyInformation\n\n6 = BidForm\n\n7 = Various\n\n9 = PropertyProfile\n\n10 = PropertyValuation\n\n11 = EnergyCertificate\n\n12 = EmailReceived\n\n13 = EmailSent\n\n14 = ElectronicValuation\n\n15 = Invoice\n\n16 = CompletionCertificate\n\n17 = PlotContract\n\n18 = CompanyCertificate\n\n19 = Financinginformation\n\n20 = PreemptiveInformation\n\n21 = ListingAgreementRenewal\n\n22 = Authorization\n\n23 = Warranties\n\n24 = LandregistryTranscript\n\n25 = LandownerInformation\n\n26 = OwnerChange\n\n27 = Contract\n\n28 = MunicipalInformation\n\n29 = ConcessionForm\n\n31 = ValuationTax\n\n32 = ListingAgreement\n\n33 = Settlement\n\n34 = SettlementForm\n\n35 = AcquisitionProtocol\n\n36 = LienOther\n\n37 = Lien\n\n38 = LienRevokedConfirmation\n\n39 = LienLock\n\n40 = ZoningplanMap\n\n41 = Floorplan\n\n42 = RemainingDebt\n\n43 = PropertyDescription\n\n44 = PropertyDescriptionDraft\n\n45 = SectioningRequest\n\n46 = Easement\n\n47 = Deed\n\n48 = BoardApproval\n\n49 = Drawing\n\n50 = SupplementaryAgreement\n\n51 = Transport\n\n52 = Statute\n\n53 = OpenHouseList\n\n54 = AuthorizationBuyer\n\n55 = SettlementBuyer\n\n56 = BrokerValuation\n\n57 = AcceptanceLetterBuyer\n\n58 = AcceptanceLetterSeller\n\n59 = Lease\n\n60 = InsuranceSeller\n\n61 = InsuranceBuyer\n\n62 = Pricelist\n\n63 = Declaration\n\n64 = CoverLetter\n\n65 = SettlementLineupSeller\n\n66 = SettlementLineupBuyer\n\n67 = ProAndContraScheme\n\n69 = AccountingInformation\n\n70 = Requisition\n\n71 = Offer\n\n72 = InterestReport\n\n73 = LienBuyer\n\n74 = PrerequisiteLetterBank\n\n75 = ContractAttachment\n\n76 = PropertyDescriptionAttachment\n\n77 = MoneyLaunderingDocument\n\n78 = CompanyDocument\n\n79 = ShareDocument\n\n80 = Will\n\n81 = MutualWill\n\n82 = GrantOfProbate\n\n83 = EstateAuthorization\n\n84 = DocumentFeeRationale\n\n85 = BidJournal\n\n86 = BidAttachment\n\n88 = ConfirmedLandregistryTranscript\n\n89 = ConsentFromLessor\n\n90 = ConsentFromRightsHolderToEncumbrance\n\n91 = HouseRules\n\n92 = BuildingDrawings\n\n93 = DeliveryDescription\n\n94 = SettlementFormSeller\n\n95 = SettlementFormBuyer\n\n96 = ConditionReportArchive\n\n97 = SignedPurchaseContract\n\n98 = BrokersValuation\n\n99 = InspectionReport\n\n100 = SalesBrochureDraft\n\n101 = TemporaryUsePermit\n\n102 = PreValuation\n\n103 = CustomerEvaluation\n\n1000 = PropertyDescriptionDocuments",
            "x-enumNames": [
              "SelfDeclaration",
              "Shareholders",
              "AdDraft",
              "PropertyInformation",
              "BidForm",
              "Various",
              "PropertyProfile",
              "PropertyValuation",
              "EnergyCertificate",
              "EmailReceived",
              "EmailSent",
              "ElectronicValuation",
              "Invoice",
              "CompletionCertificate",
              "PlotContract",
              "CompanyCertificate",
              "Financinginformation",
              "PreemptiveInformation",
              "ListingAgreementRenewal",
              "Authorization",
              "Warranties",
              "LandregistryTranscript",
              "LandownerInformation",
              "OwnerChange",
              "Contract",
              "MunicipalInformation",
              "ConcessionForm",
              "ValuationTax",
              "ListingAgreement",
              "Settlement",
              "SettlementForm",
              "AcquisitionProtocol",
              "LienOther",
              "Lien",
              "LienRevokedConfirmation",
              "LienLock",
              "ZoningplanMap",
              "Floorplan",
              "RemainingDebt",
              "PropertyDescription",
              "PropertyDescriptionDraft",
              "SectioningRequest",
              "Easement",
              "Deed",
              "BoardApproval",
              "Drawing",
              "SupplementaryAgreement",
              "Transport",
              "Statute",
              "OpenHouseList",
              "AuthorizationBuyer",
              "SettlementBuyer",
              "BrokerValuation",
              "AcceptanceLetterBuyer",
              "AcceptanceLetterSeller",
              "Lease",
              "InsuranceSeller",
              "InsuranceBuyer",
              "Pricelist",
              "Declaration",
              "CoverLetter",
              "SettlementLineupSeller",
              "SettlementLineupBuyer",
              "ProAndContraScheme",
              "AccountingInformation",
              "Requisition",
              "Offer",
              "InterestReport",
              "LienBuyer",
              "PrerequisiteLetterBank",
              "ContractAttachment",
              "PropertyDescriptionAttachment",
              "MoneyLaunderingDocument",
              "CompanyDocument",
              "ShareDocument",
              "Will",
              "MutualWill",
              "GrantOfProbate",
              "EstateAuthorization",
              "DocumentFeeRationale",
              "BidJournal",
              "BidAttachment",
              "ConfirmedLandregistryTranscript",
              "ConsentFromLessor",
              "ConsentFromRightsHolderToEncumbrance",
              "HouseRules",
              "BuildingDrawings",
              "DeliveryDescription",
              "SettlementFormSeller",
              "SettlementFormBuyer",
              "ConditionReportArchive",
              "SignedPurchaseContract",
              "BrokersValuation",
              "InspectionReport",
              "SalesBrochureDraft",
              "TemporaryUsePermit",
              "PreValuation",
              "CustomerEvaluation",
              "PropertyDescriptionDocuments"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "extension": {
            "type": "string",
            "description": "Filtype",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Dokumentnavn",
            "nullable": true
          },
          "signatories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Signatory"
            },
            "description": "Signeringer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEmployeesSalesBudgetResponse": {
        "required": [
          "employeeId"
        ],
        "type": "object",
        "properties": {
          "employeeId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til ansatt"
          },
          "employeeName": {
            "type": "string",
            "description": "Ansattnavn",
            "nullable": true
          },
          "year": {
            "type": "integer",
            "description": "År",
            "format": "int32"
          },
          "budgetMonths": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BudgetMonth"
            },
            "description": "Budsjett per måned for valgte år",
            "nullable": true
          },
          "budgetYear": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetYear"
              }
            ],
            "description": "Budsjett for valgte år",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstateByIdNonActiveResponse": {
        "type": "object",
        "properties": {
          "nonActiveEstate": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateObject"
              }
            ],
            "description": "Informasjon om det arkiverte, utgåtte eller tilbaketrukne oppdraget",
            "nullable": true
          },
          "archivedDate": {
            "type": "string",
            "description": "Arkiveringsdato",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesAllContactRelationsResponse": {
        "type": "object",
        "properties": {
          "relations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AllContactRelation"
            },
            "description": "Liste over kontakter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesBidsPrivateResponse": {
        "type": "object",
        "properties": {
          "estateBidsPrivate": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateBidPrivate"
            },
            "description": "Liste over bud",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesContactActivitiesResponse": {
        "type": "object",
        "properties": {
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateContactActivity"
            },
            "description": "Liste over aktiviteter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesContactInformationResponse": {
        "type": "object",
        "properties": {
          "sellers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivateContact"
            },
            "description": "Liste over selgere",
            "nullable": true
          },
          "buyers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivateContact"
            },
            "description": "Liste over kjøpere",
            "nullable": true
          },
          "proxies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivateProxy"
            },
            "description": "Liste over fullmektiger på oppdraget",
            "nullable": true
          },
          "titleHolders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivateContact"
            },
            "description": "Liste over hjemmelshavere",
            "nullable": true
          },
          "heirs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivateContact"
            },
            "description": "Liste over arvinger ved salg av dødsbo",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesContactRelationsResponse": {
        "type": "object",
        "properties": {
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactRelations"
            },
            "description": "Liste over kontakter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesContactRolesResponse": {
        "type": "object",
        "properties": {
          "contactRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstateContactRoleInformation"
            },
            "description": "Liste over firmakontaktroller for kontaktrelasjoner på et oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesLoanByIdResponse": {
        "type": "object",
        "properties": {
          "loanId": {
            "type": "string",
            "description": "Referanse til lån",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "description": "Kontonummer",
            "nullable": true
          },
          "loanNumber": {
            "type": "string",
            "description": "Lånenummer",
            "nullable": true
          },
          "kid": {
            "type": "string",
            "description": "KID",
            "nullable": true
          },
          "fulfill": {
            "type": "boolean",
            "description": "Lånet skal innfris",
            "nullable": true
          },
          "outstandingDebtBalances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutstandingDebtBalance"
            },
            "description": "Liste over alle registrerte restgjeldsaldi",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesMortgageResponse": {
        "type": "object",
        "properties": {
          "estatesMortgageInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstatesMortgageInformation"
            },
            "description": "Liste over gjeld for et oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesNonActiveResponse": {
        "type": "object",
        "properties": {
          "nonActiveEstates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NonActiveEstate"
            },
            "description": "Liste over arkiverte, utgåtte eller tilbaketrukne oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesOutstandingDebtBalanceByIdResponse": {
        "type": "object",
        "properties": {
          "balanceAmount": {
            "type": "number",
            "description": "Restgjeldsaldo",
            "format": "double",
            "nullable": true
          },
          "balanceDate": {
            "type": "string",
            "description": "Dato for restgjeldsaldo",
            "format": "date-time",
            "nullable": true
          },
          "contactPersonName": {
            "type": "string",
            "description": "Kontaktpersonnavn for restgjeldsaldo",
            "nullable": true
          },
          "contactPersonPhone": {
            "type": "string",
            "description": "Kontaktpersons telefonnummer",
            "nullable": true
          },
          "contactPersonEmail": {
            "type": "string",
            "description": "Kontaktpersons E-post",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar til restgjeldsaldo",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEstatesProductCodeResponse": {
        "type": "object",
        "properties": {
          "productCodeInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstatesProductCodeInformation"
            },
            "description": "Liste over posteringskoder for et oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetInstallationsResponse": {
        "required": [
          "installations"
        ],
        "type": "object",
        "properties": {
          "installations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Installation"
            },
            "description": "Liste over installasjoner",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetMortgageStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ingen statusverdi satt)\r\n            \r\n\r\n1 = nonDigitalInteraction (Samhandler ikke digitalt)\r\n            \r\n\r\n2 = mortgageCardUpdated (Pantekort oppdatert)\r\n            \r\n\r\n3 = emailResponse (Svar kommer i e-post)\r\n            \r\n\r\n4 = mortgageDataUploadedInDocument (Pantedata lastet opp som dokument)\r\n            \r\n\r\n5 = error (Feil)\r\n            \r\n\r\n6 = loanUpdated (Lån oppdatert)\r\n            \r\n\r\n7 = outstandingDebtBalanceUpdated (Restgjeldsaldo oppdatert)\r\n            \r\n\r\n8 = outstandingDebtBalanceQuerySent (Restgjeldforespørsel sendt)\r\n            \r\n\r\n9 = redemptionBalanceRequestSent (Innfrielsessaldoforespørsel sendt)\r\n            \r\n\r\n10 = loanPaid (Lån nedbetalt)\r\n            \r\n\r\n11 = otherCreditor (Annen kreditor)\n\n0 = NotSet\n\n1 = NonDigitalInteraction\n\n2 = MortgageCardUpdated\n\n3 = EmailResponse\n\n4 = MortgageDataUploadedInDocument\n\n5 = Error\n\n6 = LoanUpdated\n\n7 = OutstandingDebtBalanceUpdated\n\n8 = OutstandingDebtBalanceQuerySent\n\n9 = RedemptionBalanceRequestSent\n\n10 = LoanPaid\n\n11 = OtherCreditor",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "NonDigitalInteraction",
          "MortgageCardUpdated",
          "EmailResponse",
          "MortgageDataUploadedInDocument",
          "Error",
          "LoanUpdated",
          "OutstandingDebtBalanceUpdated",
          "OutstandingDebtBalanceQuerySent",
          "RedemptionBalanceRequestSent",
          "LoanPaid",
          "OtherCreditor"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "GetNextConsentTypesResponse": {
        "type": "object",
        "properties": {
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NextConsentType"
            },
            "description": "Samtykketyper",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetNextContactRoleTypesResponse": {
        "type": "object",
        "properties": {
          "roleTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactRoleType"
            },
            "description": "Kontaktrolletypene",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetNextOriginTypesResponse": {
        "type": "object",
        "properties": {
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NextOriginType"
            },
            "description": "Typer for 'kilde for henvendelse'",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSearchProfilesByContactIdResponse": {
        "type": "object",
        "properties": {
          "searchProfiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchProfile"
            },
            "description": "Liste over søkeprofiler for kontakt",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTipByIdResponse": {
        "required": [
          "created",
          "firstName",
          "lastName",
          "mobilePhone",
          "originType",
          "postalCode"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "minLength": 1,
            "type": "string",
            "description": "Mobilnummer"
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget som tipset gjelder",
            "nullable": true
          },
          "postalCode": {
            "minLength": 1,
            "type": "string",
            "description": "Eiendommens postnummer (4-sifret norsk postnummer)"
          },
          "streetAdress": {
            "type": "string",
            "description": "Eiendommens adresse",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          },
          "source": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Kilde/kampanje",
            "nullable": true
          },
          "productId": {
            "type": "string",
            "description": "Referanse til tipsprodukt hos bank",
            "nullable": true
          },
          "recipientId": {
            "type": "string",
            "description": "Referanse til tipshåndterer hos bank",
            "nullable": true
          },
          "originType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OriginType"
              }
            ],
            "description": "Referanse til opprinnelsestype\n\n1 = NextInternal\n\n2 = External\n\n3 = FromBank\n\n4 = ToBank",
            "x-enumNames": [
              "NextInternal",
              "External",
              "FromBank",
              "ToBank"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "created": {
            "type": "string",
            "description": "Opprettet",
            "format": "date-time"
          },
          "modified": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipStatus"
              }
            ],
            "description": "Tipsstatus\n\n0 = Undefined\n\n1 = Received\n\n2 = Activated\n\n3 = OfferMade\n\n4 = NotApplicable\n\n5 = Won\n\n6 = Lost\n\n7 = Valuation\n\n8 = Read\n\n9 = NotHandled",
            "x-enumNames": [
              "Undefined",
              "Received",
              "Activated",
              "OfferMade",
              "NotApplicable",
              "Won",
              "Lost",
              "Valuation",
              "Read",
              "NotHandled"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "userId": {
            "type": "string",
            "description": "Referanse til behandler av tipset i Next",
            "nullable": true
          },
          "departmentId": {
            "type": "string",
            "description": "Referanse til avdeling som håndterer tipset i Next",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakten som er knyttet til tipset",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTipsProductByIdResponse": {
        "type": "object",
        "properties": {
          "tipsProductInformation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsProductInformation"
              }
            ],
            "description": "Informasjon om tipsprodukt eller tipsproduktgruppe for banktips",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTipsProductsResponse": {
        "type": "object",
        "properties": {
          "tipsProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TipsProductInformation"
            },
            "description": "Liste over tipsprodukter og tipsproduktgrupper for banktips",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTipsRecipientByIdResponse": {
        "type": "object",
        "properties": {
          "tipsRecipientInformation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsRecipientInformation"
              }
            ],
            "description": "Informasjon om tipsmottaker hos bank",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTipsRecipientsResponse": {
        "type": "object",
        "properties": {
          "tipsRecipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TipsRecipientInformation"
            },
            "description": "Informasjon om tipsmottakere for banktips",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTipsResponse": {
        "required": [
          "tips"
        ],
        "type": "object",
        "properties": {
          "tips": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tips"
            },
            "description": "Liste over tips"
          }
        },
        "additionalProperties": false
      },
      "HubMethodAccsessInfo": {
        "type": "object",
        "properties": {
          "verb": {
            "type": "string",
            "description": "Http metode til funksjon",
            "nullable": true
          },
          "group": {
            "type": "string",
            "description": "Gruppe til funksjon",
            "nullable": true
          },
          "path": {
            "type": "string",
            "description": "Adresse til funksjon",
            "nullable": true
          },
          "functionName": {
            "type": "string",
            "description": "Navn til funksjon",
            "nullable": true
          },
          "installationIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over installasjoner som bruker har tilgang til for denne funksjonen",
            "nullable": true
          },
          "limitations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HubMethodLimitation"
            },
            "description": "Begrensninger for funksjonen hos ulike installasjoner",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HubMethodLimitation": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "description": "Referanse til hvilken installasjon begrensningen gjelder",
            "nullable": true
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HubMethodLimitationParameter"
            },
            "description": "Liste over begrensede parameterene",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HubMethodLimitationParameter": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Navn på parameter",
            "nullable": true
          },
          "allowedValues": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over gyldige parameter-verdier (tall-verdi kan også benyttes)",
            "nullable": true
          },
          "disAllowedValues": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over ugyldige parameter-verdier (tall-verdi kan også benyttes)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdentityType": {
        "enum": [
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = bankId (Bankid)\n\n1 = BankId",
        "format": "int32",
        "x-enumNames": [
          "BankId"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "ImageCategory": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = normal (Vanlig bilde)\r\n            \r\n\r\n1 = surroundings (Bilde av omgivelsene)\r\n            \r\n\r\n2 = facade (Bilde av bygningens fasade)\r\n            \r\n\r\n3 = floorplan (Plantegning)\n\n0 = Normal\n\n1 = Surroundings\n\n2 = Facade\n\n3 = Floorplan",
        "format": "int32",
        "x-enumNames": [
          "Normal",
          "Surroundings",
          "Facade",
          "Floorplan"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ImageFileType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = jpg (JPG)\r\n            \r\n\r\n1 = png (PNG)\n\n0 = Jpg\n\n1 = Png",
        "format": "int32",
        "x-enumNames": [
          "Jpg",
          "Png"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ImageInfo": {
        "type": "object",
        "properties": {
          "imageId": {
            "type": "string",
            "description": "Referanse til bilde",
            "nullable": true
          },
          "fileType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ImageFileType"
              }
            ],
            "description": "Filtype\n\n0 = Jpg\n\n1 = Png",
            "x-enumNames": [
              "Jpg",
              "Png"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "lastChanged": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "imageCategory": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ImageCategory"
              }
            ],
            "description": "Type bilde (plantegning, omgivelser etc), vil snart bli erstattet av imageCategoryName i Next\n\n0 = Normal\n\n1 = Surroundings\n\n2 = Facade\n\n3 = Floorplan",
            "nullable": true,
            "deprecated": true
          },
          "imageDescription": {
            "type": "string",
            "description": "Bildebeskrivelse",
            "nullable": true
          },
          "imageSequence": {
            "type": "integer",
            "description": "Bilde sorterings nr",
            "format": "int32",
            "nullable": true
          },
          "imageCategoryName": {
            "type": "string",
            "description": "Typenavn på bilde, for eksempel plantegning",
            "nullable": true
          },
          "isArchived": {
            "type": "boolean",
            "description": "Indikerer om bildet er arkivert"
          }
        },
        "additionalProperties": false
      },
      "ImageMetaData": {
        "type": "object",
        "properties": {
          "imageDescription": {
            "type": "string",
            "description": "Bildebeskrivelse",
            "nullable": true
          },
          "imageSequence": {
            "type": "integer",
            "description": "Bildesorteringsnummer",
            "format": "int32",
            "nullable": true
          },
          "imageCategoryName": {
            "type": "string",
            "description": "Typenavn på bilde, for eksempel plantegning",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImageQuality": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = standard (Std. oppløsning (skal alltid leveres))\r\n            \r\n\r\n1 = print (Oppløsning kun relevant dersom det er avtalt at bilder i tillegg skal leveres i max kvalitet for prospekt produksjon)\n\n0 = Standard\n\n1 = Print",
        "format": "int32",
        "x-enumNames": [
          "Standard",
          "Print"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ImportType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = none (Ingen verdier skal lagres)\r\n            \r\n\r\n1 = accountingBudgeting (Regnskap/budsjett/kostnadsøkninger (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n2 = amountYearsInstallmentFree (Avdragsfrie år (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n3 = animals (Husdyrhold (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n4 = boardApproval (Styregodkjennelse (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n5 = communityFee (Kommentar kommunale avgifter)\r\n            \r\n\r\n6 = constructionMethod (Byggemåte)\r\n            \r\n\r\n7 = guaranteeFund (Sikringsordning fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n8 = insuranceCompany (Borettslagets forsikringsselskap (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n9 = insurancePolicy (Polisenummer felles forsikring (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n10 = jointCostAfterGracePeriod (Felleskostnader etter avdragsfri periode (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n11 = jointDebtDescription (Kommentar fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n12 = jointDebtInstallment (Avdrag fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n13 = jointDebtInterest (Rentekostnader fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n14 = loanTermsCollectiveDebt (Lånebetingelser fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n15 = partAbout (Om boligselskapet  (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n16 = preemptive (Forkjøpsrett (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n17 = rentIncludes (Felleskostnader inkluderer (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n18 = residentCommitments (Beboernes forpliktelser og dugnader (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n19 = statutes (Vedtekter/husordensregler (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n20 = valuationType (Type rapport)\r\n            \r\n\r\n21 = estateCorporationPartialBondNumber (Partialobligasjonsnummer (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n22 = partNumber (Andelsnummer (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n23 = shareJointDebtYear (Andel fellesgjeld år (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n24 = changeOfOwnershipFee (Eierskiftegebyr)\r\n            \r\n\r\n25 = collectiveDebt (Andel fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n26 = communityTax (Kommunale avgifter)\r\n            \r\n\r\n27 = deposit (Innskudd (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n28 = estateCorporationPartialDenominatedBond (Partialobligasjon pålydende (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n29 = estimatedValue (Verditakst)\r\n            \r\n\r\n30 = loanFare (Lånetakst)\r\n            \r\n\r\n31 = preemptiveFee (Gebyr forkjøpsrett (borettslag eller aksjeselskap))\r\n            \r\n\r\n32 = rentPrMonth (Felleskostnader per måned (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n33 = shareJointCapital (Andel fellesformue (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n34 = hasBoardApproval (Har styregodkjennelse (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n35 = hasPreemptiveRight (Har forkjøpsrett (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n36 = preemptiveDeadline (Forkjøpsfrist (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n37 = shareJointCapitalDate (Andel felles formue per dato (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n38 = shareJointDebtToDate (Andel fellesgjeld per dato (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n39 = valuationDate (Rapportdato)\r\n            \r\n\r\n40 = estateHousingCooperativeStockHousingUnitNumber (Aksjenummer)\r\n            \r\n\r\n41 = valuationTypeEnum (Takstrapporttype som enum-verdi, erstatter valuationType (20))\r\n            \r\n\r\n42 = plotSize (Tomteareal)\r\n            \r\n\r\n43 = plotDescription (Tomtebeskrivelse)\r\n            \r\n\r\n44 = standard (Standard)\r\n            \r\n\r\n45 = nonMeasurableAreas (Ikke målbare arealer)\r\n            \r\n\r\n46 = commonAreasAndRightsToUse (Fellesarealer og rettigheter til bruk)\r\n            \r\n\r\n47 = valuatorCommentsToArea (Bygningssakkyndiges kommentar til arealoppmåling)\r\n            \r\n\r\n48 = areas (Arealbeskrivelser)\r\n            \r\n\r\n49 = deleteDocument (Referanse til dokument som skal slettes)\r\n            \r\n\r\n50 = solarConditions (Solforhold for eiendom)\r\n            \r\n\r\n51 = localAreaName (Områdebenevnelse)\r\n            \r\n\r\n52 = apartmentNumber (Leilighetsnummer)\r\n            \r\n\r\n53 = yearlyLeaseFee (Årlig festeavgift)\r\n            \r\n\r\n54 = leasingContractDate (Festekontrakt datert)\r\n            \r\n\r\n55 = regulationOfLeaseExpense (Regulering av festeavgift)\r\n            \r\n\r\n56 = leasePeriod (Festetid)\r\n            \r\n\r\n57 = leasingPartyTransportFee (Bortfesters transportgebyr)\r\n            \r\n\r\n58 = redemptionTerms (Innløsningsvilkår festekontrakt)\r\n            \r\n\r\n59 = locationDescription (Beliggenhet)\r\n            \r\n\r\n60 = directions (Adkomst)\r\n            \r\n\r\n61 = nurserySchoolLeisure (Barnehage/skole/fritid)\r\n            \r\n\r\n62 = schoolDistrict (Skolekrets)\r\n            \r\n\r\n63 = publicTransport (Offentlig kommunikasjon)\r\n            \r\n\r\n64 = sellersDeclaration (Sammendrag selgers egenerklæring)\r\n            \r\n\r\n65 = yearOfConstruction (Byggeår)\r\n            \r\n\r\n66 = amountOfFloors (Etasje)\r\n            \r\n\r\n67 = amountOfBedrooms (Soverom)\r\n            \r\n\r\n68 = amountOfRooms (Antall rom)\r\n            \r\n\r\n69 = amountOfBathRooms (Antall bad)\r\n            \r\n\r\n70 = heading (Overskrift)\r\n            \r\n\r\n71 = about (Kort om eiendommen)\r\n            \r\n\r\n72 = contents (Innhold)\r\n            \r\n\r\n73 = movableProperty (Innbo og løsøre)\r\n            \r\n\r\n74 = whiteGoods (Hvitevarer)\r\n            \r\n\r\n75 = renovatedYear (Modernisert/påkostet år)\r\n            \r\n\r\n76 = renovated (Moderniseringer og påkostninger)\r\n            \r\n\r\n77 = tvInternetBroadband (TV/Internett/Bredbånd)\r\n            \r\n\r\n78 = parking (Parkering)\r\n            \r\n\r\n79 = radonMeasurement (Radonmåling)\r\n            \r\n\r\n80 = various (Diverse)\r\n            \r\n\r\n81 = heating (Oppvarming)\r\n            \r\n\r\n82 = powerConsumption (Info strømbruk)\r\n            \r\n\r\n83 = energyClassLetter (Energikarakter (A-G))\r\n            \r\n\r\n84 = energyClassNumber (Oppvarmingskarakter (1-5), energimerking fra før 2026)\r\n            \r\n\r\n85 = energy (Info energiklasse)\r\n            \r\n\r\n86 = municipalTaxesYear (Kommunale avgifter år)\r\n            \r\n\r\n87 = propertyTax (Eiendomsskatt)\r\n            \r\n\r\n88 = propertyTaxYear (Eiendomsskatt år)\r\n            \r\n\r\n89 = propertyTaxInformation (Info eiendomsskatt)\r\n            \r\n\r\n90 = assetValuePrimary (Formuesverdi primær)\r\n            \r\n\r\n91 = assetValuePrimaryYear (Formuesverdi primær år)\r\n            \r\n\r\n92 = assetValueSecondary (Formuesverdi sekundær)\r\n            \r\n\r\n93 = assetValueSecondaryYear (Formuesverdi sekundær år)\r\n            \r\n\r\n94 = assetValueInformation (Info formuesverdi)\r\n            \r\n\r\n95 = otherFees (Andre avgifter)\r\n            \r\n\r\n96 = welfareAssociationFee (Årlig velavgift)\r\n            \r\n\r\n97 = welfareAssociation (Velforening)\r\n            \r\n\r\n98 = waterTax (Vannavgift)\r\n            \r\n\r\n99 = waterTaxYear (Vannavgift år)\r\n            \r\n\r\n100 = waterTaxInformation (Info vannavgift)\r\n            \r\n\r\n101 = loanFinancingOffer (Tilbud på lånefinansering)\r\n            \r\n\r\n102 = completionReportDated (Ferdigattest/bruktstillatelse datert)\r\n            \r\n\r\n103 = landOwnerEstateDocumentDate (Grunnboksdato)\r\n            \r\n\r\n104 = completionReport (Ferdigattest/brukstillatelse)\r\n            \r\n\r\n105 = roadWaterSewage (Vei, vann og avløp)\r\n            \r\n\r\n106 = regulationAndAreaPlans (Regulerings- og arealplaner)\r\n            \r\n\r\n107 = accessToRental (Adgang til utleie)\r\n            \r\n\r\n108 = publicLawOrder (Offentligrettslig pålegg)\r\n            \r\n\r\n109 = easementsAndDeclarations (Tinglyste heftelser og rettigheter)\r\n            \r\n\r\n110 = protectionClassSefrak (Verneklasse/Sefrak)\r\n            \r\n\r\n111 = legalPledge (Legalpant)\r\n            \r\n\r\n112 = commentConcession (Kommentar konsesjon)\r\n            \r\n\r\n113 = commentLiveDuty (Kommentar boplikt)\r\n            \r\n\r\n114 = commentManagementDuty (Kommentar driveplikt)\r\n            \r\n\r\n115 = commentPropertyRights (Kommentar odelsrett)\r\n            \r\n\r\n116 = takeOver (Overtakelse)\r\n            \r\n\r\n117 = purchaseCosts (Omkostninger kjøper beskrivelse)\r\n            \r\n\r\n118 = homeBuyerInsurance (Boligkjøperforsikring)\r\n            \r\n\r\n119 = bidding (Budgivning)\r\n            \r\n\r\n120 = purchaseCostsAmount (Kjøpsomkostninger beløp)\r\n            \r\n\r\n121 = moneyLaunderingRules (Hvitvaskingsreglene)\r\n            \r\n\r\n122 = salesProspectusAttachment (Vedlegg salgsoppgave)\r\n            \r\n\r\n123 = homeSellerInsurance (Boligselgerforsikring)\r\n            \r\n\r\n124 = estateOfDeceased (Dødsbo)\r\n            \r\n\r\n125 = otherInsurances (Andre forsikringer)\n\n0 = None\n\n1 = AccountingBudgeting\n\n2 = AmountYearsInstallmentFree\n\n3 = Animals\n\n4 = BoardApproval\n\n5 = CommunityFee\n\n6 = ConstructionMethod\n\n7 = GuaranteeFund\n\n8 = InsuranceCompany\n\n9 = InsurancePolicy\n\n10 = JointCostAfterGracePeriod\n\n11 = JointDebtDescription\n\n12 = JointDebtInstallment\n\n13 = JointDebtInterest\n\n14 = LoanTermsCollectiveDebt\n\n15 = PartAbout\n\n16 = Preemptive\n\n17 = RentIncludes\n\n18 = ResidentCommitments\n\n19 = Statutes\n\n20 = ValuationType\n\n21 = EstateCorporationPartialBondNumber\n\n22 = PartNumber\n\n23 = ShareJointDebtYear\n\n24 = ChangeOfOwnershipFee\n\n25 = CollectiveDebt\n\n26 = CommunityTax\n\n27 = Deposit\n\n28 = EstateCorporationPartialDenominatedBond\n\n29 = EstimatedValue\n\n30 = LoanFare\n\n31 = PreemptiveFee\n\n32 = RentPrMonth\n\n33 = ShareJointCapital\n\n34 = HasBoardApproval\n\n35 = HasPreemptiveRight\n\n36 = PreemptiveDeadline\n\n37 = ShareJointCapitalDate\n\n38 = ShareJointDebtToDate\n\n39 = ValuationDate\n\n40 = EstateHousingCooperativeStockHousingUnitNumber\n\n41 = ValuationTypeEnum\n\n42 = PlotSize\n\n43 = PlotDescription\n\n44 = Standard\n\n45 = NonMeasurableAreas\n\n46 = CommonAreasAndRightsToUse\n\n47 = ValuatorCommentsToArea\n\n48 = Areas\n\n49 = DeleteDocument\n\n50 = SolarConditions\n\n51 = LocalAreaName\n\n52 = ApartmentNumber\n\n53 = YearlyLeaseFee\n\n54 = LeasingContractDate\n\n55 = RegulationOfLeaseExpense\n\n56 = LeasePeriod\n\n57 = LeasingPartyTransportFee\n\n58 = RedemptionTerms\n\n59 = LocationDescription\n\n60 = Directions\n\n61 = NurserySchoolLeisure\n\n62 = SchoolDistrict\n\n63 = PublicTransport\n\n64 = SellersDeclaration\n\n65 = YearOfConstruction\n\n66 = AmountOfFloors\n\n67 = AmountOfBedrooms\n\n68 = AmountOfRooms\n\n69 = AmountOfBathRooms\n\n70 = Heading\n\n71 = About\n\n72 = Contents\n\n73 = MovableProperty\n\n74 = WhiteGoods\n\n75 = RenovatedYear\n\n76 = Renovated\n\n77 = TvInternetBroadband\n\n78 = Parking\n\n79 = RadonMeasurement\n\n80 = Various\n\n81 = Heating\n\n82 = PowerConsumption\n\n83 = EnergyClassLetter\n\n84 = EnergyClassNumber\n\n85 = Energy\n\n86 = MunicipalTaxesYear\n\n87 = PropertyTax\n\n88 = PropertyTaxYear\n\n89 = PropertyTaxInformation\n\n90 = AssetValuePrimary\n\n91 = AssetValuePrimaryYear\n\n92 = AssetValueSecondary\n\n93 = AssetValueSecondaryYear\n\n94 = AssetValueInformation\n\n95 = OtherFees\n\n96 = WelfareAssociationFee\n\n97 = WelfareAssociation\n\n98 = WaterTax\n\n99 = WaterTaxYear\n\n100 = WaterTaxInformation\n\n101 = LoanFinancingOffer\n\n102 = CompletionReportDated\n\n103 = LandOwnerEstateDocumentDate\n\n104 = CompletionReport\n\n105 = RoadWaterSewage\n\n106 = RegulationAndAreaPlans\n\n107 = AccessToRental\n\n108 = PublicLawOrder\n\n109 = EasementsAndDeclarations\n\n110 = ProtectionClassSefrak\n\n111 = LegalPledge\n\n112 = CommentConcession\n\n113 = CommentLiveDuty\n\n114 = CommentManagementDuty\n\n115 = CommentPropertyRights\n\n116 = TakeOver\n\n117 = PurchaseCosts\n\n118 = HomeBuyerInsurance\n\n119 = Bidding\n\n120 = PurchaseCostsAmount\n\n121 = MoneyLaunderingRules\n\n122 = SalesProspectusAttachment\n\n123 = HomeSellerInsurance\n\n124 = EstateOfDeceased\n\n125 = OtherInsurances",
        "format": "int32",
        "x-enumNames": [
          "None",
          "AccountingBudgeting",
          "AmountYearsInstallmentFree",
          "Animals",
          "BoardApproval",
          "CommunityFee",
          "ConstructionMethod",
          "GuaranteeFund",
          "InsuranceCompany",
          "InsurancePolicy",
          "JointCostAfterGracePeriod",
          "JointDebtDescription",
          "JointDebtInstallment",
          "JointDebtInterest",
          "LoanTermsCollectiveDebt",
          "PartAbout",
          "Preemptive",
          "RentIncludes",
          "ResidentCommitments",
          "Statutes",
          "ValuationType",
          "EstateCorporationPartialBondNumber",
          "PartNumber",
          "ShareJointDebtYear",
          "ChangeOfOwnershipFee",
          "CollectiveDebt",
          "CommunityTax",
          "Deposit",
          "EstateCorporationPartialDenominatedBond",
          "EstimatedValue",
          "LoanFare",
          "PreemptiveFee",
          "RentPrMonth",
          "ShareJointCapital",
          "HasBoardApproval",
          "HasPreemptiveRight",
          "PreemptiveDeadline",
          "ShareJointCapitalDate",
          "ShareJointDebtToDate",
          "ValuationDate",
          "EstateHousingCooperativeStockHousingUnitNumber",
          "ValuationTypeEnum",
          "PlotSize",
          "PlotDescription",
          "Standard",
          "NonMeasurableAreas",
          "CommonAreasAndRightsToUse",
          "ValuatorCommentsToArea",
          "Areas",
          "DeleteDocument",
          "SolarConditions",
          "LocalAreaName",
          "ApartmentNumber",
          "YearlyLeaseFee",
          "LeasingContractDate",
          "RegulationOfLeaseExpense",
          "LeasePeriod",
          "LeasingPartyTransportFee",
          "RedemptionTerms",
          "LocationDescription",
          "Directions",
          "NurserySchoolLeisure",
          "SchoolDistrict",
          "PublicTransport",
          "SellersDeclaration",
          "YearOfConstruction",
          "AmountOfFloors",
          "AmountOfBedrooms",
          "AmountOfRooms",
          "AmountOfBathRooms",
          "Heading",
          "About",
          "Contents",
          "MovableProperty",
          "WhiteGoods",
          "RenovatedYear",
          "Renovated",
          "TvInternetBroadband",
          "Parking",
          "RadonMeasurement",
          "Various",
          "Heating",
          "PowerConsumption",
          "EnergyClassLetter",
          "EnergyClassNumber",
          "Energy",
          "MunicipalTaxesYear",
          "PropertyTax",
          "PropertyTaxYear",
          "PropertyTaxInformation",
          "AssetValuePrimary",
          "AssetValuePrimaryYear",
          "AssetValueSecondary",
          "AssetValueSecondaryYear",
          "AssetValueInformation",
          "OtherFees",
          "WelfareAssociationFee",
          "WelfareAssociation",
          "WaterTax",
          "WaterTaxYear",
          "WaterTaxInformation",
          "LoanFinancingOffer",
          "CompletionReportDated",
          "LandOwnerEstateDocumentDate",
          "CompletionReport",
          "RoadWaterSewage",
          "RegulationAndAreaPlans",
          "AccessToRental",
          "PublicLawOrder",
          "EasementsAndDeclarations",
          "ProtectionClassSefrak",
          "LegalPledge",
          "CommentConcession",
          "CommentLiveDuty",
          "CommentManagementDuty",
          "CommentPropertyRights",
          "TakeOver",
          "PurchaseCosts",
          "HomeBuyerInsurance",
          "Bidding",
          "PurchaseCostsAmount",
          "MoneyLaunderingRules",
          "SalesProspectusAttachment",
          "HomeSellerInsurance",
          "EstateOfDeceased",
          "OtherInsurances"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "IncomingInvoiceRequest": {
        "required": [
          "departmentId",
          "dueDate",
          "externalReference",
          "invoiceDate",
          "supplierLedgerNumber",
          "totalNetAmount",
          "totalVatAmount"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "maxLength": 63,
            "minLength": 7,
            "type": "string",
            "description": "Unik referanse til fakturaen"
          },
          "totalNetAmount": {
            "type": "number",
            "description": "Totalt nettobeløp",
            "format": "double"
          },
          "totalVatAmount": {
            "type": "number",
            "description": "Totalt mva-beløp",
            "format": "double"
          },
          "supplierLedgerNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Leverandørreskontro"
          },
          "supplierId": {
            "type": "string",
            "description": "Leverandørens id i Next",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdelingsid",
            "format": "int32"
          },
          "dueDate": {
            "type": "string",
            "description": "Forfallsdato",
            "format": "date-time"
          },
          "invoiceDate": {
            "type": "string",
            "description": "Fakturadato",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "integer",
            "description": "Fakturanummer, deprecated benytt invoiceNum",
            "format": "int32",
            "nullable": true
          },
          "invoiceNum": {
            "type": "string",
            "description": "Fakturanummer",
            "nullable": true
          },
          "kid": {
            "type": "string",
            "description": "Eventuell Kid",
            "nullable": true
          },
          "msg": {
            "type": "string",
            "description": "Eventuell melding",
            "nullable": true
          },
          "payToAccountNumber": {
            "type": "string",
            "description": "Betales til",
            "nullable": true
          },
          "reference": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Referanse fra faktura",
            "nullable": true
          },
          "invoiceLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceLine"
            },
            "description": "Fakturalinjer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IncomingInvoiceResponse": {
        "type": "object",
        "properties": {
          "invoices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncomingInvoiceResponseData"
            },
            "description": "List over fakturaer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IncomingInvoiceResponseData": {
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "description": "Referanse fra eksternt system",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IncomingInvoiceStatus"
              }
            ],
            "description": "Status på fakturean\n\n10 = AwaitingManualConfirmation\n\n20 = Confirmed\n\n29 = Paid\n\n30 = Rejected\n\n39 = Canceled",
            "x-enumNames": [
              "AwaitingManualConfirmation",
              "Confirmed",
              "Paid",
              "Rejected",
              "Canceled"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "payFromAccountNumber": {
            "type": "string",
            "description": "Kontonummer fakturaen skal belastes",
            "nullable": true
          },
          "payFromAccountLedgerNumber": {
            "type": "string",
            "description": "HB-Konto for kontoen som skal belastes",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "IncomingInvoiceStatus": {
        "enum": [
          10,
          20,
          29,
          30,
          39
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n10 = awaitingManualConfirmation (Fakturaen trenger manuell behandling)\r\n            \r\n\r\n20 = confirmed (Fakturaen er godkjent og kan betales)\r\n            \r\n\r\n29 = paid (Fakturaen er betalt)\r\n            \r\n\r\n30 = rejected (Fakturaen er avvist og skal ikke betales)\r\n            \r\n\r\n39 = canceled (Utbetaling av faktura er avbrutt, fakturaen skal ikke betales)\n\n10 = AwaitingManualConfirmation\n\n20 = Confirmed\n\n29 = Paid\n\n30 = Rejected\n\n39 = Canceled",
        "format": "int32",
        "x-enumNames": [
          "AwaitingManualConfirmation",
          "Confirmed",
          "Paid",
          "Rejected",
          "Canceled"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "IncomingInvoiceStatusData": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IncomingInvoiceStatus"
              }
            ],
            "description": "Status på fakturaen\n\n10 = AwaitingManualConfirmation\n\n20 = Confirmed\n\n29 = Paid\n\n30 = Rejected\n\n39 = Canceled",
            "x-enumNames": [
              "AwaitingManualConfirmation",
              "Confirmed",
              "Paid",
              "Rejected",
              "Canceled"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "payFromAccountNumber": {
            "type": "string",
            "description": "Kontonummer fakturaen skal belastes",
            "nullable": true
          },
          "payFromAccountLedgerNumber": {
            "type": "string",
            "description": "HB-Konto for kontoen som skal belastes",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Installation": {
        "required": [
          "installationId",
          "installationName",
          "version"
        ],
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "description": "Referanse til installasjon",
            "nullable": true
          },
          "installationName": {
            "type": "string",
            "description": "Installasjonsnavn",
            "nullable": true
          },
          "version": {
            "type": "string",
            "description": "Installasjonsversjon",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntField": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IntFieldType"
              }
            ],
            "description": "Heltallsfelt\n\n1 = EstateCorporationPartialBondNumber\n\n2 = PartNumber\n\n3 = ShareJointDebtYear\n\n4 = EstateHousingCooperativeStockHousingUnitNumber\n\n5 = YearlyLeaseFee\n\n6 = LeasingPartyTransportFee\n\n7 = YearOfConstruction\n\n8 = AmountOfFloors\n\n9 = AmountOfBedrooms\n\n10 = AmountOfRooms\n\n11 = AmountOfBathRooms\n\n12 = MunicipalTaxesYear\n\n13 = PropertyTax\n\n14 = PropertyTaxYear\n\n15 = AssetValuePrimary\n\n16 = AssetValuePrimaryYear\n\n17 = AssetValueSecondary\n\n18 = AssetValueSecondaryYear\n\n19 = WelfareAssociationFee\n\n20 = WaterTax\n\n21 = WaterTaxYear\n\n22 = PurchaseCostsAmount",
            "x-enumNames": [
              "EstateCorporationPartialBondNumber",
              "PartNumber",
              "ShareJointDebtYear",
              "EstateHousingCooperativeStockHousingUnitNumber",
              "YearlyLeaseFee",
              "LeasingPartyTransportFee",
              "YearOfConstruction",
              "AmountOfFloors",
              "AmountOfBedrooms",
              "AmountOfRooms",
              "AmountOfBathRooms",
              "MunicipalTaxesYear",
              "PropertyTax",
              "PropertyTaxYear",
              "AssetValuePrimary",
              "AssetValuePrimaryYear",
              "AssetValueSecondary",
              "AssetValueSecondaryYear",
              "WelfareAssociationFee",
              "WaterTax",
              "WaterTaxYear",
              "PurchaseCostsAmount"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "integer",
            "description": "Heltallsverdi",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "IntFieldType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = estateCorporationPartialBondNumber (Partialobligasjonsnummer (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n2 = partNumber (Andelsnummer (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n3 = shareJointDebtYear (Andel fellesgjeld år (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n4 = estateHousingCooperativeStockHousingUnitNumber (Aksjenummer)\r\n            \r\n\r\n5 = yearlyLeaseFee (Årlig festeavgift)\r\n            \r\n\r\n6 = leasingPartyTransportFee (Bortfesters transportgebyr)\r\n            \r\n\r\n7 = yearOfConstruction (Byggeår)\r\n            \r\n\r\n8 = amountOfFloors (Etasje)\r\n            \r\n\r\n9 = amountOfBedrooms (Soverom)\r\n            \r\n\r\n10 = amountOfRooms (Antall rom)\r\n            \r\n\r\n11 = amountOfBathRooms (Antall bad)\r\n            \r\n\r\n12 = municipalTaxesYear (Kommunale avgifter år)\r\n            \r\n\r\n13 = propertyTax (Eiendomsskatt)\r\n            \r\n\r\n14 = propertyTaxYear (Eiendomsskatt år)\r\n            \r\n\r\n15 = assetValuePrimary (Formuesverdi primær)\r\n            \r\n\r\n16 = assetValuePrimaryYear (Formuesverdi primær år)\r\n            \r\n\r\n17 = assetValueSecondary (Formuesverdi sekundær)\r\n            \r\n\r\n18 = assetValueSecondaryYear (Formuesverdi sekundær år)\r\n            \r\n\r\n19 = welfareAssociationFee (Årlig velavgift)\r\n            \r\n\r\n20 = waterTax (Vannavgift)\r\n            \r\n\r\n21 = waterTaxYear (Vannavgift år)\r\n            \r\n\r\n22 = purchaseCostsAmount (Kjøpsomkostninger beløp)\n\n1 = EstateCorporationPartialBondNumber\n\n2 = PartNumber\n\n3 = ShareJointDebtYear\n\n4 = EstateHousingCooperativeStockHousingUnitNumber\n\n5 = YearlyLeaseFee\n\n6 = LeasingPartyTransportFee\n\n7 = YearOfConstruction\n\n8 = AmountOfFloors\n\n9 = AmountOfBedrooms\n\n10 = AmountOfRooms\n\n11 = AmountOfBathRooms\n\n12 = MunicipalTaxesYear\n\n13 = PropertyTax\n\n14 = PropertyTaxYear\n\n15 = AssetValuePrimary\n\n16 = AssetValuePrimaryYear\n\n17 = AssetValueSecondary\n\n18 = AssetValueSecondaryYear\n\n19 = WelfareAssociationFee\n\n20 = WaterTax\n\n21 = WaterTaxYear\n\n22 = PurchaseCostsAmount",
        "format": "int32",
        "x-enumNames": [
          "EstateCorporationPartialBondNumber",
          "PartNumber",
          "ShareJointDebtYear",
          "EstateHousingCooperativeStockHousingUnitNumber",
          "YearlyLeaseFee",
          "LeasingPartyTransportFee",
          "YearOfConstruction",
          "AmountOfFloors",
          "AmountOfBedrooms",
          "AmountOfRooms",
          "AmountOfBathRooms",
          "MunicipalTaxesYear",
          "PropertyTax",
          "PropertyTaxYear",
          "AssetValuePrimary",
          "AssetValuePrimaryYear",
          "AssetValueSecondary",
          "AssetValueSecondaryYear",
          "WelfareAssociationFee",
          "WaterTax",
          "WaterTaxYear",
          "PurchaseCostsAmount"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "InvoiceLine": {
        "required": [
          "amount",
          "debitAccount",
          "externalReference",
          "vatAmount"
        ],
        "type": "object",
        "properties": {
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "description": "Unik referanse til fakturalinje"
          },
          "debitAccount": {
            "minLength": 1,
            "type": "string",
            "description": "Mellomregningskonto"
          },
          "amount": {
            "type": "number",
            "description": "Beløp",
            "format": "double"
          },
          "vatAmount": {
            "type": "number",
            "description": "Mva beløp",
            "format": "double"
          },
          "description": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "reference": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Referanse fra fakturalinje",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceRecipient": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Id til kontakt",
            "nullable": true
          },
          "contactNumber": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "Fornavn",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Etternavn",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Firmanavn",
            "nullable": true
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype, privatperson eller firma\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "organisationNumber": {
            "type": "string",
            "description": "Orgnummer",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Epost",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Adresse",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "description": "Adresse linje 2",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "postalArea": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LedgerType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = general (Hovedbok)\r\n            \r\n\r\n2 = customer (Kundereskontro)\r\n            \r\n\r\n3 = supplier (Levrandørreskontro)\n\n1 = General\n\n2 = Customer\n\n3 = Supplier",
        "format": "int32",
        "x-enumNames": [
          "General",
          "Customer",
          "Supplier"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "LinkAttributes": {
        "required": [
          "linkType",
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "linkType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LinkType"
              }
            ],
            "description": "Linktype\n\n0 = Other\n\n1 = Video\n\n2 = Vr3d\n\n3 = Homepage\n\n4 = NextPublishWebProspect\n\n5 = NextPublishSalesAssignment\n\n6 = NextPublishFlippable",
            "x-enumNames": [
              "Other",
              "Video",
              "Vr3d",
              "Homepage",
              "NextPublishWebProspect",
              "NextPublishSalesAssignment",
              "NextPublishFlippable"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "url": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string",
            "description": "URL"
          },
          "name": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Name"
          },
          "deliveryPackageId": {
            "type": "string",
            "description": "Id for denne bestilling",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LinkAttributesExport": {
        "type": "object",
        "properties": {
          "linkType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LinkType"
              }
            ],
            "description": "Type link\n\n0 = Other\n\n1 = Video\n\n2 = Vr3d\n\n3 = Homepage\n\n4 = NextPublishWebProspect\n\n5 = NextPublishSalesAssignment\n\n6 = NextPublishFlippable",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "URL",
            "nullable": true
          },
          "text": {
            "type": "string",
            "description": "Tekst tilhørende link",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LinkType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = other (other)\r\n            \r\n\r\n1 = video (Videovisning som legges ut som link på nettsteder der eiendommen markedsføres)\r\n            \r\n\r\n2 = vr3d (vr3d)\r\n            \r\n\r\n3 = homepage (homepage)\r\n            \r\n\r\n4 = nextPublishWebProspect (Web prospekt fra Next Publish)\r\n            \r\n\r\n5 = nextPublishSalesAssignment (Salgsoppgave fra Next Publish)\r\n            \r\n\r\n6 = nextPublishFlippable (Bladbar salgsoppgave fra Next Publish4)\n\n0 = Other\n\n1 = Video\n\n2 = Vr3d\n\n3 = Homepage\n\n4 = NextPublishWebProspect\n\n5 = NextPublishSalesAssignment\n\n6 = NextPublishFlippable",
        "format": "int32",
        "x-enumNames": [
          "Other",
          "Video",
          "Vr3d",
          "Homepage",
          "NextPublishWebProspect",
          "NextPublishSalesAssignment",
          "NextPublishFlippable"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "LoanLogInfo": {
        "type": "object",
        "properties": {
          "loanId": {
            "type": "string",
            "description": "Referanse til lån",
            "nullable": true
          },
          "mortgageLoanLogEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MortgageLogEvent"
            },
            "description": "Hendelser for lån",
            "nullable": true
          },
          "balanceLogInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BalanceLogInfo"
            },
            "description": "Liste over oppdateringer av status for tilhørende restgjeldsaldi",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Matrikkel": {
        "type": "object",
        "properties": {
          "knr": {
            "type": "integer",
            "description": "Kommunenummer",
            "format": "int32"
          },
          "gnr": {
            "type": "integer",
            "description": "Gårdsnummer",
            "format": "int32"
          },
          "bnr": {
            "type": "integer",
            "description": "Bruksnummer",
            "format": "int32"
          },
          "fnr": {
            "type": "integer",
            "description": "Festenummer",
            "format": "int32",
            "nullable": true
          },
          "snr": {
            "type": "integer",
            "description": "Seksjonsnummer",
            "format": "int32",
            "nullable": true
          },
          "ownPart": {
            "type": "string",
            "description": "Eierandel",
            "nullable": true
          },
          "coOwnershipType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CoOwnershipType"
              }
            ],
            "description": "Sameietype\n\n0 = Unknown\n\n1 = None\n\n2 = JointOwnership\n\n3 = FarmCommons\n\n4 = PersonalJointOwnership",
            "x-enumNames": [
              "Unknown",
              "None",
              "JointOwnership",
              "FarmCommons",
              "PersonalJointOwnership"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "MergedContactByIdResponse": {
        "type": "object",
        "properties": {
          "sourceContactId": {
            "type": "string",
            "description": "ContactId til den originale kontakten",
            "nullable": true
          },
          "targetContactId": {
            "type": "string",
            "description": "ContactId til kontakten den har blitt slått sammen med",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret. Vil i de fleste tilfeller være datoen som kontakten ble slått sammen",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "MergedContactItem": {
        "type": "object",
        "properties": {
          "sourceContactId": {
            "type": "string",
            "description": "ContactId til den originale kontakten",
            "nullable": true
          },
          "targetContactId": {
            "type": "string",
            "description": "ContactId til kontakten den har blitt slått sammen med",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret. Vil i de fleste tilfeller være datoen som kontakten ble slått sammen",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "MergedContactsResponse": {
        "type": "object",
        "properties": {
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MergedContactItem"
            },
            "description": "Liste over sammenslåtte kontakter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Month": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = january (Januar)\r\n            \r\n\r\n2 = february (Februar)\r\n            \r\n\r\n3 = march (Mars)\r\n            \r\n\r\n4 = april (April)\r\n            \r\n\r\n5 = may (Mai)\r\n            \r\n\r\n6 = june (Juni)\r\n            \r\n\r\n7 = july (Juli)\r\n            \r\n\r\n8 = august (August)\r\n            \r\n\r\n9 = september (September)\r\n            \r\n\r\n10 = october (Oktober)\r\n            \r\n\r\n11 = november (November)\r\n            \r\n\r\n12 = december (Desember)\n\n1 = January\n\n2 = February\n\n3 = March\n\n4 = April\n\n5 = May\n\n6 = June\n\n7 = July\n\n8 = August\n\n9 = September\n\n10 = October\n\n11 = November\n\n12 = December",
        "format": "int32",
        "x-enumNames": [
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "MortgageLogEvent": {
        "type": "object",
        "properties": {
          "mortgageStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GetMortgageStatus"
              }
            ],
            "description": "Status for oppdatering\n\n0 = NotSet\n\n1 = NonDigitalInteraction\n\n2 = MortgageCardUpdated\n\n3 = EmailResponse\n\n4 = MortgageDataUploadedInDocument\n\n5 = Error\n\n6 = LoanUpdated\n\n7 = OutstandingDebtBalanceUpdated\n\n8 = OutstandingDebtBalanceQuerySent\n\n9 = RedemptionBalanceRequestSent\n\n10 = LoanPaid\n\n11 = OtherCreditor",
            "nullable": true
          },
          "mortgageStatusText": {
            "type": "string",
            "description": "Statustekst",
            "nullable": true
          },
          "partnerName": {
            "type": "string",
            "description": "Partnernavn",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Referanse til bruker",
            "nullable": true
          },
          "updateDateTime": {
            "type": "string",
            "description": "Tidspunkt for oppdatering",
            "format": "date-time",
            "nullable": true
          },
          "link": {
            "type": "string",
            "description": "Lenke til leverandørsiden",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MortgageLogInfo": {
        "type": "object",
        "properties": {
          "mortgageId": {
            "type": "string",
            "description": "Referanse til gjeld",
            "nullable": true
          },
          "mortgageLogEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MortgageLogEvent"
            },
            "description": "Hendelser for gjeld",
            "nullable": true
          },
          "loanLogInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoanLogInfo"
            },
            "description": "Liste over oppdateringer av status for tilhørende lån",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MortgageMatrikkel": {
        "type": "object",
        "properties": {
          "municipalityNumber": {
            "type": "integer",
            "description": "Kommunenummer",
            "format": "int32"
          },
          "gnr": {
            "type": "integer",
            "description": "Gårdsnummer",
            "format": "int32"
          },
          "bnr": {
            "type": "integer",
            "description": "Bruksnummer",
            "format": "int32"
          },
          "snr": {
            "type": "integer",
            "description": "Seksjonsnummer",
            "format": "int32"
          },
          "fnr": {
            "type": "integer",
            "description": "Festenummer",
            "format": "int32"
          },
          "partOrgNumber": {
            "type": "string",
            "description": "Borettslagets organisasjonsnummer",
            "nullable": true
          },
          "partNumber": {
            "type": "string",
            "description": "Andelsnummer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewBudget": {
        "type": "object",
        "properties": {
          "numberOfUnitSales": {
            "type": "integer",
            "description": "Budsjettert antall enhetssalg",
            "format": "int32"
          },
          "averageIncomePerUnit": {
            "type": "number",
            "description": "Budsjettert snitt inntekt per enhet som er lagt til grunn",
            "format": "double"
          },
          "income": {
            "type": "number",
            "description": "Budsjetterte inntekter",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "NextAreaType": {
        "type": "object",
        "properties": {
          "typeId": {
            "type": "string",
            "description": "Referanse til arealtypen",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Navn på arealtype",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NextAreaTypesResponse": {
        "type": "object",
        "properties": {
          "AreaTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NextAreaType"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NextAssignmentType": {
        "type": "object",
        "properties": {
          "typeId": {
            "type": "string",
            "description": "Referanse til oppdragstype",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Navn på oppdragstype",
            "nullable": true
          },
          "group": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "NextConsentType": {
        "type": "object",
        "properties": {
          "typeId": {
            "type": "integer",
            "description": "Referanse til samtykketype",
            "format": "int32"
          },
          "typeName": {
            "type": "string",
            "description": "Navn på samtykketype",
            "nullable": true
          },
          "typeTag": {
            "type": "string",
            "description": "Tag på samtykketype",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NextDocumentType": {
        "type": "object",
        "properties": {
          "value": {
            "type": "integer",
            "description": "Verdi",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Navn",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NextEstateArea": {
        "type": "object",
        "properties": {
          "areaId": {
            "type": "string",
            "description": "Referanse til område",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Navn på område",
            "nullable": true
          },
          "PostCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NextEstateType": {
        "type": "object",
        "properties": {
          "typeId": {
            "type": "string",
            "description": "Referanse til objektstype",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Navn på objektstype",
            "nullable": true
          },
          "SearchProfileType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SearchProfileType"
              }
            ],
            "description": "\r\n\r\n\r\n1 = Normal (Bolig)\r\n            \r\n\r\n2 = Commercial (Næring)\n\n1 = Normal\n\n2 = Commercial",
            "x-enumNames": [
              "Normal",
              "Commercial"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "NextOriginType": {
        "type": "object",
        "properties": {
          "typeId": {
            "type": "integer",
            "description": "Referanse til henvendelsestype",
            "format": "int32"
          },
          "typeName": {
            "type": "string",
            "description": "Navn på henvendelsestype",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NonActiveEstate": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "streetAddress": {
            "type": "string",
            "description": "Gateadresse",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "assignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "ownership": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OwnershipType"
              }
            ],
            "description": "Eierform\n\n0 = Owned\n\n1 = Cooprative\n\n2 = Stock\n\n3 = Bond\n\n4 = Condominium",
            "x-enumNames": [
              "Owned",
              "Cooprative",
              "Stock",
              "Bond",
              "Condominium"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "employeeId": {
            "type": "string",
            "description": "Ansvarlig megler",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32",
            "nullable": true
          },
          "primaryArea": {
            "type": "number",
            "description": "P-Rom",
            "format": "double",
            "nullable": true
          },
          "salesPriceEstimate": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double",
            "nullable": true
          },
          "salesPrice": {
            "type": "number",
            "description": "Salgssum",
            "format": "double",
            "nullable": true
          },
          "soldDate": {
            "type": "string",
            "description": "Solgtdato",
            "format": "date-time",
            "nullable": true
          },
          "archivedDate": {
            "type": "string",
            "description": "Arkiveringsdato",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Status\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "statusChangeDate": {
            "type": "string",
            "description": "Dato for siste statusendring",
            "format": "date-time",
            "nullable": true
          },
          "originType": {
            "type": "string",
            "description": "Kilde for henvendelse",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Notification": {
        "type": "object",
        "properties": {
          "channel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Channel"
              }
            ],
            "description": "Varseltype\n\n1 = Sms",
            "nullable": true
          },
          "date": {
            "type": "string",
            "description": "Tidspunkt",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ObjectFacility": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Office": {
        "required": [
          "departmentId",
          "departmentNumber",
          "legalName",
          "name"
        ],
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "integer",
            "description": "Id for dette kontor",
            "format": "int32"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Avdelingsnavn"
          },
          "organisationNumber": {
            "type": "string",
            "description": "Orgnr",
            "nullable": true
          },
          "legalName": {
            "minLength": 1,
            "type": "string",
            "description": "Juridisk navn"
          },
          "departmentNumber": {
            "type": "integer",
            "description": "Avdelingsnummer, kan være likt id for avdeling",
            "format": "int32"
          },
          "phone": {
            "type": "string",
            "description": "Tlf.nr.",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "description": "Fax",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "streetAddress": {
            "type": "string",
            "description": "Besøksadresse",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postaddresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "isRegion": {
            "type": "boolean",
            "description": "Angir region eller avdeling",
            "nullable": true
          },
          "subDepartments": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Referanse til avdelinger i regionen",
            "nullable": true
          },
          "visitPostalCode": {
            "type": "string",
            "description": "Besøkspostnummer",
            "nullable": true
          },
          "visitCity": {
            "type": "string",
            "description": "Besøkspoststed",
            "nullable": true
          },
          "marketName": {
            "type": "string",
            "description": "Markedsføringsnavn",
            "nullable": true
          },
          "webPublish": {
            "type": "boolean",
            "description": "Avdelingen skal publiseres på web"
          },
          "aboutDepartment": {
            "type": "string",
            "description": "Om avdelingen",
            "nullable": true
          },
          "imageTimestamp": {
            "type": "string",
            "description": "Timestamp for standard bilde for denne avdeling. Bruk metode GetDepartmentPicture for å hente det faktiske bildet",
            "format": "date-time",
            "nullable": true
          },
          "isAPartOfAFranchise": {
            "type": "boolean",
            "description": "Er avdeling en del av en franchise",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = created (Opprettet)\r\n            \r\n\r\n2 = inProgress (Ordren behandles)\r\n            \r\n\r\n3 = interactionRequired (Ordren venter på tilbakemelding fra bruker/kunde)\r\n            \r\n\r\n4 = error (En feil har oppstått)\r\n            \r\n\r\n5 = cancelled (Avbrutt/Slettet)\r\n            \r\n\r\n6 = delivered (Ordre levert)\n\n1 = Created\n\n2 = InProgress\n\n3 = InteractionRequired\n\n4 = Error\n\n5 = Cancelled\n\n6 = Delivered",
        "format": "int32",
        "x-enumNames": [
          "Created",
          "InProgress",
          "InteractionRequired",
          "Error",
          "Cancelled",
          "Delivered"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "OrderStatusLine": {
        "required": [
          "changedDate",
          "orderStatus"
        ],
        "type": "object",
        "properties": {
          "orderStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderStatus"
              }
            ],
            "description": "Ordrestatus\n\n1 = Created\n\n2 = InProgress\n\n3 = InteractionRequired\n\n4 = Error\n\n5 = Cancelled\n\n6 = Delivered",
            "x-enumNames": [
              "Created",
              "InProgress",
              "InteractionRequired",
              "Error",
              "Cancelled",
              "Delivered"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "changedDate": {
            "type": "string",
            "description": "Tid for statusendring",
            "format": "date-time"
          },
          "url": {
            "type": "string",
            "description": "Lenke til ordresiden",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Melding til brukeren",
            "nullable": true
          },
          "urlCollection": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderStatusLink"
            },
            "description": "Ordrelenker",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatusLink": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Lenke med ordreinformasjon",
            "nullable": true
          },
          "urlRelation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderUrlRelation"
              }
            ],
            "description": "Relasjon\n\n0 = Undefined\n\n1 = Seller\n\n2 = Buyer\n\n3 = All\n\n4 = Broker",
            "x-enumNames": [
              "Undefined",
              "Seller",
              "Buyer",
              "All",
              "Broker"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "title": {
            "type": "string",
            "description": "Tekst",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "partnerReference": {
            "type": "string",
            "description": "Leverandørens referanse",
            "nullable": true
          },
          "data": {
            "type": "string",
            "description": "Data",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatusRequest": {
        "type": "object",
        "properties": {
          "urlCollection": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderStatusLink"
            },
            "description": "Liste med lenker. Vises i Kundeportalen, ikke i Next",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatusResponse": {
        "type": "object",
        "properties": {
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderStatusLine"
            },
            "description": "Liste med ordrestatus",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderUrlRelation": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = undefined (Ikke definert)\r\n            \r\n\r\n1 = seller (Selger)\r\n            \r\n\r\n2 = buyer (Kjøper)\r\n            \r\n\r\n3 = all (Alle)\r\n            \r\n\r\n4 = broker (Megler)\n\n0 = Undefined\n\n1 = Seller\n\n2 = Buyer\n\n3 = All\n\n4 = Broker",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Seller",
          "Buyer",
          "All",
          "Broker"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "OriginType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = NextInternal (Tips opprettet i Next som går til en annen megler eller avdeling i Next)\r\n            \r\n\r\n2 = External (Tips opprettet f.eks. på hjemmeside eller portal og som sendes inn til Next)\r\n            \r\n\r\n3 = FromBank (Tips fra bank som sendes til Next)\r\n            \r\n\r\n4 = ToBank (Tips til bank som er opprettet i Next eller på hjemmeside)\n\n1 = NextInternal\n\n2 = External\n\n3 = FromBank\n\n4 = ToBank",
        "format": "int32",
        "x-enumNames": [
          "NextInternal",
          "External",
          "FromBank",
          "ToBank"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "OutboundInvoice": {
        "type": "object",
        "properties": {
          "invoiceId": {
            "type": "string",
            "description": "Referanse til faktura",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdelingsid",
            "format": "int32"
          },
          "accountingFormattedAssignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OutboundInvoiceStatus"
              }
            ],
            "description": "Status\n\n0 = WaitingForTransfer\n\n1 = ReceivedByAccounting\n\n2 = Created\n\n3 = SentToCustomer\n\n6 = Removed\n\n7 = Settled\n\n8 = Failed",
            "x-enumNames": [
              "WaitingForTransfer",
              "ReceivedByAccounting",
              "Created",
              "SentToCustomer",
              "Removed",
              "Settled",
              "Failed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "brokerReference": {
            "type": "string",
            "description": "Vår ref",
            "nullable": true
          },
          "customerReference": {
            "type": "string",
            "description": "Deres ref",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "description": "Referansenummer",
            "nullable": true
          },
          "invoiceRecipient": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InvoiceRecipient"
              }
            ],
            "description": "Fakturamottaker",
            "nullable": true
          },
          "ledgerType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OutboundInvoiceLedgerType"
              }
            ],
            "description": "Kontotype\n\n1 = SellerClient\n\n2 = BuyerClient\n\n3 = SellerNonClient\n\n4 = BuyerNonClient\n\n5 = Customer",
            "x-enumNames": [
              "SellerClient",
              "BuyerClient",
              "SellerNonClient",
              "BuyerNonClient",
              "Customer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "customerLedger": {
            "type": "string",
            "description": "Reskontronummer, hvis kjent",
            "nullable": true
          },
          "invoiceLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutboundInvoiceLine"
            },
            "description": "Fakturalinjer",
            "nullable": true
          },
          "creditOfExternalReference": {
            "type": "string",
            "description": "Unik referanse til faktura som krediteres, kun verdi hvis kreditnota",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutboundInvoiceLedgerType": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = sellerClient (Reskontroserie for selgers klientansvar til oppdraget)\r\n            \r\n\r\n2 = buyerClient (Reskontroserie for kjøpers klientansvar til oppdraget)\r\n            \r\n\r\n3 = sellerNonClient (Reskontroserie for selger knyttet til oppdraget, men ikke klientansvar)\r\n            \r\n\r\n4 = buyerNonClient (Reskontroserie for kjøper knyttet til oppdraget, men ikke klientansvar)\r\n            \r\n\r\n5 = customer (Reskontroserie for generell kunde, hvis kunde må opprettes, kontroller contactId for å unngå duplikater)\n\n1 = SellerClient\n\n2 = BuyerClient\n\n3 = SellerNonClient\n\n4 = BuyerNonClient\n\n5 = Customer",
        "format": "int32",
        "x-enumNames": [
          "SellerClient",
          "BuyerClient",
          "SellerNonClient",
          "BuyerNonClient",
          "Customer"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "OutboundInvoiceLine": {
        "type": "object",
        "properties": {
          "postingId": {
            "type": "string",
            "description": "Id til posteringen",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "Produktkode",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "referanse til oppdrag",
            "nullable": true
          },
          "accountingFormattedAssignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "count": {
            "type": "number",
            "description": "Antall",
            "format": "double",
            "nullable": true
          },
          "unitAmount": {
            "type": "number",
            "description": "Beløp per enhet",
            "format": "double",
            "nullable": true
          },
          "vatPercent": {
            "type": "number",
            "description": "Mva prosent",
            "format": "double",
            "nullable": true
          },
          "userId": {
            "maxLength": 7,
            "minLength": 0,
            "type": "string",
            "description": "Referanse til bruker",
            "nullable": true
          },
          "generalLedger": {
            "type": "string",
            "description": "Forventet hovedbok",
            "nullable": true
          },
          "productName": {
            "type": "string",
            "description": "Produktnavn",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutboundInvoiceResponse": {
        "type": "object",
        "properties": {
          "invoices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutboundInvoice"
            },
            "description": "Fakturaer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutboundInvoiceStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          6,
          7,
          8
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = waitingForTransfer (Grunnlaget venter på overføring til regnskap)\r\n            \r\n\r\n1 = receivedByAccounting (Grunnlaget er mottatt)\r\n            \r\n\r\n2 = created (Opprettet som en faktura)\r\n            \r\n\r\n3 = sentToCustomer (Sendt til kunde)\r\n            \r\n\r\n6 = removed (Fjernet)\r\n            \r\n\r\n7 = settled (Oppgjort)\r\n            \r\n\r\n8 = failed (Feilet)\n\n0 = WaitingForTransfer\n\n1 = ReceivedByAccounting\n\n2 = Created\n\n3 = SentToCustomer\n\n6 = Removed\n\n7 = Settled\n\n8 = Failed",
        "format": "int32",
        "x-enumNames": [
          "WaitingForTransfer",
          "ReceivedByAccounting",
          "Created",
          "SentToCustomer",
          "Removed",
          "Settled",
          "Failed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "OutstandingDebtBalance": {
        "type": "object",
        "properties": {
          "balanceId": {
            "type": "string",
            "description": "Referanse til restgjeldsaldo",
            "nullable": true
          },
          "balanceAmount": {
            "type": "number",
            "description": "Saldo",
            "format": "double",
            "nullable": true
          },
          "balanceDate": {
            "type": "string",
            "description": "Per dato",
            "format": "date-time",
            "nullable": true
          },
          "contactName": {
            "type": "string",
            "description": "Kontaktperson",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OwnershipType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = owned (Eiet)\r\n            \r\n\r\n1 = cooprative (Andel)\r\n            \r\n\r\n2 = stock (Aksje)\r\n            \r\n\r\n3 = bond (Obligasjon)\r\n            \r\n\r\n4 = condominium (Eierseksjon)\n\n0 = Owned\n\n1 = Cooprative\n\n2 = Stock\n\n3 = Bond\n\n4 = Condominium",
        "format": "int32",
        "x-enumNames": [
          "Owned",
          "Cooprative",
          "Stock",
          "Bond",
          "Condominium"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "PageCategory": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = EstateDocuments (EstateDocuments)\r\n            \r\n\r\n1 = EstateImages (EstateImages)\r\n            \r\n\r\n2 = EstateOverview (EstateOverview)\r\n            \r\n\r\n3 = EstateOrders (EstateOrders)\r\n            \r\n\r\n4 = EstateBidJournal (EstateBidJournal)\r\n            \r\n\r\n5 = ContactOverview (ContactOverview)\r\n            \r\n\r\n6 = ContactSearchProfile (ContactSearchProfile)\r\n            \r\n\r\n7 = ContactOwnership (ContactOwnership)\r\n            \r\n\r\n8 = ContactDocuments (ContactDocuments)\r\n            \r\n\r\n9 = ContactBasicInformation (ContactBasicInformation)\r\n            \r\n\r\n10 = EstateStakeholders (EstateStakeholders)\r\n            \r\n\r\n11 = EstateInterests (EstateInterests)\r\n            \r\n\r\n12 = ProjectDocuments (ProjectDocuments)\r\n            \r\n\r\n13 = ProjectImages (ProjectImages)\r\n            \r\n\r\n14 = ProjectOverview (ProjectOverview)\r\n            \r\n\r\n15 = ProjectOrders (ProjectOrders)\r\n            \r\n\r\n16 = ProjectBidJournal (ProjectBidJournal)\r\n            \r\n\r\n17 = ProjectStakeholders (ProjectStakeholders)\r\n            \r\n\r\n18 = ProjectInterests (ProjectInterests)\r\n            \r\n\r\n19 = CommercialDocuments (CommercialDocuments)\r\n            \r\n\r\n20 = CommercialImages (CommercialImages)\r\n            \r\n\r\n21 = CommercialOverview (CommercialOverview)\r\n            \r\n\r\n22 = CommercialOrders (CommercialOrders)\r\n            \r\n\r\n23 = CommercialBidJournal (CommercialBidJournal)\r\n            \r\n\r\n24 = CommercialStakeholders (CommercialStakeholders)\r\n            \r\n\r\n25 = CommercialInterests (CommercialInterests)\r\n            \r\n\r\n26 = EstateMortgage (EstateMortgage)\r\n            \r\n\r\n27 = ProjectMortgage (ProjectMortgage)\r\n            \r\n\r\n28 = CommercialMortgage (CommercialMortgage)\n\n0 = EstateDocuments\n\n1 = EstateImages\n\n2 = EstateOverview\n\n3 = EstateOrders\n\n4 = EstateBidJournal\n\n5 = ContactOverview\n\n6 = ContactSearchProfile\n\n7 = ContactOwnership\n\n8 = ContactDocuments\n\n9 = ContactBasicInformation\n\n10 = EstateStakeholders\n\n11 = EstateInterests\n\n12 = ProjectDocuments\n\n13 = ProjectImages\n\n14 = ProjectOverview\n\n15 = ProjectOrders\n\n16 = ProjectBidJournal\n\n17 = ProjectStakeholders\n\n18 = ProjectInterests\n\n19 = CommercialDocuments\n\n20 = CommercialImages\n\n21 = CommercialOverview\n\n22 = CommercialOrders\n\n23 = CommercialBidJournal\n\n24 = CommercialStakeholders\n\n25 = CommercialInterests\n\n26 = EstateMortgage\n\n27 = ProjectMortgage\n\n28 = CommercialMortgage",
        "format": "int32",
        "x-enumNames": [
          "EstateDocuments",
          "EstateImages",
          "EstateOverview",
          "EstateOrders",
          "EstateBidJournal",
          "ContactOverview",
          "ContactSearchProfile",
          "ContactOwnership",
          "ContactDocuments",
          "ContactBasicInformation",
          "EstateStakeholders",
          "EstateInterests",
          "ProjectDocuments",
          "ProjectImages",
          "ProjectOverview",
          "ProjectOrders",
          "ProjectBidJournal",
          "ProjectStakeholders",
          "ProjectInterests",
          "CommercialDocuments",
          "CommercialImages",
          "CommercialOverview",
          "CommercialOrders",
          "CommercialBidJournal",
          "CommercialStakeholders",
          "CommercialInterests",
          "EstateMortgage",
          "ProjectMortgage",
          "CommercialMortgage"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ParkingFacility": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = wallSocket (Motorvarmer)\r\n            \r\n\r\n2 = charger (Ladestasjon)\r\n            \r\n\r\n3 = handicap (Handicap plass)\r\n            \r\n\r\n4 = heated (Oppvarmet)\n\n1 = WallSocket\n\n2 = Charger\n\n3 = Handicap\n\n4 = Heated",
        "format": "int32",
        "x-enumNames": [
          "WallSocket",
          "Charger",
          "Handicap",
          "Heated"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ParkingStatus": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = vacant (Ledig)\r\n            \r\n\r\n2 = reserved (Reservert)\r\n            \r\n\r\n3 = sold (Solgt)\r\n            \r\n\r\n4 = soldSeparately (Eget salgsoppdrag)\n\n1 = Vacant\n\n2 = Reserved\n\n3 = Sold\n\n4 = SoldSeparately",
        "format": "int32",
        "x-enumNames": [
          "Vacant",
          "Reserved",
          "Sold",
          "SoldSeparately"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ParkingType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ikke valgt)\r\n            \r\n\r\n1 = garage (Garasjeplass)\r\n            \r\n\r\n2 = parkingSpace (Utendørs reservert biloppstillingsplass)\r\n            \r\n\r\n3 = streetParking (Gateparkering)\r\n            \r\n\r\n4 = mc (Mc-parkering)\n\n0 = NotSet\n\n1 = Garage\n\n2 = ParkingSpace\n\n3 = StreetParking\n\n4 = Mc",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "Garage",
          "ParkingSpace",
          "StreetParking",
          "Mc"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ParkingUnit": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Parkeringsplass navn",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til prosjektenhet eller eget salgsoppdrag",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ParkingStatus"
              }
            ],
            "description": "Parkeringsstatus\n\n1 = Vacant\n\n2 = Reserved\n\n3 = Sold\n\n4 = SoldSeparately",
            "x-enumNames": [
              "Vacant",
              "Reserved",
              "Sold",
              "SoldSeparately"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ParkingType"
              }
            ],
            "description": "Parkeringstype\n\n0 = NotSet\n\n1 = Garage\n\n2 = ParkingSpace\n\n3 = StreetParking\n\n4 = Mc",
            "x-enumNames": [
              "NotSet",
              "Garage",
              "ParkingSpace",
              "StreetParking",
              "Mc"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "level": {
            "type": "integer",
            "description": "Plassering i plan",
            "format": "int32",
            "nullable": true
          },
          "facilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParkingFacility"
            },
            "description": "Fasiliteter",
            "nullable": true
          },
          "length": {
            "type": "number",
            "description": "Lengde",
            "format": "double",
            "nullable": true
          },
          "width": {
            "type": "number",
            "description": "Bredde",
            "format": "double",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "price": {
            "type": "number",
            "description": "Pris",
            "format": "double",
            "nullable": true
          },
          "taxbase": {
            "type": "number",
            "description": "Grunnlag for dokumentavgift",
            "format": "double",
            "nullable": true
          },
          "estimatedTax": {
            "type": "number",
            "description": "Estimert dokumentavgift",
            "format": "double",
            "nullable": true
          },
          "matrikkel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Matrikkel"
              }
            ],
            "description": "Matrikkelinformasjon",
            "nullable": true
          },
          "parkingId": {
            "type": "string",
            "description": "Referanse til parkeringsplass",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PartOwnership": {
        "type": "object",
        "properties": {
          "partName": {
            "type": "string",
            "description": "Navn på lag/selskap",
            "nullable": true
          },
          "partOrgNumber": {
            "type": "string",
            "description": "Organisasjonsnummer",
            "nullable": true
          },
          "partNumber": {
            "type": "integer",
            "description": "Andelsnummer",
            "format": "int32",
            "nullable": true
          },
          "estateHousingCooperativeStockHousingUnitNumber": {
            "type": "integer",
            "description": "Aksjeboenhetsnr",
            "format": "int32",
            "nullable": true
          },
          "partAbout": {
            "type": "string",
            "description": "Om boligselskapet (borettslaget, sameiet eller aksjeselskapet)",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt for lag/selskap",
            "nullable": true
          },
          "businessManagerContactId": {
            "type": "string",
            "description": "Referanse til forretningsfører/kontakt",
            "nullable": true
          },
          "preemptive": {
            "type": "string",
            "description": "Forkjøpsrett",
            "nullable": true
          },
          "animals": {
            "type": "string",
            "description": "Dyrehold",
            "nullable": true
          },
          "guaranteeFund": {
            "type": "string",
            "description": "Sikringsordning fellesgjeld",
            "nullable": true
          },
          "loanTermsCollectiveDebt": {
            "type": "string",
            "description": "Lånebetingelser fellesgjeld",
            "nullable": true
          },
          "accountingBudgeting": {
            "type": "string",
            "description": "Info regnskap/budsjett",
            "nullable": true
          },
          "amountYearsInstallmentFree": {
            "type": "string",
            "description": "Info antall år avdragsfrihet",
            "nullable": true
          },
          "boardApproval": {
            "type": "string",
            "description": "Info styregodkjennelse",
            "nullable": true
          },
          "changeOfOwnershipFee": {
            "type": "number",
            "description": "Eierskiftegebyr",
            "format": "double",
            "nullable": true
          },
          "deposit": {
            "type": "number",
            "description": "Innskudd",
            "format": "double",
            "nullable": true
          },
          "estateCorporationPartialBondNumber": {
            "type": "integer",
            "description": "Partialobligasjonsnummer",
            "format": "int32",
            "nullable": true
          },
          "estateCorporationPartialDenominatedBond": {
            "type": "number",
            "description": "Partialobligasjonsnummer pålydende beløp",
            "format": "double",
            "nullable": true
          },
          "interestGracePeriod": {
            "type": "string",
            "description": "Info rente etter avdragsfri periode",
            "nullable": true
          },
          "joinCostAfterGracePeriod": {
            "type": "string",
            "description": "Info felleskostnader etter avdragsfri periode",
            "nullable": true
          },
          "jointDebtDescription": {
            "type": "string",
            "description": "Info fellesgjeld",
            "nullable": true
          },
          "jointDebtInstallment": {
            "type": "string",
            "description": "Avdrag fellesgjeld",
            "nullable": true
          },
          "jointDebtInterest": {
            "type": "string",
            "description": "Rentekostnader fellesgjeld",
            "nullable": true
          },
          "preEmptiveDeadline": {
            "type": "string",
            "description": "Forkjøpsfrist",
            "format": "date-time",
            "nullable": true
          },
          "preEmptiveFee": {
            "type": "number",
            "description": "Forkjøpsrettsgebyr",
            "format": "double",
            "nullable": true
          },
          "residentCommitments": {
            "type": "string",
            "description": "Beboernes forpliktelser og dugnader",
            "nullable": true
          },
          "shareJointCapital": {
            "type": "number",
            "description": "Andel fellesformue",
            "format": "double",
            "nullable": true
          },
          "shareJointCapitalDate": {
            "type": "string",
            "description": "Andel fellesformue pr. dato",
            "format": "date-time",
            "nullable": true
          },
          "shareJointDebtToDate": {
            "type": "string",
            "description": "Andel fellesgjeld per dato",
            "format": "date-time",
            "nullable": true
          },
          "shareJointDebtYear": {
            "type": "integer",
            "description": "Andel fellesgjeld årstall",
            "format": "int32",
            "nullable": true
          },
          "statutes": {
            "type": "string",
            "description": "Info vedtekter/husordensregler",
            "nullable": true
          },
          "estateJointOwnershipFraction": {
            "type": "string",
            "description": "Sameiebrøk",
            "nullable": true
          },
          "estateHousingCooperativeStockNumber": {
            "type": "string",
            "description": "Aksjenummer",
            "nullable": true
          },
          "estateHousingCooperativeNominalStockValue": {
            "type": "number",
            "description": "Aksjens pålydende",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Plot": {
        "type": "object",
        "properties": {
          "owned": {
            "type": "boolean",
            "description": "Er tomten eiet? (I motsetning til festet)",
            "nullable": true
          },
          "size": {
            "type": "number",
            "description": "Tomtens størrelse",
            "format": "double",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse tomt",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostContactRelationRequest": {
        "required": [
          "contactRelationName"
        ],
        "type": "object",
        "properties": {
          "contactRelationName": {
            "minLength": 1,
            "type": "string",
            "description": "Kundespesifikt navn på kontaktrelasjon"
          },
          "source": {
            "type": "string",
            "description": "Kilde til endring hvis relasjonen endres",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostContactRoleRequest": {
        "type": "object",
        "properties": {
          "parentContactId": {
            "type": "string",
            "description": "Referanse til firma",
            "nullable": true
          },
          "childContactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "ownerPercentage": {
            "type": "number",
            "description": "Eierandel i prosent",
            "format": "double",
            "nullable": true
          },
          "typeId": {
            "type": "string",
            "description": "Referanse til kontaktrolletypen i Next",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "Gyldig fra",
            "format": "date-time",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "Gyldig til",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostContactRoleResponse": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "description": "Referanse til firmakontaktrollen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstateBidBidder": {
        "required": [
          "address",
          "emailAddress",
          "firstName",
          "identificationNumber",
          "lastName",
          "mobilePhone",
          "postalArea",
          "postalCode"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Budgivers fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Budgivers etternavn"
          },
          "mobilePhone": {
            "maxLength": 31,
            "minLength": 5,
            "type": "string",
            "description": "Budgivers mobiltelefon"
          },
          "emailAddress": {
            "maxLength": 63,
            "minLength": 5,
            "type": "string",
            "description": "Budgivers epostadresse"
          },
          "identificationNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Budgivers fødselsnummer"
          },
          "address": {
            "minLength": 1,
            "type": "string",
            "description": "Budgivers adresse"
          },
          "postalCode": {
            "minLength": 1,
            "type": "string",
            "description": "Budgivers postnummer"
          },
          "postalArea": {
            "minLength": 1,
            "type": "string",
            "description": "Budgivers poststed"
          },
          "representsCompany": {
            "type": "boolean",
            "description": "Om budet er fra et firma eller ikke"
          },
          "orgName": {
            "type": "string",
            "description": "Firmanavn. Påkrevd dersom budet er fra et firma",
            "nullable": true
          },
          "orgNumber": {
            "type": "string",
            "description": "Organisasjonsnummer. Påkrevd dersom budet er fra et firma",
            "nullable": true
          },
          "companyCertificates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstateBidBidderCompanyDocument"
            },
            "description": "Firmaattest, registerutskrift, fullmakt eller lignende. Påkrevd dersom budet er fra et firma",
            "nullable": true
          },
          "otherCompanyDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstateBidBidderCompanyDocument"
            },
            "description": "Øvrige vedlegg. Vedlegg dersom budet er fra et firma",
            "nullable": true
          },
          "isProfessionalBidder": {
            "type": "boolean",
            "description": "Er budet fra en profesjonell budgiver? Hvis budet er fra et firma regnes budgiver som profesjonell"
          }
        },
        "additionalProperties": false
      },
      "PostEstateBidBidderCompanyDocument": {
        "required": [
          "documentBytesBase64",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "filnavn"
          },
          "documentBytesBase64": {
            "minLength": 1,
            "type": "string",
            "description": "fil-innhold (base64-kodet)"
          }
        },
        "additionalProperties": false
      },
      "PostEstateBidFinance": {
        "required": [
          "equity",
          "loanAmount"
        ],
        "type": "object",
        "properties": {
          "bank": {
            "type": "string",
            "description": "Bank",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          },
          "contactPersonEmail": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Kontaktperson E-post",
            "nullable": true
          },
          "contactPersonName": {
            "type": "string",
            "description": "Kontaktperson navn",
            "nullable": true
          },
          "contactPersonPhone": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Kontaktperson telefonnummer",
            "nullable": true
          },
          "equity": {
            "type": "number",
            "description": "Egenkapital",
            "format": "double"
          },
          "loanAmount": {
            "type": "number",
            "description": "Lånebeløp",
            "format": "double"
          },
          "financeOrgNumber": {
            "maxLength": 24,
            "minLength": 0,
            "type": "string",
            "description": "Finansieringsinstitusjonens organisasjonsnummer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstateBidRequest": {
        "required": [
          "amount",
          "bidders",
          "expires",
          "finance",
          "pdfDocumentBytesBase64"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "description": "Budbeløp",
            "format": "double"
          },
          "expires": {
            "type": "string",
            "description": "Akseptfrist",
            "format": "date-time"
          },
          "reservations": {
            "type": "string",
            "description": "Forbehold",
            "nullable": true
          },
          "wantedTakeover": {
            "type": "string",
            "description": "Ønsket overtakelse",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Kilde. Angir navn på applikasjon som sender inn budet.",
            "nullable": true
          },
          "finance": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstateBidFinance"
              }
            ],
            "description": "Finansieringsinformasjon"
          },
          "bidders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstateBidBidder"
            },
            "description": "Budgiver(e)"
          },
          "pdfDocumentBytesBase64": {
            "minLength": 1,
            "type": "string",
            "description": "Signert buddokumentasjon (base64-kodet pdf)"
          }
        },
        "additionalProperties": false
      },
      "PostEstateMortgageRequest": {
        "type": "object",
        "properties": {
          "matrikkel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MortgageMatrikkel"
              }
            ],
            "description": "Matrikkelinformasjon. For oppdrag med eierform \"Eiet\" og \"Eierseksjon\" må matrikkel angis med kommune-, gårds-, bruks-, seksjons- og festenummer. For oppdrag med eierform \"Andel\" må matrikkel angis med borettslagets organisasjons- og andelsnummer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstateMortgageResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Status for håndtering av oppdateringen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstateRequest": {
        "required": [
          "ownershipType",
          "postalArea",
          "postalCode",
          "streetAddress"
        ],
        "type": "object",
        "properties": {
          "streetAddress": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "description": "Gateadresse"
          },
          "postalCode": {
            "maxLength": 15,
            "minLength": 1,
            "type": "string",
            "description": "Postnummer"
          },
          "postalArea": {
            "maxLength": 31,
            "minLength": 1,
            "type": "string",
            "description": "Poststed"
          },
          "ownershipType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OwnershipType"
              }
            ],
            "description": "Eierform\n\n0 = Owned\n\n1 = Cooprative\n\n2 = Stock\n\n3 = Bond\n\n4 = Condominium",
            "x-enumNames": [
              "Owned",
              "Cooprative",
              "Stock",
              "Bond",
              "Condominium"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "areaId": {
            "type": "string",
            "description": "Referanse til område. Liste over områder kan hentes med funksjonen GET {installationId}/Next/Areas",
            "nullable": true
          },
          "estateTypeId": {
            "type": "string",
            "description": "Referanse til objektstype. Liste over objektstyper kan hentes med funksjonen GET {installationId}/Next/EstateTypes",
            "nullable": true
          },
          "assignmentTypeId": {
            "type": "string",
            "description": "Referanse til oppdragstype. Liste over oppdragstyper kan hentes med funksjonen GET {installationId}/Next/AssignmentTypes",
            "nullable": true
          },
          "sellers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller"
            },
            "description": "Liste over selgere",
            "nullable": true
          },
          "callbackUrl": {
            "type": "string",
            "description": "Lenke som anropes når oppdraget er laget, krever HTTPS. Det er ingen retryfunksjon på anropet",
            "nullable": true
          },
          "shareNumber": {
            "type": "integer",
            "description": "Andelsnummer",
            "format": "int32"
          },
          "sectionNumber": {
            "type": "integer",
            "description": "Seksjonnummer",
            "format": "int32"
          },
          "originTypeId": {
            "type": "string",
            "description": "Referanse til type for 'kilde for henvendelse'. Liste over typer kan hentes med funksjonen GET {installationId}/Next/OriginTypes",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstateResponse": {
        "type": "object",
        "properties": {
          "link": {
            "type": "string",
            "description": "Lenke til Next som starter guiden for å opprette oppdrag",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget som senere vil bli opprettet",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesAmlRequest": {
        "type": "object",
        "properties": {
          "amlContactRelation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AmlContactRelation"
              }
            ],
            "description": "Anti Money Laundering (AML) for kontaktrelasjon",
            "nullable": true
          },
          "amlEstate": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AmlEstate"
              }
            ],
            "description": "Anti Money Laundering (AML) for oppdrag",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesAmlResponse": {
        "type": "object",
        "properties": {
          "postEstatesAmlResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstatesAmlResult"
            },
            "description": "Samlet resultat for lagring av Anti Money Laundering (AML)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesAmlResult": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Referanse til type data",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Referanse til lagret data, enten estateId eller contactId med relasjon og evt. kontaktrolleid",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Status for håndtering av data",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesBudgetPost": {
        "type": "object",
        "properties": {
          "productTag": {
            "type": "string",
            "description": "Tag til posteringskode",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "description": "Beløp inkl mva",
            "format": "double"
          },
          "description": {
            "maxLength": 127,
            "minLength": 0,
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetPostStatusChange"
              }
            ],
            "description": "Status på budsjettpost\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesBudgetPostDelete": {
        "type": "object",
        "properties": {
          "budgetPostId": {
            "type": "string",
            "description": "Referanse til budsjettpost",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesBudgetPostRequest": {
        "required": [
          "productTag"
        ],
        "type": "object",
        "properties": {
          "productTag": {
            "minLength": 1,
            "type": "string",
            "description": "Tag til posteringskode"
          },
          "externalId": {
            "type": "string",
            "description": "Ekstern id til gjenfinning av budsjettpost",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "description": "Bruttobeløp",
            "format": "double",
            "nullable": true
          },
          "description": {
            "maxLength": 127,
            "minLength": 0,
            "type": "string",
            "description": "Beskrivelse av kostnad",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetPostStatusChange"
              }
            ],
            "description": "Status på budsjettpost\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted",
            "x-enumNames": [
              "Unknown",
              "Draft",
              "Agreed",
              "Posted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PostEstatesBudgetPostResponse": {
        "type": "object",
        "properties": {
          "budgetPostId": {
            "type": "string",
            "description": "Referanse til budsjettpost",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetPostStatusChange"
              }
            ],
            "description": "Status på budsjettpost\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted",
            "x-enumNames": [
              "Unknown",
              "Draft",
              "Agreed",
              "Posted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PostEstatesBudgetPostUpdate": {
        "type": "object",
        "properties": {
          "budgetPostId": {
            "type": "string",
            "description": "Referanse til budsjettpost",
            "nullable": true
          },
          "budgetPost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstatesBudgetPost"
              }
            ],
            "description": "Budsjettpostinformasjon",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesCommissionFixedPrice": {
        "type": "object",
        "properties": {
          "fixedPriceCommission": {
            "type": "number",
            "description": "Fastpris beløp inkl mva",
            "format": "double",
            "nullable": true
          },
          "fixedPriceIncludes": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Fastpris inkluderer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesCommissionHourly": {
        "type": "object",
        "properties": {
          "pricePerHour": {
            "type": "number",
            "description": "Timepris inkl mva",
            "format": "double",
            "nullable": true
          },
          "hourSumPreparations": {
            "type": "number",
            "description": "Estimert antall timer for salgsforberedelser",
            "format": "double",
            "nullable": true
          },
          "hourSumViewings": {
            "type": "number",
            "description": "Estimert antall timer for visninger",
            "format": "double",
            "nullable": true
          },
          "hourSumBids": {
            "type": "number",
            "description": "Estimert antall timer for budgivning",
            "format": "double",
            "nullable": true
          },
          "hourSumContract": {
            "type": "number",
            "description": "Estimert antall timer for kontrakt",
            "format": "double",
            "nullable": true
          },
          "hourSumSettlement": {
            "type": "number",
            "description": "Estimert antall timer for oppgjør",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesCommissionPercent": {
        "type": "object",
        "properties": {
          "percentCommission": {
            "type": "number",
            "description": "Provisjonssats inkl mva med prisantydning som provisjonsgrunnlag",
            "format": "double",
            "nullable": true
          },
          "percentMinimumCommission": {
            "type": "number",
            "description": "Minimumsprovisjon inkl mva",
            "format": "double",
            "nullable": true
          },
          "percentCommonDebtIncluded": {
            "type": "boolean",
            "description": "Fellesgjeld inkludert i provisjonsgrunnlaget",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesCommissionRequest": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstatesCommissionType"
              }
            ],
            "description": "Vederlagstype\n\n1 = Percent\n\n2 = FixedPrice\n\n3 = Hourly",
            "x-enumNames": [
              "Percent",
              "FixedPrice",
              "Hourly"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "salesPriceEstimate": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double",
            "nullable": true
          },
          "percent": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstatesCommissionPercent"
              }
            ],
            "description": "Avtalt vederlagstype provisjon",
            "nullable": true
          },
          "fixedPrice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstatesCommissionFixedPrice"
              }
            ],
            "description": "Avtalt vederlagstype fastpris",
            "nullable": true
          },
          "hourly": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstatesCommissionHourly"
              }
            ],
            "description": "Avtalt vederlagstype timebasert",
            "nullable": true
          },
          "commissionSplits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommissionSplit"
            },
            "description": "Provisjonssplitt",
            "nullable": true
          },
          "createBudgetPosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstatesBudgetPost"
            },
            "description": "Budsjettposter som skal opprettes",
            "nullable": true
          },
          "updateBudgetPosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstatesBudgetPostUpdate"
            },
            "description": "Budsjettposter som skal endres",
            "nullable": true
          },
          "deleteBudgetPosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstatesBudgetPostDelete"
            },
            "description": "Budsjettposter som skal slettes",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesCommissionResponse": {
        "type": "object",
        "properties": {
          "commissionType": {
            "type": "string",
            "description": "Vederlagstype som tekst",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesCommissionType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = percent (Provisjon)\r\n            \r\n\r\n2 = fixedPrice (Fastpris)\r\n            \r\n\r\n3 = hourly (Timebasert)\n\n1 = Percent\n\n2 = FixedPrice\n\n3 = Hourly",
        "format": "int32",
        "x-enumNames": [
          "Percent",
          "FixedPrice",
          "Hourly"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "PostEstatesContactIdentificationResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Status for håndtering av oppdateringen med referanse til kontakten med lagret identifikasjon",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesDataRequest": {
        "type": "object",
        "properties": {
          "textFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TextField"
            },
            "description": "Tekstfelter",
            "nullable": true
          },
          "intFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntField"
            },
            "description": "Heltallsfelter",
            "nullable": true
          },
          "doubleFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DoubleField"
            },
            "description": "Desimaltallsfelter",
            "nullable": true
          },
          "boolFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BoolField"
            },
            "description": "Boolske felter",
            "nullable": true
          },
          "dateTimeFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DateTimeField"
            },
            "description": "Datofelter",
            "nullable": true
          },
          "enumFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnumField"
            },
            "description": "Enumfelter",
            "nullable": true
          },
          "areaFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AreaField"
            },
            "description": "Arealbeskrivelser. Alle arealbeskrivelser håndteres samlet og eksisterende arealbeskrivelser blir slettet",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesDataResponse": {
        "type": "object",
        "properties": {
          "postEstatesDataResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostEstatesDataResult"
            },
            "description": "Samlet resultat for håndtering av data",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesDataResult": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Referanse til type data",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Referanse til lagret data",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostEstatesDataStatus"
              }
            ],
            "description": "Status for håndtering av data\n\n0 = NotHandled\n\n1 = WaitingForDecision\n\n2 = Accepted\n\n3 = Denied\n\n4 = Rejected\n\n5 = MaxLengthExceededError\n\n6 = ValidationError\n\n7 = RuntimeError\n\n8 = Error",
            "x-enumNames": [
              "NotHandled",
              "WaitingForDecision",
              "Accepted",
              "Denied",
              "Rejected",
              "MaxLengthExceededError",
              "ValidationError",
              "RuntimeError",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "errorMessage": {
            "type": "string",
            "description": "Feilmelding",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesDataStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notHandled (Ikke håndtert)\r\n            \r\n\r\n1 = waitingForDecision (Venter på godkjennelse fra megler)\r\n            \r\n\r\n2 = accepted (Akseptert)\r\n            \r\n\r\n3 = denied (Mangler rettigheter til datafeltet)\r\n            \r\n\r\n4 = rejected (Ikke akseptert)\r\n            \r\n\r\n5 = maxLengthExceededError (Feilet med overskredet makslengde)\r\n            \r\n\r\n6 = validationError (Feilet med valideringsfeil)\r\n            \r\n\r\n7 = runtimeError (Feilet med runtimefeil)\r\n            \r\n\r\n8 = error (Annen feil)\n\n0 = NotHandled\n\n1 = WaitingForDecision\n\n2 = Accepted\n\n3 = Denied\n\n4 = Rejected\n\n5 = MaxLengthExceededError\n\n6 = ValidationError\n\n7 = RuntimeError\n\n8 = Error",
        "format": "int32",
        "x-enumNames": [
          "NotHandled",
          "WaitingForDecision",
          "Accepted",
          "Denied",
          "Rejected",
          "MaxLengthExceededError",
          "ValidationError",
          "RuntimeError",
          "Error"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "PostEstatesDepotRequest": {
        "required": [
          "group"
        ],
        "type": "object",
        "properties": {
          "group": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DepotDocumentGroup"
              }
            ],
            "description": "Depotdokumentgruppe\n\n1 = Pledge\n\n2 = OwnerChange",
            "x-enumNames": [
              "Pledge",
              "OwnerChange"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "published": {
            "type": "string",
            "description": "Tidspunkt for Tinglyst",
            "format": "date-time",
            "nullable": true
          },
          "removed": {
            "type": "string",
            "description": "Tidspunkt for Slettet, kan kun settes på dokumenter som tilhører gruppen Sikringspant",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesDepotResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Status for håndtering av oppdateringen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesLoanRequest": {
        "required": [
          "accountNumber",
          "loanNumber",
          "mortgageId"
        ],
        "type": "object",
        "properties": {
          "mortgageId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til gjeld"
          },
          "accountNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Kontonummer"
          },
          "loanNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Lånenummer"
          },
          "kid": {
            "type": "string",
            "description": "KID",
            "nullable": true
          },
          "mortgageStatusLogEventDescription": {
            "type": "string",
            "description": "Beskrivelse av hendelse til hendelsesloggen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesOutstandingDebtBalanceRequest": {
        "required": [
          "balanceAmount",
          "balanceDate",
          "loanId",
          "mortgageId"
        ],
        "type": "object",
        "properties": {
          "mortgageId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til gjeld"
          },
          "loanId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til lån"
          },
          "balanceAmount": {
            "type": "number",
            "description": "Restgjeldsaldo",
            "format": "double"
          },
          "balanceDate": {
            "type": "string",
            "description": "Dato for restgjeldsaldo",
            "format": "date-time"
          },
          "contactPersonName": {
            "type": "string",
            "description": "Kontaktpersonnavn for restgjeldsaldo",
            "nullable": true
          },
          "contactPersonPhone": {
            "type": "string",
            "description": "Kontaktpersons telefonnummer",
            "nullable": true
          },
          "contactPersonEmail": {
            "type": "string",
            "description": "Kontaktpersons E-post",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar til restgjeldsaldo",
            "nullable": true
          },
          "mortgageStatusLogEventDescription": {
            "type": "string",
            "description": "Beskrivelse av hendelse til hendelsesloggen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostEstatesOutstandingDebtBalanceResponse": {
        "type": "object",
        "properties": {
          "balanceId": {
            "type": "string",
            "description": "Referanse til restgjeld",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostOutboundInvoiceRequest": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "invoiceId": {
            "type": "string",
            "description": "Referanse til faktura",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "description": "Unik referanse til faktura",
            "nullable": true
          },
          "accountingFormattedAssignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OutboundInvoiceStatus"
              }
            ],
            "description": "Status\n\n0 = WaitingForTransfer\n\n1 = ReceivedByAccounting\n\n2 = Created\n\n3 = SentToCustomer\n\n6 = Removed\n\n7 = Settled\n\n8 = Failed",
            "x-enumNames": [
              "WaitingForTransfer",
              "ReceivedByAccounting",
              "Created",
              "SentToCustomer",
              "Removed",
              "Settled",
              "Failed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "customerLedger": {
            "type": "string",
            "description": "Kundereskontro",
            "nullable": true
          },
          "invoiceNumber": {
            "type": "string",
            "description": "Ordre- eller fakturanummer",
            "nullable": true
          },
          "restAmount": {
            "type": "number",
            "description": "Restbeløp",
            "format": "double",
            "nullable": true
          },
          "statusMessage": {
            "type": "string",
            "description": "Eventuell statusmelding, benyttes hvis faktura avvises",
            "nullable": true
          },
          "dueDate": {
            "type": "string",
            "description": "Forfallsdato",
            "format": "date-time",
            "nullable": true
          },
          "brokerReference": {
            "type": "string",
            "description": "Vår ref",
            "nullable": true
          },
          "customerReference": {
            "type": "string",
            "description": "Deres ref",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "description": "Referansenummer",
            "nullable": true
          },
          "kid": {
            "type": "string",
            "description": "Kid",
            "nullable": true
          },
          "invoiceRecipient": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InvoiceRecipient"
              }
            ],
            "description": "Fakturamottaker",
            "nullable": true
          },
          "invoiceLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutboundInvoiceLine"
            },
            "description": "Fakturalinjer",
            "nullable": true
          },
          "creditOfExternalReference": {
            "type": "string",
            "description": "Unik referanse til faktura som krediteres, skal kun ha verdi for kreditnota",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostOutboundInvoiceResponse": {
        "type": "object",
        "properties": {
          "invoiceId": {
            "type": "string",
            "description": "Referanse til faktura",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostalCodesAndAreas": {
        "type": "object",
        "properties": {
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "postalArea": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostingInputData": {
        "required": [
          "externalReference"
        ],
        "type": "object",
        "properties": {
          "postingId": {
            "type": "string",
            "description": "Id til posteringen",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdelingsid",
            "format": "int32",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 63,
            "minLength": 7,
            "type": "string",
            "description": "Unik referanse til posteringen fra eksternt system. Dersom postering stammer fra Hub må dette være samme referanse som gitt i status kall"
          },
          "voucherNumber": {
            "type": "integer",
            "description": "Bilagsnummer",
            "format": "int32",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "Produktkode",
            "nullable": true
          },
          "voucherLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VoucherLine"
            },
            "description": "Posteringslinjer",
            "nullable": true
          },
          "postAsDraft": {
            "type": "boolean",
            "description": "Deprecated. Opprett som kladd. For å opprette som kladd kan voucherLines kun inneholde en kredit og en debetføring",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Referanse til bruker. Lagres kun ved ny postering. Ved blank settes Megler 1 fra oppdraget",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostingOutputData": {
        "type": "object",
        "properties": {
          "postingId": {
            "type": "string",
            "description": "Id til posteringen",
            "nullable": true
          },
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap",
            "nullable": true
          },
          "externalReferance": {
            "type": "string",
            "description": "Referanse til posteringen fra eksternt system",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Id til oppdrag",
            "nullable": true
          },
          "voucherLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VoucherLine"
            },
            "description": "Posteringslinjer, posteringer fra systemet inneholder en kredit og en debetføring",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "Produktkode",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "userId": {
            "type": "string",
            "description": "Referanse til bruker",
            "nullable": true
          },
          "voucherNumber": {
            "type": "integer",
            "description": "Bilagsnummer",
            "format": "int32"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountingSettlementPostStatus"
              }
            ],
            "description": "Status\n\n0 = NotSet\n\n1 = Draft\n\n2 = Forward\n\n3 = Posted\n\n4 = Readback\n\n5 = RemitWaitingForCoSign\n\n6 = RemitWaitingForTransfer\n\n7 = RemitWaitingForPayment\n\n8 = RejectedRemit\n\n9 = RemitPayed\n\n10 = PostedToAccounting\n\n11 = Failed\n\n12 = ReadyForInvoice\n\n13 = Invoiced",
            "x-enumNames": [
              "NotSet",
              "Draft",
              "Forward",
              "Posted",
              "Readback",
              "RemitWaitingForCoSign",
              "RemitWaitingForTransfer",
              "RemitWaitingForPayment",
              "RejectedRemit",
              "RemitPayed",
              "PostedToAccounting",
              "Failed",
              "ReadyForInvoice",
              "Invoiced"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "remit": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Remitbase"
              }
            ],
            "description": "Remitering",
            "nullable": true
          },
          "transferBy": {
            "type": "string",
            "description": "Referanse til bruker som overført posteringen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostingRequest": {
        "type": "object",
        "properties": {
          "postings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostingInputData"
            },
            "description": "Liste med posteringer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostingResponse": {
        "type": "object",
        "properties": {
          "postings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostingOutputData"
            },
            "description": "Liste med posteringer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostingStatus": {
        "required": [
          "successfull"
        ],
        "type": "object",
        "properties": {
          "postingId": {
            "type": "string",
            "description": "Id til posteringen",
            "nullable": true
          },
          "successfull": {
            "type": "boolean",
            "description": "Henting av posteringen var vellykket"
          },
          "errorMessage": {
            "type": "string",
            "description": "Eventuell feilmelding",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Unik referanse fra eksternt system, vil kunne benyttes av systemet til å gjenkjenne bokførte transaksjoner av denne posteringer",
            "nullable": true
          },
          "voucherNumber": {
            "type": "integer",
            "description": "Bilagsnr",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostingStatusRequest": {
        "required": [
          "statuses"
        ],
        "type": "object",
        "properties": {
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostingStatus"
            },
            "description": "Liste med statusverdier"
          }
        },
        "additionalProperties": false
      },
      "PriceType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = notSet (Ingen pristype)\r\n            \r\n\r\n1 = fixedPrice (Fastpris)\r\n            \r\n\r\n2 = priceEstimate (Prisantydning)\n\n0 = NotSet\n\n1 = FixedPrice\n\n2 = PriceEstimate",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "FixedPrice",
          "PriceEstimate"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "PrivateContact": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "companyName": {
            "type": "string",
            "description": "Firmanavn",
            "nullable": true
          },
          "organisationNumber": {
            "type": "string",
            "description": "Orgnr",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "Fornavn",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Etternavn",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "description": "Tlf.nr mobil",
            "nullable": true
          },
          "privatePhone": {
            "type": "string",
            "description": "Tlf.nr privat",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "description": "Tlf.nr arbeid",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "socialSecurity": {
            "type": "string",
            "description": "Fødselsnummer (11-siffer)",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Besøksadresse",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "consents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Consent"
            },
            "description": "Samtykke",
            "nullable": true
          },
          "customerReview": {
            "type": "string",
            "description": "Kundeomtale",
            "nullable": true
          },
          "webSite": {
            "type": "string",
            "description": "Hjemmeside",
            "nullable": true
          },
          "ownerFraction": {
            "type": "string",
            "description": "Eierandel",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PrivateProxy": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Id til Contact som har fullmektig",
            "nullable": true
          },
          "isMainContact": {
            "type": "boolean",
            "description": "Er hovedkontakt",
            "nullable": true
          },
          "proxy": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PrivateContact"
              }
            ],
            "description": "Fullmektig",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeAccount": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "description": "Konto",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeFilterAssignmentTypeOptions": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Beskrivelse av valgte oppdragstyper",
            "nullable": true
          },
          "selectedAssignmentTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Valgte oppdragstyper",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeFilterDepartmentOptions": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Beskrivelse av valgte avdelinger",
            "nullable": true
          },
          "selectedDepartments": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Valgte avdelinger",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeFilterObjectTypeOptions": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Beskrivelse av valgte objektstyper",
            "nullable": true
          },
          "selectedObjectTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Valgte objektstyper",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeFilterOptions": {
        "type": "object",
        "properties": {
          "filterDepartmentOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeFilterDepartmentOptions"
              }
            ],
            "description": "Avdelinger",
            "nullable": true
          },
          "filterObjectTypeOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeFilterObjectTypeOptions"
              }
            ],
            "description": "Objektstype",
            "nullable": true
          },
          "filterOwnershipTypeOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeFilterOwnershipTypeOptions"
              }
            ],
            "description": "Eieform",
            "nullable": true
          },
          "filterAssignmentTypeOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductCodeFilterAssignmentTypeOptions"
              }
            ],
            "description": "Oppdragstype",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeFilterOwnershipTypeOptions": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Beskrivelse av valgte eieformer",
            "nullable": true
          },
          "selectedOwnershipTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OwnershipType"
            },
            "description": "Valgte eieformer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCodeGroup": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = commission (Vederlag)\r\n            \r\n\r\n2 = otherIncome (Andre inntekter)\r\n            \r\n\r\n3 = expenses (Utlegg)\r\n            \r\n\r\n4 = otherExpenses (Andre utgifter. Denne gruppen gjelder også dersom hovedbokskonto ikke er definert i klientinnstillingene)\n\n1 = Commission\n\n2 = OtherIncome\n\n3 = Expenses\n\n4 = OtherExpenses",
        "format": "int32",
        "x-enumNames": [
          "Commission",
          "OtherIncome",
          "Expenses",
          "OtherExpenses"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ProductCodeLinkType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = seller (Selger)\r\n            \r\n\r\n2 = buyer (Kjøper)\n\n1 = Seller\n\n2 = Buyer",
        "format": "int32",
        "x-enumNames": [
          "Seller",
          "Buyer"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ProductOrderLine": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "Referanse til ordren",
            "nullable": true
          },
          "productId": {
            "type": "string",
            "description": "Referanse til produktet",
            "nullable": true
          },
          "productName": {
            "type": "string",
            "description": "Produktnavn. Skal kun brukes for presentasjon, all logikk må gå mot productId da navnet kan endres uten varsel.",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget",
            "nullable": true
          },
          "estateStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Oppdragsstatus\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "orderStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderStatus"
              }
            ],
            "description": "Ordrestatus\n\n1 = Created\n\n2 = InProgress\n\n3 = InteractionRequired\n\n4 = Error\n\n5 = Cancelled\n\n6 = Delivered",
            "x-enumNames": [
              "Created",
              "InProgress",
              "InteractionRequired",
              "Error",
              "Cancelled",
              "Delivered"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "employeeId": {
            "type": "string",
            "description": "Referanse til bruker som har bestilt ordren",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Melding til brukeren",
            "nullable": true
          },
          "orderPlaced": {
            "type": "string",
            "description": "Opprettet",
            "format": "date-time"
          },
          "changedDate": {
            "type": "string",
            "description": "Tid for siste statusendring",
            "format": "date-time"
          },
          "urlCollection": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderStatusLink"
            },
            "description": "Ordrelenker",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductOrderResponse": {
        "type": "object",
        "properties": {
          "productOrderLine": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductOrderLine"
            },
            "description": "Liste med ordreinformasjon",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProjectObject": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "parentProjectId": {
            "type": "string",
            "description": "Referanse til prosjektet på nivået over, dersom det finnes",
            "nullable": true
          },
          "sellerId": {
            "type": "string",
            "description": "Referanse til kontakt og oppdragsgiver",
            "nullable": true
          },
          "projectName": {
            "type": "string",
            "description": "Prosjektnavn",
            "nullable": true
          },
          "assignmentNum": {
            "type": "string",
            "description": "Prosjekt oppdragsnummer",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Prosjekt oppdragsstatus\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "employeeId": {
            "type": "string",
            "description": "Ansvarlig megler",
            "nullable": true
          },
          "p12Garanti": {
            "type": "boolean",
            "description": "§12-garanti"
          },
          "p47Garanti": {
            "type": "boolean",
            "description": "§47-garanti"
          },
          "p12Due": {
            "type": "string",
            "description": "Frist for garantistillelse §12-garanti",
            "format": "date-time",
            "nullable": true
          },
          "p47Due": {
            "type": "string",
            "description": "Frist for garantistillelse §47-garanti",
            "format": "date-time",
            "nullable": true
          },
          "p12Belop": {
            "type": "number",
            "description": "§12-garanti beløp",
            "format": "double"
          },
          "p47Belop": {
            "type": "number",
            "description": "§47-garanti beløp",
            "format": "double"
          },
          "textFields": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProjectTextFields"
              }
            ],
            "description": "Tekstfelt tilhørende prosjekt",
            "nullable": true
          },
          "projectUnits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectUnit"
            },
            "description": "Prosjektenheter",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "description": "Opprettet dato",
            "format": "date-time",
            "nullable": true
          },
          "changedDate": {
            "type": "string",
            "description": "Endret dato",
            "format": "date-time",
            "nullable": true
          },
          "parkingUnits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParkingUnit"
            },
            "description": "Parkeringsenheter",
            "nullable": true
          },
          "developersReservationDueDate": {
            "type": "string",
            "description": "Utbyggers forbehold frist dato",
            "format": "date-time",
            "nullable": true
          },
          "developersReservationCompletedDate": {
            "type": "string",
            "description": "Utbyggers forbehold avklart dato",
            "format": "date-time",
            "nullable": true
          },
          "developersReservations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DevelopersReservation"
            },
            "description": "Utbyggers forbehold",
            "nullable": true
          },
          "currentProjectPhase": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProjectPhase"
              }
            ],
            "description": "Prosjektfase\n\n0 = Planning\n\n1 = SaleStart\n\n2 = BuildStart\n\n3 = MovingIn",
            "x-enumNames": [
              "Planning",
              "SaleStart",
              "BuildStart",
              "MovingIn"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "projectPhasePlanning": {
            "type": "string",
            "description": "Prosjektfase planlegging",
            "nullable": true
          },
          "projectPhaseSale": {
            "type": "string",
            "description": "Prosjektfase salgsstart",
            "nullable": true
          },
          "projectPhaseBuilding": {
            "type": "string",
            "description": "Prosjektfase byggestart",
            "nullable": true
          },
          "projectPhaseTakeover": {
            "type": "string",
            "description": "Prosjektfase innflytting",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProjectPhase": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = planning (Planlegging)\r\n            \r\n\r\n1 = saleStart (Salgsstart)\r\n            \r\n\r\n2 = buildStart (Byggestart)\r\n            \r\n\r\n3 = movingIn (Innflytting)\n\n0 = Planning\n\n1 = SaleStart\n\n2 = BuildStart\n\n3 = MovingIn",
        "format": "int32",
        "x-enumNames": [
          "Planning",
          "SaleStart",
          "BuildStart",
          "MovingIn"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ProjectRelation": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = ProjectMaster (ProjectMaster)\r\n            \r\n\r\n2 = ProjectUnit (ProjectUnit)\r\n            \r\n\r\n3 = NotProject (NotProject)\n\n1 = ProjectMaster\n\n2 = ProjectUnit\n\n3 = NotProject",
        "format": "int32",
        "x-enumNames": [
          "ProjectMaster",
          "ProjectUnit",
          "NotProject"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ProjectTextFields": {
        "type": "object",
        "properties": {
          "miscellaneous": {
            "type": "string",
            "description": "Generell orientering",
            "nullable": true
          },
          "commonArea": {
            "type": "string",
            "description": "Fellesareal i bygg",
            "nullable": true
          },
          "garageParking": {
            "type": "string",
            "description": "Garasje/parkering",
            "nullable": true
          },
          "booth": {
            "type": "string",
            "description": "Boder",
            "nullable": true
          },
          "completion": {
            "type": "string",
            "description": "Fremdriftsplan og ferdigstillelse",
            "nullable": true
          },
          "kitchen": {
            "type": "string",
            "description": "Kjøkken",
            "nullable": true
          },
          "bath": {
            "type": "string",
            "description": "Bad",
            "nullable": true
          },
          "recreationalRooms": {
            "type": "string",
            "description": "Andre oppholdsrom",
            "nullable": true
          },
          "wardrobe": {
            "type": "string",
            "description": "Garderobe-fasiliteter",
            "nullable": true
          },
          "construction": {
            "type": "string",
            "description": "Konstruksjon",
            "nullable": true
          },
          "facade": {
            "type": "string",
            "description": "Fasade",
            "nullable": true
          },
          "roofing": {
            "type": "string",
            "description": "Yttertak",
            "nullable": true
          },
          "balconyTerracePatio": {
            "type": "string",
            "description": "Balkonger/terrasser/Uteplass",
            "nullable": true
          },
          "stairs": {
            "type": "string",
            "description": "Trapper",
            "nullable": true
          },
          "elevators": {
            "type": "string",
            "description": "Heiser",
            "nullable": true
          },
          "ventilation": {
            "type": "string",
            "description": "Ventilasjon",
            "nullable": true
          },
          "sanitary": {
            "type": "string",
            "description": "Sanitær",
            "nullable": true
          },
          "fireSafety": {
            "type": "string",
            "description": "Brannsikring",
            "nullable": true
          },
          "doors": {
            "type": "string",
            "description": "Dører",
            "nullable": true
          },
          "surfaces": {
            "type": "string",
            "description": "Overflater og kledning",
            "nullable": true
          },
          "boothSolutions": {
            "type": "string",
            "description": "Bodløsninger",
            "nullable": true
          },
          "garageDoor": {
            "type": "string",
            "description": "Garasjeport",
            "nullable": true
          },
          "mailboxes": {
            "type": "string",
            "description": "Postkasser",
            "nullable": true
          },
          "doorPhone": {
            "type": "string",
            "description": "Porttelefon",
            "nullable": true
          },
          "cableTvBroadbandTelephone": {
            "type": "string",
            "description": "Kabel-TV/bredbånd/telefoni",
            "nullable": true
          },
          "electricalSystem": {
            "type": "string",
            "description": "EL-anlegg",
            "nullable": true
          },
          "organizationType": {
            "type": "string",
            "description": "Organisasjonsform",
            "nullable": true
          },
          "stipulatedMonthlyJointCosts": {
            "type": "string",
            "description": "Stipulerte felleskostnader",
            "nullable": true
          },
          "stipulatedShareJointDebt": {
            "type": "string",
            "description": "Stipulert andel fellesgjeld",
            "nullable": true
          },
          "pricing": {
            "type": "string",
            "description": "Prisinformasjon",
            "nullable": true
          },
          "financing": {
            "type": "string",
            "description": "Finansieringskontroll",
            "nullable": true
          },
          "saleOfContractPosition": {
            "type": "string",
            "description": "Salg av kontraktposisjoner",
            "nullable": true
          },
          "cancellations": {
            "type": "string",
            "description": "Avbestillinger",
            "nullable": true
          },
          "options": {
            "type": "string",
            "description": "Tilvalg og endringer",
            "nullable": true
          },
          "spaceCalculation": {
            "type": "string",
            "description": "Arealberegninger",
            "nullable": true
          },
          "paymentConditions": {
            "type": "string",
            "description": "Betalingsbetingelser",
            "nullable": true
          },
          "saleConditions": {
            "type": "string",
            "description": "Salgsbetingelser",
            "nullable": true
          },
          "buyingContract": {
            "type": "string",
            "description": "Kjøpekontrakt",
            "nullable": true
          },
          "importantInformation": {
            "type": "string",
            "description": "Viktig informasjon",
            "nullable": true
          },
          "distinctReservations": {
            "type": "string",
            "description": "Særlige forbehold",
            "nullable": true
          },
          "aboutTheProject": {
            "type": "string",
            "description": "Om prosjektet",
            "nullable": true
          },
          "zoning": {
            "type": "string",
            "description": "Reguleringsplan og rammeavtale",
            "nullable": true
          },
          "guaranteeDescription": {
            "type": "string",
            "description": "Garantibeskrivelse",
            "nullable": true
          },
          "distinctReservationsComment": {
            "type": "string",
            "description": "Kommentar utbyggers forbehold",
            "nullable": true
          },
          "solarConditions": {
            "type": "string",
            "description": "Solforhold i prosjektområdet",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProjectUnit": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdrag",
            "nullable": true
          },
          "priceEstimate": {
            "type": "number",
            "description": "Prisantydning",
            "format": "double"
          },
          "usableArea": {
            "type": "number",
            "description": "BRA (Bruksareal). Boligens innvendige areal, målt til innsiden av omsluttende vegger.",
            "format": "double"
          },
          "primaryRoomArea": {
            "type": "number",
            "description": "P-ROM",
            "format": "double"
          },
          "descriptionItemAmountOfRooms": {
            "type": "integer",
            "description": "Rom",
            "format": "int32"
          },
          "floor": {
            "type": "integer",
            "description": "Etasje",
            "format": "int32",
            "nullable": true
          },
          "estateType": {
            "type": "string",
            "description": "Objektstype",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Prosjektenhetens status\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "purchaseCostsAmount": {
            "type": "number",
            "description": "Omkostning kjøpers beløp",
            "format": "double",
            "nullable": true
          },
          "rentPrMonth": {
            "type": "number",
            "description": "Felleskostnader",
            "format": "double",
            "nullable": true
          },
          "collectiveDebt": {
            "type": "number",
            "description": "Fellesgjeld",
            "format": "double",
            "nullable": true
          },
          "soldPrice": {
            "type": "number",
            "description": "Salgspris",
            "format": "double",
            "nullable": true
          },
          "soldDate": {
            "type": "string",
            "description": "Omsatt dato",
            "format": "date-time",
            "nullable": true
          },
          "reservedUntil": {
            "type": "string",
            "description": "Reservert inntil",
            "format": "date-time",
            "nullable": true
          },
          "apartmentNumber": {
            "type": "string",
            "description": "Leilighetsnummer",
            "nullable": true
          },
          "totalPrice": {
            "type": "number",
            "description": "Totalpris",
            "format": "double",
            "nullable": true
          },
          "priceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PriceType"
              }
            ],
            "description": "Pristype\n\n0 = NotSet\n\n1 = FixedPrice\n\n2 = PriceEstimate",
            "nullable": true
          },
          "highlighted": {
            "type": "boolean",
            "description": "Fremhevet i annonsesammenheng",
            "nullable": true
          },
          "assignmentNum": {
            "type": "string",
            "description": "Prosjektenhetens oppdragsnummer",
            "nullable": true
          },
          "grossArea": {
            "type": "number",
            "description": "BTA (Bruttoareal). Boligens areal inkl. yttervegger og ved leiligheter til senter av vegg mot nabo/fellesareal.",
            "format": "double",
            "nullable": true
          },
          "estateTypeId": {
            "type": "string",
            "description": "Referanse til objektstype",
            "nullable": true
          },
          "usableAreaI": {
            "type": "number",
            "description": "BRA-I",
            "format": "double",
            "nullable": true
          },
          "buildings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Building"
            },
            "description": "Bygninger",
            "nullable": true
          },
          "sumArea": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SumArea"
              }
            ],
            "description": "Sum arealer",
            "nullable": true
          },
          "facilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ObjectFacility"
            },
            "description": "Faciliteter",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Proxy": {
        "type": "object",
        "properties": {
          "proxyId": {
            "type": "string",
            "description": "ContactId til den fullmektige",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "description": "Id til Contact som har fullmektig",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutActivitiesDetailsRequest": {
        "type": "object",
        "properties": {
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PutActivityDetailsRequest"
            },
            "description": "Liste over aktiviteter som skal endres tidspunkt på",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutActivityDetailsRequest": {
        "required": [
          "activityId",
          "end",
          "start"
        ],
        "type": "object",
        "properties": {
          "activityId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til aktivitet"
          },
          "start": {
            "type": "string",
            "description": "Oppstart",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "description": "Avslutning. Aktivitet må avsluttes samme dag",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "PutConsent": {
        "required": [
          "changedDate",
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ConsentType"
              }
            ],
            "description": "Samtykketype\n\n0 = Valuation\n\n1 = Searchprofile\n\n2 = Financing\n\n3 = Keepmeinformed\n\n4 = Other",
            "x-enumNames": [
              "Valuation",
              "Searchprofile",
              "Financing",
              "Keepmeinformed",
              "Other"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "boolean",
            "description": "Samtykker"
          },
          "changedDate": {
            "type": "string",
            "description": "Dato for endring",
            "format": "date-time"
          },
          "changedBy": {
            "type": "string",
            "description": "Dersom verdien angis, må det være en gyldig brukerid i Next. Dersom det skal sendes samtykke-SMS ved at 'notifyContact' er satt, kan ikke 'changedBy' utelates",
            "nullable": true
          },
          "notifyContact": {
            "type": "boolean",
            "description": "Sender SMS om oppdatert samtykke dersom kunden har et mobilnummer registrert og dersom samtykke er endret i forhold til det som ligger lagret i Next. Dersom det skal sendes samtykke-SMS, må 'changedBy' være en gyldig bruker. Kostnaden ved å sende meldingen vil bli belastet avdelingen til den ansatte angitt i 'changedBy'"
          },
          "typeTag": {
            "type": "string",
            "description": "Referanse til kundespesifikk samtykketypetag, se GET {installationId}/Next/ConsentTypes for mulige tagverdier",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutContactRequest": {
        "required": [
          "contactType",
          "firstName",
          "lastName",
          "mobilePhone"
        ],
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt",
            "nullable": true
          },
          "socialSecurity": {
            "type": "string",
            "description": "Fødselsnummer (11-siffer)",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Avdeling",
            "format": "int32"
          },
          "contactType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              }
            ],
            "description": "Kontakttype\n\n0 = Person\n\n1 = Company",
            "x-enumNames": [
              "Person",
              "Company"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "minLength": 1,
            "type": "string",
            "description": "Tlf.nr mobil"
          },
          "privatePhone": {
            "type": "string",
            "description": "Tlf.nr privat",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "description": "Tlf.nr arbeid",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Besøksadresse",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "description": "Postadresse",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postnummer",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Poststed",
            "nullable": true
          },
          "citizenship": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Statsborgerskap, liste med ISO 31166-1 alpha-2 landkode",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutContactRoleRequest": {
        "type": "object",
        "properties": {
          "ownerPercentage": {
            "type": "number",
            "description": "Eierandel i prosent",
            "format": "double",
            "nullable": true
          },
          "typeId": {
            "type": "string",
            "description": "Referanse til kontaktrolletype i Next",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "Gyldig fra",
            "format": "date-time",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "Gyldig til",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutContactRoleResponse": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "description": "Referanse til firmakontaktrollen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutEstateContactBankAccountRequest": {
        "required": [
          "relationTypeGroup"
        ],
        "type": "object",
        "properties": {
          "relationTypeGroup": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactEstateRelationTypeGroup"
              }
            ],
            "description": "Relasjon\n\n1 = Seller\n\n2 = Buyer\n\n3 = Viewing\n\n4 = Bidder\n\n5 = Invoicee\n\n6 = OriginalBuyer\n\n7 = HousingCoop\n\n8 = LegalHolder\n\n9 = LegalIssuer\n\n10 = Mortagee\n\n11 = Proxy\n\n12 = Valuator\n\n13 = Manager\n\n14 = Interested\n\n15 = Match\n\n16 = LeaseHolder\n\n17 = Creditor\n\n18 = Debitor\n\n19 = LegalRepresentative\n\n20 = County\n\n21 = StateMaps\n\n22 = LandOwner\n\n23 = FormerOwner\n\n24 = Heir\n\n25 = SellersSpouse\n\n26 = AccountManagerSeller\n\n27 = AccountManagerBuyer",
            "x-enumNames": [
              "Seller",
              "Buyer",
              "Viewing",
              "Bidder",
              "Invoicee",
              "OriginalBuyer",
              "HousingCoop",
              "LegalHolder",
              "LegalIssuer",
              "Mortagee",
              "Proxy",
              "Valuator",
              "Manager",
              "Interested",
              "Match",
              "LeaseHolder",
              "Creditor",
              "Debitor",
              "LegalRepresentative",
              "County",
              "StateMaps",
              "LandOwner",
              "FormerOwner",
              "Heir",
              "SellersSpouse",
              "AccountManagerSeller",
              "AccountManagerBuyer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Account": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutEstateExpensePostRequest": {
        "required": [
          "expenseId",
          "productTag"
        ],
        "type": "object",
        "properties": {
          "expenseId": {
            "minLength": 1,
            "type": "string",
            "description": "Id til utlegget"
          },
          "productTag": {
            "minLength": 1,
            "type": "string",
            "description": "Tag til posteringskode"
          }
        },
        "additionalProperties": false
      },
      "PutEstateExpensePostResponse": {
        "required": [
          "expenseId",
          "message",
          "status"
        ],
        "type": "object",
        "properties": {
          "expenseId": {
            "minLength": 1,
            "type": "string",
            "description": "Id til utlegget"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateExpenseStatus"
              }
            ],
            "description": "Status på bokføring\n\n1 = Failed\n\n2 = Accepted\n\n3 = Posted",
            "x-enumNames": [
              "Failed",
              "Accepted",
              "Posted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "message": {
            "minLength": 1,
            "type": "string",
            "description": "Melding"
          }
        },
        "additionalProperties": false
      },
      "PutEstatesBudgetPostRequest": {
        "type": "object",
        "properties": {
          "budgetPostId": {
            "type": "string",
            "description": "Referanse til budsjettpost",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "description": "Ekstern id til gjenfinning av budsjettpost, kan brukes som et alternativ til budgetPostId",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "description": "Bruttobeløp",
            "format": "double",
            "nullable": true
          },
          "description": {
            "maxLength": 127,
            "minLength": 0,
            "type": "string",
            "description": "Beskrivelse av kostnad",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetPostStatusChange"
              }
            ],
            "description": "Status på budsjettpost\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted",
            "x-enumNames": [
              "Unknown",
              "Draft",
              "Agreed",
              "Posted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PutEstatesBudgetPostResponse": {
        "type": "object",
        "properties": {
          "budgetPostId": {
            "type": "string",
            "description": "Referanse til budsjettpost",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BudgetPostStatusChange"
              }
            ],
            "description": "Status på budsjettpost\n\n0 = Unknown\n\n1 = Draft\n\n2 = Agreed\n\n3 = Posted",
            "x-enumNames": [
              "Unknown",
              "Draft",
              "Agreed",
              "Posted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PutEstatesCheckListRequest": {
        "required": [
          "tag",
          "value"
        ],
        "type": "object",
        "properties": {
          "tag": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til sjekklistepunkt"
          },
          "value": {
            "type": "boolean",
            "description": "Avhuking av sjekklistepunkt"
          }
        },
        "additionalProperties": false
      },
      "PutEstatesLoanRequest": {
        "required": [
          "accountNumber",
          "loanId",
          "loanNumber",
          "mortgageId"
        ],
        "type": "object",
        "properties": {
          "mortgageId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til gjeld"
          },
          "accountNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Kontonummer"
          },
          "loanNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Lånenummer"
          },
          "kid": {
            "type": "string",
            "description": "KID",
            "nullable": true
          },
          "mortgageStatusLogEventDescription": {
            "type": "string",
            "description": "Beskrivelse av hendelse til hendelsesloggen",
            "nullable": true
          },
          "loanId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til lån"
          }
        },
        "additionalProperties": false
      },
      "PutEstatesMortgageResponse": {
        "type": "object",
        "properties": {
          "mortgageId": {
            "type": "string",
            "description": "Referanse til gjeld",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutEstatesMortgageStatusRequest": {
        "required": [
          "mortgageId",
          "mortgageStatus"
        ],
        "type": "object",
        "properties": {
          "mortgageId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til gjeld"
          },
          "mortgageStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PutMortgageStatus"
              }
            ],
            "description": "Status for gjeld\n\n1 = NonDigitalInteraction\n\n2 = MortgageCardUpdated\n\n3 = EmailResponse\n\n4 = MortgageDataUploadedInDocument\n\n5 = Error\n\n6 = LoanUpdated\n\n7 = OutstandingDebtBalanceUpdated\n\n8 = OutstandingDebtBalanceQuerySent\n\n9 = RedemptionBalanceRequestSent\n\n10 = LoanPaid\n\n11 = OtherCreditor",
            "x-enumNames": [
              "NonDigitalInteraction",
              "MortgageCardUpdated",
              "EmailResponse",
              "MortgageDataUploadedInDocument",
              "Error",
              "LoanUpdated",
              "OutstandingDebtBalanceUpdated",
              "OutstandingDebtBalanceQuerySent",
              "RedemptionBalanceRequestSent",
              "LoanPaid",
              "OtherCreditor"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "link": {
            "type": "string",
            "description": "URL for lenke til leverandørside",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutMortgageStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = nonDigitalInteraction (Samhandler ikke digitalt)\r\n            \r\n\r\n2 = mortgageCardUpdated (Pantekort oppdatert)\r\n            \r\n\r\n3 = emailResponse (Svar kommer i e-post)\r\n            \r\n\r\n4 = mortgageDataUploadedInDocument (Pantedata lastet opp som dokument)\r\n            \r\n\r\n5 = error (Feil)\r\n            \r\n\r\n6 = loanUpdated (Lån oppdatert)\r\n            \r\n\r\n7 = outstandingDebtBalanceUpdated (Restgjeldsaldo oppdatert)\r\n            \r\n\r\n8 = outstandingDebtBalanceQuerySent (Restgjeldforespørsel sendt)\r\n            \r\n\r\n9 = redemptionBalanceRequestSent (Innfrielsessaldoforespørsel sendt)\r\n            \r\n\r\n10 = loanPaid (Lån nedbetalt)\r\n            \r\n\r\n11 = otherCreditor (Annen kreditor)\n\n1 = NonDigitalInteraction\n\n2 = MortgageCardUpdated\n\n3 = EmailResponse\n\n4 = MortgageDataUploadedInDocument\n\n5 = Error\n\n6 = LoanUpdated\n\n7 = OutstandingDebtBalanceUpdated\n\n8 = OutstandingDebtBalanceQuerySent\n\n9 = RedemptionBalanceRequestSent\n\n10 = LoanPaid\n\n11 = OtherCreditor",
        "format": "int32",
        "x-enumNames": [
          "NonDigitalInteraction",
          "MortgageCardUpdated",
          "EmailResponse",
          "MortgageDataUploadedInDocument",
          "Error",
          "LoanUpdated",
          "OutstandingDebtBalanceUpdated",
          "OutstandingDebtBalanceQuerySent",
          "RedemptionBalanceRequestSent",
          "LoanPaid",
          "OtherCreditor"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "RelatedContacts": {
        "type": "object",
        "properties": {
          "sellers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over selgere",
            "nullable": true
          },
          "buyers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over kjøpere",
            "nullable": true
          },
          "proxies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Proxy"
            },
            "description": "Liste over fullmektiger på oppdraget",
            "nullable": true
          },
          "titleHolders": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over hjemmelshavere",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RelatedEstate": {
        "type": "object",
        "properties": {
          "estateId": {
            "type": "string",
            "description": "Referanse til relatert oppdrag",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateStatus"
              }
            ],
            "description": "Oppdragsstatus\n\n0 = Request\n\n1 = Preparation\n\n2 = ForSale\n\n3 = Sold\n\n4 = Reserved\n\n5 = Archived\n\n6 = Expired\n\n7 = Terminated",
            "x-enumNames": [
              "Request",
              "Preparation",
              "ForSale",
              "Sold",
              "Reserved",
              "Archived",
              "Expired",
              "Terminated"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "assignmentNum": {
            "type": "string",
            "description": "Oppdragsnummer",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "description": "Referanse til avdeling",
            "format": "int32"
          },
          "brokerIdWithRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerWithRoles"
            },
            "description": "Liste over meglere tilknyttet oppdraget",
            "nullable": true
          },
          "assignmentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssignmentTypeGroup"
              }
            ],
            "description": "Oppdragskategorigruppe\n\n0 = NotSet\n\n1 = Sale\n\n2 = Rent\n\n3 = Valuation\n\n4 = Settlement\n\n5 = ForeClosure\n\n6 = CommercialArea\n\n7 = ProjectSale\n\n8 = CommercialSale\n\n9 = CommercialRent\n\n10 = Administration",
            "x-enumNames": [
              "NotSet",
              "Sale",
              "Rent",
              "Valuation",
              "Settlement",
              "ForeClosure",
              "CommercialArea",
              "ProjectSale",
              "CommercialSale",
              "CommercialRent",
              "Administration"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "estateBaseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstateBaseType"
              }
            ],
            "description": "Grunntype\n\n0 = NotSet\n\n1 = Detached\n\n2 = Leisure\n\n3 = Business\n\n4 = Project\n\n5 = Plot\n\n-1 = Unknown",
            "x-enumNames": [
              "NotSet",
              "Detached",
              "Leisure",
              "Business",
              "Project",
              "Plot",
              "Unknown"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "soldDate": {
            "type": "string",
            "description": "Omsattdato",
            "format": "date-time",
            "nullable": true
          },
          "commissionAcceptedDate": {
            "type": "string",
            "description": "Oppdragsakseptdato",
            "format": "date-time",
            "nullable": true
          },
          "takeOverDate": {
            "type": "string",
            "description": "Overtakelsesdato",
            "format": "date-time",
            "nullable": true
          },
          "estatePrice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactEstatePrice"
              }
            ],
            "description": "Pris og kostnader (for salgsoppdrag)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Remit": {
        "type": "object",
        "properties": {
          "posting": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostingOutputData"
              }
            ],
            "description": "Posteringen som skal remiteres",
            "nullable": true
          },
          "remitMessage": {
            "type": "string",
            "description": "Melding",
            "nullable": true
          },
          "remitToAccount": {
            "type": "string",
            "description": "Til konto",
            "nullable": true
          },
          "remitToName": {
            "type": "string",
            "description": "Navn på mottaker",
            "nullable": true
          },
          "remitToAddress": {
            "type": "string",
            "description": "Mottakers adresse",
            "nullable": true
          },
          "remitToPostalCode": {
            "type": "string",
            "description": "Mottakers postnummer",
            "nullable": true
          },
          "remitToPostalArea": {
            "type": "string",
            "description": "Mottakers poststed",
            "nullable": true
          },
          "remitFromAccount": {
            "type": "string",
            "description": "Fra konto",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RemitStatus"
              }
            ],
            "description": "Status\n\n1 = Waiting\n\n2 = Exported\n\n3 = Done\n\n4 = Failed\n\n5 = Removed",
            "x-enumNames": [
              "Waiting",
              "Exported",
              "Done",
              "Failed",
              "Removed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "RemitResponse": {
        "type": "object",
        "properties": {
          "remits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Remit"
            },
            "description": "Liste over remiteringer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemitStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = waiting (Venter på overføring)\r\n            \r\n\r\n2 = exported (Eksportert)\r\n            \r\n\r\n3 = done (Fullført)\r\n            \r\n\r\n4 = failed (Feilet)\r\n            \r\n\r\n5 = removed (Slettet)\n\n1 = Waiting\n\n2 = Exported\n\n3 = Done\n\n4 = Failed\n\n5 = Removed",
        "format": "int32",
        "x-enumNames": [
          "Waiting",
          "Exported",
          "Done",
          "Failed",
          "Removed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "RemitStatusRequest": {
        "required": [
          "statuses"
        ],
        "type": "object",
        "properties": {
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemitTransferStatus"
            },
            "description": "Liste over statusverdier"
          }
        },
        "additionalProperties": false
      },
      "RemitTransferStatus": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "postingId": {
            "type": "string",
            "description": "Id til posteringen",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RemitStatus"
              }
            ],
            "description": "Status\n\n1 = Waiting\n\n2 = Exported\n\n3 = Done\n\n4 = Failed\n\n5 = Removed",
            "x-enumNames": [
              "Waiting",
              "Exported",
              "Done",
              "Failed",
              "Removed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "errorMessage": {
            "type": "string",
            "description": "Eventuell feilmelding",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Unik referanse fra eksternt system, vil kunne benyttes av systemet til å gjenkjenne bokførte transaksjoner av denne posteringer",
            "nullable": true
          },
          "voucherNumber": {
            "type": "integer",
            "description": "Bilagsnr på regnskapsføring",
            "format": "int32",
            "nullable": true
          },
          "postingIdLocked": {
            "type": "boolean",
            "description": "Id er låst og korrigering av betaling kan ikke mottas på samme id",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Remitbase": {
        "type": "object",
        "properties": {
          "remitMessage": {
            "type": "string",
            "description": "Melding",
            "nullable": true
          },
          "remitToAccount": {
            "type": "string",
            "description": "Til konto",
            "nullable": true
          },
          "remitToName": {
            "type": "string",
            "description": "Navn på mottaker",
            "nullable": true
          },
          "remitFromAccount": {
            "type": "string",
            "description": "Fra konto",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RemitStatus"
              }
            ],
            "description": "Status\n\n1 = Waiting\n\n2 = Exported\n\n3 = Done\n\n4 = Failed\n\n5 = Removed",
            "x-enumNames": [
              "Waiting",
              "Exported",
              "Done",
              "Failed",
              "Removed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "Rent": {
        "type": "object",
        "properties": {
          "rentPrMonth": {
            "type": "number",
            "description": "Felleskostnader",
            "format": "double",
            "nullable": true
          },
          "rentIncludes": {
            "type": "string",
            "description": "Felleskostnader inkluderer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RentalCost": {
        "type": "object",
        "properties": {
          "perYear": {
            "type": "number",
            "description": "Pris pr. år",
            "format": "double",
            "nullable": true
          },
          "perMonth": {
            "type": "number",
            "description": "Pris pr. måned",
            "format": "double",
            "nullable": true
          },
          "perWeek": {
            "type": "number",
            "description": "Pris pr. uke",
            "format": "double",
            "nullable": true
          },
          "perDay": {
            "type": "number",
            "description": "Pris pr. dag",
            "format": "double",
            "nullable": true
          },
          "deposit": {
            "type": "number",
            "description": "Depositumsbeløp",
            "format": "double",
            "nullable": true
          },
          "includes": {
            "type": "string",
            "description": "Leieprisen inkluderer",
            "nullable": true
          },
          "perQuarter": {
            "type": "number",
            "description": "Pris pr. kvartal",
            "format": "double",
            "nullable": true
          },
          "perSqmPerMonth": {
            "type": "number",
            "description": "Pris pr. kvm/mnd",
            "format": "double",
            "nullable": true
          },
          "perSqmPerYear": {
            "type": "number",
            "description": "Pris pr. kvm/år",
            "format": "double",
            "nullable": true
          },
          "rentIncludes": {
            "type": "string",
            "description": "Leiebeløp inkluderer",
            "nullable": true
          },
          "rentGuaranteeAmount": {
            "type": "number",
            "description": "Garantibeløp",
            "format": "double",
            "nullable": true
          },
          "rentGuaranteeAgreement": {
            "type": "string",
            "description": "Utleiers krav til sikkerhet",
            "nullable": true
          },
          "rentTermination": {
            "type": "string",
            "description": "Leieperiode og partenes oppsigelsesadgang",
            "nullable": true
          },
          "sublease": {
            "type": "string",
            "description": "Fremleie",
            "nullable": true
          },
          "tenantDuties": {
            "type": "string",
            "description": "Leietakers undersøkelsesplikt",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RentalTimeSpan": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Dato fra",
            "format": "date-time",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "Dato til",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalaryArticle": {
        "type": "object",
        "properties": {
          "articleId": {
            "type": "string",
            "description": "Lønnsartikkel id",
            "nullable": true
          },
          "articleName": {
            "type": "string",
            "description": "Lønnsartikkel navn",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaleItemType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = saleProperty (Salg av eiendom)\r\n            \r\n\r\n1 = saleCorporation (Salg av aksjeselskap)\n\n0 = SaleProperty\n\n1 = SaleCorporation",
        "format": "int32",
        "x-enumNames": [
          "SaleProperty",
          "SaleCorporation"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "SearchProfile": {
        "required": [
          "contactId",
          "searchProfileId"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SearchProfileType"
              }
            ],
            "description": "Søkeprofiltype\n\n1 = Normal\n\n2 = Commercial",
            "x-enumNames": [
              "Normal",
              "Commercial"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "expire": {
            "type": "string",
            "description": "Dato for søkeprofilens utløp, beregnes ut fra en standardverdi i Next hvis ikke angitt",
            "format": "date-time",
            "nullable": true
          },
          "assignmentTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Oppdragstyper",
            "nullable": true
          },
          "estateTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over objektstyper",
            "nullable": true
          },
          "districtIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over distriktnummer",
            "nullable": true
          },
          "postCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over postnummer",
            "nullable": true
          },
          "municipalityIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over kommunenummer",
            "nullable": true
          },
          "stateIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over fylkesnummer",
            "nullable": true
          },
          "polygons": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Coordinates"
              }
            },
            "description": "Liste over områder angitt i koordinater",
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Area"
            },
            "description": "Liste over arealer. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Notat på søket. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "contactPersonId": {
            "type": "string",
            "description": "Referanse til kontaktpersonen som vil motta varsler. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "priceMax": {
            "type": "number",
            "description": "Maksimumspris",
            "format": "double"
          },
          "priceMin": {
            "type": "number",
            "description": "Minimumspris",
            "format": "double"
          },
          "promMax": {
            "type": "number",
            "description": "Maksimum P-ROM",
            "format": "double"
          },
          "promMin": {
            "type": "number",
            "description": "Minimum P-ROM",
            "format": "double"
          },
          "plotSizeMax": {
            "type": "integer",
            "description": "Maksimumsstørrelse på tomt",
            "format": "int32"
          },
          "plotSizeMin": {
            "type": "integer",
            "description": "Minimumsstørrelse på tomt",
            "format": "int32"
          },
          "roomsMax": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Maksimum antall rom",
            "format": "int32"
          },
          "roomsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall rom",
            "format": "int32"
          },
          "floorsMax": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Maksimum antall etasjer",
            "format": "int32"
          },
          "floorsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall etasjer",
            "format": "int32"
          },
          "sleepsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall soverom",
            "format": "int32"
          },
          "bathsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall bad",
            "format": "int32"
          },
          "garage": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Garasje\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "lift": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Heis\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "balcony": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Balkong\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "ended": {
            "type": "boolean",
            "description": "Indikerer om søkeprofilen er utløpt"
          },
          "contactId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til kontakt"
          },
          "searchProfileId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til søkeprofil"
          },
          "modified": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "description": "Referanse til bruker som opprettet søkeprofilen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchProfileCreateRequest": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SearchProfileType"
              }
            ],
            "description": "Søkeprofiltype\n\n1 = Normal\n\n2 = Commercial",
            "x-enumNames": [
              "Normal",
              "Commercial"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "expire": {
            "type": "string",
            "description": "Dato for søkeprofilens utløp, beregnes ut fra en standardverdi i Next hvis ikke angitt",
            "format": "date-time",
            "nullable": true
          },
          "assignmentTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Oppdragstyper",
            "nullable": true
          },
          "estateTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over objektstyper",
            "nullable": true
          },
          "districtIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over distriktnummer",
            "nullable": true
          },
          "postCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over postnummer",
            "nullable": true
          },
          "municipalityIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over kommunenummer",
            "nullable": true
          },
          "stateIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over fylkesnummer",
            "nullable": true
          },
          "polygons": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Coordinates"
              }
            },
            "description": "Liste over områder angitt i koordinater",
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Area"
            },
            "description": "Liste over arealer. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Notat på søket. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "contactPersonId": {
            "type": "string",
            "description": "Referanse til kontaktpersonen som vil motta varsler. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "priceMax": {
            "type": "number",
            "description": "Maksimumspris",
            "format": "double"
          },
          "priceMin": {
            "type": "number",
            "description": "Minimumspris",
            "format": "double"
          },
          "promMax": {
            "type": "number",
            "description": "Maksimum P-ROM",
            "format": "double"
          },
          "promMin": {
            "type": "number",
            "description": "Minimum P-ROM",
            "format": "double"
          },
          "plotSizeMax": {
            "type": "integer",
            "description": "Maksimumsstørrelse på tomt",
            "format": "int32"
          },
          "plotSizeMin": {
            "type": "integer",
            "description": "Minimumsstørrelse på tomt",
            "format": "int32"
          },
          "roomsMax": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Maksimum antall rom",
            "format": "int32"
          },
          "roomsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall rom",
            "format": "int32"
          },
          "floorsMax": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Maksimum antall etasjer",
            "format": "int32"
          },
          "floorsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall etasjer",
            "format": "int32"
          },
          "sleepsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall soverom",
            "format": "int32"
          },
          "bathsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall bad",
            "format": "int32"
          },
          "garage": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Garasje\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "lift": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Heis\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "balcony": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Balkong\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "SearchProfileType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = Normal (Bolig)\r\n            \r\n\r\n2 = Commercial (Næring)\n\n1 = Normal\n\n2 = Commercial",
        "format": "int32",
        "x-enumNames": [
          "Normal",
          "Commercial"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "SearchProfileUpdateRequest": {
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SearchProfileType"
              }
            ],
            "description": "Søkeprofiltype\n\n1 = Normal\n\n2 = Commercial",
            "x-enumNames": [
              "Normal",
              "Commercial"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "expire": {
            "type": "string",
            "description": "Dato for søkeprofilens utløp, beregnes ut fra en standardverdi i Next hvis ikke angitt",
            "format": "date-time",
            "nullable": true
          },
          "assignmentTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Oppdragstyper",
            "nullable": true
          },
          "estateTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over objektstyper",
            "nullable": true
          },
          "districtIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over distriktnummer",
            "nullable": true
          },
          "postCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over postnummer",
            "nullable": true
          },
          "municipalityIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over kommunenummer",
            "nullable": true
          },
          "stateIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Liste over fylkesnummer",
            "nullable": true
          },
          "polygons": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Coordinates"
              }
            },
            "description": "Liste over områder angitt i koordinater",
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Area"
            },
            "description": "Liste over arealer. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Notat på søket. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "contactPersonId": {
            "type": "string",
            "description": "Referanse til kontaktpersonen som vil motta varsler. Gjelder søkeprofil for næring",
            "nullable": true
          },
          "priceMax": {
            "type": "number",
            "description": "Maksimumspris",
            "format": "double"
          },
          "priceMin": {
            "type": "number",
            "description": "Minimumspris",
            "format": "double"
          },
          "promMax": {
            "type": "number",
            "description": "Maksimum P-ROM",
            "format": "double"
          },
          "promMin": {
            "type": "number",
            "description": "Minimum P-ROM",
            "format": "double"
          },
          "plotSizeMax": {
            "type": "integer",
            "description": "Maksimumsstørrelse på tomt",
            "format": "int32"
          },
          "plotSizeMin": {
            "type": "integer",
            "description": "Minimumsstørrelse på tomt",
            "format": "int32"
          },
          "roomsMax": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Maksimum antall rom",
            "format": "int32"
          },
          "roomsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall rom",
            "format": "int32"
          },
          "floorsMax": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Maksimum antall etasjer",
            "format": "int32"
          },
          "floorsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall etasjer",
            "format": "int32"
          },
          "sleepsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall soverom",
            "format": "int32"
          },
          "bathsMin": {
            "maximum": 32767,
            "minimum": 0,
            "type": "integer",
            "description": "Minimum antall bad",
            "format": "int32"
          },
          "garage": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Garasje\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "lift": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Heis\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "balcony": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacilitiesOption"
              }
            ],
            "description": "Balkong\n\n1 = Wanted\n\n2 = NotWanted\n\n3 = NotSet",
            "x-enumNames": [
              "Wanted",
              "NotWanted",
              "NotSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "ended": {
            "type": "boolean",
            "description": "Indikerer om søkeprofilen er utløpt"
          }
        },
        "additionalProperties": false
      },
      "Seller": {
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Fornavn",
            "nullable": true
          },
          "lastName": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Etternavn",
            "nullable": true
          },
          "mobile": {
            "maxLength": 31,
            "minLength": 0,
            "type": "string",
            "description": "Mobilnummer",
            "nullable": true
          },
          "email": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "description": "Id til kontakt",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Showing": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Visningstidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Visning avsluttes tidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "showingId": {
            "type": "string",
            "description": "Referanse til visningen",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShowingDateType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = future (Visninger i dag og framover)\r\n            \r\n\r\n1 = all (Alle visninger)\n\n0 = Future\n\n1 = All",
        "format": "int32",
        "x-enumNames": [
          "Future",
          "All"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ShowingType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = showing (Ordinære visninger)\r\n            \r\n\r\n1 = privateShowing (Private visninger)\n\n0 = Showing\n\n1 = PrivateShowing",
        "format": "int32",
        "x-enumNames": [
          "Showing",
          "PrivateShowing"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "Showings": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Visningstidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Visning avsluttes tidspunkt",
            "format": "date-time",
            "nullable": true
          },
          "showingId": {
            "type": "string",
            "description": "Referanse til visningen",
            "nullable": true
          },
          "showingType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ShowingType"
              }
            ],
            "description": "Visningstype\n\n0 = Showing\n\n1 = PrivateShowing",
            "x-enumNames": [
              "Showing",
              "PrivateShowing"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "participantNumber": {
            "type": "integer",
            "description": "Antall påmeldte personer på visningen",
            "format": "int32"
          },
          "maxParticipantNumber": {
            "type": "integer",
            "description": "Maksimum antall personer på visningen samtidig",
            "format": "int32"
          },
          "slots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Slot"
            },
            "description": "Liste over tidsintervall i visningen",
            "nullable": true
          },
          "isCancelled": {
            "type": "boolean",
            "description": "Angir om visningen er avlyst eller ikke",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Signatory": {
        "type": "object",
        "properties": {
          "docSignatoryType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentSignatoryType"
              }
            ],
            "description": "Signeringstype, dvs. om signeringen er utført av kontakt eller megler\n\n0 = Contact\n\n1 = User",
            "x-enumNames": [
              "Contact",
              "User"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "signId": {
            "type": "string",
            "description": "Referanse til kontakt eller megler",
            "nullable": true
          },
          "signStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentSignatoryStatus"
              }
            ],
            "description": "Signeringsstatus\n\n0 = None\n\n10 = Pending\n\n20 = Aborted\n\n30 = Signed",
            "x-enumNames": [
              "None",
              "Pending",
              "Aborted",
              "Signed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "signUrl": {
            "type": "string",
            "description": "Signeringsurl, sendes kun når status er under signering",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Slot": {
        "type": "object",
        "properties": {
          "slotId": {
            "type": "string",
            "description": "Referanse til tidsintervall i visningen",
            "nullable": true
          },
          "start": {
            "type": "string",
            "description": "Starttid",
            "format": "date-time",
            "nullable": true
          },
          "end": {
            "type": "string",
            "description": "Sluttid",
            "format": "date-time",
            "nullable": true
          },
          "participantCount": {
            "type": "integer",
            "description": "Antall aktuelle deltakere i tidsintervallet",
            "format": "int32"
          },
          "participantLimit": {
            "type": "integer",
            "description": "Maksimum antall deltakere i tidsintervallet",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SumArea": {
        "type": "object",
        "properties": {
          "bra": {
            "type": "number",
            "description": "Sum BRA Bruksareal",
            "format": "double"
          },
          "braI": {
            "type": "number",
            "description": "Sum BRA-I Internt bruksareal",
            "format": "double"
          },
          "braE": {
            "type": "number",
            "description": "Sum BRA-E Eksternt bruksareal",
            "format": "double"
          },
          "braB": {
            "type": "number",
            "description": "Sum BRA-B Innglasset balkong",
            "format": "double"
          },
          "braS": {
            "type": "number",
            "description": "Sum BRA-S Salgbart bruksareal, brukes for næring",
            "format": "double"
          },
          "pRom": {
            "type": "number",
            "description": "Sum P-ROM Primærrom",
            "format": "double"
          },
          "tba": {
            "type": "number",
            "description": "Sum TBA Terrasse- og balkongareal/åpent areal",
            "format": "double"
          },
          "sRom": {
            "type": "number",
            "description": "Sum S-ROM Sekundærrom",
            "format": "double"
          },
          "bta": {
            "type": "number",
            "description": "Sum BTA Bruttoareal",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SumBudget": {
        "type": "object",
        "properties": {
          "numberOfSales": {
            "type": "integer",
            "description": "Budsjetterte salg",
            "format": "int32"
          },
          "income": {
            "type": "number",
            "description": "Budsjetterte inntekter",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TextField": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TextFieldType"
              }
            ],
            "description": "Tekstfelttype\n\n1 = AccountingBudgeting\n\n2 = AmountYearsInstallmentFree\n\n3 = Animals\n\n4 = BoardApproval\n\n5 = CommunityFee\n\n6 = ConstructionMethod\n\n7 = GuaranteeFund\n\n8 = InsuranceCompany\n\n9 = InsurancePolicy\n\n10 = JointCostAfterGracePeriod\n\n11 = JointDebtDescription\n\n12 = JointDebtInstallment\n\n13 = JointDebtInterest\n\n14 = LoanTermsCollectiveDebt\n\n15 = PartAbout\n\n16 = Preemptive\n\n17 = RentIncludes\n\n18 = ResidentCommitments\n\n19 = Statutes\n\n20 = ValuationType\n\n21 = PlotDescription\n\n22 = Standard\n\n23 = NonMeasurableAreas\n\n24 = CommonAreasAndRightsToUse\n\n25 = ValuatorCommentsToArea\n\n26 = DeleteDocument\n\n27 = SolarConditions\n\n28 = LocalAreaName\n\n29 = ApartmentNumber\n\n30 = RegulationOfLeaseExpense\n\n31 = LeasePeriod\n\n32 = RedemptionTerms\n\n33 = LocationDescription\n\n34 = Directions\n\n35 = NurserySchoolLeisure\n\n36 = SchoolDistrict\n\n37 = PublicTransport\n\n38 = SellersDeclaration\n\n39 = Heading\n\n40 = About\n\n41 = Contents\n\n42 = MovableProperty\n\n43 = WhiteGoods\n\n44 = RenovatedYear\n\n45 = Renovated\n\n46 = TvInternetBroadband\n\n47 = Parking\n\n48 = RadonMeasurement\n\n49 = Various\n\n50 = Heating\n\n51 = PowerConsumption\n\n52 = Energy\n\n53 = PropertyTaxInformation\n\n54 = AssetValueInformation\n\n55 = OtherFees\n\n56 = WelfareAssociation\n\n57 = WaterTaxInformation\n\n58 = LoanFinancingOffer\n\n59 = CompletionReport\n\n60 = RoadWaterSewage\n\n61 = RegulationAndAreaPlans\n\n62 = AccessToRental\n\n63 = PublicLawOrder\n\n64 = EasementsAndDeclarations\n\n65 = ProtectionClassSefrak\n\n66 = LegalPledge\n\n67 = CommentConcession\n\n68 = CommentLiveDuty\n\n69 = CommentManagementDuty\n\n70 = CommentPropertyRights\n\n71 = TakeOver\n\n72 = PurchaseCosts\n\n73 = HomeBuyerInsurance\n\n74 = Bidding\n\n75 = MoneyLaunderingRules\n\n76 = SalesProspectusAttachment\n\n77 = HomeSellerInsurance\n\n78 = EstateOfDeceased\n\n79 = OtherInsurances",
            "x-enumNames": [
              "AccountingBudgeting",
              "AmountYearsInstallmentFree",
              "Animals",
              "BoardApproval",
              "CommunityFee",
              "ConstructionMethod",
              "GuaranteeFund",
              "InsuranceCompany",
              "InsurancePolicy",
              "JointCostAfterGracePeriod",
              "JointDebtDescription",
              "JointDebtInstallment",
              "JointDebtInterest",
              "LoanTermsCollectiveDebt",
              "PartAbout",
              "Preemptive",
              "RentIncludes",
              "ResidentCommitments",
              "Statutes",
              "ValuationType",
              "PlotDescription",
              "Standard",
              "NonMeasurableAreas",
              "CommonAreasAndRightsToUse",
              "ValuatorCommentsToArea",
              "DeleteDocument",
              "SolarConditions",
              "LocalAreaName",
              "ApartmentNumber",
              "RegulationOfLeaseExpense",
              "LeasePeriod",
              "RedemptionTerms",
              "LocationDescription",
              "Directions",
              "NurserySchoolLeisure",
              "SchoolDistrict",
              "PublicTransport",
              "SellersDeclaration",
              "Heading",
              "About",
              "Contents",
              "MovableProperty",
              "WhiteGoods",
              "RenovatedYear",
              "Renovated",
              "TvInternetBroadband",
              "Parking",
              "RadonMeasurement",
              "Various",
              "Heating",
              "PowerConsumption",
              "Energy",
              "PropertyTaxInformation",
              "AssetValueInformation",
              "OtherFees",
              "WelfareAssociation",
              "WaterTaxInformation",
              "LoanFinancingOffer",
              "CompletionReport",
              "RoadWaterSewage",
              "RegulationAndAreaPlans",
              "AccessToRental",
              "PublicLawOrder",
              "EasementsAndDeclarations",
              "ProtectionClassSefrak",
              "LegalPledge",
              "CommentConcession",
              "CommentLiveDuty",
              "CommentManagementDuty",
              "CommentPropertyRights",
              "TakeOver",
              "PurchaseCosts",
              "HomeBuyerInsurance",
              "Bidding",
              "MoneyLaunderingRules",
              "SalesProspectusAttachment",
              "HomeSellerInsurance",
              "EstateOfDeceased",
              "OtherInsurances"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "minLength": 1,
            "type": "string",
            "description": "Tekstfeltverdi"
          }
        },
        "additionalProperties": false
      },
      "TextFieldType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = accountingBudgeting (Regnskap/budsjett/kostnadsøkninger (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n2 = amountYearsInstallmentFree (Avdragsfrie år (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n3 = animals (Husdyrhold (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n4 = boardApproval (Styregodkjennelse)\r\n            \r\n\r\n5 = communityFee (Kommentar kommunale avgifter)\r\n            \r\n\r\n6 = constructionMethod (Byggemåte)\r\n            \r\n\r\n7 = guaranteeFund (Sikringsordning fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n8 = insuranceCompany (Borettslagets forsikringsselskap. MaxLength(255) (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n9 = insurancePolicy (Polisenummer felles forsikring. MaxLength(255) (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n10 = jointCostAfterGracePeriod (Felleskostnader etter avdragsfri periode (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n11 = jointDebtDescription (Kommentar fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n12 = jointDebtInstallment (Avdrag fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n13 = jointDebtInterest (Rentekostnader fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n14 = loanTermsCollectiveDebt (Lånebetingelser fellesgjeld (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n15 = partAbout (Om boligselskapet (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n16 = preemptive (Forkjøpsrett (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n17 = rentIncludes (Felleskostnader inkluderer (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n18 = residentCommitments (Beboernes forpliktelser og dugnader (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n19 = statutes (Vedtekter/husordensregler (borettslag, sameie eller aksjeselskap))\r\n            \r\n\r\n20 = valuationType (Type rapport. Deprecated. Erstattet av enumFields f.eks. \"enumFields\": [{\"type\":1, \"reportType\":6}])\r\n            \r\n\r\n21 = plotDescription (Tomtebeskrivelse)\r\n            \r\n\r\n22 = standard (Standard)\r\n            \r\n\r\n23 = nonMeasurableAreas (Ikke målbare arealer)\r\n            \r\n\r\n24 = commonAreasAndRightsToUse (Fellesarealer og rettigheter til bruk)\r\n            \r\n\r\n25 = valuatorCommentsToArea (Bygningssakkyndiges kommentar til arealoppmåling)\r\n            \r\n\r\n26 = deleteDocument (Referanse til dokument som skal slettes)\r\n            \r\n\r\n27 = solarConditions (Solforhold for eiendom)\r\n            \r\n\r\n28 = localAreaName (Områdebenevnelse. MaxLength(40))\r\n            \r\n\r\n29 = apartmentNumber (Leilighetsnummer. MaxLength(15))\r\n            \r\n\r\n30 = regulationOfLeaseExpense (Regulering av festeavgift)\r\n            \r\n\r\n31 = leasePeriod (Festetid)\r\n            \r\n\r\n32 = redemptionTerms (Innløsningsvilkår festekontrakt)\r\n            \r\n\r\n33 = locationDescription (Beliggenhet)\r\n            \r\n\r\n34 = directions (Adkomst)\r\n            \r\n\r\n35 = nurserySchoolLeisure (Barnehage/skole/fritid)\r\n            \r\n\r\n36 = schoolDistrict (Skolekrets)\r\n            \r\n\r\n37 = publicTransport (Offentlig kommunikasjon)\r\n            \r\n\r\n38 = sellersDeclaration (Sammendrag selgers egenerklæring)\r\n            \r\n\r\n39 = heading (Overskrift. MaxLength(255))\r\n            \r\n\r\n40 = about (Kort om eiendommen)\r\n            \r\n\r\n41 = contents (Innhold)\r\n            \r\n\r\n42 = movableProperty (Innbo og løsøre)\r\n            \r\n\r\n43 = whiteGoods (Hvitevarer)\r\n            \r\n\r\n44 = renovatedYear (Modernisert/påkostet år)\r\n            \r\n\r\n45 = renovated (Moderniseringer og påkostninger)\r\n            \r\n\r\n46 = tvInternetBroadband (TV/Internett/Bredbånd)\r\n            \r\n\r\n47 = parking (Parkering)\r\n            \r\n\r\n48 = radonMeasurement (Radonmåling)\r\n            \r\n\r\n49 = various (Diverse)\r\n            \r\n\r\n50 = heating (Oppvarming)\r\n            \r\n\r\n51 = powerConsumption (Info strømforbruk)\r\n            \r\n\r\n52 = energy (Info energiklasse)\r\n            \r\n\r\n53 = propertyTaxInformation (Info eiendomsskatt)\r\n            \r\n\r\n54 = assetValueInformation (Info formuesverdi)\r\n            \r\n\r\n55 = otherFees (Andre avgifter)\r\n            \r\n\r\n56 = welfareAssociation (Velforening)\r\n            \r\n\r\n57 = waterTaxInformation (Info vannavgift)\r\n            \r\n\r\n58 = loanFinancingOffer (Tilbud på lånefinansering)\r\n            \r\n\r\n59 = completionReport (Ferdigattest/brukstillatelse)\r\n            \r\n\r\n60 = roadWaterSewage (Vei, vann og avløp)\r\n            \r\n\r\n61 = regulationAndAreaPlans (Regulerings- og arealplaner)\r\n            \r\n\r\n62 = accessToRental (Adgang til utleie)\r\n            \r\n\r\n63 = publicLawOrder (Offentligrettslig pålegg)\r\n            \r\n\r\n64 = easementsAndDeclarations (Tinglyste heftelser og rettigheter)\r\n            \r\n\r\n65 = protectionClassSefrak (Verneklasse/Sefrak)\r\n            \r\n\r\n66 = legalPledge (Legalpant)\r\n            \r\n\r\n67 = commentConcession (Kommentar konsesjon)\r\n            \r\n\r\n68 = commentLiveDuty (Kommentar boplikt)\r\n            \r\n\r\n69 = commentManagementDuty (Kommentar driveplikt)\r\n            \r\n\r\n70 = commentPropertyRights (Kommentar odelsrett)\r\n            \r\n\r\n71 = takeOver (Overtakelse)\r\n            \r\n\r\n72 = purchaseCosts (Omkostninger kjøper beskrivelse)\r\n            \r\n\r\n73 = homeBuyerInsurance (Boligkjøperforsikring)\r\n            \r\n\r\n74 = bidding (Budgivning)\r\n            \r\n\r\n75 = moneyLaunderingRules (Hvitvaskingsreglene)\r\n            \r\n\r\n76 = salesProspectusAttachment (Vedlegg salgsoppgave)\r\n            \r\n\r\n77 = homeSellerInsurance (Boligselgerforsikring)\r\n            \r\n\r\n78 = estateOfDeceased (Dødsbo)\r\n            \r\n\r\n79 = otherInsurances (Andre forsikringer)\n\n1 = AccountingBudgeting\n\n2 = AmountYearsInstallmentFree\n\n3 = Animals\n\n4 = BoardApproval\n\n5 = CommunityFee\n\n6 = ConstructionMethod\n\n7 = GuaranteeFund\n\n8 = InsuranceCompany\n\n9 = InsurancePolicy\n\n10 = JointCostAfterGracePeriod\n\n11 = JointDebtDescription\n\n12 = JointDebtInstallment\n\n13 = JointDebtInterest\n\n14 = LoanTermsCollectiveDebt\n\n15 = PartAbout\n\n16 = Preemptive\n\n17 = RentIncludes\n\n18 = ResidentCommitments\n\n19 = Statutes\n\n20 = ValuationType\n\n21 = PlotDescription\n\n22 = Standard\n\n23 = NonMeasurableAreas\n\n24 = CommonAreasAndRightsToUse\n\n25 = ValuatorCommentsToArea\n\n26 = DeleteDocument\n\n27 = SolarConditions\n\n28 = LocalAreaName\n\n29 = ApartmentNumber\n\n30 = RegulationOfLeaseExpense\n\n31 = LeasePeriod\n\n32 = RedemptionTerms\n\n33 = LocationDescription\n\n34 = Directions\n\n35 = NurserySchoolLeisure\n\n36 = SchoolDistrict\n\n37 = PublicTransport\n\n38 = SellersDeclaration\n\n39 = Heading\n\n40 = About\n\n41 = Contents\n\n42 = MovableProperty\n\n43 = WhiteGoods\n\n44 = RenovatedYear\n\n45 = Renovated\n\n46 = TvInternetBroadband\n\n47 = Parking\n\n48 = RadonMeasurement\n\n49 = Various\n\n50 = Heating\n\n51 = PowerConsumption\n\n52 = Energy\n\n53 = PropertyTaxInformation\n\n54 = AssetValueInformation\n\n55 = OtherFees\n\n56 = WelfareAssociation\n\n57 = WaterTaxInformation\n\n58 = LoanFinancingOffer\n\n59 = CompletionReport\n\n60 = RoadWaterSewage\n\n61 = RegulationAndAreaPlans\n\n62 = AccessToRental\n\n63 = PublicLawOrder\n\n64 = EasementsAndDeclarations\n\n65 = ProtectionClassSefrak\n\n66 = LegalPledge\n\n67 = CommentConcession\n\n68 = CommentLiveDuty\n\n69 = CommentManagementDuty\n\n70 = CommentPropertyRights\n\n71 = TakeOver\n\n72 = PurchaseCosts\n\n73 = HomeBuyerInsurance\n\n74 = Bidding\n\n75 = MoneyLaunderingRules\n\n76 = SalesProspectusAttachment\n\n77 = HomeSellerInsurance\n\n78 = EstateOfDeceased\n\n79 = OtherInsurances",
        "format": "int32",
        "x-enumNames": [
          "AccountingBudgeting",
          "AmountYearsInstallmentFree",
          "Animals",
          "BoardApproval",
          "CommunityFee",
          "ConstructionMethod",
          "GuaranteeFund",
          "InsuranceCompany",
          "InsurancePolicy",
          "JointCostAfterGracePeriod",
          "JointDebtDescription",
          "JointDebtInstallment",
          "JointDebtInterest",
          "LoanTermsCollectiveDebt",
          "PartAbout",
          "Preemptive",
          "RentIncludes",
          "ResidentCommitments",
          "Statutes",
          "ValuationType",
          "PlotDescription",
          "Standard",
          "NonMeasurableAreas",
          "CommonAreasAndRightsToUse",
          "ValuatorCommentsToArea",
          "DeleteDocument",
          "SolarConditions",
          "LocalAreaName",
          "ApartmentNumber",
          "RegulationOfLeaseExpense",
          "LeasePeriod",
          "RedemptionTerms",
          "LocationDescription",
          "Directions",
          "NurserySchoolLeisure",
          "SchoolDistrict",
          "PublicTransport",
          "SellersDeclaration",
          "Heading",
          "About",
          "Contents",
          "MovableProperty",
          "WhiteGoods",
          "RenovatedYear",
          "Renovated",
          "TvInternetBroadband",
          "Parking",
          "RadonMeasurement",
          "Various",
          "Heating",
          "PowerConsumption",
          "Energy",
          "PropertyTaxInformation",
          "AssetValueInformation",
          "OtherFees",
          "WelfareAssociation",
          "WaterTaxInformation",
          "LoanFinancingOffer",
          "CompletionReport",
          "RoadWaterSewage",
          "RegulationAndAreaPlans",
          "AccessToRental",
          "PublicLawOrder",
          "EasementsAndDeclarations",
          "ProtectionClassSefrak",
          "LegalPledge",
          "CommentConcession",
          "CommentLiveDuty",
          "CommentManagementDuty",
          "CommentPropertyRights",
          "TakeOver",
          "PurchaseCosts",
          "HomeBuyerInsurance",
          "Bidding",
          "MoneyLaunderingRules",
          "SalesProspectusAttachment",
          "HomeSellerInsurance",
          "EstateOfDeceased",
          "OtherInsurances"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "Tip": {
        "required": [
          "created",
          "firstName",
          "lastName",
          "mobilePhone",
          "postalCode",
          "tipId"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "minLength": 1,
            "type": "string",
            "description": "Mobilnummer"
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget som tipset gjelder",
            "nullable": true
          },
          "postalCode": {
            "minLength": 1,
            "type": "string",
            "description": "Eiendommens postnummer (4-sifret norsk postnummer)"
          },
          "streetAdress": {
            "type": "string",
            "description": "Eiendommens adresse",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          },
          "source": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Kilde/kampanje",
            "nullable": true
          },
          "productId": {
            "type": "string",
            "description": "Referanse til tipsprodukt hos bank",
            "nullable": true
          },
          "recipientId": {
            "type": "string",
            "description": "Referanse til tipshåndterer hos bank",
            "nullable": true
          },
          "tipId": {
            "minLength": 1,
            "type": "string",
            "description": "Referanse til tips"
          },
          "created": {
            "type": "string",
            "description": "Opprettet",
            "format": "date-time"
          },
          "modified": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipStatus"
              }
            ],
            "description": "Tipsstatus\n\n0 = Undefined\n\n1 = Received\n\n2 = Activated\n\n3 = OfferMade\n\n4 = NotApplicable\n\n5 = Won\n\n6 = Lost\n\n7 = Valuation\n\n8 = Read\n\n9 = NotHandled",
            "x-enumNames": [
              "Undefined",
              "Received",
              "Activated",
              "OfferMade",
              "NotApplicable",
              "Won",
              "Lost",
              "Valuation",
              "Read",
              "NotHandled"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "userId": {
            "type": "string",
            "description": "Referanse til behandler av tipset i Next",
            "nullable": true
          },
          "departmentId": {
            "type": "string",
            "description": "Referanse til avdeling som håndterer tipset i Next",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakten som er knyttet til tipset",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TipCreateRequest": {
        "required": [
          "firstName",
          "lastName",
          "mobilePhone",
          "postalCode",
          "type"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "Fornavn"
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Etternavn"
          },
          "mobilePhone": {
            "minLength": 1,
            "type": "string",
            "description": "Mobilnummer"
          },
          "email": {
            "type": "string",
            "description": "E-post",
            "nullable": true
          },
          "estateId": {
            "type": "string",
            "description": "Referanse til oppdraget som tipset gjelder",
            "nullable": true
          },
          "postalCode": {
            "minLength": 1,
            "type": "string",
            "description": "Eiendommens postnummer (4-sifret norsk postnummer)"
          },
          "streetAdress": {
            "type": "string",
            "description": "Eiendommens adresse",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar",
            "nullable": true
          },
          "source": {
            "maxLength": 63,
            "minLength": 0,
            "type": "string",
            "description": "Kilde/kampanje",
            "nullable": true
          },
          "productId": {
            "type": "string",
            "description": "Referanse til tipsprodukt hos bank",
            "nullable": true
          },
          "recipientId": {
            "type": "string",
            "description": "Referanse til tipshåndterer hos bank",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OriginType"
              }
            ],
            "description": "Referanse til opprinnelsestype\n\n1 = NextInternal\n\n2 = External\n\n3 = FromBank\n\n4 = ToBank",
            "x-enumNames": [
              "NextInternal",
              "External",
              "FromBank",
              "ToBank"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "userId": {
            "type": "string",
            "description": "Referanse til behandler av tipset i Next, angir at tipset skal sendes direkte til en spesifikk aktiv bruker og overstyre kundens tipsflyt, men kan ikke angis sammen med referanse til avdeling",
            "nullable": true
          },
          "departmentId": {
            "type": "string",
            "description": "Referanse til avdeling som håndterer tipset i Next, angir at tipset skal sendes direkte til en spesifikk aktiv avdeling og overstyre kundens tipsflyt, men kan ikke angis sammen med referanse til behandler",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "description": "Referanse til kontakt. Kopler tipset til angitt kontakt uten å oppdatere kontaktinformasjon",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TipStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n0 = Undefined (Ikke definert)\r\n            \r\n\r\n1 = Received (Tipset er lagret i Next)\r\n            \r\n\r\n2 = Activated (Brukeren har prøvd å kontakte kunden og et notat eller en oppfølgningsaktivitet er laget)\r\n            \r\n\r\n3 = OfferMade (Et oppdrag er opprettet og en befaring er avtalt eller gjennomført)\r\n            \r\n\r\n4 = NotApplicable (Tipset er avvist som spam, duplikat eller lignende)\r\n            \r\n\r\n5 = Won (Et oppdrag (som ikke er verdivurdering) er akseptert)\r\n            \r\n\r\n6 = Lost (Et oppdrag er slettet eller arkivert uten å bli akseptert)\r\n            \r\n\r\n7 = Valuation (Et verdivurderingsoppdrag er opprettet)\r\n            \r\n\r\n8 = Read (En bruker har lest tipset, men ingen oppfølgning har skjedd)\r\n            \r\n\r\n9 = NotHandled (Tipset er lukket med automatikk grunnet inaktivitet)\n\n0 = Undefined\n\n1 = Received\n\n2 = Activated\n\n3 = OfferMade\n\n4 = NotApplicable\n\n5 = Won\n\n6 = Lost\n\n7 = Valuation\n\n8 = Read\n\n9 = NotHandled",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Received",
          "Activated",
          "OfferMade",
          "NotApplicable",
          "Won",
          "Lost",
          "Valuation",
          "Read",
          "NotHandled"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "TipUpdateRequest": {
        "required": [
          "comment"
        ],
        "type": "object",
        "properties": {
          "comment": {
            "minLength": 1,
            "type": "string",
            "description": "Kommentar. Vil bli lagt til eksisterende kommentar på tipset i Next"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipStatus"
              }
            ],
            "description": "Tipsstatus\n\n0 = Undefined\n\n1 = Received\n\n2 = Activated\n\n3 = OfferMade\n\n4 = NotApplicable\n\n5 = Won\n\n6 = Lost\n\n7 = Valuation\n\n8 = Read\n\n9 = NotHandled",
            "x-enumNames": [
              "Undefined",
              "Received",
              "Activated",
              "OfferMade",
              "NotApplicable",
              "Won",
              "Lost",
              "Valuation",
              "Read",
              "NotHandled"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "recipientId": {
            "type": "string",
            "description": "Referanse til tipshåndterer hos bank",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Tips": {
        "required": [
          "originType",
          "tips"
        ],
        "type": "object",
        "properties": {
          "originType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OriginType"
              }
            ],
            "description": "Referanse til opprinnelsestype\n\n1 = NextInternal\n\n2 = External\n\n3 = FromBank\n\n4 = ToBank",
            "x-enumNames": [
              "NextInternal",
              "External",
              "FromBank",
              "ToBank"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "tips": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tip"
            }
          }
        },
        "additionalProperties": false
      },
      "TipsProduct": {
        "required": [
          "name",
          "productType"
        ],
        "type": "object",
        "properties": {
          "productType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsProductType"
              }
            ],
            "description": "Tipsprodukt type for banktips\n\n1 = ProductGroup\n\n2 = Product",
            "x-enumNames": [
              "ProductGroup",
              "Product"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Beskrivelse av tipsprodukt eller tipsproduktgruppe for banktips"
          },
          "marketCode": {
            "type": "string",
            "description": "Referanse til marked som tipsproduktgruppen for banktips inngår i",
            "nullable": true
          },
          "parentTipsProductId": {
            "type": "string",
            "description": "Next intern referanse til tipsproduktgruppe over, for banktips",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TipsProductCreateRequest": {
        "required": [
          "tipsProduct"
        ],
        "type": "object",
        "properties": {
          "tipsProduct": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsProduct"
              }
            ],
            "description": "Informasjon om nytt tipsprodukt eller ny tipsproduktgruppe for banktips"
          }
        },
        "additionalProperties": false
      },
      "TipsProductInformation": {
        "required": [
          "created",
          "name",
          "productType",
          "tipsProductId"
        ],
        "type": "object",
        "properties": {
          "productType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsProductType"
              }
            ],
            "description": "Tipsprodukt type for banktips\n\n1 = ProductGroup\n\n2 = Product",
            "x-enumNames": [
              "ProductGroup",
              "Product"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Beskrivelse av tipsprodukt eller tipsproduktgruppe for banktips"
          },
          "marketCode": {
            "type": "string",
            "description": "Referanse til marked som tipsproduktgruppen for banktips inngår i",
            "nullable": true
          },
          "parentTipsProductId": {
            "type": "string",
            "description": "Next intern referanse til tipsproduktgruppe over, for banktips",
            "nullable": true
          },
          "tipsProductId": {
            "minLength": 1,
            "type": "string",
            "description": "Next intern referanse til tipsprodukt eller tipsproduktgruppe for banktips"
          },
          "created": {
            "type": "string",
            "description": "Opprettet",
            "format": "date-time"
          },
          "modified": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TipsProductType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = ProductGroup (ProductGroup)\r\n            \r\n\r\n2 = Product (Product)\n\n1 = ProductGroup\n\n2 = Product",
        "format": "int32",
        "x-enumNames": [
          "ProductGroup",
          "Product"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "TipsProductUpdateRequest": {
        "required": [
          "tipsProduct"
        ],
        "type": "object",
        "properties": {
          "tipsProduct": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsProduct"
              }
            ],
            "description": "Oppdatert informasjon om tipsprodukt eller tipsproduktgruppe for banktips"
          }
        },
        "additionalProperties": false
      },
      "TipsRecipient": {
        "required": [
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsRecipientType"
              }
            ],
            "description": "Tipsmottaker type for banktips\n\n1 = Person\n\n2 = Department",
            "x-enumNames": [
              "Person",
              "Department"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Beskrivelse av person eller avdeling for banktips"
          },
          "parentId": {
            "type": "string",
            "description": "Next intern referanse til avdeling over for banktips",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Mottakers epostadresse for banktips",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TipsRecipientCreateRequest": {
        "required": [
          "tipsRecipient"
        ],
        "type": "object",
        "properties": {
          "tipsRecipient": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsRecipient"
              }
            ],
            "description": "Informasjon om tipsmottaker hos bank"
          }
        },
        "additionalProperties": false
      },
      "TipsRecipientInformation": {
        "required": [
          "created",
          "name",
          "tipsRecipientId",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsRecipientType"
              }
            ],
            "description": "Tipsmottaker type for banktips\n\n1 = Person\n\n2 = Department",
            "x-enumNames": [
              "Person",
              "Department"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Beskrivelse av person eller avdeling for banktips"
          },
          "parentId": {
            "type": "string",
            "description": "Next intern referanse til avdeling over for banktips",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Mottakers epostadresse for banktips",
            "nullable": true
          },
          "tipsRecipientId": {
            "minLength": 1,
            "type": "string",
            "description": "Next intern referanse til person eller avdeling for banktips"
          },
          "created": {
            "type": "string",
            "description": "Opprettet",
            "format": "date-time"
          },
          "modified": {
            "type": "string",
            "description": "Sist endret",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TipsRecipientType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = Person (Person)\r\n            \r\n\r\n2 = Department (Department)\n\n1 = Person\n\n2 = Department",
        "format": "int32",
        "x-enumNames": [
          "Person",
          "Department"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "TipsRecipientUpdateRequest": {
        "required": [
          "tipsRecipient"
        ],
        "type": "object",
        "properties": {
          "tipsRecipient": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TipsRecipient"
              }
            ],
            "description": "Informasjon om tipsmottaker hos bank"
          }
        },
        "additionalProperties": false
      },
      "UsedBudget": {
        "type": "object",
        "properties": {
          "numberOfCustomerMeetings": {
            "type": "integer",
            "description": "Budsjettert antall kundemøter",
            "format": "int32"
          },
          "numberOfSignedAssignments": {
            "type": "integer",
            "description": "Budsjettert antall signerte oppdrag",
            "format": "int32"
          },
          "hitRatio": {
            "type": "string",
            "description": "Budsjettert hitratio",
            "nullable": true
          },
          "numberOfCompletedAssignments": {
            "type": "integer",
            "description": "Budsjettert antall omsatte oppdrag",
            "format": "int32"
          },
          "income": {
            "type": "number",
            "description": "Budsjetterte inntekter",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "UsedBudgetPerMonth": {
        "type": "object",
        "properties": {
          "numberOfCustomerMeetings": {
            "type": "integer",
            "description": "Budsjettert antall kundemøter",
            "format": "int32"
          },
          "numberOfSignedAssignments": {
            "type": "integer",
            "description": "Budsjettert antall signerte oppdrag",
            "format": "int32"
          },
          "hitRatio": {
            "type": "string",
            "description": "Budsjettert hitratio",
            "nullable": true
          },
          "numberOfCompletedAssignments": {
            "type": "integer",
            "description": "Budsjettert antall omsatte oppdrag",
            "format": "int32"
          },
          "income": {
            "type": "number",
            "description": "Budsjetterte inntekter",
            "format": "double"
          },
          "averageIncomePerAssignment": {
            "type": "number",
            "description": "Budsjettert snitt inntekt per oppdrag som er lagt til grunn",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "ValuationReportType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "\r\n\r\n\r\n1 = propertySalesReport (Boligsalgsrapport)\r\n            \r\n\r\n2 = changeOfOwnershipReport (Eierskifterapport)\r\n            \r\n\r\n3 = agriculturalRate (Landbrukstakst)\r\n            \r\n\r\n4 = conditionReport (Tilstandsrapport)\r\n            \r\n\r\n5 = valuationReport (Verdi-/lånetakst)\r\n            \r\n\r\n6 = wetRoomReport (Våtromsrapport)\r\n            \r\n\r\n7 = areaReport (Arealrapport)\n\n1 = PropertySalesReport\n\n2 = ChangeOfOwnershipReport\n\n3 = AgriculturalRate\n\n4 = ConditionReport\n\n5 = ValuationReport\n\n6 = WetRoomReport\n\n7 = AreaReport",
        "format": "int32",
        "x-enumNames": [
          "PropertySalesReport",
          "ChangeOfOwnershipReport",
          "AgriculturalRate",
          "ConditionReport",
          "ValuationReport",
          "WetRoomReport",
          "AreaReport"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ValuationTax": {
        "type": "object",
        "properties": {
          "primaryValue": {
            "type": "number",
            "description": "Formuesverdi primær",
            "format": "double",
            "nullable": true
          },
          "primaryYear": {
            "type": "integer",
            "description": "Formuesverdi primær år",
            "format": "int32",
            "nullable": true
          },
          "secondaryValue": {
            "type": "number",
            "description": "Formuesverdi sekundær",
            "format": "double",
            "nullable": true
          },
          "secondaryYear": {
            "type": "integer",
            "description": "Formuesverdi sekundær år",
            "format": "int32",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Kommentar formuesverdi",
            "nullable": true
          },
          "propertyTaxAmount": {
            "type": "number",
            "description": "Eiendomsskatt",
            "format": "double",
            "nullable": true
          },
          "propertyTaxYear": {
            "type": "integer",
            "description": "Eiendomsskatt årstall",
            "format": "int32",
            "nullable": true
          },
          "valuationDate": {
            "type": "string",
            "description": "Takstdato",
            "format": "date-time",
            "nullable": true
          },
          "valuationType": {
            "type": "string",
            "description": "Type takst",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VoucherLine": {
        "required": [
          "account",
          "amount",
          "externalReference",
          "ledgerType",
          "postingDate"
        ],
        "type": "object",
        "properties": {
          "assignmentNumber": {
            "type": "string",
            "description": "Oppdragsnummer formattert for regnskap. Må være satt på debet eller kreditlinje. Debet og kreditlinje kan ikke ha ulik verdi hvis begge er satt",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "description": "Unik referanse til transaksjonen i regnskapssystem"
          },
          "account": {
            "minLength": 1,
            "type": "string",
            "description": "Kontonummer."
          },
          "generalLedgerAccount": {
            "type": "string",
            "description": "Hovedbok for reskontro",
            "nullable": true
          },
          "ledgerType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LedgerType"
              }
            ],
            "description": "Kontotype\n\n1 = General\n\n2 = Customer\n\n3 = Supplier",
            "x-enumNames": [
              "General",
              "Customer",
              "Supplier"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "description": {
            "type": "string",
            "description": "Beskrivelse",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "description": "Id til kunde knyttet til transaksjonen, ved gruppe vil dette være id til hovedkontakt. Avgjør om bevegelse på klientkonto berører kjøper eller selgers reskontro",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Netto Beløp",
            "format": "double"
          },
          "vatAmount": {
            "type": "number",
            "description": "Mva beløp",
            "format": "double",
            "nullable": true
          },
          "vatRate": {
            "type": "number",
            "description": "Mva prosent",
            "format": "double",
            "nullable": true
          },
          "vatCode": {
            "type": "integer",
            "description": "Mva kode",
            "format": "int32",
            "nullable": true
          },
          "kid": {
            "type": "string",
            "description": "Kid",
            "nullable": true
          },
          "lineNumber": {
            "type": "integer",
            "description": "Linjenr",
            "format": "int32",
            "nullable": true
          },
          "postingDate": {
            "type": "string",
            "description": "Posteringsdato",
            "format": "date-time"
          },
          "dueDate": {
            "type": "string",
            "description": "Forfallsdato",
            "format": "date-time",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "Produktkode",
            "nullable": true
          },
          "paymentOfExternalReference": {
            "type": "string",
            "description": "Referanse til post som linjen er en betaling av",
            "nullable": true
          },
          "outboundInvoiceExternalReference": {
            "type": "string",
            "description": "Referanse til faktura som linjen er en del av",
            "nullable": true
          },
          "creditOfInvoiceExternalReference": {
            "type": "string",
            "description": "Referanse til faktura som krediteres, skal kun brukes for kreditnota",
            "nullable": true
          },
          "bankAccountNumber": {
            "type": "string",
            "description": "Eventuelt kontonummer til bankkonto knyttet til bevegelsen",
            "nullable": true
          },
          "bankTransactionDate": {
            "type": "string",
            "description": "Bankens transaksjonsdato",
            "format": "date-time",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Bruker",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "description": "Basic Authorization header using the Bearer scheme.",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basic": [ ]
    }
  ]
}