POST api/sazwettbewerbteilnehmer/preparenew

Request Information

URI Parameters

None.

Body Parameters

Collection of KeyValue
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

SazWettbewerbTeilnehmer
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

WettbewerbId

integer

Required

OrganisationId

integer

None.

FamilieId

integer

None.

MaxAnzahl

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "c6ce0d6a-99d0-4b5c-8b0c-dc3897e4193a",
  "WettbewerbId": 3,
  "OrganisationId": 1,
  "FamilieId": 1,
  "MaxAnzahl": 4
}

application/xml, text/xml

Sample:
<SazWettbewerbTeilnehmer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <FamilieId>1</FamilieId>
  <Id>1</Id>
  <MaxAnzahl>4</MaxAnzahl>
  <OrganisationId>1</OrganisationId>
  <RowGuid>c6ce0d6a-99d0-4b5c-8b0c-dc3897e4193a</RowGuid>
  <WettbewerbId>3</WettbewerbId>
</SazWettbewerbTeilnehmer>