POST api/ververanstaltung2gebuehr/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

VerVeranstaltung2Gebuehr
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

VeranstaltungId

integer

Required

GebuehrId

integer

Required

Standard

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "886f400e-aaf1-4ec7-9e63-f7a51ab0183c",
  "VeranstaltungId": 3,
  "GebuehrId": 4,
  "Standard": true
}

application/xml, text/xml

Sample:
<VerVeranstaltung2Gebuehr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
  <GebuehrId>4</GebuehrId>
  <Id>1</Id>
  <RowGuid>886f400e-aaf1-4ec7-9e63-f7a51ab0183c</RowGuid>
  <Standard>true</Standard>
  <VeranstaltungId>3</VeranstaltungId>
</VerVeranstaltung2Gebuehr>