POST api/Configuration/SetShopOperatingHours
Request Information
URI Parameters
None.
Body Parameters
ShopOperatingHoursSetRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| ShopUserId | integer |
None. |
|
| OperatingHoursEnabled | boolean |
None. |
|
| OpeningHoursParsable | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"ShopUserId": 2,
"OperatingHoursEnabled": true,
"OpeningHoursParsable": "sample string 4"
}
text/html
Sample:
{"UserId":1,"ShopUserId":2,"OperatingHoursEnabled":true,"OpeningHoursParsable":"sample string 4"}
application/xml, text/xml
Sample:
<ShopOperatingHoursSetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Msa.Online.OrderbobApi.Models.Configuration"> <OpeningHoursParsable>sample string 4</OpeningHoursParsable> <OperatingHoursEnabled>true</OperatingHoursEnabled> <ShopUserId>2</ShopUserId> <UserId>1</UserId> </ShopOperatingHoursSetRequest>
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. |