PUT api/branches/{branchKey}/workinghours
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchKey | string |
Required |
Body Parameters
BranchWorkingHoursModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchWorkingHourModels | Collection of BranchWorkingHourModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"BranchWorkingHourModels": [
{
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"DayOfWeek": "sample string 3",
"IsOpened": true,
"Date": "sample string 5",
"DayOfWeekNum": 6
},
{
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"DayOfWeek": "sample string 3",
"IsOpened": true,
"Date": "sample string 5",
"DayOfWeekNum": 6
}
]
}
application/xml, text/xml
Sample:
<BranchWorkingHoursModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models.Schedule.WorkingHours">
<BranchWorkingHourModels>
<BranchWorkingHourModel>
<Date>sample string 5</Date>
<DayOfWeek>sample string 3</DayOfWeek>
<DayOfWeekNum>6</DayOfWeekNum>
<EndTime>PT0.1234567S</EndTime>
<IsOpened>true</IsOpened>
<StartTime>PT0.1234567S</StartTime>
</BranchWorkingHourModel>
<BranchWorkingHourModel>
<Date>sample string 5</Date>
<DayOfWeek>sample string 3</DayOfWeek>
<DayOfWeekNum>6</DayOfWeekNum>
<EndTime>PT0.1234567S</EndTime>
<IsOpened>true</IsOpened>
<StartTime>PT0.1234567S</StartTime>
</BranchWorkingHourModel>
</BranchWorkingHourModels>
</BranchWorkingHoursModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |