You can use the PATCH verb to update KPI data.
Parameters
| Parameter | Description |
|---|---|
| orgUnitXRefCode | The cross-reference codes of the organizational units to update. |
| kpiXRefCode | The cross-reference codes of the KPIs to update. |
| kpiDataType | The type of KPI data to update. Supported values are Actual, Forecast, Plan, and Supplementary. |
| timePeriod | The data time period. Supported values are minute, day, and week. |
| isValidateOnly | Used to specify that all of the validations need to be performed without committing any changes. |
| clientNamespace | 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 example below shows all of the possible fields in the correct JSON format.
[
{
"OrgUnitXRefCode": "string",
"KpiXRefCode": "string",
"Day": "2023-12-11T18:59:10.638Z",
"Week": "2023-12-11T18:59:10.639Z",
"Minute": "2023-12-11T18:59:10.639Z",
"AggregateToDay": true,
"Value": 0,
"AdjustedValue": 0,
"Forma": "string",
"Forecast": "string",
"AxisXRefCode": "string",
"MdseXRefCode": "string"
}
]