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

VerReferent
NameDescriptionTypeAdditional information
Id

integer

Required

PersonId

integer

Required

Ausbildung

string

None.

Abschluss

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PersonId": 2,
  "Ausbildung": "sample string 3",
  "Abschluss": "sample string 4"
}

application/xml, text/xml

Sample:
<VerReferent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
  <Abschluss>sample string 4</Abschluss>
  <Ausbildung>sample string 3</Ausbildung>
  <Id>1</Id>
  <PersonId>2</PersonId>
</VerReferent>