POST api/sazwettbewerb/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:

Sample not available.

Response Information

Resource Description

SazWettbewerb
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

GruppeId

integer

Required

Bezeichnung

string

None.

Jahr

integer

Required

AnzahlMin

integer

Required

AnzahlMax

integer

Required

Geschlossen

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "305ba383-7f5b-4e92-876a-1a597a8494d8",
  "GruppeId": 3,
  "Bezeichnung": "sample string 4",
  "Jahr": 5,
  "AnzahlMin": 6,
  "AnzahlMax": 7,
  "Geschlossen": true
}

application/xml, text/xml

Sample:
<SazWettbewerb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <AnzahlMax>7</AnzahlMax>
  <AnzahlMin>6</AnzahlMin>
  <Bezeichnung>sample string 4</Bezeichnung>
  <Geschlossen>true</Geschlossen>
  <GruppeId>3</GruppeId>
  <Id>1</Id>
  <Jahr>5</Jahr>
  <RowGuid>305ba383-7f5b-4e92-876a-1a597a8494d8</RowGuid>
</SazWettbewerb>