POST api/ehrgeschenk/insert

Request Information

URI Parameters

None.

Body Parameters

EhrGeschenk
NameDescriptionTypeAdditional information
Id

integer

Required

Bezeichnung

string

None.

Wert

decimal number

Required

RowGuid

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Bezeichnung": "sample string 2",
  "Wert": 3.0,
  "RowGuid": "c265cbe7-1b7c-4684-bde4-856ae2bc1edf"
}

application/xml, text/xml

Sample:
<EhrGeschenk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ehr.Models">
  <Bezeichnung>sample string 2</Bezeichnung>
  <Id>1</Id>
  <RowGuid>c265cbe7-1b7c-4684-bde4-856ae2bc1edf</RowGuid>
  <Wert>3</Wert>
</EhrGeschenk>

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 'EhrGeschenk'.

Response Information

Resource Description

EhrGeschenkDisplay
NameDescriptionTypeAdditional information
Id

integer

Required

Bezeichnung

string

None.

Wert

decimal number

Required

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Bezeichnung": "sample string 2",
  "Wert": 3.0,
  "RowGuid": "5ccdb487-65a4-49c8-b3f8-9dff9a682b06"
}

application/xml, text/xml

Sample:
<EhrGeschenkDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ehr.Models">
  <Bezeichnung>sample string 2</Bezeichnung>
  <Id>1</Id>
  <RowGuid>5ccdb487-65a4-49c8-b3f8-9dff9a682b06</RowGuid>
  <Wert>3</Wert>
</EhrGeschenkDisplay>