POST api/Clinic/ShiftTimes/Save
Request Information
URI Parameters
None.
Body Parameters
ShiftTimesWrapper| Name | Description | Type | Additional information |
|---|---|---|---|
| m_Data | Collection of ShiftTimeDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"m_Data": [
{
"key": "sample string 1",
"label": "sample string 2",
"startTime": "sample string 3",
"endTime": "sample string 4"
},
{
"key": "sample string 1",
"label": "sample string 2",
"startTime": "sample string 3",
"endTime": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<ClinicController.ShiftTimesWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers">
<m_Data>
<ClinicController.ShiftTimeDTO>
<endTime>sample string 4</endTime>
<key>sample string 1</key>
<label>sample string 2</label>
<startTime>sample string 3</startTime>
</ClinicController.ShiftTimeDTO>
<ClinicController.ShiftTimeDTO>
<endTime>sample string 4</endTime>
<key>sample string 1</key>
<label>sample string 2</label>
<startTime>sample string 3</startTime>
</ClinicController.ShiftTimeDTO>
</m_Data>
</ClinicController.ShiftTimesWrapper>
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.