Get a List of Working Hours
Returns the working hours for all resources, with the option of including resources without any hours specified.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | ResourceWorkingHours | Required |
IncludeEmpty | Bool | 1 includes resources with no working hours. Default is 0. | Optional |
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=ResourceWorkingHours
Response Data
{ "Code": 0, "Result": [ { "ResourceId": 17651, "ResourceName": "Joe Bloggs", "workHours": [ { "day": "Monday", "start": "08:00", "finish": "18:00" }, { "day": "Tuesday", "start": "08:00", "finish": "18:00" }, { "day": "Wednesday", "start": "08:00", "finish": "18:00" }, { "day": "Thursday", "start": "08:00", "finish": "18:00" }, { "day": "Friday", "start": "08:00", "finish": "18:00" } ] }, { "ResourceId": 63880, "ResourceName": "Fred Smith", "workHours": [ { "day": "Monday", "start": "08:00", "finish": "18:00" }, { "day": "Tuesday", "start": "08:00", "finish": "18:00" }, { "day": "Wednesday", "start": "08:00", "finish": "18:00" }, { "day": "Thursday", "start": "08:00", "finish": "18:00" }, { "day": "Friday", "start": "08:00", "finish": "18:00" } ] }, { "ResourceId": 63632, "ResourceName": "Sarah Jones", "workHours": [ { "day": "Monday", "start": "08:00", "finish": "18:00" }, { "day": "Tuesday", "start": "08:00", "finish": "18:00" }, { "day": "Wednesday", "start": "08:00", "finish": "18:00" }, { "day": "Thursday", "start": "08:00", "finish": "18:00" }, { "day": "Friday", "start": "08:00", "finish": "18:00" } ] } ] }