POST api/krnanrede/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
KrnAnrede| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Nummer | integer |
Required |
|
| Geschlecht | integer |
Required |
|
| AnredeText | string |
None. |
|
| RowGuid | globally unique identifier |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Nummer": 2,
"Geschlecht": 3,
"AnredeText": "sample string 4",
"RowGuid": "a62e688d-ad18-4bbf-8ea7-cd6673666026"
}
application/xml, text/xml
Sample:
<KrnAnrede xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models"> <AnredeText>sample string 4</AnredeText> <Geschlecht>3</Geschlecht> <Id>1</Id> <Nummer>2</Nummer> <RowGuid>a62e688d-ad18-4bbf-8ea7-cd6673666026</RowGuid> </KrnAnrede>