POST api/krnelement2sportart/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional 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:
Response Information
Resource Description
KrnElement2Sportart| Name | Description | Type | Additional 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-11-08T15:34:52.6580505+01:00",
"Ende": "2025-11-08T15:34:52.6580505+01:00",
"RowGuid": "892e5c0c-5697-4326-afd9-babf465b9bbd"
}
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-11-08T15:34:52.6580505+01:00</Beginn> <Ende>2025-11-08T15:34:52.6580505+01:00</Ende> <Id>1</Id> <OrganisationId>1</OrganisationId> <PersonId>1</PersonId> <RowGuid>892e5c0c-5697-4326-afd9-babf465b9bbd</RowGuid> <SportartId>2</SportartId> </KrnElement2Sportart>