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

KrnOrgTyp
NameDescriptionTypeAdditional information
Id

integer

Required

Nummer

integer

Required

Bezeichnung

string

None.

Mitglied

boolean

Required

Adressgruppe

string

None.

Debitorgruppe

string

None.

Kreditorgruppe

string

None.

KontoFord

integer

Required

KontoVerb

integer

Required

DebitorKontoPrefix

string

None.

KreditorKontoPrefix

string

None.

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Nummer": 2,
  "Bezeichnung": "sample string 3",
  "Mitglied": true,
  "Adressgruppe": "sample string 5",
  "Debitorgruppe": "sample string 6",
  "Kreditorgruppe": "sample string 7",
  "KontoFord": 8,
  "KontoVerb": 9,
  "DebitorKontoPrefix": "sample string 10",
  "KreditorKontoPrefix": "sample string 11",
  "RowGuid": "ab1ba6d4-6be1-4867-9e46-91c8d61aaee4"
}

application/xml, text/xml

Sample:
<KrnOrgTyp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Adressgruppe>sample string 5</Adressgruppe>
  <Bezeichnung>sample string 3</Bezeichnung>
  <DebitorKontoPrefix>sample string 10</DebitorKontoPrefix>
  <Debitorgruppe>sample string 6</Debitorgruppe>
  <Id>1</Id>
  <KontoFord>8</KontoFord>
  <KontoVerb>9</KontoVerb>
  <KreditorKontoPrefix>sample string 11</KreditorKontoPrefix>
  <Kreditorgruppe>sample string 7</Kreditorgruppe>
  <Mitglied>true</Mitglied>
  <Nummer>2</Nummer>
  <RowGuid>ab1ba6d4-6be1-4867-9e46-91c8d61aaee4</RowGuid>
</KrnOrgTyp>