POST api/EMEDNew/DoctorSaveHomeCare
Request Information
URI Parameters
None.
Body Parameters
DoctorHomeCareSaveModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorId | string |
None. |
|
| Fee | decimal number |
None. |
|
| Slots | Collection of HomeCareSlotModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"DoctorId": "sample string 1",
"Fee": 2.0,
"Slots": [
{
"Day": "sample string 1",
"From": "sample string 2",
"To": "sample string 3"
},
{
"Day": "sample string 1",
"From": "sample string 2",
"To": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<EMEDNewController.DoctorHomeCareSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emed.solution.Controllers">
<DoctorId>sample string 1</DoctorId>
<Fee>2</Fee>
<Slots>
<EMEDNewController.HomeCareSlotModel>
<Day>sample string 1</Day>
<From>sample string 2</From>
<To>sample string 3</To>
</EMEDNewController.HomeCareSlotModel>
<EMEDNewController.HomeCareSlotModel>
<Day>sample string 1</Day>
<From>sample string 2</From>
<To>sample string 3</To>
</EMEDNewController.HomeCareSlotModel>
</Slots>
</EMEDNewController.DoctorHomeCareSaveModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |