POST api/ksvmassnahmetyp/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
KsvMassnahmetyp| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Nummer | integer |
Required |
|
| Bezeichnung | string |
None. |
|
| Sichtbar | boolean |
Required |
|
| Berechnung | boolean |
Required |
|
| Kooperationstyp | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Nummer": 2,
"Bezeichnung": "sample string 3",
"Sichtbar": true,
"Berechnung": true,
"Kooperationstyp": 6,
"RowGuid": "0236ec74-b0c1-42ae-aace-4de78ce70079"
}
application/xml, text/xml
Sample:
<KsvMassnahmetyp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ksv.Models"> <Berechnung>true</Berechnung> <Bezeichnung>sample string 3</Bezeichnung> <Id>1</Id> <Kooperationstyp>6</Kooperationstyp> <Nummer>2</Nummer> <RowGuid>0236ec74-b0c1-42ae-aace-4de78ce70079</RowGuid> <Sichtbar>true</Sichtbar> </KsvMassnahmetyp>