Dayforce RESTful services use the PATCH verb to update operating hours.
Overview
The URL for PATCH operations uses the following base URL:
https://www.dayforcehcm.com/api/{CompanyName}/V1/OperatingHours/PatchOperatingHoursException
Important: This request writes data into Dayforce. When using this request, ensure that the consuming application/requester is using the correct Dayforce instance (for example, Test or Production). Watch out for inadvertently updating the wrong Dayforce instance (for example, test data in a production instance).
Parameters
IsValidateOnly* (boolean)
- Used to specify that all of the validations need to be performed without committing any changes.
- Use this parameter to control whether committing information to your Dayforce instance is your responsibility.
- The URL syntax is: https://www.dayforcehcm.com/api/CompanyName/V1/OperatingHours/[XRefCode]?isValidateOnly=true
clientNamespace (string)
- Uniquely identifies the client's Dayforce instance. This is needed to log in.
Request Body
The request body contains the data entities and elements that need to be processed within a structure that can be interpreted by Dayforce web services. The same JSON structure used to return data retrieved from Dayforce using the GET Operating Hours request is used for PATCH operations.