GET api/MasterData/Orte

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Orte
NameDescriptionTypeAdditional information
nOrtKey

integer

None.

nSprachKey

integer

None.

nGmdeKey

integer

None.

nLandKey

integer

None.

cPLZ

string

None.

cPLZZus

string

None.

nPLZTyp

byte

None.

cOrt

string

None.

nONRP

integer

None.

ngueltig

byte

None.

nKantonKey

integer

None.

Kanton

Kanton

None.

Land

Land

None.

Gemeinde

Gemeinde

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "nOrtKey": 1,
    "nSprachKey": 1,
    "nGmdeKey": 1,
    "nLandKey": 1,
    "cPLZ": "sample string 2",
    "cPLZZus": "sample string 3",
    "nPLZTyp": 64,
    "cOrt": "sample string 4",
    "nONRP": 1,
    "ngueltig": 64,
    "nKantonKey": 1,
    "Kanton": {
      "nKantonKey": 1,
      "cKantonKz": "sample string 2",
      "cKantonBez": "sample string 3",
      "nGueltig": 64
    },
    "Land": {
      "nLandKey": 1,
      "cLandCode": "sample string 2",
      "cLand": "sample string 3",
      "cTelVorw": "sample string 4",
      "ngueltig": 64
    },
    "Gemeinde": {
      "nGmdeKey": 1,
      "nKantonKey": 1,
      "nBezirkKey": 1,
      "nAggloKey": 1,
      "nBfsNr": 1,
      "cGemeinde": "sample string 2",
      "ngueltig": 64,
      "Bezirk": {
        "nBezirkKey": 1,
        "nKantonKey": 1,
        "cBezirk": "sample string 2",
        "ngueltig": 64,
        "cHauptort": "sample string 4",
        "Kanton": {
          "nKantonKey": 1,
          "cKantonKz": "sample string 2",
          "cKantonBez": "sample string 3",
          "nGueltig": 64
        }
      }
    }
  },
  {
    "nOrtKey": 1,
    "nSprachKey": 1,
    "nGmdeKey": 1,
    "nLandKey": 1,
    "cPLZ": "sample string 2",
    "cPLZZus": "sample string 3",
    "nPLZTyp": 64,
    "cOrt": "sample string 4",
    "nONRP": 1,
    "ngueltig": 64,
    "nKantonKey": 1,
    "Kanton": {
      "nKantonKey": 1,
      "cKantonKz": "sample string 2",
      "cKantonBez": "sample string 3",
      "nGueltig": 64
    },
    "Land": {
      "nLandKey": 1,
      "cLandCode": "sample string 2",
      "cLand": "sample string 3",
      "cTelVorw": "sample string 4",
      "ngueltig": 64
    },
    "Gemeinde": {
      "nGmdeKey": 1,
      "nKantonKey": 1,
      "nBezirkKey": 1,
      "nAggloKey": 1,
      "nBfsNr": 1,
      "cGemeinde": "sample string 2",
      "ngueltig": 64,
      "Bezirk": {
        "nBezirkKey": 1,
        "nKantonKey": 1,
        "cBezirk": "sample string 2",
        "ngueltig": 64,
        "cHauptort": "sample string 4",
        "Kanton": {
          "nKantonKey": 1,
          "cKantonKz": "sample string 2",
          "cKantonBez": "sample string 3",
          "nGueltig": 64
        }
      }
    }
  }
]

text/html

Sample:
[{"nOrtKey":1,"nSprachKey":1,"nGmdeKey":1,"nLandKey":1,"cPLZ":"sample string 2","cPLZZus":"sample string 3","nPLZTyp":64,"cOrt":"sample string 4","nONRP":1,"ngueltig":64,"nKantonKey":1,"Kanton":{"nKantonKey":1,"cKantonKz":"sample string 2","cKantonBez":"sample string 3","nGueltig":64},"Land":{"nLandKey":1,"cLandCode":"sample string 2","cLand":"sample string 3","cTelVorw":"sample string 4","ngueltig":64},"Gemeinde":{"nGmdeKey":1,"nKantonKey":1,"nBezirkKey":1,"nAggloKey":1,"nBfsNr":1,"cGemeinde":"sample string 2","ngueltig":64,"Bezirk":{"nBezirkKey":1,"nKantonKey":1,"cBezirk":"sample string 2","ngueltig":64,"cHauptort":"sample string 4","Kanton":{"nKantonKey":1,"cKantonKz":"sample string 2","cKantonBez":"sample string 3","nGueltig":64}}}},{"nOrtKey":1,"nSprachKey":1,"nGmdeKey":1,"nLandKey":1,"cPLZ":"sample string 2","cPLZZus":"sample string 3","nPLZTyp":64,"cOrt":"sample string 4","nONRP":1,"ngueltig":64,"nKantonKey":1,"Kanton":{"nKantonKey":1,"cKantonKz":"sample string 2","cKantonBez":"sample string 3","nGueltig":64},"Land":{"nLandKey":1,"cLandCode":"sample string 2","cLand":"sample string 3","cTelVorw":"sample string 4","ngueltig":64},"Gemeinde":{"nGmdeKey":1,"nKantonKey":1,"nBezirkKey":1,"nAggloKey":1,"nBfsNr":1,"cGemeinde":"sample string 2","ngueltig":64,"Bezirk":{"nBezirkKey":1,"nKantonKey":1,"cBezirk":"sample string 2","ngueltig":64,"cHauptort":"sample string 4","Kanton":{"nKantonKey":1,"cKantonKz":"sample string 2","cKantonBez":"sample string 3","nGueltig":64}}}}]

