| POST | /rest/Bedarfsmedikation |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GastId | body | int | Yes | Gast Id |
| Datum | body | Date | Yes | Datum inkl. Uhrzeit (2016-11-07T22:02:25+01:00) |
| Grund | body | string | Yes | max. 50 Zeichen |
| AenderungVon | body | string | Yes | |
| AenderungAm | body | Date | Yes | Datum inkl. Uhrzeit (2016-11-07T22:02:25+01:00) |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/oneway/PostBedarfsmedikationRequest HTTP/1.1
Host: 058.service.xn--hwstationr-y5a.de
Content-Type: application/xml
Content-Length: length
<PostBedarfsmedikationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/plg_Bedarfsmedikation">
<AenderungAm>0001-01-01T00:00:00</AenderungAm>
<AenderungVon>String</AenderungVon>
<Datum>0001-01-01T00:00:00</Datum>
<GastId>0</GastId>
<Grund>String</Grund>
</PostBedarfsmedikationRequest>