POST api/sazanforderung/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
SazAnforderung| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| UebungId | integer |
Required |
|
| AltersgruppeId | integer |
Required |
|
| Gold | decimal number |
Required |
|
| Silber | decimal number |
Required |
|
| Bronze | decimal number |
Required |
|
| Sichtbar | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "3c15c777-f1be-4c38-84b6-010a29905952",
"UebungId": 3,
"AltersgruppeId": 4,
"Gold": 5.0,
"Silber": 6.0,
"Bronze": 7.0,
"Sichtbar": true
}
application/xml, text/xml
Sample:
<SazAnforderung xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models"> <AltersgruppeId>4</AltersgruppeId> <Bronze>7</Bronze> <Gold>5</Gold> <Id>1</Id> <RowGuid>3c15c777-f1be-4c38-84b6-010a29905952</RowGuid> <Sichtbar>true</Sichtbar> <Silber>6</Silber> <UebungId>3</UebungId> </SazAnforderung>