POST api/verfragebogen/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
VerFragebogen| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| VeranstaltungId | integer |
Required |
|
| TeilnehmerId | integer |
Required |
|
| FrageId | integer |
Required |
|
| Bewertung | integer |
Required |
|
| Kommentar | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"VeranstaltungId": 2,
"TeilnehmerId": 3,
"FrageId": 4,
"Bewertung": 5,
"Kommentar": "sample string 6"
}
application/xml, text/xml
Sample:
<VerFragebogen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models"> <Bewertung>5</Bewertung> <FrageId>4</FrageId> <Id>1</Id> <Kommentar>sample string 6</Kommentar> <TeilnehmerId>3</TeilnehmerId> <VeranstaltungId>2</VeranstaltungId> </VerFragebogen>