POST api/krngemeinde/preparenew

Request Information

URI Parameters

None.

Body Parameters

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Value": "sample string 2"
  },
  {
    "Id": 1,
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
</ArrayOfKeyValue>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

KrnGemeinde
NameDescriptionTypeAdditional information
Id

integer

Required

Schluessel

string

None.

Stufe

integer

Required

Postleitzahl

string

None.

Bezeichnung

string

None.

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Schluessel": "sample string 2",
  "Stufe": 3,
  "Postleitzahl": "sample string 4",
  "Bezeichnung": "sample string 5",
  "RowGuid": "f21be7fd-16e9-447f-a97f-f8056bdb5f58"
}

application/xml, text/xml

Sample:
<KrnGemeinde xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Bezeichnung>sample string 5</Bezeichnung>
  <Id>1</Id>
  <Postleitzahl>sample string 4</Postleitzahl>
  <RowGuid>f21be7fd-16e9-447f-a97f-f8056bdb5f58</RowGuid>
  <Schluessel>sample string 2</Schluessel>
  <Stufe>3</Stufe>
</KrnGemeinde>