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

VerReferent2Kompetenz
NameDescriptionTypeAdditional information
Id

integer

Required

ReferentId

integer

Required

KompetenzId

integer

Required

Beginn

date

Required

Ende

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReferentId": 2,
  "KompetenzId": 3,
  "Beginn": "2025-10-25T23:37:45.1289499+02:00",
  "Ende": "2025-10-25T23:37:45.1289499+02:00"
}

application/xml, text/xml

Sample:
<VerReferent2Kompetenz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
  <Beginn>2025-10-25T23:37:45.1289499+02:00</Beginn>
  <Ende>2025-10-25T23:37:45.1289499+02:00</Ende>
  <Id>1</Id>
  <KompetenzId>3</KompetenzId>
  <ReferentId>2</ReferentId>
</VerReferent2Kompetenz>