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

GreProtokoll
NameDescriptionTypeAdditional information
Id

integer

Required

GremiumId

integer

Required

OrganisationId

integer

None.

PersonId

integer

None.

AdresseId

integer

Required

Beginn

date

Required

Ende

date

None.

PrimaereEmail

integer

Required

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "GremiumId": 2,
  "OrganisationId": 1,
  "PersonId": 1,
  "AdresseId": 3,
  "Beginn": "2025-10-25T20:57:44.4560043+02:00",
  "Ende": "2025-10-25T20:57:44.4560043+02:00",
  "PrimaereEmail": 5,
  "RowGuid": "42b919a4-45d0-4a33-bd1a-5aa2bd85dd33"
}

application/xml, text/xml

Sample:
<GreProtokoll xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Gre.Models">
  <AdresseId>3</AdresseId>
  <Beginn>2025-10-25T20:57:44.4560043+02:00</Beginn>
  <Ende>2025-10-25T20:57:44.4560043+02:00</Ende>
  <GremiumId>2</GremiumId>
  <Id>1</Id>
  <OrganisationId>1</OrganisationId>
  <PersonId>1</PersonId>
  <PrimaereEmail>5</PrimaereEmail>
  <RowGuid>42b919a4-45d0-4a33-bd1a-5aa2bd85dd33</RowGuid>
</GreProtokoll>