创建服务
此方法允许创建新服务。
此方法允许任何用户使用。可以在用户角色设置中撤销调用此方法的权限。更多信息请查看。
Additionally to the , the method accepts the following parameters. 除standard service properties之外,该方法接受以下参数。
返回一个serviceids
属性包含被创建服务ID的对象。返回的ID顺序与传入服务的顺序一致。
Creating an service 创建服务
Response 响应:
{
"jsonrpc": "2.0",
"result": {
"5"
]
},
"id": 1
CService::create() 在 frontends/php/include/classes/api/services/CService.php。