Any ideas for the following API error?
Originally posted by Hong Zhao on February 3, 2026 at 6:54 PM.
Any ideas for the following API error?
POST: {{host}}/Api/{{company}}/V1/EmployeeSchedules?isValidateOnly=false&orgUnitXRefCode=DUMMY_ENTITY_DD_LOCATION_U
Request:
[
{
"TimeEnd": "2026-01-24T17:00:00",
"TimeStart": "2026-01-24T09:00:00",
"employeeXRefCode": "260203182208465",
"positionXRefCode": "AO Classification 1 Primary",
"segments": [
{
"PositionXRefCode": "AO Classification 1 Primary",
"TimeEnd": "2026-01-24T17:00:00",
"TimeStart": "2026-01-24T09:00:00"
}
]
}
]
Response:
{
"requestId": "1d11f84c-b691-4202-a879-a332dc3920f9",
"processResults": [
{
"context": "260203182208465",
"message": "Employee does not have a matching work assignment for duration of ScheduleSegmentDayforce from 1/24/2026 9:00:00 AM - 1/24/2026 5:00:00 PM."
}
]
}
