| POST | /rest/BedarfsmedikationMedikament |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Key | body | int | Yes | Key der Bedarfsmedikation |
| Prio | body | int | Yes | 1=Prio 1, 2=Prio 2, 3=Prio 3 |
| Medikament | body | int | Yes | Id vom Service GetMedikamenteRequest |
| Dosierung | body | string | Yes | max. 100 Zeichen |
| MaxDosierung | body | string | No | max. 100 Zeichen |
| Arzt | body | string | No | 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/PostBedarfsmedikationMedikamentRequest HTTP/1.1
Host: 058.service.xn--hwstationr-y5a.de
Content-Type: application/xml
Content-Length: length
<PostBedarfsmedikationMedikamentRequest 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>
<Arzt>String</Arzt>
<Dosierung>String</Dosierung>
<Key>0</Key>
<MaxDosierung>String</MaxDosierung>
<Medikament>0</Medikament>
<Prio>0</Prio>
</PostBedarfsmedikationMedikamentRequest>