更新任务Copy Pagepatch https://api.myhostex.com/v3/tasks/{id}更新现有任务。所有字段都是可选的;仅更改提供的字段。通过 property_id=0 或 staff_id=0 将任务与相关房间或人员分离。Path Paramsidint64required要更新的任务的 ID。Body Paramstypestringenumcleaningmaintenancereceptionroom_serviceotherAllowed:cleaningmaintenancereceptionroom_serviceotherproperty_idinteger传递 0 将任务与任何房间分离。staff_idinteger传递 0 取消分配任务。expected_datedate预计执行日期为 YYYY-MM-DD。以房东账号配置的时区进行解释。expected_timestring预计执行时间为 HH:mm:ss。以房东账号配置的时区进行解释。levelstringenumstandardsimpleadvancedAllowed:standardsimpleadvancedstatusstringenumpendingin_progresscompletedcancelledAllowed:pendingin_progresscompletedcancelledcurrencystringfeenumbernotestringResponse 200任务已成功更新。Updated 21 days ago