Encountering 409 Conflict errors when publishing weekly schedules via the POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query endpoint. Our agents in America/Chicago frequently utilize the self-service portal for shift trades, but the API rejects the payload if swap_status is PENDING. Is there a specific flag to force override pending swaps during bulk publication, or must we manually resolve these before calling the endpoint? We need to automate this weekly workflow without manual intervention.
1 Like