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

KrnElement2Sportart
NameDescriptionTypeAdditional information
Id

integer

Required

PersonId

integer

None.

OrganisationId

integer

None.

SportartId

integer

Required

Beginn

date

None.

Ende

date

None.

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PersonId": 1,
  "OrganisationId": 1,
  "SportartId": 2,
  "Beginn": "2025-12-06T05:54:47.7470786+01:00",
  "Ende": "2025-12-06T05:54:47.7470786+01:00",
  "RowGuid": "d881a377-8130-4e21-83b3-295f6dc732d3"
}

application/xml, text/xml

Sample:
<KrnElement2Sportart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Beginn>2025-12-06T05:54:47.7470786+01:00</Beginn>
  <Ende>2025-12-06T05:54:47.7470786+01:00</Ende>
  <Id>1</Id>
  <OrganisationId>1</OrganisationId>
  <PersonId>1</PersonId>
  <RowGuid>d881a377-8130-4e21-83b3-295f6dc732d3</RowGuid>
  <SportartId>2</SportartId>
</KrnElement2Sportart>