POST api/Clinic/Shifts/Save
Request Information
URI Parameters
None.
Body Parameters
ShiftDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| doctorName | string |
None. |
|
| weekday | integer |
None. |
|
| shift | string |
None. |
|
| note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"doctorName": "sample string 1",
"weekday": 2,
"shift": "sample string 3",
"note": "sample string 4"
}
application/xml, text/xml
Sample:
<ClinicController.ShiftDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers"> <doctorName>sample string 1</doctorName> <id>1</id> <note>sample string 4</note> <shift>sample string 3</shift> <weekday>2</weekday> </ClinicController.ShiftDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.