object service.deletetimes(string/array serviceIds)
This method allows to delete all service times from services此方法允许从服务中删除所有服务时间.
(string/array)
IDs of the services to delete all service times from删除所有服务时间的服务的ID.
(object)
Returns an object containing the IDs of the affected services under the serviceids
property. (object)
返回一个包含serviceids
属性下受影响的服务ID的对象.
Delete all service times from service "2"从服务"2"删除所有服务时间.
Request请求:
{
"jsonrpc": "2.0",
"method": "service.deletetimes",
"params": [
"2"
],
"auth": "3a57200802b24cda67c4e4010b50c065",
"id": 1
}
Response响应:
CService::delete() in frontends/php/include/classes/api/services/CService.php.