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

KrnOrg2Fachverband
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

OrganisationId

integer

Required

FachverbandId

integer

Required

Nummer

string

None.

Mitglied

boolean

Required

Region

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "c88f97b9-a5db-477e-91ea-94f6dc420eef",
  "OrganisationId": 3,
  "FachverbandId": 4,
  "Nummer": "sample string 5",
  "Mitglied": true,
  "Region": "sample string 7"
}

application/xml, text/xml

Sample:
<KrnOrg2Fachverband xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <FachverbandId>4</FachverbandId>
  <Id>1</Id>
  <Mitglied>true</Mitglied>
  <Nummer>sample string 5</Nummer>
  <OrganisationId>3</OrganisationId>
  <Region>sample string 7</Region>
  <RowGuid>c88f97b9-a5db-477e-91ea-94f6dc420eef</RowGuid>
</KrnOrg2Fachverband>