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

KrnFunktion
NameDescriptionTypeAdditional information
Id

integer

Required

OrgTypId

integer

Required

Nummer

integer

Required

Bezeichnung

string

None.

Fachverbandzuordnung

boolean

Required

Bereich

integer

Required

OberfunktionId

integer

Required

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrgTypId": 2,
  "Nummer": 3,
  "Bezeichnung": "sample string 4",
  "Fachverbandzuordnung": true,
  "Bereich": 6,
  "OberfunktionId": 7,
  "RowGuid": "ec3e66d5-b7ef-47bd-9db1-2a5d52b8708e"
}

application/xml, text/xml

Sample:
<KrnFunktion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Bereich>6</Bereich>
  <Bezeichnung>sample string 4</Bezeichnung>
  <Fachverbandzuordnung>true</Fachverbandzuordnung>
  <Id>1</Id>
  <Nummer>3</Nummer>
  <OberfunktionId>7</OberfunktionId>
  <OrgTypId>2</OrgTypId>
  <RowGuid>ec3e66d5-b7ef-47bd-9db1-2a5d52b8708e</RowGuid>
</KrnFunktion>