POST api/gregremium/insert

Request Information

URI Parameters

None.

Body Parameters

GreGremium
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

OrganisationId

integer

Required

GremientypId

integer

Required

Bezeichnung

string

None.

Kuerzel

string

None.

Veroeffentl

boolean

Required

Beginn

date

None.

Ende

date

None.

Memo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "0ea6b40f-1a39-4e69-a0c0-300cee0d5487",
  "OrganisationId": 3,
  "GremientypId": 4,
  "Bezeichnung": "sample string 5",
  "Kuerzel": "sample string 6",
  "Veroeffentl": true,
  "Beginn": "2025-10-25T21:00:53.6214697+02:00",
  "Ende": "2025-10-25T21:00:53.6214697+02:00",
  "Memo": "sample string 8"
}

application/xml, text/xml

Sample:
<GreGremium xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Gre.Models">
  <Beginn>2025-10-25T21:00:53.6214697+02:00</Beginn>
  <Bezeichnung>sample string 5</Bezeichnung>
  <Ende>2025-10-25T21:00:53.6214697+02:00</Ende>
  <GremientypId>4</GremientypId>
  <Id>1</Id>
  <Kuerzel>sample string 6</Kuerzel>
  <Memo>sample string 8</Memo>
  <OrganisationId>3</OrganisationId>
  <RowGuid>0ea6b40f-1a39-4e69-a0c0-300cee0d5487</RowGuid>
  <Veroeffentl>true</Veroeffentl>
</GreGremium>

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 'GreGremium'.

Response Information

Resource Description

GreGremiumDisplay
NameDescriptionTypeAdditional information
GremientypIdDisplay

string

None.

OrganisationIdDisplay

string

None.

VerteilerGruppeList

Collection of integer

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

OrganisationId

integer

Required

GremientypId

integer

Required

Bezeichnung

string

None.

Kuerzel

string

None.

Veroeffentl

boolean

Required

Beginn

date

None.

Ende

date

None.

Memo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "GremientypIdDisplay": "sample string 1",
  "OrganisationIdDisplay": "sample string 2",
  "VerteilerGruppeList": [
    1,
    2
  ],
  "Id": 3,
  "RowGuid": "b5fa0a13-6105-4110-8ffb-976094aa4dda",
  "OrganisationId": 5,
  "GremientypId": 6,
  "Bezeichnung": "sample string 7",
  "Kuerzel": "sample string 8",
  "Veroeffentl": true,
  "Beginn": "2025-10-25T21:00:53.6214697+02:00",
  "Ende": "2025-10-25T21:00:53.6214697+02:00",
  "Memo": "sample string 10"
}

application/xml, text/xml

Sample:
<GreGremiumDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Gre.Models">
  <Beginn>2025-10-25T21:00:53.6214697+02:00</Beginn>
  <Bezeichnung>sample string 7</Bezeichnung>
  <Ende>2025-10-25T21:00:53.6214697+02:00</Ende>
  <GremientypId>6</GremientypId>
  <Id>3</Id>
  <Kuerzel>sample string 8</Kuerzel>
  <Memo>sample string 10</Memo>
  <OrganisationId>5</OrganisationId>
  <RowGuid>b5fa0a13-6105-4110-8ffb-976094aa4dda</RowGuid>
  <Veroeffentl>true</Veroeffentl>
  <GremientypIdDisplay>sample string 1</GremientypIdDisplay>
  <OrganisationIdDisplay>sample string 2</OrganisationIdDisplay>
  <VerteilerGruppeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </VerteilerGruppeList>
</GreGremiumDisplay>