POST StopLightProtocol/AddUpdateBusinessHoursAndHolidays
Request Information
URI Parameters
None.
Body Parameters
UpdateBusinessHoursAndHolidaysRequestName | Description | Type | Additional information |
---|---|---|---|
IsDefaultHoliday | boolean |
None. |
|
BusinessHoursDetails | Collection of BusinessHoursDetails |
None. |
|
UserId | integer |
None. |
|
FacilityID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "isDefaultHoliday": true, "businessHoursDetails": [ { "facilityID": 1, "startHours": "sample string 2", "endHours": "sample string 3", "dayType": 4 }, { "facilityID": 1, "startHours": "sample string 2", "endHours": "sample string 3", "dayType": 4 } ], "userId": 2, "facilityID": 3 }
application/xml, text/xml
Sample:
<UpdateBusinessHoursAndHolidaysRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DynamicsIntegrationToolkit.DTO"> <BusinessHoursDetails> <BusinessHoursDetails> <DayType>4</DayType> <EndHours>sample string 3</EndHours> <FacilityID>1</FacilityID> <StartHours>sample string 2</StartHours> </BusinessHoursDetails> <BusinessHoursDetails> <DayType>4</DayType> <EndHours>sample string 3</EndHours> <FacilityID>1</FacilityID> <StartHours>sample string 2</StartHours> </BusinessHoursDetails> </BusinessHoursDetails> <FacilityID>3</FacilityID> <IsDefaultHoliday>true</IsDefaultHoliday> <UserId>2</UserId> </UpdateBusinessHoursAndHolidaysRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |