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

LizAusbildungsgang2Profil
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

AusbildungsgangId

integer

Required

ProfilId

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "9954d5ae-a6a4-4511-850b-3c661f4b9ab6",
  "AusbildungsgangId": 3,
  "ProfilId": 4
}

application/xml, text/xml

Sample:
<LizAusbildungsgang2Profil xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Liz.Models">
  <AusbildungsgangId>3</AusbildungsgangId>
  <Id>1</Id>
  <ProfilId>4</ProfilId>
  <RowGuid>9954d5ae-a6a4-4511-850b-3c661f4b9ab6</RowGuid>
</LizAusbildungsgang2Profil>