POST Api/Patients/AddMedication
Request Information
URI Parameters
None.
Body Parameters
PatientMedication| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientMedicationId | integer |
None. |
|
| MedicationId | integer |
None. |
|
| PatientId | integer |
None. |
|
| IsCurrent | boolean |
None. |
|
| Amount | string |
None. |
|
| FreeMedicationName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"patientMedicationId": 1,
"medicationId": 1,
"patientId": 2,
"isCurrent": true,
"amount": "sample string 4",
"freeMedicationName": "sample string 5"
}
text/html
Sample:
{"patientMedicationId":1,"medicationId":1,"patientId":2,"isCurrent":true,"amount":"sample string 4","freeMedicationName":"sample string 5"}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.