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

ItgElement2Sportart
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

AnfrageId

integer

Required

Element2SportartId

integer

None.

PersonId

integer

None.

OrganisationId

integer

None.

SportartId

integer

Required

Beginn

date

None.

Ende

date

None.

Duplikat

integer

Required

GruppeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "83c8e97b-006a-4ed4-932e-a1fa581702d8",
  "AnfrageId": 3,
  "Element2SportartId": 1,
  "PersonId": 1,
  "OrganisationId": 1,
  "SportartId": 4,
  "Beginn": "2025-10-25T21:03:53.0476318+02:00",
  "Ende": "2025-10-25T21:03:53.0476318+02:00",
  "Duplikat": 5,
  "GruppeId": 1
}

application/xml, text/xml

Sample:
<ItgElement2Sportart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
  <AnfrageId>3</AnfrageId>
  <Beginn>2025-10-25T21:03:53.0476318+02:00</Beginn>
  <Duplikat>5</Duplikat>
  <Element2SportartId>1</Element2SportartId>
  <Ende>2025-10-25T21:03:53.0476318+02:00</Ende>
  <GruppeId>1</GruppeId>
  <Id>1</Id>
  <OrganisationId>1</OrganisationId>
  <PersonId>1</PersonId>
  <RowGuid>83c8e97b-006a-4ed4-932e-a1fa581702d8</RowGuid>
  <SportartId>4</SportartId>
</ItgElement2Sportart>