POST api/krnland/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional 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:
Response Information
Resource Description
KrnLand| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Bezeichnung | string |
None. |
|
| LandAnschrift | string |
None. |
|
| Isocode | string |
None. |
|
| Ioccode | string |
None. |
|
| RowGuid | globally unique identifier |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Bezeichnung": "sample string 2",
"LandAnschrift": "sample string 3",
"Isocode": "sample string 4",
"Ioccode": "sample string 5",
"RowGuid": "7dbeb901-9fb1-454e-a426-af55ebb94278"
}
application/xml, text/xml
Sample:
<KrnLand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models"> <Bezeichnung>sample string 2</Bezeichnung> <Id>1</Id> <Ioccode>sample string 5</Ioccode> <Isocode>sample string 4</Isocode> <LandAnschrift>sample string 3</LandAnschrift> <RowGuid>7dbeb901-9fb1-454e-a426-af55ebb94278</RowGuid> </KrnLand>