application/xml, text/xml

Sample:
<ArrayOfOrte xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.DAL.Entities.Web">
  <Orte>
    <Gemeinde>
      <Bezirk>
        <Kanton>
          <cKantonBez>sample string 3</cKantonBez>
          <cKantonKz>sample string 2</cKantonKz>
          <nGueltig>64</nGueltig>
          <nKantonKey>1</nKantonKey>
        </Kanton>
        <cBezirk>sample string 2</cBezirk>
        <cHauptort>sample string 4</cHauptort>
        <nBezirkKey>1</nBezirkKey>
        <nKantonKey>1</nKantonKey>
        <ngueltig>64</ngueltig>
      </Bezirk>
      <cGemeinde>sample string 2</cGemeinde>
      <nAggloKey>1</nAggloKey>
      <nBezirkKey>1</nBezirkKey>
      <nBfsNr>1</nBfsNr>
      <nGmdeKey>1</nGmdeKey>
      <nKantonKey>1</nKantonKey>
      <ngueltig>64</ngueltig>
    </Gemeinde>
    <Kanton>
      <cKantonBez>sample string 3</cKantonBez>
      <cKantonKz>sample string 2</cKantonKz>
      <nGueltig>64</nGueltig>
      <nKantonKey>1</nKantonKey>
    </Kanton>
    <Land>
      <cLand xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">sample string 3</cLand>
      <cLandCode xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">sample string 2</cLandCode>
      <cTelVorw xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">sample string 4</cTelVorw>
      <nLandKey xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">1</nLandKey>
      <ngueltig xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">64</ngueltig>
    </Land>
    <cOrt>sample string 4</cOrt>
    <cPLZ>sample string 2</cPLZ>
    <cPLZZus>sample string 3</cPLZZus>
    <nGmdeKey>1</nGmdeKey>
    <nKantonKey>1</nKantonKey>
    <nLandKey>1</nLandKey>
    <nONRP>1</nONRP>
    <nOrtKey>1</nOrtKey>
    <nPLZTyp>64</nPLZTyp>
    <nSprachKey>1</nSprachKey>
    <ngueltig>64</ngueltig>
  </Orte>
  <Orte>
    <Gemeinde>
      <Bezirk>
        <Kanton>
          <cKantonBez>sample string 3</cKantonBez>
          <cKantonKz>sample string 2</cKantonKz>
          <nGueltig>64</nGueltig>
          <nKantonKey>1</nKantonKey>
        </Kanton>
        <cBezirk>sample string 2</cBezirk>
        <cHauptort>sample string 4</cHauptort>
        <nBezirkKey>1</nBezirkKey>
        <nKantonKey>1</nKantonKey>
        <ngueltig>64</ngueltig>
      </Bezirk>
      <cGemeinde>sample string 2</cGemeinde>
      <nAggloKey>1</nAggloKey>
      <nBezirkKey>1</nBezirkKey>
      <nBfsNr>1</nBfsNr>
      <nGmdeKey>1</nGmdeKey>
      <nKantonKey>1</nKantonKey>
      <ngueltig>64</ngueltig>
    </Gemeinde>
    <Kanton>
      <cKantonBez>sample string 3</cKantonBez>
      <cKantonKz>sample string 2</cKantonKz>
      <nGueltig>64</nGueltig>
      <nKantonKey>1</nKantonKey>
    </Kanton>
    <Land>
      <cLand xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">sample string 3</cLand>
      <cLandCode xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">sample string 2</cLandCode>
      <cTelVorw xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">sample string 4</cTelVorw>
      <nLandKey xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">1</nLandKey>
      <ngueltig xmlns="http://schemas.datacontract.org/2004/07/StarJob.Models.Tempus">64</ngueltig>
    </Land>
    <cOrt>sample string 4</cOrt>
    <cPLZ>sample string 2</cPLZ>
    <cPLZZus>sample string 3</cPLZZus>
    <nGmdeKey>1</nGmdeKey>
    <nKantonKey>1</nKantonKey>
    <nLandKey>1</nLandKey>
    <nONRP>1</nONRP>
    <nOrtKey>1</nOrtKey>
    <nPLZTyp>64</nPLZTyp>
    <nSprachKey>1</nSprachKey>
    <ngueltig>64</ngueltig>
  </Orte>
</ArrayOfOrte>