You can use the PATCH verb to update plan targets.
Overview
You can update plan targets using the PATCH Plan Targets endpoint. The operation uses the following URL:
https://www.dayforcehcm.com/api/CompanyName/V1/PlanTargets
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 instance of Dayforce is your responsibility.
- The URL syntax is: https://www.dayforcehcm.com/api/CompanyName/V1/PlanTargets?isValidateOnly=true
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 example below shows all of the possible fields in the correct JSON format.
{
"PlanTargetXRefCode": "string",
"Name": "string",
"Description": "string",
"EffectiveStart": "2023-01-31T17:37:13.607Z",
"EffectiveEnd": "2023-01-31T17:37:13.607Z",
"TargetValue": 0,
"KpiXRefCode": "string",
"ZoneXRefCode": "string",
"DaysOfWeek": [
"string"
],
"OrgUnitXRefCodes": [
"string"
],
"CreationOrgUnitXRefCode": "string"
}