﻿{
  "id": "1455dc15-1d19-4ee3-8106-b52ca5404a44",
  "no": {
    "numeric": "111222",
    "formatted": "111.222",
    "textForSort": "111222"
  },
  "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
  "externalNo": "111.222",
  "branch": "10",
  "agent": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "no": "123456",
    "description": "Michael Meier, Lenzburg"
  },
  "consultantTeamName": "130",
  "isAuthorized": false,
  "openingDate": "2015-07-20",
  "privacy": {
    "groupNo": 10,
    "lockNo": 40
  },
  "persons": [
    {
      "type": "NaturalPerson",
      "naturalPerson": {
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "title": "Prof. Dr.",
        "firstName": "Maria",
        "middleName": "Elisabeth",
        "useMiddleName": true,
        "lastName": "Müller",
        "maidenName": "Meier",
        "nameContinuation": "",
        "gender": "Female",
        "dateOfBirth": "1976-07-20",
        "countryOfBirth": "CH",
        "legalStatus": {
          "value": "Single",
          "sinceDate": "2015-07-20"
        }
      }
    }
  ],
  "motiveToOpenNo": "4",
  "motiveToTerminateNo": "6",
  "serviceLevel": "70",
  "nationalities": [
    {
      "country": "CH",
      "sinceDate": "1970-01-01"
    }
  ],
  "vsb2020": {
    "complianceCheckDate": "2015-07-20"
  },
  "contact": {
    "mainAddress": {
      "type": "Main",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
      "firstName": "Maria",
      "middleName": "Elisabeth",
      "useMiddleName": true,
      "lastName": "Müller",
      "addressSupplement": "Postfach",
      "isPoBox": true,
      "isValid": true,
      "street": "Schwertstrasse",
      "streetNumber": "1",
      "town": "Baden",
      "country": "CH",
      "zip": "5400",
      "subZip": "1",
      "region": "Aargau",
      "correspondenceLanguage": "de",
      "unstructuredAddressing": {
        "salutation": "",
        "nameLine": "",
        "fullMailingAddress": [
          "",
          "",
          ""
        ],
        "reducedMailingAddress": [
          "",
          "",
          ""
        ],
        "reportAddress": "",
        "shortAddress": ""
      }
    },
    "secretAddress": {
      "type": "Main",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
      "firstName": "Maria",
      "middleName": "Elisabeth",
      "useMiddleName": true,
      "lastName": "Müller",
      "addressSupplement": "Postfach",
      "isPoBox": true,
      "isValid": true,
      "street": "Schwertstrasse",
      "streetNumber": "1",
      "town": "Baden",
      "country": "CH",
      "zip": "5400",
      "subZip": "1",
      "region": "Aargau",
      "correspondenceLanguage": "de",
      "unstructuredAddressing": {
        "salutation": "",
        "nameLine": "",
        "fullMailingAddress": [
          "",
          "",
          ""
        ],
        "reducedMailingAddress": [
          "",
          "",
          ""
        ],
        "reportAddress": "",
        "shortAddress": ""
      }
    },
    "vacationAddress": {
      "type": "Main",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
      "firstName": "Maria",
      "middleName": "Elisabeth",
      "useMiddleName": true,
      "lastName": "Müller",
      "addressSupplement": "Postfach",
      "isPoBox": true,
      "isValid": true,
      "street": "Schwertstrasse",
      "streetNumber": "1",
      "town": "Baden",
      "country": "CH",
      "zip": "5400",
      "subZip": "1",
      "region": "Aargau",
      "correspondenceLanguage": "de",
      "unstructuredAddressing": {
        "salutation": "",
        "nameLine": "",
        "fullMailingAddress": [
          "",
          "",
          ""
        ],
        "reducedMailingAddress": [
          "",
          "",
          ""
        ],
        "reportAddress": "",
        "shortAddress": ""
      }
    },
    "secretVacationAddress": {
      "type": "Main",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
      "firstName": "Maria",
      "middleName": "Elisabeth",
      "useMiddleName": true,
      "lastName": "Müller",
      "addressSupplement": "Postfach",
      "isPoBox": true,
      "isValid": true,
      "street": "Schwertstrasse",
      "streetNumber": "1",
      "town": "Baden",
      "country": "CH",
      "zip": "5400",
      "subZip": "1",
      "region": "Aargau",
      "correspondenceLanguage": "de",
      "unstructuredAddressing": {
        "salutation": "",
        "nameLine": "",
        "fullMailingAddress": [
          "",
          "",
          ""
        ],
        "reducedMailingAddress": [
          "",
          "",
          ""
        ],
        "reportAddress": "",
        "shortAddress": ""
      }
    },
    "additionalAddresses": [
      {
        "type": "Main",
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "firstName": "Maria",
        "middleName": "Elisabeth",
        "useMiddleName": true,
        "lastName": "Müller",
        "addressSupplement": "Postfach",
        "isPoBox": true,
        "isValid": true,
        "street": "Schwertstrasse",
        "streetNumber": "1",
        "town": "Baden",
        "country": "CH",
        "zip": "5400",
        "subZip": "1",
        "region": "Aargau",
        "correspondenceLanguage": "de",
        "unstructuredAddressing": {
          "salutation": "",
          "nameLine": "",
          "fullMailingAddress": [
            "",
            "",
            ""
          ],
          "reducedMailingAddress": [
            "",
            "",
            ""
          ],
          "reportAddress": "",
          "shortAddress": ""
        }
      }
    ],
    "phoneNumbers": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "number": "+41 62 885 11 11",
        "type": "PhoneGeneral",
        "isForDelivery": true,
        "remark": "string"
      }
    ],
    "emailAddresses": [
      {
        "type": "Migration",
        "address": "maria.mueller@neolution.ch",
        "id": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d"
      },
      {
        "type": "Migration",
        "address": "maria.mueller@csag.ch",
        "id": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "waiver": {
          "hasSignedWaiver": true,
          "referenceProxy": {
            "partnerReference": {
              "id": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
              "partnerNo": {
                "numeric": "111222",
                "formatted": "111.222",
                "textForSort": "111222"
              },
              "description": "Maria Mueller"
            }
          }
        }
      },
      {
        "type": "Migration",
        "address": "maria.mueller@csag.com",
        "id": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "waiver": {
          "hasSignedWaiver": true,
          "referenceProxy": {
            "contactReference": {
              "id": "7fa50b0f-3090-41c7-af3c-5dd76d3785c5",
              "description": "Max Mueller"
            }
          }
        }
      }
    ],
    "correspondenceRules": [
      {
        "externalId": "22bc90a2-c8f1-4cd6-b27a-f9b5f9417c1d",
        "carrierType": "string",
        "periodicity": "string",
        "documentCopies": [
          {
            "documentGroup": "string",
            "numberOfCopies": 0
          }
        ]
      }
    ]
  },
  "relations": {
    "incoming": [
      {
        "id": "7d469513-a1bc-41c4-8548-012c08ba89b0",
        "type": "30",
        "validFrom": "2019-03-13",
        "contactPerson": {
          "id": "bea987d6-4eb5-4263-8809-d22fb8b2b3c8",
          "firstName": "Konrad",
          "lastName": "Arnoldi"
        },
        "partner": {
          "id": "1455dc15-1d19-4ee3-8106-b52ca5404a44",
          "no": "111222",
          "description": ""
        },
        "relatedPartner": {
          "partner": {
            "id": "324e40d1-290f-4dd1-b11d-e5ed86e683d2",
            "no": "555666",
            "description": ""
          },
          "role": "93"
        }
      }
    ]
  }
}