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

EhrEhrungsart
NameDescriptionTypeAdditional information
Id

integer

Required

Bezeichnung

string

None.

Personenbezogen

boolean

Required

VerfahrenId

integer

Required

Artikel

string

None.

EhrungsgruppeId

integer

Required

Veroeffentlichung

integer

Required

RowGuid

globally unique identifier

Required

KrnVerleiherId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Bezeichnung": "sample string 2",
  "Personenbezogen": true,
  "VerfahrenId": 4,
  "Artikel": "sample string 5",
  "EhrungsgruppeId": 6,
  "Veroeffentlichung": 7,
  "RowGuid": "946f9909-5b68-4c6c-a086-e8d3af8e027d",
  "KrnVerleiherId": 1
}

application/xml, text/xml

Sample:
<EhrEhrungsart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ehr.Models">
  <Artikel>sample string 5</Artikel>
  <Bezeichnung>sample string 2</Bezeichnung>
  <EhrungsgruppeId>6</EhrungsgruppeId>
  <Id>1</Id>
  <KrnVerleiherId>1</KrnVerleiherId>
  <Personenbezogen>true</Personenbezogen>
  <RowGuid>946f9909-5b68-4c6c-a086-e8d3af8e027d</RowGuid>
  <VerfahrenId>4</VerfahrenId>
  <Veroeffentlichung>7</Veroeffentlichung>
</EhrEhrungsart>