PUT api/Account/UpdateSubAccountWorkingHours
Request Information
URI Parameters
None.
Body Parameters
UpdateHoursRequestVMName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
AccountIds | Collection of string |
Required |
|
Hours | Collection of WorkingHoursSummaryVM |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "AccountIds": [ "sample string 1", "sample string 2" ], "Hours": [ { "IsByAppointmentOnly": true, "DayOfWeek": "Sunday", "OpeningTimeDetail": { "Hour": 1, "Minutes": 2, "IsAm": true }, "ClosingTimeDetail": { "Hour": 1, "Minutes": 2, "IsAm": true } }, { "IsByAppointmentOnly": true, "DayOfWeek": "Sunday", "OpeningTimeDetail": { "Hour": 1, "Minutes": 2, "IsAm": true }, "ClosingTimeDetail": { "Hour": 1, "Minutes": 2, "IsAm": true } } ] }
application/xml, text/xml
Sample:
<UpdateHoursRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers"> <AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </AccountIds> <Hours> <WorkingHoursSummaryVM> <ClosingTimeDetail> <Hour>1</Hour> <IsAm>true</IsAm> <Minutes>2</Minutes> </ClosingTimeDetail> <DayOfWeek>Sunday</DayOfWeek> <IsByAppointmentOnly>true</IsByAppointmentOnly> <OpeningTimeDetail> <Hour>1</Hour> <IsAm>true</IsAm> <Minutes>2</Minutes> </OpeningTimeDetail> </WorkingHoursSummaryVM> <WorkingHoursSummaryVM> <ClosingTimeDetail> <Hour>1</Hour> <IsAm>true</IsAm> <Minutes>2</Minutes> </ClosingTimeDetail> <DayOfWeek>Sunday</DayOfWeek> <IsByAppointmentOnly>true</IsByAppointmentOnly> <OpeningTimeDetail> <Hour>1</Hour> <IsAm>true</IsAm> <Minutes>2</Minutes> </OpeningTimeDetail> </WorkingHoursSummaryVM> </Hours> <UserId>sample string 1</UserId> </UpdateHoursRequestVM>
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.