summaryrefslogtreecommitdiff
path: root/data/zh_cn/ccc/2017-07-05/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/ccc/2017-07-05/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/ccc/2017-07-05/api-docs.php')
-rw-r--r--data/zh_cn/ccc/2017-07-05/api-docs.php18187
1 files changed, 3019 insertions, 15168 deletions
diff --git a/data/zh_cn/ccc/2017-07-05/api-docs.php b/data/zh_cn/ccc/2017-07-05/api-docs.php
index f87563b..ca8fb3e 100644
--- a/data/zh_cn/ccc/2017-07-05/api-docs.php
+++ b/data/zh_cn/ccc/2017-07-05/api-docs.php
@@ -1,247 +1,120 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'CCC',
- 'version' => '2017-07-05',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'CCC', 'version' => '2017-07-05'],
'directories' => [
[
'id' => 58590,
'title' => '统计',
'type' => 'directory',
- 'children' => [
- 'ListVoiceAppraise',
- 'LaunchAppraise',
- 'SaveWebRTCStats',
- ],
+ 'children' => ['ListVoiceAppraise', 'LaunchAppraise', 'SaveWebRTCStats'],
],
[
'id' => 58594,
'title' => '联系流程',
'type' => 'directory',
- 'children' => [
- 'CreateContactFlow',
- 'ListContactFlows',
- 'GetRoutePoint',
- 'ListIvrTrackingDetail',
- 'CommitContactFlowVersionModification',
- 'PublishContactFlowVersion',
- ],
+ 'children' => ['CreateContactFlow', 'ListContactFlows', 'GetRoutePoint', 'ListIvrTrackingDetail', 'CommitContactFlowVersionModification', 'PublishContactFlowVersion'],
],
[
'id' => 58601,
'title' => '录音',
'type' => 'directory',
- 'children' => [
- 'GetRecordOssUploadParam',
- 'ListRecordingOfDualTrack',
- 'ListRecordingsByContactId',
- 'DownloadAllTypeRecording',
- 'DownloadRecording',
- ],
+ 'children' => ['GetRecordOssUploadParam', 'ListRecordingOfDualTrack', 'ListRecordingsByContactId', 'DownloadAllTypeRecording', 'DownloadRecording'],
],
[
'id' => 58607,
'title' => '通话',
'type' => 'directory',
- 'children' => [
- 'ModifyPrivacyNumberCallDetail',
- 'StartBack2BackCall',
- 'ListCallDetailRecords',
- 'ListCallEventDetailByContactId',
- 'ListRecentCallRecords',
- 'GetConversationDetailByContactId',
- 'DialEx',
- 'CallOnlinePrivacyNumber',
- ],
+ 'children' => ['ModifyPrivacyNumberCallDetail', 'StartBack2BackCall', 'ListCallDetailRecords', 'ListCallEventDetailByContactId', 'ListRecentCallRecords', 'GetConversationDetailByContactId', 'DialEx', 'CallOnlinePrivacyNumber'],
],
[
'id' => 58618,
'title' => '配置',
'type' => 'directory',
- 'children' => [
- 'GetConfig',
- 'ListConfig',
- ],
+ 'children' => ['GetConfig', 'ListConfig'],
],
[
'id' => 58621,
'title' => '标签',
'type' => 'directory',
- 'children' => [
- 'AddPhoneTags',
- 'DeletePhoneTags',
- 'ModifyPhoneTags',
- 'ListPhoneTags',
- ],
+ 'children' => ['AddPhoneTags', 'DeletePhoneTags', 'ModifyPhoneTags', 'ListPhoneTags'],
],
[
'id' => 58626,
'title' => '号码',
'type' => 'directory',
- 'children' => [
- 'AddBulkPhoneNumbers',
- 'AddPhoneNumber',
- 'ModifyPhoneNumber',
- 'GetNumberRegionInfo',
- 'GetServiceExtensions',
- 'ListPhoneNumbers',
- 'CheckNumberAvaliable',
- 'PickOutboundNumbers',
- 'RemovePhoneNumber',
- 'PickGlobalOutboundNumbers',
- 'PickLocalNumber',
- ],
+ 'children' => ['AddBulkPhoneNumbers', 'AddPhoneNumber', 'ModifyPhoneNumber', 'GetNumberRegionInfo', 'GetServiceExtensions', 'ListPhoneNumbers', 'CheckNumberAvaliable', 'PickOutboundNumbers', 'RemovePhoneNumber', 'PickGlobalOutboundNumbers', 'PickLocalNumber'],
],
[
'id' => 58638,
'title' => '实例',
'type' => 'directory',
- 'children' => [
- 'CreateInstance',
- 'CreateVoiceAppraise',
- 'DeleteInstance',
- 'GetInstance',
- 'GetInstanceState',
- 'ListInstancesOfUser',
- ],
+ 'children' => ['CreateInstance', 'CreateVoiceAppraise', 'DeleteInstance', 'GetInstance', 'GetInstanceState', 'ListInstancesOfUser'],
],
[
'id' => 58649,
'title' => '供应商',
'type' => 'directory',
- 'children' => [
- 'DisableTrunkProviders',
- 'ListTrunkProviders',
- ],
+ 'children' => ['DisableTrunkProviders', 'ListTrunkProviders'],
],
[
'id' => 58652,
'title' => '媒体',
'type' => 'directory',
- 'children' => [
- 'CreateMedia',
- 'DeleteMedia',
- 'ListMedias',
- ],
+ 'children' => ['CreateMedia', 'DeleteMedia', 'ListMedias'],
],
[
'id' => 58656,
'title' => 'TURN服务',
'type' => 'directory',
- 'children' => [
- 'GetTURNCredentials',
- 'GetTURNServerList',
- ],
+ 'children' => ['GetTURNCredentials', 'GetTURNServerList'],
],
[
'id' => 58659,
'title' => '调查',
'type' => 'directory',
- 'children' => [
- 'CreateFault',
- ],
+ 'children' => ['CreateFault'],
],
[
'id' => 58667,
'title' => '报表',
'type' => 'directory',
- 'children' => [
- 'ListCallMeasureSummaryReports',
- 'GetCallMeasureSummaryReport',
- 'GetInstanceSummaryReport',
- 'GetInstanceSummaryReportByInterval',
- 'GetInstanceSummaryReportSinceMidnight',
- ],
+ 'children' => ['ListCallMeasureSummaryReports', 'GetCallMeasureSummaryReport', 'GetInstanceSummaryReport', 'GetInstanceSummaryReportByInterval', 'GetInstanceSummaryReportSinceMidnight'],
],
[
'id' => 58673,
'title' => '客服',
'type' => 'directory',
- 'children' => [
- 'CreateUser',
- 'GetUserByExtension',
- 'AssignUsers',
- 'ResetUserStatus',
- ],
+ 'children' => ['CreateUser', 'GetUserByExtension', 'AssignUsers', 'ResetUserStatus'],
],
[
'id' => 58678,
'title' => '用户',
'type' => 'directory',
- 'children' => [
- 'ModifyUser',
- 'GetUser',
- 'ListUsers',
- 'ListRoles',
- 'FindUsers',
- 'RemoveUsers',
- ],
+ 'children' => ['ModifyUser', 'GetUser', 'ListUsers', 'ListRoles', 'FindUsers', 'RemoveUsers'],
],
[
'id' => 58685,
'title' => '坐席',
'type' => 'directory',
- 'children' => [
- 'AddAgentDevice',
- 'ModifyAgentDevice',
- 'ListRealTimeAgent',
- 'ListAgentStateLogs',
- 'ListAgentStates',
- 'ListAgentSummaryReports',
- 'ListAgentSummaryReportsByInterval',
- 'ListAgentSummaryReportsSinceMidnight',
- 'GetAgentData',
- 'ListAgentDevices',
- 'ListAgentEvents',
- 'GenerateAgentStatisticReport',
- 'RefreshToken',
- 'RequestLoginInfo',
- ],
+ 'children' => ['AddAgentDevice', 'ModifyAgentDevice', 'ListRealTimeAgent', 'ListAgentStateLogs', 'ListAgentStates', 'ListAgentSummaryReports', 'ListAgentSummaryReportsByInterval', 'ListAgentSummaryReportsSinceMidnight', 'GetAgentData', 'ListAgentDevices', 'ListAgentEvents', 'GenerateAgentStatisticReport', 'RefreshToken', 'RequestLoginInfo'],
],
[
'id' => 58700,
'title' => '短信',
'type' => 'directory',
- 'children' => [
- 'GetSmsConfig',
- 'LaunchShortMessageAppraise',
- 'SendPredefinedShortMessage',
- ],
+ 'children' => ['GetSmsConfig', 'LaunchShortMessageAppraise', 'SendPredefinedShortMessage'],
],
[
'id' => 58704,
'title' => '技能组',
'type' => 'directory',
- 'children' => [
- 'CreateSkillGroup',
- 'DeleteSkillGroup',
- 'ModifyPrimaryTrunksOfSkillGroup',
- 'ModifySkillGroup',
- 'ModifySkillGroupOfUser',
- 'ModifySkillGroupOutboundNumbers',
- 'ListTrunksOfSkillGroup',
- 'ListUsersOfSkillGroup',
- 'ListSkillGroupStates',
- 'ListSkillGroupSummaryReports',
- 'ListSkillGroupSummaryReportsByInterval',
- 'ListSkillGroupSummaryReportsSinceMidnight',
- 'ListTransferableSkillGroups',
- 'ListSkillGroups',
- 'ListSkillGroupsOfUser',
- 'RemoveUsersFromSkillGroup',
- ],
+ 'children' => ['CreateSkillGroup', 'DeleteSkillGroup', 'ModifyPrimaryTrunksOfSkillGroup', 'ModifySkillGroup', 'ModifySkillGroupOfUser', 'ModifySkillGroupOutboundNumbers', 'ListTrunksOfSkillGroup', 'ListUsersOfSkillGroup', 'ListSkillGroupStates', 'ListSkillGroupSummaryReports', 'ListSkillGroupSummaryReportsByInterval', 'ListSkillGroupSummaryReportsSinceMidnight', 'ListTransferableSkillGroups', 'ListSkillGroups', 'ListSkillGroupsOfUser', 'RemoveUsersFromSkillGroup'],
],
[
'id' => 190044,
'title' => '其他',
'type' => 'directory',
- 'children' => [
- 'ListOutboundPhoneNumberOfUser',
- 'ListRecordings',
- 'ModifySkillGroupBasicInfo',
- ],
+ 'children' => ['ListOutboundPhoneNumberOfUser', 'ListRecordings', 'ModifySkillGroupBasicInfo'],
],
],
'components' => [
@@ -250,14 +123,8 @@
'apis' => [
'ListVoiceAppraise' => [
'summary' => '调用ListVoiceAppraise获取实例的语音满意度。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -271,21 +138,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取电话号码的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
+ 'schema' => ['description' => '待获取电话号码的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
],
],
'responses' => [
@@ -293,73 +152,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '0FDB996E-9A04-461C-BE0E-A7F8597526AD',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Notice' => [
- 'description' => '创建默认满意度提示。'."\n"
- ."\n"
- .'若客户自己配置语音满意度有一定难度,可参考模板创建的语音满意度进行修改。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '0FDB996E-9A04-461C-BE0E-A7F8597526AD'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Notice' => ['description' => '创建默认满意度提示。'."\n"
+ ."\n"
+ .'若客户自己配置语音满意度有一定难度,可参考模板创建的语音满意度进行修改。', 'type' => 'string', 'example' => '无'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
'ContactFlow' => [
'description' => '返回的语音满意度的联系流,,包含最新版本信息。',
'type' => 'object',
'properties' => [
- 'ContactFlowDescription' => [
- 'description' => '联系流的简单描述。',
- 'type' => 'string',
- 'example' => 'SatisfactionSurvey',
- ],
- 'Type' => [
- 'description' => '流程类型。',
- 'type' => 'string',
- 'example' => 'Mainflow',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称,在一个实例内名称不能重复。',
- 'type' => 'string',
- 'example' => 'SatisfactionSurvey',
- ],
- 'InstanceId' => [
- 'description' => '联系流所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'XmRB_0mcsmkj',
- ],
- 'AppliedVersion' => [
- 'description' => '当前正在工作的版本。',
- 'type' => 'string',
- 'example' => '20190319160735',
- ],
+ 'ContactFlowDescription' => ['description' => '联系流的简单描述。', 'type' => 'string', 'example' => 'SatisfactionSurvey'],
+ 'Type' => ['description' => '流程类型。', 'type' => 'string', 'example' => 'Mainflow'],
+ 'ContactFlowName' => ['description' => '联系流名称,在一个实例内名称不能重复。', 'type' => 'string', 'example' => 'SatisfactionSurvey'],
+ 'InstanceId' => ['description' => '联系流所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'ContactFlowId' => ['description' => '联系流唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'XmRB_0mcsmkj'],
+ 'AppliedVersion' => ['description' => '当前正在工作的版本。', 'type' => 'string', 'example' => '20190319160735'],
'Versions' => [
'type' => 'object',
'itemNode' => true,
@@ -370,41 +180,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '当前状态。',
- 'type' => 'string',
- 'example' => 'Published',
- ],
- 'LastModified' => [
- 'description' => '联系流版本的最后修改时间。',
- 'type' => 'string',
- 'example' => '2019-03-19 16:07:46',
- ],
- 'Version' => [
- 'description' => '联系流版本信息,一般以日期+时间来表示。',
- 'type' => 'string',
- 'example' => '20190319160735',
- ],
- 'ContactFlowVersionId' => [
- 'description' => '联系流版本ID,关联的联系流版本。',
- 'type' => 'string',
- 'example' => 'oEUk_1EAbkcn',
- ],
- 'ContactFlowVersionDescription' => [
- 'description' => '联系流版本的说明及注解。',
- 'type' => 'string',
- 'example' => 'SatisfactionSurvey-20180531144213',
- ],
- 'LastModifiedBy' => [
- 'description' => '联系流版本最后由何人修改。',
- 'type' => 'string',
- 'example' => 'cloudcallcenter',
- ],
- 'Content' => [
- 'description' => '符合ACC需求的流程文件内容。',
- 'type' => 'string',
- 'example' => '请见返回示例。',
- ],
+ 'Status' => ['description' => '当前状态。', 'type' => 'string', 'example' => 'Published'],
+ 'LastModified' => ['description' => '联系流版本的最后修改时间。', 'type' => 'string', 'example' => '2019-03-19 16:07:46'],
+ 'Version' => ['description' => '联系流版本信息,一般以日期+时间来表示。', 'type' => 'string', 'example' => '20190319160735'],
+ 'ContactFlowVersionId' => ['description' => '联系流版本ID,关联的联系流版本。', 'type' => 'string', 'example' => 'oEUk_1EAbkcn'],
+ 'ContactFlowVersionDescription' => ['description' => '联系流版本的说明及注解。', 'type' => 'string', 'example' => 'SatisfactionSurvey-20180531144213'],
+ 'LastModifiedBy' => ['description' => '联系流版本最后由何人修改。', 'type' => 'string', 'example' => 'cloudcallcenter'],
+ 'Content' => ['description' => '符合ACC需求的流程文件内容。', 'type' => 'string', 'example' => '请见返回示例。'],
],
],
],
@@ -420,38 +202,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '02160664656',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID。',
- 'type' => 'string',
- 'example' => 'cc583e96-6bae-437e-9aeb-bffd5aeddb73',
- ],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '02160664656'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'PhoneNumberId' => ['description' => '电话号码ID。', 'type' => 'string', 'example' => 'cc583e96-6bae-437e-9aeb-bffd5aeddb73'],
],
],
],
@@ -472,14 +228,8 @@
],
'LaunchAppraise' => [
'summary' => '用来统计满意度发送率。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -494,34 +244,20 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', 'docRequired' => true],
],
[
'name' => 'Acid',
'in' => 'query',
- 'schema' => [
- 'description' => '通话话务ID。'."\n"
- ."\n"
- .'即contactId,软电话SDK的回调事件中会携带contactId。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2021372960',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '通话话务ID。'."\n"
+ ."\n"
+ .'即contactId,软电话SDK的回调事件中会携带contactId。', 'type' => 'string', 'required' => true, 'example' => '2021372960', 'docRequired' => true],
],
],
'responses' => [
@@ -529,32 +265,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'xxx'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -569,14 +284,8 @@
],
'SaveWebRTCStats' => [
'summary' => '保存客服端WebRTC语音传输统计信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -591,111 +300,53 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9f46dde1-207a-46dd-926e-c0f39a124',
- ],
+ 'schema' => ['description' => '待获取用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9f46dde1-207a-46dd-926e-c0f39a124'],
],
[
'name' => 'RecordTime',
'in' => 'query',
- 'schema' => [
- 'description' => '调用此API的时间(客户端电脑的时间)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '160765543836',
- ],
+ 'schema' => ['description' => '调用此API的时间(客户端电脑的时间)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '160765543836'],
],
[
'name' => 'CallId',
'in' => 'query',
- 'schema' => [
- 'description' => '通话ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '294834804',
- ],
+ 'schema' => ['description' => '通话ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '294834804'],
],
[
'name' => 'CallerNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '021607806',
- ],
+ 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '021607806'],
],
[
'name' => 'CalleeNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '131228450',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '131228450'],
],
[
'name' => 'CallStartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '通话开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1607655438368',
- ],
+ 'schema' => ['description' => '通话开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1607655438368'],
],
[
'name' => 'Stats',
'in' => 'query',
- 'schema' => [
- 'description' => '从rtcPeerConnection.getStats(selector)中获取的语音传输统计信息(每隔3秒获取一次)',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '[XXX]',
- ],
+ 'schema' => ['description' => '从rtcPeerConnection.getStats(selector)中获取的语音传输统计信息(每隔3秒获取一次)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[XXX]'],
],
[
'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'description' => '客服的RAM ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '247361754012232',
- ],
+ 'schema' => ['description' => '客服的RAM ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '247361754012232'],
],
[
'name' => 'TenantId',
'in' => 'query',
- 'schema' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acc2626',
- ],
+ 'schema' => ['description' => '租户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acc2626'],
],
],
'responses' => [
@@ -703,38 +354,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'CF1C21B9-2D49-4B54-880F-FBE248C16903',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RowCount' => [
- 'description' => '存入数据库后返回的行数,一般为1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CF1C21B9-2D49-4B54-880F-FBE248C16903'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RowCount' => ['description' => '存入数据库后返回的行数,一般为1', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -748,13 +373,8 @@
],
'CreateContactFlow' => [
'summary' => '调用CreateContactFlow创建联系流。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -769,70 +389,38 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '联系流名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '测试流程',
- ],
+ 'schema' => ['description' => '联系流名称。', 'type' => 'string', 'required' => true, 'example' => '测试流程'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '测试'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '流程类型。取值:Mainflow、Subflow、System、Reserved、Navigator。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Mainflow',
- ],
+ 'schema' => ['description' => '流程类型。取值:Mainflow、Subflow、System、Reserved、Navigator。', 'type' => 'string', 'required' => true, 'example' => 'Mainflow'],
],
[
'name' => 'Canvas',
'in' => 'formData',
- 'schema' => [
- 'description' => '画布信息。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"lineList":[{"relatedModules":{"begin":1,"end":7},"offsetEndPonit":{"offsetX":12.150491568948121,"offsetY":-4.3527514192484915}},{"relatedModules":{"begin":7,"end":999},"offsetEndPonit":{"offsetX":11.620147014773558,"offsetY":1.633680331939992}}]}',
- ],
+ 'schema' => ['description' => '画布信息。', 'type' => 'string', 'required' => true, 'example' => '{"lineList":[{"relatedModules":{"begin":1,"end":7},"offsetEndPonit":{"offsetX":12.150491568948121,"offsetY":-4.3527514192484915}},{"relatedModules":{"begin":7,"end":999},"offsetEndPonit":{"offsetX":11.620147014773558,"offsetY":1.633680331939992}}]}'],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'description' => '结点信息。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"nodeType":"start","nodeDescript":"开始","variables":[{"varDescript":"隐藏参数,用于保存分支模块收号内容","varInitial":"","varName":"_press_key","varType":"string"},{"varDescript":"隐藏参数,智能导航中给出\\"转人工队列\\"的动作指令时,附带的参数","varInitial":"","varName":"_vn_control_queueName","varType":"string"}]}]',
- ],
+ 'schema' => ['description' => '结点信息。', 'type' => 'string', 'required' => true, 'example' => '[{"nodeType":"start","nodeDescript":"开始","variables":[{"varDescript":"隐藏参数,用于保存分支模块收号内容","varInitial":"","varName":"_press_key","varType":"string"},{"varDescript":"隐藏参数,智能导航中给出\\"转人工队列\\"的动作指令时,附带的参数","varInitial":"","varName":"_vn_control_queueName","varType":"string"}]}]'],
],
],
'responses' => [
@@ -840,66 +428,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'ContactFlow' => [
'description' => '联系流对象。',
'type' => 'object',
'properties' => [
- 'ContactFlowDescription' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Type' => [
- 'description' => '流程类型。',
- 'type' => 'string',
- 'example' => 'Mainflow',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称。',
- 'type' => 'string',
- 'example' => '测试流程',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流ID。',
- 'type' => 'string',
- 'example' => 'nk90_9MIXqop',
- ],
- 'AppliedVersion' => [
- 'description' => '已发布的版本号。',
- 'type' => 'string',
- 'example' => '27904327097583',
- ],
+ 'ContactFlowDescription' => ['description' => '描述信息。', 'type' => 'string', 'example' => '测试'],
+ 'Type' => ['description' => '流程类型。', 'type' => 'string', 'example' => 'Mainflow'],
+ 'ContactFlowName' => ['description' => '联系流名称。', 'type' => 'string', 'example' => '测试流程'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
+ 'ContactFlowId' => ['description' => '联系流ID。', 'type' => 'string', 'example' => 'nk90_9MIXqop'],
+ 'AppliedVersion' => ['description' => '已发布的版本号。', 'type' => 'string', 'example' => '27904327097583'],
'Versions' => [
'type' => 'object',
'itemNode' => true,
@@ -910,51 +453,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '联系流当前状态。',
- 'type' => 'string',
- 'example' => 'Draft',
- ],
- 'LastModified' => [
- 'description' => '最近修改时间。',
- 'type' => 'string',
- 'example' => '2020-12-16 09:40:41',
- ],
- 'Canvas' => [
- 'description' => '画布信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'LockedBy' => [
- 'description' => '此版本的锁定者。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'Version' => [
- 'description' => '联系流版本号。',
- 'type' => 'string',
- 'example' => '20201216094041',
- ],
- 'ContactFlowVersionId' => [
- 'description' => '版本ID。',
- 'type' => 'string',
- 'example' => 'fLXS_2CJPxot',
- ],
- 'LastModifiedBy' => [
- 'description' => '最近修改者。',
- 'type' => 'string',
- 'example' => '239999345126843208',
- ],
- 'ContactFlowVersionDescription' => [
- 'description' => '版本描述。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Content' => [
- 'description' => '结点信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'Status' => ['description' => '联系流当前状态。', 'type' => 'string', 'example' => 'Draft'],
+ 'LastModified' => ['description' => '最近修改时间。', 'type' => 'string', 'example' => '2020-12-16 09:40:41'],
+ 'Canvas' => ['description' => '画布信息。', 'type' => 'string', 'example' => '无'],
+ 'LockedBy' => ['description' => '此版本的锁定者。', 'type' => 'string', 'example' => 'cctest'],
+ 'Version' => ['description' => '联系流版本号。', 'type' => 'string', 'example' => '20201216094041'],
+ 'ContactFlowVersionId' => ['description' => '版本ID。', 'type' => 'string', 'example' => 'fLXS_2CJPxot'],
+ 'LastModifiedBy' => ['description' => '最近修改者。', 'type' => 'string', 'example' => '239999345126843208'],
+ 'ContactFlowVersionDescription' => ['description' => '版本描述。', 'type' => 'string', 'example' => '无'],
+ 'Content' => ['description' => '结点信息。', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -970,53 +477,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否用于测试。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Trunks' => [
- 'description' => '中继。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RemainingTime' => [
- 'description' => '可用时间,单位秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2592000',
- ],
- 'Number' => [
- 'description' => '号码。',
- 'type' => 'string',
- 'example' => '6680XXXX083',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
- 'Usage' => [
- 'description' => '用途。',
- 'type' => 'string',
- 'example' => 'Inbound',
- ],
- 'AllowOutbound' => [
- 'description' => '是否可以外呼。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '号码描述。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'PhoneNumberId' => [
- 'description' => '号码ID。',
- 'type' => 'string',
- 'example' => 'kq82ix9f-izbe-7813-a171-334uy290ck3w',
- ],
+ 'TestOnly' => ['description' => '是否用于测试。', 'type' => 'boolean', 'example' => 'true'],
+ 'Trunks' => ['description' => '中继。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RemainingTime' => ['description' => '可用时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '2592000'],
+ 'Number' => ['description' => '号码。', 'type' => 'string', 'example' => '6680XXXX083'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
+ 'Usage' => ['description' => '用途。', 'type' => 'string', 'example' => 'Inbound'],
+ 'AllowOutbound' => ['description' => '是否可以外呼。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '号码描述。', 'type' => 'string', 'example' => '测试'],
+ 'PhoneNumberId' => ['description' => '号码ID。', 'type' => 'string', 'example' => 'kq82ix9f-izbe-7813-a171-334uy290ck3w'],
],
],
],
@@ -1037,14 +506,8 @@
],
'ListContactFlows' => [
'summary' => '调用ListContactFlows获取呼叫中心实例中的IVR流程列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1058,20 +521,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -1079,32 +535,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'F7505505-D727-46E2-9B66-47C5CEBDFCE1',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F7505505-D727-46E2-9B66-47C5CEBDFCE1'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'ContactFlows' => [
'type' => 'object',
'itemNode' => true,
@@ -1115,36 +550,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactFlowDescription' => [
- 'description' => '联系流的简单描述。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'Type' => [
- 'description' => '流程类型, 定义来自于ContactFlowType。',
- 'type' => 'string',
- 'example' => 'Mainflow',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称,在一个实例内名称不能重复。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'InstanceId' => [
- 'description' => '联系流所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'dDMD_0mif4hv',
- ],
- 'AppliedVersion' => [
- 'description' => '当前正在工作的版本。',
- 'type' => 'string',
- 'example' => '20180704215641',
- ],
+ 'ContactFlowDescription' => ['description' => '联系流的简单描述。', 'type' => 'string', 'example' => 'Welcome'],
+ 'Type' => ['description' => '流程类型, 定义来自于ContactFlowType。', 'type' => 'string', 'example' => 'Mainflow'],
+ 'ContactFlowName' => ['description' => '联系流名称,在一个实例内名称不能重复。', 'type' => 'string', 'example' => 'Welcome'],
+ 'InstanceId' => ['description' => '联系流所归属的呼叫中心实例。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'ContactFlowId' => ['description' => '联系流唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'dDMD_0mif4hv'],
+ 'AppliedVersion' => ['description' => '当前正在工作的版本。', 'type' => 'string', 'example' => '20180704215641'],
'Versions' => [
'type' => 'object',
'itemNode' => true,
@@ -1155,43 +566,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '当前状态。',
- 'type' => 'string',
- 'example' => 'Published',
- ],
- 'LastModified' => [
- 'description' => '联系流版本的最后修改时间。the number of milliseconds since January 1, 1970, 00:00:00 GMT',
- 'type' => 'string',
- 'example' => '2018-07-04 22:00:55',
- ],
- 'LockedBy' => [
- 'description' => '联系流版本被何人锁定。'."\n"
- ."\n"
- .'在开始编辑前必须先将此版本锁定,编辑完成后解锁,这样可以避免多人同时修改一个版本而导致的冲突。在锁定的情况下,只有锁定人才能对其进行操作,其他人无权操作。无人锁定时该属性的值为NULL。',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Version' => [
- 'description' => '联系流版本信息,一般以日期+时间来表示。',
- 'type' => 'string',
- 'example' => '20180704215641',
- ],
- 'ContactFlowVersionId' => [
- 'description' => '联系流版本ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'tOMP_0prS2A1',
- ],
- 'ContactFlowVersionDescription' => [
- 'description' => '联系流版本的说明及注解。',
- 'type' => 'string',
- 'example' => 'Welcome-20180601142524',
- ],
- 'LastModifiedBy' => [
- 'description' => '联系流版本最后由何人修改。',
- 'type' => 'string',
- 'example' => 'cloudcallcenter',
- ],
+ 'Status' => ['description' => '当前状态。', 'type' => 'string', 'example' => 'Published'],
+ 'LastModified' => ['description' => '联系流版本的最后修改时间。the number of milliseconds since January 1, 1970, 00:00:00 GMT', 'type' => 'string', 'example' => '2018-07-04 22:00:55'],
+ 'LockedBy' => ['description' => '联系流版本被何人锁定。'."\n"
+ ."\n"
+ .'在开始编辑前必须先将此版本锁定,编辑完成后解锁,这样可以避免多人同时修改一个版本而导致的冲突。在锁定的情况下,只有锁定人才能对其进行操作,其他人无权操作。无人锁定时该属性的值为NULL。', 'type' => 'string', 'example' => 'null'],
+ 'Version' => ['description' => '联系流版本信息,一般以日期+时间来表示。', 'type' => 'string', 'example' => '20180704215641'],
+ 'ContactFlowVersionId' => ['description' => '联系流版本ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'tOMP_0prS2A1'],
+ 'ContactFlowVersionDescription' => ['description' => '联系流版本的说明及注解。', 'type' => 'string', 'example' => 'Welcome-20180601142524'],
+ 'LastModifiedBy' => ['description' => '联系流版本最后由何人修改。', 'type' => 'string', 'example' => 'cloudcallcenter'],
],
],
],
@@ -1207,65 +590,27 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量。即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '178888888888',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途。取值:呼入(**Inbound**),呼出(**Outbound**),以及同时用于呼入和呼出(**Bidirection**)。上述值由枚举类型PhoneNumberType定义。'."\n"
- ."\n"
- .'该值的结果取决于:'."\n"
- ."\n"
- .'1. 大于的设置,比如400号码不允许外呼'."\n"
- .'2. 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以由大于做设置,用户拨打该号码时听到提示音;该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼。结果取决于:'."\n"
- ."\n"
- .'1. 大于的设置,比如400号码不允许外呼 '."\n"
- .'2. 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以由大于做设置,用户拨打该号码时听到提示音;该号码不绑定联系流IVR,但是ACC不建议这么做。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'true'],
+ 'Trunks' => ['description' => '电话号码的中继数量。即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '178888888888'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'Usage' => ['description' => '电话号码的用途。取值:呼入(**Inbound**),呼出(**Outbound**),以及同时用于呼入和呼出(**Bidirection**)。上述值由枚举类型PhoneNumberType定义。'."\n"
+ ."\n"
+ .'该值的结果取决于:'."\n"
+ ."\n"
+ .'1. 大于的设置,比如400号码不允许外呼'."\n"
+ .'2. 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以由大于做设置,用户拨打该号码时听到提示音;该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼。结果取决于:'."\n"
+ ."\n"
+ .'1. 大于的设置,比如400号码不允许外呼 '."\n"
+ .'2. 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以由大于做设置,用户拨打该号码时听到提示音;该号码不绑定联系流IVR,但是ACC不建议这么做。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'xxx'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -1289,14 +634,8 @@
],
'GetRoutePoint' => [
'summary' => '调用GetRoutePoint获取联系流的路由点。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1310,32 +649,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '云呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '云呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ContactFlowId',
'in' => 'query',
- 'schema' => [
- 'description' => '联系流ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'dDMD_0mif4hv',
- ],
+ 'schema' => ['description' => '联系流ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dDMD_0mif4hv'],
],
],
'responses' => [
@@ -1343,37 +668,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '响应状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RoutePoint' => [
- 'description' => '路由点',
- 'type' => 'string',
- 'example' => '80206198',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'F81866AD-A125-4D9A-A942-1CD6FBA9E9F5',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'HttpStatusCode' => ['description' => '响应状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RoutePoint' => ['description' => '路由点', 'type' => 'string', 'example' => '80206198'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F81866AD-A125-4D9A-A942-1CD6FBA9E9F5'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -1386,14 +686,8 @@
],
'ListIvrTrackingDetail' => [
'summary' => '获取IVR轨迹,默认查询半个小时之内的数据。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1408,97 +702,48 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '317a38bf-4883-4e00-b65d-761f4a8b****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '317a38bf-4883-4e00-b65d-761f4a8b****'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3433583180',
- ],
+ 'schema' => ['description' => '话务ID', 'type' => 'string', 'required' => false, 'example' => '3433583180'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1541732850000',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1541732850000'],
],
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1541932850000',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1541932850000'],
],
[
'name' => 'CallingNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1760031****',
- ],
+ 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => false, 'example' => '1760031****'],
],
[
'name' => 'CalledNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '05712688****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => false, 'example' => '05712688****'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20'],
],
],
'responses' => [
@@ -1506,54 +751,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '2a644ab1-7db5-413c-a744-299247f6537e',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '2a644ab1-7db5-413c-a744-299247f6537e'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'IvrTrackingDetails' => [
'description' => '获取的IVR轨迹',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'PageNumber' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -1564,78 +773,20 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '_tts_success',
- ],
- 'DeviceID' => [
- 'description' => 'IP地址',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'InputData' => [
- 'description' => '传入参数',
- 'type' => 'string',
- 'example' => 'nui-I1gxblYz_1_1200_当前时间是11:07:39',
- ],
- 'FlowName' => [
- 'description' => 'IVR名称',
- 'type' => 'string',
- 'example' => 'flow/acc2626/xxxx',
- ],
- 'CalledNumber' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '05712688****',
- ],
- 'StopTime' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1541932850000',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1541732850000',
- ],
- 'NodeType' => [
- 'description' => '节点类型(nodeType)包含: answer(开始) 、waitevent(等待)、getAssociateData(获取随路数据)、 kvget(解析随路数据)、getdigits(获取收号信息)、assign(输出) 、play(放音)、tts(tts放音) 、branching(分支)、branchitem(分支项) 、requestagent(转人工)、onesteptransfer(转外线) 、http(函数)、subflow(子流程)、exit(退出子流程)、hangup(结束)。',
- 'type' => 'string',
- 'example' => 'waitevent',
- ],
- 'Description' => [
- 'description' => '描述信息',
- 'type' => 'string',
- 'example' => 'answer',
- ],
- 'NodeName' => [
- 'description' => '节点名称',
- 'type' => 'string',
- 'example' => 'node24000',
- ],
- 'ContactId' => [
- 'description' => '通话ID',
- 'type' => 'string',
- 'example' => '3433583180',
- ],
- 'CallingNumber' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'example' => '1760031****',
- ],
- 'OutputData' => [
- 'description' => '传出参数',
- 'type' => 'string',
- 'example' => '8020****',
- ],
- 'TenantId' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'example' => 'acc2626',
- ],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '_tts_success'],
+ 'DeviceID' => ['description' => 'IP地址', 'type' => 'string', 'example' => 'null'],
+ 'InputData' => ['description' => '传入参数', 'type' => 'string', 'example' => 'nui-I1gxblYz_1_1200_当前时间是11:07:39'],
+ 'FlowName' => ['description' => 'IVR名称', 'type' => 'string', 'example' => 'flow/acc2626/xxxx'],
+ 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '05712688****'],
+ 'StopTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1541932850000'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1541732850000'],
+ 'NodeType' => ['description' => '节点类型(nodeType)包含: answer(开始) 、waitevent(等待)、getAssociateData(获取随路数据)、 kvget(解析随路数据)、getdigits(获取收号信息)、assign(输出) 、play(放音)、tts(tts放音) 、branching(分支)、branchitem(分支项) 、requestagent(转人工)、onesteptransfer(转外线) 、http(函数)、subflow(子流程)、exit(退出子流程)、hangup(结束)。', 'type' => 'string', 'example' => 'waitevent'],
+ 'Description' => ['description' => '描述信息', 'type' => 'string', 'example' => 'answer'],
+ 'NodeName' => ['description' => '节点名称', 'type' => 'string', 'example' => 'node24000'],
+ 'ContactId' => ['description' => '通话ID', 'type' => 'string', 'example' => '3433583180'],
+ 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '1760031****'],
+ 'OutputData' => ['description' => '传出参数', 'type' => 'string', 'example' => '8020****'],
+ 'TenantId' => ['description' => '租户ID', 'type' => 'string', 'example' => 'acc2626'],
],
],
],
@@ -1656,13 +807,8 @@
],
'CommitContactFlowVersionModification' => [
'summary' => '提交对联系流版本的改动。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1677,50 +823,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
[
'name' => 'ContactFlowVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '版本ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'fLXS_2CJPxot',
- ],
+ 'schema' => ['description' => '版本ID。', 'type' => 'string', 'required' => true, 'example' => 'fLXS_2CJPxot'],
],
[
'name' => 'Canvas',
'in' => 'formData',
- 'schema' => [
- 'description' => '画布信息。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '无',
- ],
+ 'schema' => ['description' => '画布信息。', 'type' => 'string', 'required' => true, 'example' => '无'],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'description' => 'IVR内容。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '无',
- ],
+ 'schema' => ['description' => 'IVR内容。', 'type' => 'string', 'required' => true, 'example' => '无'],
],
],
'responses' => [
@@ -1728,81 +852,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'ContactFlowVersion' => [
'description' => '联系流版本对象。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '联系流当前状态。',
- 'type' => 'string',
- 'example' => 'Updated',
- ],
- 'LastModified' => [
- 'description' => '最近修改时间。',
- 'type' => 'string',
- 'example' => '2020-11-14 17:48:21',
- ],
- 'Canvas' => [
- 'description' => '画布信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'LockedBy' => [
- 'description' => '此版本的锁定者。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'Version' => [
- 'description' => '联系流版本号。',
- 'type' => 'string',
- 'example' => '20201114174750',
- ],
- 'ContactFlowVersionId' => [
- 'description' => '版本ID。',
- 'type' => 'string',
- 'example' => 'fLXS_2CJPxot',
- ],
- 'LastModifiedBy' => [
- 'description' => '最近修改人。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'ContactFlowVersionDescription' => [
- 'description' => '版本描述。',
- 'type' => 'string',
- 'example' => 'commitTest-20201114174750',
- ],
- 'Content' => [
- 'description' => 'IVR内容。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'Status' => ['description' => '联系流当前状态。', 'type' => 'string', 'example' => 'Updated'],
+ 'LastModified' => ['description' => '最近修改时间。', 'type' => 'string', 'example' => '2020-11-14 17:48:21'],
+ 'Canvas' => ['description' => '画布信息。', 'type' => 'string', 'example' => '无'],
+ 'LockedBy' => ['description' => '此版本的锁定者。', 'type' => 'string', 'example' => 'cctest'],
+ 'Version' => ['description' => '联系流版本号。', 'type' => 'string', 'example' => '20201114174750'],
+ 'ContactFlowVersionId' => ['description' => '版本ID。', 'type' => 'string', 'example' => 'fLXS_2CJPxot'],
+ 'LastModifiedBy' => ['description' => '最近修改人。', 'type' => 'string', 'example' => 'cctest'],
+ 'ContactFlowVersionDescription' => ['description' => '版本描述。', 'type' => 'string', 'example' => 'commitTest-20201114174750'],
+ 'Content' => ['description' => 'IVR内容。', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -1818,14 +885,8 @@
],
'PublishContactFlowVersion' => [
'summary' => '调用PublishContactFlowVersion发布IVR流程。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1840,42 +901,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ContactFlowVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '待发布的流程的版本ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2NWG_1Cl7uWu',
- ],
+ 'schema' => ['description' => '待发布的流程的版本ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2NWG_1Cl7uWu'],
],
[
'name' => 'UseTianGong',
'in' => 'query',
- 'schema' => [
- 'description' => '是否使用天宫进行发布。调用请传入true。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否使用天宫进行发布。调用请传入true。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -1883,32 +925,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -1920,14 +941,8 @@
],
'GetRecordOssUploadParam' => [
'summary' => '调用GetRecordOssUploadParam获取录音上传参数。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1941,32 +956,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '录音文件名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '155887678809600080315543.wav',
- ],
+ 'schema' => ['description' => '录音文件名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '155887678809600080315543.wav'],
],
],
'responses' => [
@@ -1974,67 +975,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'OssAccessKeyId' => [
- 'description' => 'OSS的AK',
- 'type' => 'string',
- 'example' => 'LTAIvKWEr4Doxxxx',
- ],
- 'Host' => [
- 'description' => '上传地址',
- 'type' => 'string',
- 'example' => 'https://cloudcallcenter-online.oss-cn-shanghai.aliyuncs.com',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'OssFileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => 'gvDE-1KxEtOj_1059803544828509_20190530143725.wav',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Signature' => [
- 'description' => '签名',
- 'type' => 'string',
- 'example' => 'KUwzPbvaHaljLOdrKyrYE+S2gWs=',
- ],
- 'Expires' => [
- 'description' => '过期时间',
- 'type' => 'string',
- 'example' => '1559201845',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '9F766284-F103-4298-8EC5-19F9F9BE5522',
- ],
- 'Policy' => [
- 'description' => '策略',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOS0wNS0zMFQwNzozNzoyNS42NDRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJyZWNvcmQvZDI3ODYyOWMtYzY4Ny00YWEzLWIwNDQtNGZ',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Dir' => [
- 'description' => '路径',
- 'type' => 'string',
- 'example' => 'record/d278629c-c687-4aa3-b044-4fe9b012e7ef/1059803544828509',
- ],
+ 'OssAccessKeyId' => ['description' => 'OSS的AK', 'type' => 'string', 'example' => 'LTAIvKWEr4Doxxxx'],
+ 'Host' => ['description' => '上传地址', 'type' => 'string', 'example' => 'https://cloudcallcenter-online.oss-cn-shanghai.aliyuncs.com'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'OssFileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => 'gvDE-1KxEtOj_1059803544828509_20190530143725.wav'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Signature' => ['description' => '签名', 'type' => 'string', 'example' => 'KUwzPbvaHaljLOdrKyrYE+S2gWs='],
+ 'Expires' => ['description' => '过期时间', 'type' => 'string', 'example' => '1559201845'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9F766284-F103-4298-8EC5-19F9F9BE5522'],
+ 'Policy' => ['description' => '策略', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOS0wNS0zMFQwNzozNzoyNS42NDRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJyZWNvcmQvZDI3ODYyOWMtYzY4Ny00YWEzLWIwNDQtNGZ'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Dir' => ['description' => '路径', 'type' => 'string', 'example' => 'record/d278629c-c687-4aa3-b044-4fe9b012e7ef/1059803544828509'],
],
],
],
@@ -2045,14 +997,8 @@
],
'ListRecordingOfDualTrack' => [
'summary' => '调用ListRecordingOfDualTrack根据通话记录获取通话的双轨录音。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2066,113 +1012,57 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****'],
],
[
'name' => 'ConnectId',
'in' => 'query',
- 'schema' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1300017658',
- ],
+ 'schema' => ['description' => '话务ID', 'type' => 'string', 'required' => false, 'example' => '1300017658'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的开始时间。'."\n"
- ."\n"
- .'缺省为0,代表早于目前的时间半个小时开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1542967200000',
- ],
+ 'schema' => ['description' => '获取的历史数据的开始时间。'."\n"
+ ."\n"
+ .'缺省为0,代表早于目前的时间半个小时开始。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1542967200000'],
],
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的终止时间。'."\n"
- ."\n"
- .'缺省为0,代表截止到目前的时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1542997200000',
- ],
+ 'schema' => ['description' => '获取的历史数据的终止时间。'."\n"
+ ."\n"
+ .'缺省为0,代表截止到目前的时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1542997200000'],
],
[
'name' => 'CallingNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0255237****',
- ],
+ 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => false, 'example' => '0255237****'],
],
[
'name' => 'CalledNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1573203****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => false, 'example' => '1573203****'],
],
[
'name' => 'AgentId',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '101820677302****',
- ],
+ 'schema' => ['description' => '坐席ID', 'type' => 'string', 'required' => false, 'example' => '101820677302****'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20'],
],
],
'responses' => [
@@ -2180,54 +1070,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'D8135D21-1553-4B18-A876-427D74543841',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D8135D21-1553-4B18-A876-427D74543841'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Recordings' => [
'description' => '获取到的录音详单',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -2238,77 +1092,23 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactType' => [
- 'description' => '通话类型。'."\n"
- ."\n"
- .'参考枚举类型:Inbound(0) 内呼, Outbound(1) 外呼, Internal(2) 内部通话。',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'AgentId' => [
- 'description' => '座席ID。'."\n"
- ."\n"
- .'坐席ID等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '101820677302****',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b01****',
- ],
- 'FileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => '4219097556-10-20-49.mkv',
- ],
- 'CalledNumber' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '1573203****',
- ],
- 'StartTime' => [
- 'description' => '电话开始时间,内呼从进入IVR开始,外呼从开始接通计算。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1542968440000',
- ],
- 'FilePath' => [
- 'description' => '录音文件在OSS中的保存位置',
- 'type' => 'string',
- 'example' => 'http://xxx',
- ],
- 'ContactId' => [
- 'description' => '话务ID,全局唯一,对应于ACC的ACID。',
- 'type' => 'string',
- 'example' => '1300017658',
- ],
- 'CallingNumber' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'example' => '0255237****',
- ],
- 'Duration' => [
- 'description' => '通话持续时间,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '120',
- ],
- 'FileDescription' => [
- 'description' => '录音文件别名',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Channel' => [
- 'description' => '座席所在音轨标示',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'ContactType' => ['description' => '通话类型。'."\n"
+ ."\n"
+ .'参考枚举类型:Inbound(0) 内呼, Outbound(1) 外呼, Internal(2) 内部通话。', 'type' => 'string', 'example' => 'Outbound'],
+ 'AgentId' => ['description' => '座席ID。'."\n"
+ ."\n"
+ .'坐席ID等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '101820677302****'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => '测试'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b01****'],
+ 'FileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => '4219097556-10-20-49.mkv'],
+ 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '1573203****'],
+ 'StartTime' => ['description' => '电话开始时间,内呼从进入IVR开始,外呼从开始接通计算。', 'type' => 'integer', 'format' => 'int64', 'example' => '1542968440000'],
+ 'FilePath' => ['description' => '录音文件在OSS中的保存位置', 'type' => 'string', 'example' => 'http://xxx'],
+ 'ContactId' => ['description' => '话务ID,全局唯一,对应于ACC的ACID。', 'type' => 'string', 'example' => '1300017658'],
+ 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '0255237****'],
+ 'Duration' => ['description' => '通话持续时间,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '120'],
+ 'FileDescription' => ['description' => '录音文件别名', 'type' => 'string', 'example' => 'xxx'],
+ 'Channel' => ['description' => '座席所在音轨标示', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -2329,14 +1129,8 @@
],
'ListRecordingsByContactId' => [
'summary' => '根据话务ID查找相关的录音详细信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2351,32 +1145,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2020927xxxx',
- ],
+ 'schema' => ['description' => '话务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020927xxxx'],
],
],
'responses' => [
@@ -2384,32 +1164,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '0997CE25-94D3-41DE-8C7A-E6FCFD8C01E0',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '0997CE25-94D3-41DE-8C7A-E6FCFD8C01E0'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Recordings' => [
'type' => 'object',
'itemNode' => true,
@@ -2420,85 +1179,23 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactType' => [
- 'description' => '话务类型',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'AgentId' => [
- 'description' => '坐席ID。'."\n"
- ."\n"
- .'坐席ID等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '29393942232031xxxx',
- ],
- 'AgentName' => [
- 'description' => '坐席名称',
- 'type' => 'string',
- 'example' => '小芳',
- ],
- 'InstanceId' => [
- 'description' => '已废弃字段',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'FileName' => [
- 'description' => '录音文件名称',
- 'type' => 'string',
- 'example' => '15312849114340008032xxxx.wav',
- ],
- 'QualityCheckTid' => [
- 'description' => '智能质检文本ID',
- 'type' => 'string',
- 'example' => '23A1F0BF-7B30-4918-9424-4DF8B809B9B1',
- ],
- 'CalledNumber' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '1558888****',
- ],
- 'StartTime' => [
- 'description' => '通话开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1531284911000',
- ],
- 'FilePath' => [
- 'description' => '已废弃字段',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'ContactId' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'example' => '202092xxxx',
- ],
- 'QualityCheckTaskId' => [
- 'description' => '智能质检任务ID',
- 'type' => 'string',
- 'example' => '1F0BF809-7B30-4918-9424-4DF23A8BB9B1',
- ],
- 'CallingNumber' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'example' => '8032****',
- ],
- 'Duration' => [
- 'description' => '通话时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'FileDescription' => [
- 'description' => '录音文件描述',
- 'type' => 'string',
- 'example' => '20180711125511-小芳',
- ],
- 'Channel' => [
- 'description' => '已废弃字段',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'ContactType' => ['description' => '话务类型', 'type' => 'string', 'example' => 'Outbound'],
+ 'AgentId' => ['description' => '坐席ID。'."\n"
+ ."\n"
+ .'坐席ID等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '29393942232031xxxx'],
+ 'AgentName' => ['description' => '坐席名称', 'type' => 'string', 'example' => '小芳'],
+ 'InstanceId' => ['description' => '已废弃字段', 'type' => 'string', 'example' => '无'],
+ 'FileName' => ['description' => '录音文件名称', 'type' => 'string', 'example' => '15312849114340008032xxxx.wav'],
+ 'QualityCheckTid' => ['description' => '智能质检文本ID', 'type' => 'string', 'example' => '23A1F0BF-7B30-4918-9424-4DF8B809B9B1'],
+ 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '1558888****'],
+ 'StartTime' => ['description' => '通话开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1531284911000'],
+ 'FilePath' => ['description' => '已废弃字段', 'type' => 'string', 'example' => '无'],
+ 'ContactId' => ['description' => '话务ID', 'type' => 'string', 'example' => '202092xxxx'],
+ 'QualityCheckTaskId' => ['description' => '智能质检任务ID', 'type' => 'string', 'example' => '1F0BF809-7B30-4918-9424-4DF23A8BB9B1'],
+ 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '8032****'],
+ 'Duration' => ['description' => '通话时长', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'FileDescription' => ['description' => '录音文件描述', 'type' => 'string', 'example' => '20180711125511-小芳'],
+ 'Channel' => ['description' => '已废弃字段', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -2526,14 +1223,8 @@
],
'DownloadAllTypeRecording' => [
'summary' => '通过通话ID来下载原始以及合成录音。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2547,42 +1238,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccKYIENB',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccKYIENB'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '待下载录音的通话ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1272014011',
- ],
+ 'schema' => ['description' => '待下载录音的通话ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1272014011'],
],
[
'name' => 'Channel',
'in' => 'query',
- 'schema' => [
- 'description' => '座席所在音轨标示,目前不可用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx',
- ],
+ 'schema' => ['description' => '座席所在音轨标示,目前不可用。', 'type' => 'string', 'required' => false, 'example' => 'xxxx'],
],
],
'responses' => [
@@ -2590,32 +1262,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '93CDC17E-3E8A-48F2-99E5-FA2E238DE8B4',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '93CDC17E-3E8A-48F2-99E5-FA2E238DE8B4'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'MediaDownloadParamList' => [
'type' => 'object',
'itemNode' => true,
@@ -2626,18 +1277,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SignatureUrl' => [
- 'description' => '录音文件下载URL。'."\n"
- ."\n\n"
- .'此URL被两个引号包裹,例如:“”urlDetail“”,需要您自行处理一下,此URL有效期为1小时。',
- 'type' => 'string',
- 'example' => '“”urlDetail“”',
- ],
- 'FileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => '0960005656-03-27-22.mkv',
- ],
+ 'SignatureUrl' => ['description' => '录音文件下载URL。'."\n"
+ ."\n\n"
+ .'此URL被两个引号包裹,例如:“”urlDetail“”,需要您自行处理一下,此URL有效期为1小时。', 'type' => 'string', 'example' => '“”urlDetail“”'],
+ 'FileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => '0960005656-03-27-22.mkv'],
],
],
],
@@ -2657,14 +1300,8 @@
],
'DownloadRecording' => [
'summary' => '调用DownloadRecording通过录音文件的FileName来下载录音。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2678,42 +1315,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccKYIENB',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccKYIENB'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '待下载录音文件名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '15312849114340008032****.wav',
- ],
+ 'schema' => ['description' => '待下载录音文件名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '15312849114340008032****.wav'],
],
[
'name' => 'Channel',
'in' => 'query',
- 'schema' => [
- 'description' => '音轨信息,默认为null',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'null',
- ],
+ 'schema' => ['description' => '音轨信息,默认为null', 'type' => 'string', 'required' => false, 'example' => 'null'],
],
],
'responses' => [
@@ -2721,48 +1339,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'MediaDownloadParam' => [
'description' => '获取到的录音文件下载url',
'type' => 'object',
'properties' => [
- 'SignatureUrl' => [
- 'description' => '录音文件下载url。'."\n"
- ."\n"
- .'此url被两个引号包裹,例如:“”urlDetail“”,需要您自行处理一下,此url有效期为1小时。',
- 'type' => 'string',
- 'example' => '""urlDetail""',
- ],
- 'FileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => '15312849114340008032****.wav',
- ],
+ 'SignatureUrl' => ['description' => '录音文件下载url。'."\n"
+ ."\n"
+ .'此url被两个引号包裹,例如:“”urlDetail“”,需要您自行处理一下,此url有效期为1小时。', 'type' => 'string', 'example' => '""urlDetail""'],
+ 'FileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => '15312849114340008032****.wav'],
],
],
],
@@ -2787,14 +1376,8 @@
],
'ModifyPrivacyNumberCallDetail' => [
'summary' => '调用ModifyPrivacyNumberCallDetail更新话务ID。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2809,40 +1392,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'CallId',
'in' => 'query',
- 'schema' => [
- 'description' => '记录外呼虚拟号码操作唯一标识',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'bc984e0a-0dd0-422c-9742-758eff869694',
- ],
+ 'schema' => ['description' => '记录外呼虚拟号码操作唯一标识', 'type' => 'string', 'required' => true, 'example' => 'bc984e0a-0dd0-422c-9742-758eff869694'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2063169340',
- ],
+ 'schema' => ['description' => '话务ID', 'type' => 'string', 'required' => true, 'example' => '2063169340'],
],
],
'responses' => [
@@ -2850,32 +1416,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '12CE95DF-C91E-4B97-8B7B-0308F191549B',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '12CE95DF-C91E-4B97-8B7B-0308F191549B'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -2887,14 +1432,8 @@
],
'StartBack2BackCall' => [
'summary' => '调用StartBack2BackCall发起双呼。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2909,22 +1448,15 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccBCFPY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccBCFPY3'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。'."\n"
- ."\n"
- .'背靠背代理所用电话号码需要归属于该呼叫中心实例。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。'."\n"
+ ."\n"
+ .'背靠背代理所用电话号码需要归属于该呼叫中心实例。', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'WorkflowId',
@@ -2936,43 +1468,25 @@
'type' => 'string',
'required' => false,
'example' => 'null',
- 'enum' => [
- 'twoPartiesCallProd',
- 'twoPartiesCall',
- ],
+ 'enum' => ['twoPartiesCallProd', 'twoPartiesCall'],
],
],
[
'name' => 'CallCenterNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '背靠背代理所用电话号码。'."\n"
- ."\n"
- .'该电话号码需要归属于**instanceId**指定的呼叫中心实例,若不指定,则会随机选一个指定实例下可用于外呼的号码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0256604****',
- ],
+ 'schema' => ['description' => '背靠背代理所用电话号码。'."\n"
+ ."\n"
+ .'该电话号码需要归属于**instanceId**指定的呼叫中心实例,若不指定,则会随机选一个指定实例下可用于外呼的号码。', 'type' => 'string', 'required' => false, 'example' => '0256604****'],
],
[
'name' => 'Caller',
'in' => 'query',
- 'schema' => [
- 'description' => '主叫号码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1760066****',
- ],
+ 'schema' => ['description' => '主叫号码。', 'type' => 'string', 'required' => true, 'example' => '1760066****'],
],
[
'name' => 'Callee',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1880134****',
- ],
+ 'schema' => ['description' => '被叫号码。', 'type' => 'string', 'required' => true, 'example' => '1880134****'],
],
],
'responses' => [
@@ -2980,52 +1494,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'StatusCode' => [
- 'description' => '外呼返回状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'TimeStamp' => [
- 'description' => '本次外呼的时间戳',
- 'type' => 'string',
- 'example' => '2018-07-13 14:06:08',
- ],
- 'TaskId' => [
- 'description' => '本次外呼产生的contactId(即:通话详单中的通话ID),后续可以据此参数查询话务状态。',
- 'type' => 'string',
- 'example' => '15716647696706****',
- ],
- 'StatusDesc' => [
- 'description' => '外呼返回状态描述',
- 'type' => 'string',
- 'example' => 'Okay',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'StatusCode' => ['description' => '外呼返回状态码', 'type' => 'string', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'TimeStamp' => ['description' => '本次外呼的时间戳', 'type' => 'string', 'example' => '2018-07-13 14:06:08'],
+ 'TaskId' => ['description' => '本次外呼产生的contactId(即:通话详单中的通话ID),后续可以据此参数查询话务状态。', 'type' => 'string', 'example' => '15716647696706****'],
+ 'StatusDesc' => ['description' => '外呼返回状态描述', 'type' => 'string', 'example' => 'Okay'],
],
],
],
@@ -3040,14 +1517,8 @@
],
'ListCallDetailRecords' => [
'summary' => '获取呼叫中心中的通话详单数据。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3062,109 +1533,59 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc5HY0NN',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc5HY0NN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'PhoneNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取数据的呼叫中心的电话号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1234456****',
- ],
+ 'schema' => ['description' => '待获取数据的呼叫中心的电话号码', 'type' => 'string', 'required' => false, 'example' => '1234456****'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的起始时间。缺省为0,代表从当天的0时开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1532448000000',
- ],
+ 'schema' => ['description' => '获取的历史数据的起始时间。缺省为0,代表从当天的0时开始。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1532448000000'],
],
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的终止时间。缺省为0,代表截止到目前的时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1532707199000',
- ],
+ 'schema' => ['description' => '获取的历史数据的终止时间。缺省为0,代表截止到目前的时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1532707199000'],
],
[
'name' => 'Criteria',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索条件。'."\n"
- ."\n"
- .'可以根据客户电话、坐席姓名、技能组名称来搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '客服组',
- ],
+ 'schema' => ['description' => '搜索条件。'."\n"
+ ."\n"
+ .'可以根据客户电话、坐席姓名、技能组名称来搜索。', 'type' => 'string', 'required' => false, 'example' => '客服组'],
],
[
'name' => 'ContactType',
'in' => 'query',
- 'schema' => [
- 'description' => '按呼叫类型筛选。'."\n"
- ."\n"
- .'取值:Inbound(呼入),Outbound(呼出),Back2Back(双呼),PredictiveDial(预测试外呼),PrivacyDial(虚拟号码外呼) 多个条件以逗号隔开。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Outbound,Inbound',
- ],
+ 'schema' => ['description' => '按呼叫类型筛选。'."\n"
+ ."\n"
+ .'取值:Inbound(呼入),Outbound(呼出),Back2Back(双呼),PredictiveDial(预测试外呼),PrivacyDial(虚拟号码外呼) 多个条件以逗号隔开。', 'type' => 'string', 'required' => false, 'example' => 'Outbound,Inbound'],
],
[
'name' => 'ContactDisposition',
'in' => 'query',
- 'schema' => [
- 'description' => '按挂断类型筛选。'."\n"
- ."\n"
- .'取值:Success(正常),NoAnswer(未接通),AbandonedInContactFlow(IVR中放弃),AbandonedInQueue(排队放弃),AbandonedRing(振铃放弃),QueueOverflow(排队超时),OneStepTransfer(转外线),多个条件以逗号隔开。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NoAnswer,AbandonedInContactFlow,AbandonedRing',
- ],
+ 'schema' => ['description' => '按挂断类型筛选。'."\n"
+ ."\n"
+ .'取值:Success(正常),NoAnswer(未接通),AbandonedInContactFlow(IVR中放弃),AbandonedInQueue(排队放弃),AbandonedRing(振铃放弃),QueueOverflow(排队超时),OneStepTransfer(转外线),多个条件以逗号隔开。', 'type' => 'string', 'required' => false, 'example' => 'NoAnswer,AbandonedInContactFlow,AbandonedRing'],
],
[
'name' => 'WithRecording',
'in' => 'query',
- 'schema' => [
- 'description' => '是否需要录音。默认需要,显式的指明不需要可以加快查询速度。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否需要录音。默认需要,显式的指明不需要可以加快查询速度。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '通过指定的contactId来查询某一通电话的记录,contactId可以通过软电话SDK发生通话时获取到。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '通过指定的contactId来查询某一通电话的记录,contactId可以通过软电话SDK发生通话时获取到。', 'type' => 'string', 'required' => false, 'example' => '123'],
],
[
'name' => 'OrderBy',
@@ -3175,36 +1596,18 @@
'required' => false,
'example' => 'ASC',
'default' => 'ASC',
- 'enum' => [
- 'ASC',
- 'DESC',
- ],
+ 'enum' => ['ASC', 'DESC'],
],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '5000',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '5000', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,最大数量为100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,最大数量为100', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'],
],
],
'responses' => [
@@ -3212,54 +1615,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'D70B6625-B54F-4831-BDC4-917A7EBBCE77',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D70B6625-B54F-4831-BDC4-917A7EBBCE77'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'CallDetailRecords' => [
'description' => '获取到的通话详单',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -3270,85 +1637,26 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactDisposition' => [
- 'description' => '电话结束原因。'."\n"
- ."\n"
- .'参考枚举值:Success(正常),NoAnswer(未接通),AbandonedInContactFlow(IVR中放弃),AbandonedInQueue(排队放弃),AbandonedRing(振铃放弃),QueueOverflow(排队超时),OneStepTransfer(转外线)。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ContactType' => [
- 'description' => '通话类型。'."\n"
- ."\n"
- .'参考枚举值:Inbound(0) 内呼, Outbound(1) 外呼, Internal(2) 内部通话。',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'SkillGroupIdList' => [
- 'description' => '参与通话的座席所述的技能组ID,多个技能组ID以逗号分隔。',
- 'type' => 'string',
- 'example' => '68536c62-9c25-4201-b4fa-cb15a0d6****,68536c62-9c25-4201-b4fa-cb15a0d****',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '14b32e95-405b-4514-8118-85e64b22****',
- ],
- 'CalledNumber' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '1234444****',
- ],
- 'AgentNames' => [
- 'description' => '参与通话的座席,多个座席之间以逗号分隔。',
- 'type' => 'string',
- 'example' => '千牛卖家测试',
- ],
- 'Satisfaction' => [
- 'description' => '满意度对应的按键,比如1或者2。'."\n"
- ."\n"
- .'注:只有在发送满意度邀请给客户,并且客户做出评价反馈后,才返回本字段。如果未发送或者发送但未评价,返回内容中不包含本字段。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'StartTime' => [
- 'description' => '电话开始时间,内呼从进入IVR开始,外呼从开始接通计算。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1546575494000',
- ],
- 'SatisfactionDesc' => [
- 'description' => '在发送满意度客户评价的情况下,该字段为满意度按键(Satisfaction)对应的描述,比如满意、非常满意。若为“未发送”,表示未发送满意度评价邀请给客户;若为“未评价”,表示发送满意度邀请给客户,但客户未评价。',
- 'type' => 'string',
- 'example' => '不满意',
- ],
- 'ContactId' => [
- 'description' => '话务ID,全局唯一,对应于 ACC的ACID。',
- 'type' => 'string',
- 'example' => '2118423213',
- ],
- 'CallingNumber' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'example' => '07553656****',
- ],
- 'Duration' => [
- 'description' => '通话持续时间,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'SkillGroupNames' => [
- 'description' => '参与通话的座席所述的技能组,多个技能组以逗号分隔。',
- 'type' => 'string',
- 'example' => '默认技能组',
- ],
- 'Feedback' => [
- 'description' => '不满意度反馈描述',
- 'type' => 'string',
- 'example' => '基本技能太差',
- ],
+ 'ContactDisposition' => ['description' => '电话结束原因。'."\n"
+ ."\n"
+ .'参考枚举值:Success(正常),NoAnswer(未接通),AbandonedInContactFlow(IVR中放弃),AbandonedInQueue(排队放弃),AbandonedRing(振铃放弃),QueueOverflow(排队超时),OneStepTransfer(转外线)。', 'type' => 'string', 'example' => 'Success'],
+ 'ContactType' => ['description' => '通话类型。'."\n"
+ ."\n"
+ .'参考枚举值:Inbound(0) 内呼, Outbound(1) 外呼, Internal(2) 内部通话。', 'type' => 'string', 'example' => 'Outbound'],
+ 'SkillGroupIdList' => ['description' => '参与通话的座席所述的技能组ID,多个技能组ID以逗号分隔。', 'type' => 'string', 'example' => '68536c62-9c25-4201-b4fa-cb15a0d6****,68536c62-9c25-4201-b4fa-cb15a0d****'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => '14b32e95-405b-4514-8118-85e64b22****'],
+ 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '1234444****'],
+ 'AgentNames' => ['description' => '参与通话的座席,多个座席之间以逗号分隔。', 'type' => 'string', 'example' => '千牛卖家测试'],
+ 'Satisfaction' => ['description' => '满意度对应的按键,比如1或者2。'."\n"
+ ."\n"
+ .'注:只有在发送满意度邀请给客户,并且客户做出评价反馈后,才返回本字段。如果未发送或者发送但未评价,返回内容中不包含本字段。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'StartTime' => ['description' => '电话开始时间,内呼从进入IVR开始,外呼从开始接通计算。', 'type' => 'integer', 'format' => 'int64', 'example' => '1546575494000'],
+ 'SatisfactionDesc' => ['description' => '在发送满意度客户评价的情况下,该字段为满意度按键(Satisfaction)对应的描述,比如满意、非常满意。若为“未发送”,表示未发送满意度评价邀请给客户;若为“未评价”,表示发送满意度邀请给客户,但客户未评价。', 'type' => 'string', 'example' => '不满意'],
+ 'ContactId' => ['description' => '话务ID,全局唯一,对应于 ACC的ACID。', 'type' => 'string', 'example' => '2118423213'],
+ 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '07553656****'],
+ 'Duration' => ['description' => '通话持续时间,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'SkillGroupNames' => ['description' => '参与通话的座席所述的技能组,多个技能组以逗号分隔。', 'type' => 'string', 'example' => '默认技能组'],
+ 'Feedback' => ['description' => '不满意度反馈描述', 'type' => 'string', 'example' => '基本技能太差'],
'Agents' => [
'type' => 'object',
'itemNode' => true,
@@ -3359,21 +1667,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Satisfaction' => [
- 'description' => '满意度',
- 'type' => 'string',
- 'example' => '不满意',
- ],
- 'Feedback' => [
- 'description' => '不满意情况下二级反馈信息',
- 'type' => 'string',
- 'example' => '基本技能太差',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '101820677302****',
- ],
+ 'Satisfaction' => ['description' => '满意度', 'type' => 'string', 'example' => '不满意'],
+ 'Feedback' => ['description' => '不满意情况下二级反馈信息', 'type' => 'string', 'example' => '基本技能太差'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '101820677302****'],
],
],
],
@@ -3389,53 +1685,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => '通话开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1546575367000',
- ],
- 'ContactId' => [
- 'description' => '通话ID',
- 'type' => 'string',
- 'example' => '2118422093',
- ],
- 'QualityCheckTaskId' => [
- 'description' => '智能质检任务ID',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '101820677302****',
- ],
- 'FileDescription' => [
- 'description' => '录音文件别名',
- 'type' => 'string',
- 'example' => '20190104121607-千牛卖家测试',
- ],
- 'Duration' => [
- 'description' => '通话时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => '千牛卖家测试',
- ],
- 'FileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => '154657536797300080308468.wav',
- ],
- 'QualityCheckTid' => [
- 'description' => '智能质检文本ID',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'StartTime' => ['description' => '通话开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1546575367000'],
+ 'ContactId' => ['description' => '通话ID', 'type' => 'string', 'example' => '2118422093'],
+ 'QualityCheckTaskId' => ['description' => '智能质检任务ID', 'type' => 'string', 'example' => 'xxx'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '101820677302****'],
+ 'FileDescription' => ['description' => '录音文件别名', 'type' => 'string', 'example' => '20190104121607-千牛卖家测试'],
+ 'Duration' => ['description' => '通话时长', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => '千牛卖家测试'],
+ 'FileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => '154657536797300080308468.wav'],
+ 'QualityCheckTid' => ['description' => '智能质检文本ID', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -3463,14 +1721,8 @@
],
'ListCallEventDetailByContactId' => [
'summary' => '根据通话ID获取通话的详细操作日志。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3485,32 +1737,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '通过指定的**contactId**来查询某一通电话的记录,contactId可以通过软电话SDK发生通话时获取到。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1096645650',
- ],
+ 'schema' => ['description' => '通过指定的**contactId**来查询某一通电话的记录,contactId可以通过软电话SDK发生通话时获取到。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1096645650'],
],
],
'responses' => [
@@ -3518,71 +1756,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '获取到的通话详单',
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => '呼叫时间',
- 'type' => 'string',
- 'example' => '1555492246000',
- ],
- 'ReleaseReason' => [
- 'description' => '挂断原因',
- 'type' => 'string',
- 'example' => '487-Request Terminated',
- ],
- 'CallType' => [
- 'description' => '呼叫类型',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'ReleaseAgent' => [
- 'description' => '挂断方,customer:用户挂机;agent:坐席挂机,同时提醒,目前有部分数据为兼容,如出现特殊数据请反馈给云呼技术值班同学进行挂断方的定位。',
- 'type' => 'string',
- 'example' => 'agent',
- ],
- 'Caller' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'example' => '8031****',
- ],
- 'Callee' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '1350121****',
- ],
- 'PrivacyNumber' => [
- 'description' => '虚拟号码',
- 'type' => 'string',
- 'example' => '1234****',
- ],
+ 'StartTime' => ['description' => '呼叫时间', 'type' => 'string', 'example' => '1555492246000'],
+ 'ReleaseReason' => ['description' => '挂断原因', 'type' => 'string', 'example' => '487-Request Terminated'],
+ 'CallType' => ['description' => '呼叫类型', 'type' => 'string', 'example' => 'Outbound'],
+ 'ReleaseAgent' => ['description' => '挂断方,customer:用户挂机;agent:坐席挂机,同时提醒,目前有部分数据为兼容,如出现特殊数据请反馈给云呼技术值班同学进行挂断方的定位。', 'type' => 'string', 'example' => 'agent'],
+ 'Caller' => ['description' => '主叫号码', 'type' => 'string', 'example' => '8031****'],
+ 'Callee' => ['description' => '被叫号码', 'type' => 'string', 'example' => '1350121****'],
+ 'PrivacyNumber' => ['description' => '虚拟号码', 'type' => 'string', 'example' => '1234****'],
'Events' => [
'type' => 'object',
'itemNode' => true,
@@ -3593,71 +1782,26 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => 'Dialing',
- ],
- 'CallMode' => [
- 'description' => '通话类型',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'Event' => [
- 'description' => '事件描述。'."\n"
- .'包括:'."\n"
- ."\n"
- .'- **IVR事件**:EnterIVR (进入IVR);'."\n"
- .'- **队列事件**:EnterQueue(进入队列)、ACDOverflow(队列溢出)、AbandonedRing(振铃放弃)、NormalEnd(队列中正常结束)、AbandonedInQueue(进入放弃队列)、WaitingInQueue(进入等待队列);'."\n"
- .'- **坐席事件**:Ring(振铃)、Talk(通话)、GiveUp(放弃)、End(结束)、Handle(挂断)、CallForHelp(发起求助)、CallForHelpSuccess(求助成功)、SetUpMeeting(会议建立)、Dial(拨号)、LaunchTransfer(转接)。',
- 'type' => 'string',
- 'example' => 'Dial',
- ],
- 'TimeStamp' => [
- 'description' => '事件发生时间',
- 'type' => 'string',
- 'example' => '1555492246000',
- ],
- 'AgentName' => [
- 'description' => '坐席名',
- 'type' => 'string',
- 'example' => 'cloudcallcenter',
- ],
- 'Duration' => [
- 'description' => '持续时间',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'Dialing'],
+ 'CallMode' => ['description' => '通话类型', 'type' => 'string', 'example' => 'Outbound'],
+ 'Event' => ['description' => '事件描述。'."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- **IVR事件**:EnterIVR (进入IVR);'."\n"
+ .'- **队列事件**:EnterQueue(进入队列)、ACDOverflow(队列溢出)、AbandonedRing(振铃放弃)、NormalEnd(队列中正常结束)、AbandonedInQueue(进入放弃队列)、WaitingInQueue(进入等待队列);'."\n"
+ .'- **坐席事件**:Ring(振铃)、Talk(通话)、GiveUp(放弃)、End(结束)、Handle(挂断)、CallForHelp(发起求助)、CallForHelpSuccess(求助成功)、SetUpMeeting(会议建立)、Dial(拨号)、LaunchTransfer(转接)。', 'type' => 'string', 'example' => 'Dial'],
+ 'TimeStamp' => ['description' => '事件发生时间', 'type' => 'string', 'example' => '1555492246000'],
+ 'AgentName' => ['description' => '坐席名', 'type' => 'string', 'example' => 'cloudcallcenter'],
+ 'Duration' => ['description' => '持续时间', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'DetailData' => [
'description' => '动态添加所需的详细信息',
'type' => 'object',
'properties' => [
- 'HangUper' => [
- 'description' => '被求助者,求助内部坐席,对应坐席名称;求助外部的话,记录外部号码。',
- 'type' => 'string',
- 'example' => 'byeSystem',
- ],
- 'EventType' => [
- 'description' => '事件类型 包括:ivr、queue、agent。',
- 'type' => 'string',
- 'example' => 'agent',
- ],
- 'SkillGroup' => [
- 'description' => '技能组',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'SatisfactionalResearch' => [
- 'description' => '满意度调查',
- 'type' => 'string',
- 'example' => '不满意',
- ],
- 'Helper' => [
- 'description' => '挂机者',
- 'type' => 'string',
- 'example' => 'xme',
- ],
+ 'HangUper' => ['description' => '被求助者,求助内部坐席,对应坐席名称;求助外部的话,记录外部号码。', 'type' => 'string', 'example' => 'byeSystem'],
+ 'EventType' => ['description' => '事件类型 包括:ivr、queue、agent。', 'type' => 'string', 'example' => 'agent'],
+ 'SkillGroup' => ['description' => '技能组', 'type' => 'string', 'example' => '测试'],
+ 'SatisfactionalResearch' => ['description' => '满意度调查', 'type' => 'string', 'example' => '不满意'],
+ 'Helper' => ['description' => '挂机者', 'type' => 'string', 'example' => 'xme'],
],
],
],
@@ -3680,14 +1824,8 @@
],
'ListRecentCallRecords' => [
'summary' => '调用ListRecentCallRecords获取呼叫中心当前坐席的最近通话记录。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3702,79 +1840,40 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的起始时间。缺省为0,代表从当天的0时开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1532448000000',
- ],
+ 'schema' => ['description' => '获取的历史数据的起始时间。缺省为0,代表从当天的0时开始。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1532448000000'],
],
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的终止时间。缺省为0,代表截止到目前的时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1532707199000',
- ],
+ 'schema' => ['description' => '获取的历史数据的终止时间。缺省为0,代表截止到目前的时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1532707199000'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'],
],
[
'name' => 'Criteria',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索条件。'."\n"
- ."\n"
- .'可以根据号码(客户电话或坐席号码)来搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"phoneNumber": "0411xxxx4588"}',
- ],
+ 'schema' => ['description' => '搜索条件。'."\n"
+ ."\n"
+ .'可以根据号码(客户电话或坐席号码)来搜索。', 'type' => 'string', 'required' => false, 'example' => '{"phoneNumber": "0411xxxx4588"}'],
],
],
'responses' => [
@@ -3782,54 +1881,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '032C73C4-3A6F-4502-872B-4F5B41161C6E',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '032C73C4-3A6F-4502-872B-4F5B41161C6E'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'CallDetailRecords' => [
'description' => '获取到的通话详单',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -3840,83 +1903,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactDisposition' => [
- 'description' => '电话结束原因。'."\n"
- ."\n"
- .'参考枚举值:Success(0) 正常, NoAnswer(1) 无应答, Rejected(2)拒绝, Busy(3)忙, AbandonedInContactFlow(4) IVR呼损, AbandonedInQueue(5)队列呼损, AbandonedRing(6) 久振不接, QueueOverflow(7) 等待超时被挂断。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ContactType' => [
- 'description' => '通话类型。'."\n"
- ."\n"
- .'参考枚举值:Inbound(0) 内呼, Outbound(1) 外呼, Internal(2) 内部通话。',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'CalledNumber' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '0109898****',
- ],
- 'AgentNames' => [
- 'description' => '参与通话的座席,多个座席之间以逗号分隔。',
- 'type' => 'string',
- 'example' => 'ccctest',
- ],
- 'Satisfaction' => [
- 'description' => '满意度',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => '电话开始时间,内呼从进入IVR开始,外呼从开始接通计算。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1532448000000',
- ],
- 'ExtraAttr' => [
- 'description' => '额外信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'SatisfactionDesc' => [
- 'description' => '满意度描述',
- 'type' => 'string',
- 'example' => '满意',
- ],
- 'ContactId' => [
- 'description' => '话务ID,全局唯一,对应于 ACC的ACID。',
- 'type' => 'string',
- 'example' => '20988909',
- ],
- 'CallingNumber' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'example' => '1930909****',
- ],
- 'Duration' => [
- 'description' => '通话持续时间,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '39',
- ],
- 'SkillGroupNames' => [
- 'description' => '参与通话的座席所述的技能组,多个技能组以逗号分隔。',
- 'type' => 'string',
- 'example' => '技能组1',
- ],
- 'Feedback' => [
- 'description' => '反馈',
- 'type' => 'string',
- 'example' => '不满意',
- ],
+ 'ContactDisposition' => ['description' => '电话结束原因。'."\n"
+ ."\n"
+ .'参考枚举值:Success(0) 正常, NoAnswer(1) 无应答, Rejected(2)拒绝, Busy(3)忙, AbandonedInContactFlow(4) IVR呼损, AbandonedInQueue(5)队列呼损, AbandonedRing(6) 久振不接, QueueOverflow(7) 等待超时被挂断。', 'type' => 'string', 'example' => 'Success'],
+ 'ContactType' => ['description' => '通话类型。'."\n"
+ ."\n"
+ .'参考枚举值:Inbound(0) 内呼, Outbound(1) 外呼, Internal(2) 内部通话。', 'type' => 'string', 'example' => 'Outbound'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '0109898****'],
+ 'AgentNames' => ['description' => '参与通话的座席,多个座席之间以逗号分隔。', 'type' => 'string', 'example' => 'ccctest'],
+ 'Satisfaction' => ['description' => '满意度', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'StartTime' => ['description' => '电话开始时间,内呼从进入IVR开始,外呼从开始接通计算。', 'type' => 'integer', 'format' => 'int64', 'example' => '1532448000000'],
+ 'ExtraAttr' => ['description' => '额外信息', 'type' => 'string', 'example' => '无'],
+ 'SatisfactionDesc' => ['description' => '满意度描述', 'type' => 'string', 'example' => '满意'],
+ 'ContactId' => ['description' => '话务ID,全局唯一,对应于 ACC的ACID。', 'type' => 'string', 'example' => '20988909'],
+ 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '1930909****'],
+ 'Duration' => ['description' => '通话持续时间,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '39'],
+ 'SkillGroupNames' => ['description' => '参与通话的座席所述的技能组,多个技能组以逗号分隔。', 'type' => 'string', 'example' => '技能组1'],
+ 'Feedback' => ['description' => '反馈', 'type' => 'string', 'example' => '不满意'],
'Agents' => [
'type' => 'object',
'itemNode' => true,
@@ -3927,72 +1931,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AgentId' => [
- 'description' => '座席ID',
- 'type' => 'string',
- 'example' => '105987678892xxxx',
- ],
- 'TalkTime' => [
- 'description' => '通话时间,单位为秒',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '54',
- ],
- 'WorkTime' => [
- 'description' => '话后处理时间,单位为秒',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => 'ccctest',
- ],
- 'RingTime' => [
- 'description' => '振铃时间,单位为秒',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Satisfaction' => [
- 'description' => '满意度',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => '通话开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1532448000000',
- ],
- 'ContactId' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'example' => '123909012',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '技能组1',
- ],
- 'HoldTime' => [
- 'description' => '通话保持时间,单位为秒',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'QueueTime' => [
- 'description' => '排队时间,单位为秒',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'Feedback' => [
- 'description' => '反馈',
- 'type' => 'string',
- 'example' => '不满意',
- ],
+ 'AgentId' => ['description' => '座席ID', 'type' => 'string', 'example' => '105987678892xxxx'],
+ 'TalkTime' => ['description' => '通话时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '54'],
+ 'WorkTime' => ['description' => '话后处理时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => 'ccctest'],
+ 'RingTime' => ['description' => '振铃时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Satisfaction' => ['description' => '满意度', 'type' => 'string', 'example' => '1'],
+ 'StartTime' => ['description' => '通话开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1532448000000'],
+ 'ContactId' => ['description' => '话务ID', 'type' => 'string', 'example' => '123909012'],
+ 'SkillGroupName' => ['description' => '技能组名称', 'type' => 'string', 'example' => '技能组1'],
+ 'HoldTime' => ['description' => '通话保持时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'QueueTime' => ['description' => '排队时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Feedback' => ['description' => '反馈', 'type' => 'string', 'example' => '不满意'],
],
],
],
@@ -4008,73 +1958,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactType' => [
- 'description' => '通话类型',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'AgentId' => [
- 'description' => '座席ID',
- 'type' => 'string',
- 'example' => '105987678892xxxx',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => 'ccctest',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'FileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => '0001.wav',
- ],
- 'CalledNumber' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'example' => '1930909****',
- ],
- 'StartTime' => [
- 'description' => '通话开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1532448000000',
- ],
- 'FilePath' => [
- 'description' => '录音文件在OSS中的保存位置',
- 'type' => 'string',
- 'example' => 'oss://cloudcall-test/acc123',
- ],
- 'ContactId' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'example' => '123909012',
- ],
- 'CallingNumber' => [
- 'description' => '主叫电话',
- 'type' => 'string',
- 'example' => '0109898****',
- ],
- 'Duration' => [
- 'description' => '通话时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '38',
- ],
- 'FileDescription' => [
- 'description' => '录音文件别名',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Channel' => [
- 'description' => '座席所在音轨标示',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'ContactType' => ['description' => '通话类型', 'type' => 'string', 'example' => 'Outbound'],
+ 'AgentId' => ['description' => '座席ID', 'type' => 'string', 'example' => '105987678892xxxx'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => 'ccctest'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'FileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => '0001.wav'],
+ 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '1930909****'],
+ 'StartTime' => ['description' => '通话开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1532448000000'],
+ 'FilePath' => ['description' => '录音文件在OSS中的保存位置', 'type' => 'string', 'example' => 'oss://cloudcall-test/acc123'],
+ 'ContactId' => ['description' => '话务ID', 'type' => 'string', 'example' => '123909012'],
+ 'CallingNumber' => ['description' => '主叫电话', 'type' => 'string', 'example' => '0109898****'],
+ 'Duration' => ['description' => '通话时长', 'type' => 'integer', 'format' => 'int32', 'example' => '38'],
+ 'FileDescription' => ['description' => '录音文件别名', 'type' => 'string', 'example' => '无'],
+ 'Channel' => ['description' => '座席所在音轨标示', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -4100,14 +1996,8 @@
],
'GetConversationDetailByContactId' => [
'summary' => '根据话务ID(ContactId)获得此次对话的文本信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4122,56 +2012,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取日常性能数据的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待获取日常性能数据的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'description' => '话务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2020927020',
- ],
+ 'schema' => ['description' => '话务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020927020'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '为扩展预留,目前不生效,请传入1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '为扩展预留,目前不生效,请传入1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '为扩展预留,目前不生效,请传入1-99之间数字。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '为扩展预留,目前不生效,请传入1-99之间数字。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2'],
],
],
'responses' => [
@@ -4179,54 +2041,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'D5A4E013-09E1-4CDA-B70A-F5D3B75015A3',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D5A4E013-09E1-4CDA-B70A-F5D3B75015A3'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'DataList' => [
'description' => '对话结果',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '为扩展预留分页数据',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '为扩展预留分页数据',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '对话轮数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '为扩展预留分页数据', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '为扩展预留分页数据', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '对话轮数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -4237,33 +2063,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'End' => [
- 'description' => '对话结束偏移量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3272',
- ],
- 'Words' => [
- 'description' => '对话文本',
- 'type' => 'string',
- 'example' => '您好',
- ],
- 'Role' => [
- 'description' => '角色,客户或者客服。',
- 'type' => 'string',
- 'example' => '客服',
- ],
- 'Begin' => [
- 'description' => '对话开始偏移量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1317',
- ],
- 'Identity' => [
- 'description' => '身份',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'End' => ['description' => '对话结束偏移量', 'type' => 'integer', 'format' => 'int64', 'example' => '3272'],
+ 'Words' => ['description' => '对话文本', 'type' => 'string', 'example' => '您好'],
+ 'Role' => ['description' => '角色,客户或者客服。', 'type' => 'string', 'example' => '客服'],
+ 'Begin' => ['description' => '对话开始偏移量', 'type' => 'integer', 'format' => 'int64', 'example' => '1317'],
+ 'Identity' => ['description' => '身份', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -4285,14 +2089,8 @@
],
'DialEx' => [
'summary' => '发起后台外呼。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4307,83 +2105,45 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****'],
],
[
'name' => 'Caller',
'in' => 'query',
- 'schema' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0228519****',
- ],
+ 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0228519****'],
],
[
'name' => 'Callee',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1573203****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1573203****'],
],
[
'name' => 'RoutPoint',
'in' => 'query',
- 'schema' => [
- 'description' => '- 如果AnswerMode是**0**,则传入联系流ID(ContractFlowId);'."\n"
- .'- 如果AnwserMode是**1**,则传入接听坐席,格式:ram_id@呼叫中心二级域名;'."\n"
- .'- 如果AnwserMode是**2**,则传入接听技能组队列(技能组queue)'."\n"
- .'> Q:如何查找呼叫中心二级域名? A: 位置:https://ccc.aliyun.com/workbench/呼叫中心二级域名, *注意:呼叫中心二级域名需要与创建云呼叫中心实例填写的保持一致,此接口会区分二级域名的大小写*',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'paEF_1GAQXXJ',
- ],
+ 'schema' => ['description' => '- 如果AnswerMode是**0**,则传入联系流ID(ContractFlowId);'."\n"
+ .'- 如果AnwserMode是**1**,则传入接听坐席,格式:ram_id@呼叫中心二级域名;'."\n"
+ .'- 如果AnwserMode是**2**,则传入接听技能组队列(技能组queue)'."\n"
+ .'> Q:如何查找呼叫中心二级域名? A: 位置:https://ccc.aliyun.com/workbench/呼叫中心二级域名, *注意:呼叫中心二级域名需要与创建云呼叫中心实例填写的保持一致,此接口会区分二级域名的大小写*', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'paEF_1GAQXXJ'],
],
[
'name' => 'AnswerMode',
'in' => 'query',
- 'schema' => [
- 'description' => '接听方式。三种方式分别为:'."\n"
- ."\n"
- .'- **0**:ivr'."\n"
- .'- **1**:agent'."\n"
- .'- **2**:skillgroupid',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '接听方式。三种方式分别为:'."\n"
+ ."\n"
+ .'- **0**:ivr'."\n"
+ .'- **1**:agent'."\n"
+ .'- **2**:skillgroupid', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'Provider',
'in' => 'query',
- 'schema' => [
- 'description' => '外呼方式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'null',
- ],
+ 'schema' => ['description' => '外呼方式', 'type' => 'string', 'required' => false, 'example' => 'null'],
],
],
'responses' => [
@@ -4391,52 +2151,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '26D1277F-55BF-453E-A6B2-02B7E6F97699',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'StatusCode' => [
- 'description' => '外呼返回状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'TimeStamp' => [
- 'description' => '本次外呼的时间戳',
- 'type' => 'string',
- 'example' => '1554862236398',
- ],
- 'TaskId' => [
- 'description' => '本次外呼产生的任务ID',
- 'type' => 'string',
- 'example' => '15548622359772****',
- ],
- 'StatusDesc' => [
- 'description' => '外呼返回状态描述',
- 'type' => 'string',
- 'example' => 'Okay',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '26D1277F-55BF-453E-A6B2-02B7E6F97699'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'StatusCode' => ['description' => '外呼返回状态码', 'type' => 'string', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'TimeStamp' => ['description' => '本次外呼的时间戳', 'type' => 'string', 'example' => '1554862236398'],
+ 'TaskId' => ['description' => '本次外呼产生的任务ID', 'type' => 'string', 'example' => '15548622359772****'],
+ 'StatusDesc' => ['description' => '外呼返回状态描述', 'type' => 'string', 'example' => 'Okay'],
],
],
],
@@ -4458,14 +2181,8 @@
],
'CallOnlinePrivacyNumber' => [
'summary' => '调用CallOnlinePrivacyNumber使用虚拟号码外呼。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4480,40 +2197,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'TelA',
'in' => 'query',
- 'schema' => [
- 'description' => '主叫号码',
- 'type' => 'string',
- 'required' => true,
- 'example' => '0256604****',
- ],
+ 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => true, 'example' => '0256604****'],
],
[
'name' => 'TelB',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1880134****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'example' => '1880134****'],
],
],
'responses' => [
@@ -4521,61 +2221,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '30C7D235-DDCF-4C7F-A462-5E2598252C2B',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '30C7D235-DDCF-4C7F-A462-5E2598252C2B'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回虚拟号码',
'type' => 'object',
'properties' => [
- 'DateCreated' => [
- 'description' => '虚拟号码呼叫响应时间',
- 'type' => 'string',
- 'example' => '2018/10/27 15:55:55',
- ],
- 'Represent' => [
- 'description' => '虚拟号码呼叫错误描述',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'TelX' => [
- 'description' => '虚拟号码',
- 'type' => 'string',
- 'example' => '1302015****',
- ],
- 'StatusCode' => [
- 'description' => '虚拟号码呼叫返回状态',
- 'type' => 'string',
- 'example' => '000000',
- ],
- 'CallId' => [
- 'description' => '虚拟号码通话唯一标识',
- 'type' => 'string',
- 'example' => '5ec64c6b-4b98-4fd6-8ce8-ad07cf84481b',
- ],
+ 'DateCreated' => ['description' => '虚拟号码呼叫响应时间', 'type' => 'string', 'example' => '2018/10/27 15:55:55'],
+ 'Represent' => ['description' => '虚拟号码呼叫错误描述', 'type' => 'string', 'example' => '无'],
+ 'TelX' => ['description' => '虚拟号码', 'type' => 'string', 'example' => '1302015****'],
+ 'StatusCode' => ['description' => '虚拟号码呼叫返回状态', 'type' => 'string', 'example' => '000000'],
+ 'CallId' => ['description' => '虚拟号码通话唯一标识', 'type' => 'string', 'example' => '5ec64c6b-4b98-4fd6-8ce8-ad07cf84481b'],
],
],
],
@@ -4592,14 +2251,8 @@
],
'GetConfig' => [
'summary' => '获取单独某一项的配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4613,53 +2266,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '配置项名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AllowHangup',
- ],
+ 'schema' => ['description' => '配置项名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AllowHangup'],
],
[
'name' => 'ObjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '配置维度值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '配置维度值。', 'type' => 'string', 'required' => false, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ObjectType',
'in' => 'query',
- 'schema' => [
- 'description' => '配置维度名称,标识该配置作用范围。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'instance',
- ],
+ 'schema' => ['description' => '配置维度名称,标识该配置作用范围。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance'],
],
],
'responses' => [
@@ -4667,46 +2295,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'xxx'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'ConfigItem' => [
'description' => '配置项信息',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '配置项名称',
- 'type' => 'string',
- 'example' => 'AllowHangup',
- ],
- 'Value' => [
- 'description' => '配置项的值',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'Name' => ['description' => '配置项名称', 'type' => 'string', 'example' => 'AllowHangup'],
+ 'Value' => ['description' => '配置项的值', 'type' => 'string', 'example' => '1'],
],
],
],
@@ -4722,14 +2321,8 @@
],
'ListConfig' => [
'summary' => '获取多个配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4743,21 +2336,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccTMAX45',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccTMAX45'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ConfigItem',
@@ -4789,9 +2374,7 @@
."\n"
.'例如:`{“Name”:”AllowHangup”,”DimensionName”:”instance”}`。其中,**Name**为配置项名称,**DimensionName**为配置维度名称。这里参数名称为**ConfigItem.1**意为只获取1个配置项,如果要获取两个配置项,则需要有**ConfigItem.1**以及**ConfigItem.2**。'."\n",
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '{“Name”:”AllowHangup”,”DimensionName”:”instance”}',
'maxItems' => 99,
@@ -4803,32 +2386,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'C81FD1A5-4B99-470A-A527-D80150228784',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C81FD1A5-4B99-470A-A527-D80150228784'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'ConfigItems' => [
'type' => 'object',
'itemNode' => true,
@@ -4839,16 +2401,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '配置项名称',
- 'type' => 'string',
- 'example' => 'AllowHangup',
- ],
- 'Value' => [
- 'description' => '配置项值',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'Name' => ['description' => '配置项名称', 'type' => 'string', 'example' => 'AllowHangup'],
+ 'Value' => ['description' => '配置项值', 'type' => 'string', 'example' => '1'],
],
],
],
@@ -4877,14 +2431,8 @@
],
'AddPhoneTags' => [
'summary' => '调用接口:AddPhoneTags 添加号码打标信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4899,94 +2447,48 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'ServiceTag',
'in' => 'query',
- 'schema' => [
- 'description' => '业务标签',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'M1',
- ],
+ 'schema' => ['description' => '业务标签', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M1'],
],
[
'name' => 'RegionNameProvince',
'in' => 'query',
- 'schema' => [
- 'description' => '归属地省',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京',
- ],
+ 'schema' => ['description' => '归属地省', 'type' => 'string', 'required' => false, 'example' => '北京'],
],
[
'name' => 'RegionNameCity',
'in' => 'query',
- 'schema' => [
- 'description' => '归属地市',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京',
- ],
+ 'schema' => ['description' => '归属地市', 'type' => 'string', 'required' => false, 'example' => '北京'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '号码类型,0:普通号码,1:手机号码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '号码类型,0:普通号码,1:手机号码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'Concurrency',
'in' => 'query',
- 'schema' => [
- 'description' => '并发量,默认为1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '15',
- ],
+ 'schema' => ['description' => '并发量,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'Provider',
'in' => 'query',
- 'schema' => [
- 'description' => '运营商',
- 'type' => 'string',
- 'required' => false,
- 'example' => '全国联通',
- ],
+ 'schema' => ['description' => '运营商', 'type' => 'string', 'required' => false, 'example' => '全国联通'],
],
[
'name' => 'SipTag',
'in' => 'query',
- 'schema' => [
- 'description' => 'SIP打标信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AliTelecom',
- ],
+ 'schema' => ['description' => 'SIP打标信息', 'type' => 'string', 'required' => false, 'example' => 'AliTelecom'],
],
[
'name' => 'PhoneNumberList',
@@ -4995,9 +2497,7 @@
'schema' => [
'description' => '号码集合',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '01098789876',
'maxItems' => 99,
@@ -5009,36 +2509,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -5052,14 +2531,8 @@
],
'DeletePhoneTags' => [
'summary' => '调用接口:DeletePhoneTags 删除号码打标信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5074,21 +2547,13 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'PhoneNumberList',
@@ -5097,9 +2562,7 @@
'schema' => [
'description' => '号码集合。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '01098789876',
'maxItems' => 99,
@@ -5111,32 +2574,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -5150,14 +2592,8 @@
],
'ModifyPhoneTags' => [
'summary' => '调用接口:ModifyPhoneTags 修改号码打标信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5172,32 +2608,18 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d ',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d '],
],
[
'name' => 'ServiceTag',
'in' => 'query',
- 'schema' => [
- 'description' => '业务标签',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'M1',
- ],
+ 'schema' => ['description' => '业务标签', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'M1'],
],
[
'name' => 'SkillGroupIdList',
@@ -5206,9 +2628,7 @@
'schema' => [
'description' => '技能组ID集合',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'u8109-6260-4a53-ab6e-b13e3fb31f7d ',
'maxItems' => 99,
@@ -5220,35 +2640,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE '],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -5262,14 +2661,8 @@
],
'ListPhoneTags' => [
'summary' => '调用接口:ListPhoneTags查询号码打标信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5284,66 +2677,33 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450"',
- ],
+ 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450"'],
],
[
'name' => 'OutboundOnly',
'in' => 'query',
- 'schema' => [
- 'description' => '是否仅外呼',
- 'type' => 'boolean',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否仅外呼', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'Number',
'in' => 'query',
- 'schema' => [
- 'description' => '号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '010989897878',
- ],
+ 'schema' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '010989897878'],
],
[
'name' => 'NumberGroupIds',
@@ -5352,9 +2712,7 @@
'schema' => [
'description' => '号码组ID列表',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '121318023891274071',
'maxItems' => 99,
@@ -5366,139 +2724,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE '],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'PhoneNumbers' => [
'description' => '打标号码集合',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '29',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总大小', 'type' => 'integer', 'format' => 'int32', 'example' => '29'],
'List' => [
'description' => '打标号码集合',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '号码类型,0:普通号码,1:手机号码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ServiceTag' => [
- 'description' => '业务标签',
- 'type' => 'string',
- 'example' => 'M1',
- ],
- 'CreateTime' => [
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1554862236398',
- ],
- 'City' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'InstanceId' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入,呼出,已经同时用于呼入和呼出。 Inbound, Outbound, Bidirection。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'PhoneNumberId' => [
- 'description' => '号码ID',
- 'type' => 'string',
- 'example' => '129031-joriew-EIOD',
- ],
- 'Provider' => [
- 'description' => '供应商',
- 'type' => 'string',
- 'example' => 'ali Telecom',
- ],
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '01009090909',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流ID',
- 'type' => 'string',
- 'example' => '1231jfowei-uoer012091i',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '号码描述',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Concurrency' => [
- 'description' => '并发量,默认是1'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Type' => ['description' => '号码类型,0:普通号码,1:手机号码', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ServiceTag' => ['description' => '业务标签', 'type' => 'string', 'example' => 'M1'],
+ 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1554862236398'],
+ 'City' => ['description' => '城市', 'type' => 'string', 'example' => '北京'],
+ 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'Usage' => ['description' => '电话号码的用途,呼入,呼出,已经同时用于呼入和呼出。 Inbound, Outbound, Bidirection。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'PhoneNumberId' => ['description' => '号码ID', 'type' => 'string', 'example' => '129031-joriew-EIOD'],
+ 'Provider' => ['description' => '供应商', 'type' => 'string', 'example' => 'ali Telecom'],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '01009090909'],
+ 'ContactFlowId' => ['description' => '联系流ID', 'type' => 'string', 'example' => '1231jfowei-uoer012091i'],
+ 'PhoneNumberDescription' => ['description' => '号码描述', 'type' => 'string', 'example' => '无'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京'],
+ 'Concurrency' => ['description' => '并发量,默认是1'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'SkillGroupIdList' => [
'type' => 'array',
- 'items' => [
- 'description' => '技能组ID集合',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '技能组ID集合', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -5518,14 +2781,8 @@
],
'AddBulkPhoneNumbers' => [
'summary' => '调用AddBulkPhoneNumbers批量新增号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5540,44 +2797,25 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待添加电话号码的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****',
- ],
+ 'schema' => ['description' => '待添加电话号码的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****'],
],
[
'name' => 'Usage',
'in' => 'query',
- 'schema' => [
- 'description' => '该电话号码的用途。取值:**Inbound**(呼入),**Outboung**(呼出),**Bidirection**(同时用于呼入和呼出)。'."\n"
- ."\n"
- .'> 如果传入的号码包含400号码,该值只能传入**Inbound**。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Bidirection',
- ],
+ 'schema' => ['description' => '该电话号码的用途。取值:**Inbound**(呼入),**Outboung**(呼出),**Bidirection**(同时用于呼入和呼出)。'."\n"
+ ."\n"
+ .'> 如果传入的号码包含400号码,该值只能传入**Inbound**。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Bidirection'],
],
[
'name' => 'ContactFlowId',
'in' => 'query',
- 'schema' => [
- 'description' => '和电话号码绑定的联系流ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8Cvg_0mcsm6K',
- ],
+ 'schema' => ['description' => '和电话号码绑定的联系流ID。', 'type' => 'string', 'required' => false, 'example' => '8Cvg_0mcsm6K'],
],
[
'name' => 'PhoneNumber',
@@ -5588,9 +2826,7 @@
."\n"
.'参数名称为**PhoneNumber.1**表示只获取1个技能组信息,如果要获取多个技能组信息,则需要有PhoneNumber.1以及PhoneNumber.2,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '0216066****',
'maxItems' => 99,
@@ -5605,9 +2841,7 @@
."\n"
.'参数名称为**SkillGroupId.1**表示只获取1个技能组信息。如果要获取多个技能组信息,则需要有SkillGroupId.1以及SkillGroupId.2,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0',
'maxItems' => 99,
@@ -5619,43 +2853,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'ArrearagePhoneNumbers' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ArrearagePhoneNumber' => [
'type' => 'array',
- 'items' => [
- 'description' => '欠费号码的信息。',
- 'type' => 'string',
- 'example' => '{"ArrearagePhoneNumber":[ ]}',
- ],
+ 'items' => ['description' => '欠费号码的信息。', 'type' => 'string', 'example' => '{"ArrearagePhoneNumber":[ ]}'],
],
],
],
@@ -5665,11 +2874,7 @@
'properties' => [
'FailedPhoneNumber' => [
'type' => 'array',
- 'items' => [
- 'description' => '添加失败号码的信息。',
- 'type' => 'string',
- 'example' => '{"FailedPhoneNumber":[ ]}',
- ],
+ 'items' => ['description' => '添加失败号码的信息。', 'type' => 'string', 'example' => '{"FailedPhoneNumber":[ ]}'],
],
],
],
@@ -5679,11 +2884,7 @@
'properties' => [
'UserdPhoneNumber' => [
'type' => 'array',
- 'items' => [
- 'description' => '已经被使用号码的信息。',
- 'type' => 'string',
- 'example' => '{"UserdPhoneNumber":[ ]}',
- ],
+ 'items' => ['description' => '已经被使用号码的信息。', 'type' => 'string', 'example' => '{"UserdPhoneNumber":[ ]}'],
],
],
],
@@ -5697,65 +2898,27 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '1788888****',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入(**Inbound**),呼出(**Outbound**),已经同时用于呼入和呼出(**Bidirection**)。上述值由枚举类型PhoneNumberType定义。'."\n"
- ."\n"
- .'该值的结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音。2)该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼,结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '125435986',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'true'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '1788888****'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'Usage' => ['description' => '电话号码的用途,呼入(**Inbound**),呼出(**Outbound**),已经同时用于呼入和呼出(**Bidirection**)。上述值由枚举类型PhoneNumberType定义。'."\n"
+ ."\n"
+ .'该值的结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音。2)该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼,结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'xxx'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '125435986'],
'SkillGroups' => [
'type' => 'object',
'itemNode' => true,
@@ -5766,16 +2929,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillGroupName' => [
- 'description' => '技能组名称。',
- 'type' => 'string',
- 'example' => '预测试外呼技能组',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID。',
- 'type' => 'string',
- 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0',
- ],
+ 'SkillGroupName' => ['description' => '技能组名称。', 'type' => 'string', 'example' => '预测试外呼技能组'],
+ 'SkillGroupId' => ['description' => '技能组ID。', 'type' => 'string', 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0'],
],
],
],
@@ -5785,31 +2940,11 @@
'description' => '电话号码所连接的联系流IVR。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '流程类型, 定义来自于ContactFlowType。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'ContactFlowDescription' => [
- 'description' => '联系流的简单描述。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'InstanceId' => [
- 'description' => '联系流所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称,在一个实例内名称不能重复。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '2932',
- ],
+ 'Type' => ['description' => '流程类型, 定义来自于ContactFlowType。', 'type' => 'string', 'example' => '0'],
+ 'ContactFlowDescription' => ['description' => '联系流的简单描述。', 'type' => 'string', 'example' => 'Welcome'],
+ 'InstanceId' => ['description' => '联系流所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'ContactFlowName' => ['description' => '联系流名称,在一个实例内名称不能重复。', 'type' => 'string', 'example' => 'Welcome'],
+ 'ContactFlowId' => ['description' => '联系流唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '2932'],
],
],
],
@@ -5831,14 +2966,8 @@
],
'AddPhoneNumber' => [
'summary' => '调用AddPhoneNumber新增号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5853,52 +2982,30 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc1MRAID',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc1MRAID'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待添加电话号码的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '待添加电话号码的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'PhoneNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '待添加电话号码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '05316896****',
- ],
+ 'schema' => ['description' => '待添加电话号码。', 'type' => 'string', 'required' => true, 'example' => '05316896****'],
],
[
'name' => 'Usage',
'in' => 'query',
- 'schema' => [
- 'description' => '该电话号码的用途。取值:呼入(**Inbound**),呼出(**Outboung**),已经同时用于呼入和呼出(**Bidirection**)。'."\n"
- ."\n"
- .'> 如果传入号码为400号码,该值只能传入**Inbound**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Bidirection',
- ],
+ 'schema' => ['description' => '该电话号码的用途。取值:呼入(**Inbound**),呼出(**Outboung**),已经同时用于呼入和呼出(**Bidirection**)。'."\n"
+ ."\n"
+ .'> 如果传入号码为400号码,该值只能传入**Inbound**。', 'type' => 'string', 'required' => true, 'example' => 'Bidirection'],
],
[
'name' => 'ContactFlowId',
'in' => 'query',
- 'schema' => [
- 'description' => '和电话号码绑定的联系流ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dDMD_0mif4hv',
- ],
+ 'schema' => ['description' => '和电话号码绑定的联系流ID。', 'type' => 'string', 'required' => false, 'example' => 'dDMD_0mif4hv'],
],
],
'responses' => [
@@ -5906,124 +3013,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PhoneNumber' => [
'description' => '新添加的电话号码的信息',
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '1788888****',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途。取值:呼入(Inbound),呼出(Outbound),已经同时用于呼入和呼出(Bidirection)上述值由枚举类型PhoneNumberType定义。'."\n"
- ."\n"
- .'该值的结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼,结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '9191956d-3464-402b-8017-ea8df5d8****',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'true'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '1788888****'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'Usage' => ['description' => '电话号码的用途。取值:呼入(Inbound),呼出(Outbound),已经同时用于呼入和呼出(Bidirection)上述值由枚举类型PhoneNumberType定义。'."\n"
+ ."\n"
+ .'该值的结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼,结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => '无'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '9191956d-3464-402b-8017-ea8df5d8****'],
'ContactFlow' => [
'description' => '电话号码所连接的联系流IVR。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '流程类型, 定义来自于ContactFlowType。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'ContactFlowDescription' => [
- 'description' => '联系流的简单描述。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'InstanceId' => [
- 'description' => '联系流所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称,在一个实例内名称不能重复。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '2957',
- ],
+ 'Type' => ['description' => '流程类型, 定义来自于ContactFlowType。', 'type' => 'string', 'example' => '0'],
+ 'ContactFlowDescription' => ['description' => '联系流的简单描述。', 'type' => 'string', 'example' => 'Welcome'],
+ 'InstanceId' => ['description' => '联系流所归属的呼叫中心实例。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'ContactFlowName' => ['description' => '联系流名称,在一个实例内名称不能重复。', 'type' => 'string', 'example' => 'Welcome'],
+ 'ContactFlowId' => ['description' => '联系流唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '2957'],
],
],
],
@@ -6042,14 +3070,8 @@
],
'ModifyPhoneNumber' => [
'summary' => '比如内呼和外呼属性以及绑定的IVR流程。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6064,53 +3086,28 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
],
[
'name' => 'PhoneNumberId',
'in' => 'query',
- 'schema' => [
- 'description' => '待修改的电话号码ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cc583e96-6bae-437e-9aeb-bffd5aeddb73',
- ],
+ 'schema' => ['description' => '待修改的电话号码ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cc583e96-6bae-437e-9aeb-bffd5aeddb73'],
],
[
'name' => 'Usage',
'in' => 'query',
- 'schema' => [
- 'description' => '该电话号码的用途。取值:呼入(**Inbound**),呼出(**Outbound**),已经同时用于呼入和呼出(**Bidirection**)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Bidirection',
- ],
+ 'schema' => ['description' => '该电话号码的用途。取值:呼入(**Inbound**),呼出(**Outbound**),已经同时用于呼入和呼出(**Bidirection**)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Bidirection'],
],
[
'name' => 'ContactFlowId',
'in' => 'query',
- 'schema' => [
- 'description' => '和电话号码绑定的联系流ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8Cvg_0mcsm6',
- ],
+ 'schema' => ['description' => '和电话号码绑定的联系流ID', 'type' => 'string', 'required' => false, 'example' => '8Cvg_0mcsm6'],
],
[
'name' => 'SkillGroupId',
@@ -6121,9 +3118,7 @@
."\n\n"
.'参数名称**SkillGroupId.1**表示只获取1个技能组信息。如果要获取多个技能组信息,则需要有SkillGroupId.1以及SkillGroupId.2。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0',
'maxItems' => 99,
@@ -6135,95 +3130,36 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '54F6A60E-541A-4C3B-8A9D-F69FEA9DD704',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '54F6A60E-541A-4C3B-8A9D-F69FEA9DD704'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PhoneNumber' => [
'description' => '电话号码信息',
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '17788888888',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入(**Inbound**),呼出(**Outbound**),已经同时用于呼入和呼出(**Bidirection**)。上述值由枚举类型PhoneNumberType定义。'."\n"
- ."\n"
- .'该值的结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼,结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '346489',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'false'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '17788888888'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'Usage' => ['description' => '电话号码的用途,呼入(**Inbound**),呼出(**Outbound**),已经同时用于呼入和呼出(**Bidirection**)。上述值由枚举类型PhoneNumberType定义。'."\n"
+ ."\n"
+ .'该值的结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼,结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '346489'],
'SkillGroups' => [
'type' => 'object',
'itemNode' => true,
@@ -6234,16 +3170,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillGroupName' => [
- 'description' => '技能组名称。',
- 'type' => 'string',
- 'example' => '预测试外呼技能组',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID。',
- 'type' => 'string',
- 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0',
- ],
+ 'SkillGroupName' => ['description' => '技能组名称。', 'type' => 'string', 'example' => '预测试外呼技能组'],
+ 'SkillGroupId' => ['description' => '技能组ID。', 'type' => 'string', 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0'],
],
],
],
@@ -6253,31 +3181,11 @@
'description' => '电话号码所连接的联系流IVR。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '流程类型, 定义来自于ContactFlowType。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'ContactFlowDescription' => [
- 'description' => '联系流的简单描述。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'InstanceId' => [
- 'description' => '联系流所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称,在一个实例内名称不能重复。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '2932',
- ],
+ 'Type' => ['description' => '流程类型, 定义来自于ContactFlowType。', 'type' => 'string', 'example' => '0'],
+ 'ContactFlowDescription' => ['description' => '联系流的简单描述。', 'type' => 'string', 'example' => 'Welcome'],
+ 'InstanceId' => ['description' => '联系流所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'ContactFlowName' => ['description' => '联系流名称,在一个实例内名称不能重复。', 'type' => 'string', 'example' => 'Welcome'],
+ 'ContactFlowId' => ['description' => '联系流唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '2932'],
],
],
],
@@ -6295,14 +3203,8 @@
],
'GetNumberRegionInfo' => [
'summary' => '调用GetNumberRegionInfo获取号码归属地信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6316,32 +3218,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc8HB4RI',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc8HB4RI'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'Number',
'in' => 'query',
- 'schema' => [
- 'description' => '电话号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1888888****',
- ],
+ 'schema' => ['description' => '电话号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1888888****'],
],
],
'responses' => [
@@ -6349,45 +3237,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PhoneNumber' => [
'description' => '号码及其归属地',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '1888888****',
- ],
- 'City' => [
- 'description' => '号码归属地市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Province' => [
- 'description' => '号码归属地省',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '1888888****'],
+ 'City' => ['description' => '号码归属地市', 'type' => 'string', 'example' => '北京'],
+ 'Province' => ['description' => '号码归属地省', 'type' => 'string', 'example' => '北京'],
],
],
],
@@ -6403,14 +3263,8 @@
],
'GetServiceExtensions' => [
'summary' => '调用GetServiceExtensions获取服务号码,。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6424,32 +3278,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ServiceType',
'in' => 'query',
- 'schema' => [
- 'description' => '需要获取的服务号码的服务类型,比如满意度调查(SatisfactionSurvey)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'SatisfactionSurvey',
- ],
+ 'schema' => ['description' => '需要获取的服务号码的服务类型,比如满意度调查(SatisfactionSurvey)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SatisfactionSurvey'],
],
],
'responses' => [
@@ -6457,32 +3297,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'C40E28B8-9EDF-421E-8F6B-B77F0E2A82E0',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C40E28B8-9EDF-421E-8F6B-B77F0E2A82E0'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'ServiceExtensions' => [
'type' => 'object',
'itemNode' => true,
@@ -6493,16 +3312,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '服务号码',
- 'type' => 'string',
- 'example' => '80202768',
- ],
- 'Name' => [
- 'description' => '服务名称',
- 'type' => 'string',
- 'example' => 'SatisfactionSurvey',
- ],
+ 'Number' => ['description' => '服务号码', 'type' => 'string', 'example' => '80202768'],
+ 'Name' => ['description' => '服务名称', 'type' => 'string', 'example' => 'SatisfactionSurvey'],
],
],
],
@@ -6522,14 +3333,8 @@
],
'ListPhoneNumbers' => [
'summary' => '获取呼叫中心实例的所有电话号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6543,32 +3348,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc1MRAID',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc1MRAID'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取电话号码的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '待获取电话号码的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'OutboundOnly',
'in' => 'query',
- 'schema' => [
- 'description' => '仅包含外呼电话号码',
- 'type' => 'boolean',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '仅包含外呼电话号码', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false'],
],
],
'responses' => [
@@ -6576,32 +3367,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'D38E508B-5190-4E1A-AA88-709B0BA547A3',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D38E508B-5190-4E1A-AA88-709B0BA547A3'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PhoneNumbers' => [
'type' => 'object',
'itemNode' => true,
@@ -6612,91 +3382,32 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SipTelX' => [
- 'description' => 'sip虚拟号码',
- 'type' => 'string',
- 'example' => '1970169****',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'City' => [
- 'description' => '电话号码的城市。',
- 'type' => 'string',
- 'example' => '杭州',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'ade80092-03d9-4f4d-ad4f-ab8a247d****',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼,结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入(Inbound),呼出(Outbound),已经同时用于呼入和呼出(Bidirection)。上述值由枚举类型PhoneNumberType定义。'."\n"
- ."\n"
- .'该值的结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'Assignee' => [
- 'description' => '号码占用者,如技能组ID',
- 'type' => 'string',
- 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f****',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0010faaa-0c07-4421-8929-9ea6a051****',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '05712823****',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'NumberCommodityStatus' => [
- 'description' => '号码商品状态 0 正常 1 欠费 2 实例已删除',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Province' => [
- 'description' => '电话号码的省份。',
- 'type' => 'string',
- 'example' => '浙江',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'false'],
+ 'SipTelX' => ['description' => 'sip虚拟号码', 'type' => 'string', 'example' => '1970169****'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'City' => ['description' => '电话号码的城市。', 'type' => 'string', 'example' => '杭州'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => 'ade80092-03d9-4f4d-ad4f-ab8a247d****'],
+ 'AllowOutbound' => ['description' => '是否允许外呼,结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。', 'type' => 'boolean', 'example' => 'true'],
+ 'Usage' => ['description' => '电话号码的用途,呼入(Inbound),呼出(Outbound),已经同时用于呼入和呼出(Bidirection)。上述值由枚举类型PhoneNumberType定义。'."\n"
+ ."\n"
+ .'该值的结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'Assignee' => ['description' => '号码占用者,如技能组ID', 'type' => 'string', 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f****'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0010faaa-0c07-4421-8929-9ea6a051****'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '05712823****'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'NumberCommodityStatus' => ['description' => '号码商品状态 0 正常 1 欠费 2 实例已删除', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Province' => ['description' => '电话号码的省份。', 'type' => 'string', 'example' => '浙江'],
'SkillGroups' => [
'type' => 'object',
'itemNode' => true,
@@ -6707,16 +3418,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillGroupName' => [
- 'description' => '技能组名称。',
- 'type' => 'string',
- 'example' => '预测试外呼技能组',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID。',
- 'type' => 'string',
- 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f****',
- ],
+ 'SkillGroupName' => ['description' => '技能组名称。', 'type' => 'string', 'example' => '预测试外呼技能组'],
+ 'SkillGroupId' => ['description' => '技能组ID。', 'type' => 'string', 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f****'],
],
],
],
@@ -6726,82 +3429,26 @@
'description' => '电话号码所连接的联系流IVR。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '流程类型, 定义来自于ContactFlowType。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'ContactFlowDescription' => [
- 'description' => '联系流的简单描述。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'InstanceId' => [
- 'description' => '联系流所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****',
- ],
- 'ContactFlowName' => [
- 'description' => '联系流名称,在一个实例内名称不能重复。',
- 'type' => 'string',
- 'example' => 'Welcome',
- ],
- 'ContactFlowId' => [
- 'description' => '联系流唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '2932',
- ],
+ 'Type' => ['description' => '流程类型, 定义来自于ContactFlowType。', 'type' => 'string', 'example' => '0'],
+ 'ContactFlowDescription' => ['description' => '联系流的简单描述。', 'type' => 'string', 'example' => 'Welcome'],
+ 'InstanceId' => ['description' => '联系流所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****'],
+ 'ContactFlowName' => ['description' => '联系流名称,在一个实例内名称不能重复。', 'type' => 'string', 'example' => 'Welcome'],
+ 'ContactFlowId' => ['description' => '联系流唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '2932'],
],
],
'PrivacyNumber' => [
'description' => '电话号码所绑定的虚拟号码关系。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '选择绑定虚拟号码的类型,包括**AXN**和**AXB**。',
- 'type' => 'string',
- 'example' => 'AXN',
- ],
- 'PoolId' => [
- 'description' => '虚拟号码所在池子ID。',
- 'type' => 'string',
- 'example' => '18b74553-484f-40c7-b6f9-81be0cbe****',
- ],
- 'SubId' => [
- 'description' => '类型为AXN,返回的绑定关系唯一标识,若类型为AXB,则此字段为空。',
- 'type' => 'string',
- 'example' => '6a5f6c7c2f774fb38b4aaf35c4e7****',
- ],
- 'PhoneNumber' => [
- 'description' => '绑定的呼叫中心号码。',
- 'type' => 'string',
- 'example' => '05712823****',
- ],
- 'PoolName' => [
- 'description' => '虚拟号码池名称。',
- 'type' => 'string',
- 'example' => '个人虚拟号码',
- ],
- 'BizId' => [
- 'description' => '第三方业务ID。',
- 'type' => 'string',
- 'example' => '4b32b62d3aae4d86a6c4bb26c3ee****',
- ],
- 'RegionNameCity' => [
- 'description' => '虚拟号码归属地市。',
- 'type' => 'string',
- 'example' => '上海市',
- ],
- 'Extra' => [
- 'description' => '其他参数,以Json字符串存入。',
- 'type' => 'string',
- 'example' => '{"name":"amy","cardno":"1****************9"}',
- ],
- 'TelX' => [
- 'description' => '选择AXN模式绑定的虚拟号码,若类型为AXB,则此字段为空。',
- 'type' => 'string',
- 'example' => '1302015****',
- ],
+ 'Type' => ['description' => '选择绑定虚拟号码的类型,包括**AXN**和**AXB**。', 'type' => 'string', 'example' => 'AXN'],
+ 'PoolId' => ['description' => '虚拟号码所在池子ID。', 'type' => 'string', 'example' => '18b74553-484f-40c7-b6f9-81be0cbe****'],
+ 'SubId' => ['description' => '类型为AXN,返回的绑定关系唯一标识,若类型为AXB,则此字段为空。', 'type' => 'string', 'example' => '6a5f6c7c2f774fb38b4aaf35c4e7****'],
+ 'PhoneNumber' => ['description' => '绑定的呼叫中心号码。', 'type' => 'string', 'example' => '05712823****'],
+ 'PoolName' => ['description' => '虚拟号码池名称。', 'type' => 'string', 'example' => '个人虚拟号码'],
+ 'BizId' => ['description' => '第三方业务ID。', 'type' => 'string', 'example' => '4b32b62d3aae4d86a6c4bb26c3ee****'],
+ 'RegionNameCity' => ['description' => '虚拟号码归属地市。', 'type' => 'string', 'example' => '上海市'],
+ 'Extra' => ['description' => '其他参数,以Json字符串存入。', 'type' => 'string', 'example' => '{"name":"amy","cardno":"1****************9"}'],
+ 'TelX' => ['description' => '选择AXN模式绑定的虚拟号码,若类型为AXB,则此字段为空。', 'type' => 'string', 'example' => '1302015****'],
],
],
],
@@ -6822,14 +3469,8 @@
],
'CheckNumberAvaliable' => [
'summary' => '判断主被叫号码是否可用,主要是限制号码外呼频次。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6844,42 +3485,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'Callee',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '18801341234',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '18801341234'],
],
[
'name' => 'Caller',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心主叫号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '01012345678',
- ],
+ 'schema' => ['description' => '呼叫中心主叫号码', 'type' => 'string', 'required' => false, 'example' => '01012345678'],
],
],
'responses' => [
@@ -6887,66 +3509,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '0630E5DF-CEB0-445B-8626-D5C7481181C3',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID'."\n"
+ ."\n", 'type' => 'string', 'example' => '0630E5DF-CEB0-445B-8626-D5C7481181C3'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'CallerAvaliable' => [
'description' => '主叫号码的相关信息',
'type' => 'object',
'properties' => [
- 'Avaliable' => [
- 'description' => '是否可用',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Reason' => [
- 'description' => '如果可用不返回,不可用返回原因,例:"Instance Blacklist: Number 18801341234 can not be called from current instance", "System Blacklist: Number 18801341234 can not be called from all ccc users", "System Blacklist: Number 18801341234 can not be called from current ccc user", "Outbound Control: Number 18801341234\'s call times beyonds limit, 3 times/h"',
- 'type' => 'string',
- 'example' => 'Instance Blacklist: Number 18801341234 can not be called from current instance',
- ],
+ 'Avaliable' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'true'],
+ 'Reason' => ['description' => '如果可用不返回,不可用返回原因,例:"Instance Blacklist: Number 18801341234 can not be called from current instance", "System Blacklist: Number 18801341234 can not be called from all ccc users", "System Blacklist: Number 18801341234 can not be called from current ccc user", "Outbound Control: Number 18801341234\'s call times beyonds limit, 3 times/h"', 'type' => 'string', 'example' => 'Instance Blacklist: Number 18801341234 can not be called from current instance'],
],
],
'CalleeAvaliable' => [
'description' => '被叫号码相关信息',
'type' => 'object',
'properties' => [
- 'Avaliable' => [
- 'description' => '是否可用',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Reason' => [
- 'description' => '如果可用不返回,不可用返回原因,例:"Instance Blacklist: Number 18801341234 can not be called from current instance", "System Blacklist: Number 18801341234 can not be called from all ccc users", "System Blacklist: Number 18801341234 can not be called from current ccc user", "Outbound Control: Number 18801341234\'s call times beyonds limit, 3 times/h"',
- 'type' => 'string',
- 'example' => 'Instance Blacklist: Number 18801341234 can not be called from current instance',
- ],
+ 'Avaliable' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'true'],
+ 'Reason' => ['description' => '如果可用不返回,不可用返回原因,例:"Instance Blacklist: Number 18801341234 can not be called from current instance", "System Blacklist: Number 18801341234 can not be called from all ccc users", "System Blacklist: Number 18801341234 can not be called from current ccc user", "Outbound Control: Number 18801341234\'s call times beyonds limit, 3 times/h"', 'type' => 'string', 'example' => 'Instance Blacklist: Number 18801341234 can not be called from current instance'],
],
],
],
@@ -6962,14 +3547,8 @@
],
'PickOutboundNumbers' => [
'summary' => '调用接口: PickOutboundNumbers 获取外呼号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6983,44 +3562,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'CalleeNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '16578787****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '16578787****'],
],
[
'name' => 'Count',
'in' => 'query',
- 'schema' => [
- 'description' => '选中的号码个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '选中的号码个数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'CandidateNumber',
@@ -7029,9 +3587,7 @@
'schema' => [
'description' => '候选主叫号码',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '0108976****',
'maxItems' => 99,
@@ -7043,35 +3599,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE '],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'DialNumberPairs' => [
'type' => 'object',
'itemNode' => true,
@@ -7086,42 +3621,18 @@
'description' => '被叫号码信息',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '165787876****',
- ],
- 'City' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '165787876****'],
+ 'City' => ['description' => '城市', 'type' => 'string', 'example' => '北京'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京'],
],
],
'Caller' => [
'description' => '主叫号码信息',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '01089767****',
- ],
- 'City' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '01089767****'],
+ 'City' => ['description' => '城市', 'type' => 'string', 'example' => '北京'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京'],
],
],
],
@@ -7143,14 +3654,8 @@
],
'RemovePhoneNumber' => [
'summary' => '和该电话号码绑定的IVR流程的关系也将被解绑,号码将无法呼入呼出。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7165,30 +3670,18 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc1MRAID',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc1MRAID'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待移除号码的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待移除号码的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'PhoneNumberId',
'in' => 'query',
- 'schema' => [
- 'description' => '待移除电话号码ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9fee6c73-bd0c-40e7-a012-4b97368bf235',
- ],
+ 'schema' => ['description' => '待移除电话号码ID', 'type' => 'string', 'required' => true, 'example' => '9fee6c73-bd0c-40e7-a012-4b97368bf235'],
],
],
'responses' => [
@@ -7196,32 +3689,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'C7BB5095-7479-4C48-93A7-483C1350B893',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C7BB5095-7479-4C48-93A7-483C1350B893'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -7232,14 +3704,8 @@
],
'PickGlobalOutboundNumbers' => [
'summary' => '调用PickGlobalOutboundNumbers按照被叫归属地自主选择号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7253,53 +3719,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'CalleeNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1599090****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1599090****'],
],
[
'name' => 'Count',
'in' => 'query',
- 'schema' => [
- 'description' => '候选号码个数。可不传,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '候选号码个数。可不传,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'IsVirtual',
'in' => 'query',
- 'schema' => [
- 'description' => '是否使用虚拟号码外呼',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否使用虚拟号码外呼', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'SkillGroupId',
@@ -7310,9 +3751,7 @@
."\n"
.'如果该参数需要传多个,SkillGroupId.1、SkillGroupId.2、SkillGroupId.3,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '5c412119-9e1c-4304-8484-2b2c8f56f9dc',
'maxItems' => 99,
@@ -7324,32 +3763,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '5DA0BD19-066E-426D-B75E-65DF434A1A63',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5DA0BD19-066E-426D-B75E-65DF434A1A63'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'DialNumberPairs' => [
'type' => 'object',
'itemNode' => true,
@@ -7364,42 +3782,18 @@
'description' => '被叫号码',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '1880134****',
- ],
- 'City' => [
- 'description' => '号码归属地市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Province' => [
- 'description' => '号码归属地省',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '1880134****'],
+ 'City' => ['description' => '号码归属地市', 'type' => 'string', 'example' => '北京'],
+ 'Province' => ['description' => '号码归属地省', 'type' => 'string', 'example' => '北京'],
],
],
'Caller' => [
'description' => '主叫号码',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '0592329****',
- ],
- 'City' => [
- 'description' => '号码归属地市',
- 'type' => 'string',
- 'example' => '厦门',
- ],
- 'Province' => [
- 'description' => '号码归属地省',
- 'type' => 'string',
- 'example' => '福建',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '0592329****'],
+ 'City' => ['description' => '号码归属地市', 'type' => 'string', 'example' => '厦门'],
+ 'Province' => ['description' => '号码归属地省', 'type' => 'string', 'example' => '福建'],
],
],
],
@@ -7423,14 +3817,8 @@
],
'PickLocalNumber' => [
'summary' => '根据本地号码优先策略选择号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7444,32 +3832,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccIPHVDY',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccIPHVDY'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'CalleeNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '被叫号码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1657865****',
- ],
+ 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1657865****'],
],
[
'name' => 'CandidateNumber',
@@ -7478,9 +3852,7 @@
'schema' => [
'description' => '候选主叫号码',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '0108989****',
'maxItems' => 99,
@@ -7492,26 +3864,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE '],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '号码信息',
'type' => 'object',
@@ -7520,42 +3876,18 @@
'description' => '被叫号码信息',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '1657865****',
- ],
- 'City' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '1657865****'],
+ 'City' => ['description' => '城市', 'type' => 'string', 'example' => '北京'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京'],
],
],
'Caller' => [
'description' => '主叫号码信息',
'type' => 'object',
'properties' => [
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '0108989****',
- ],
- 'City' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '0108989****'],
+ 'City' => ['description' => '城市', 'type' => 'string', 'example' => '北京'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京'],
],
],
],
@@ -7574,14 +3906,8 @@
],
'CreateInstance' => [
'summary' => '调用CreateInstance新增呼叫中心实例。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7596,86 +3922,43 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREcccTMAX45',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccTMAX45'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的呼叫中心实例的名称,账号下唯一。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '云呼测试',
- ],
+ 'schema' => ['description' => '待创建的呼叫中心实例的名称,账号下唯一。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '云呼测试'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的呼叫中心实例的简单描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => '待创建的呼叫中心实例的简单描述。', 'type' => 'string', 'required' => false, 'example' => '测试'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的呼叫中心实例的二级域名,全局唯一。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cctest',
- ],
+ 'schema' => ['description' => '待创建的呼叫中心实例的二级域名,全局唯一。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cctest'],
],
[
'name' => 'StorageMaxDays',
'in' => 'query',
- 'schema' => [
- 'description' => '录音文件最多存贮天数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '录音文件最多存贮天数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '30'],
],
[
'name' => 'StorageMaxSize',
'in' => 'query',
- 'schema' => [
- 'description' => '录音文件最多存贮容量,单位GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1024',
- ],
+ 'schema' => ['description' => '录音文件最多存贮容量,单位GB。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1024'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '目录服务ID,即阿里云UID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1028571882648254',
- ],
+ 'schema' => ['description' => '目录服务ID,即阿里云UID。', 'type' => 'string', 'required' => false, 'example' => '1028571882648254'],
],
[
'name' => 'PhoneNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心对外服务的电话号码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '010xxxx8557',
- ],
+ 'schema' => ['description' => '呼叫中心对外服务的电话号码。', 'type' => 'string', 'required' => false, 'example' => '010xxxx8557'],
],
[
'name' => 'AdminRamId',
@@ -7684,9 +3967,7 @@
'schema' => [
'description' => '待创建的呼叫中心实例管理员ID列表,如果不指定,则默认指定当前执行创建操作的用户为呼叫中心管理员。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '282075438293882116',
'maxItems' => 99,
@@ -7699,9 +3980,7 @@
'schema' => [
'description' => '需要添加到呼叫中心的号码列表。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '无',
'maxItems' => 99,
@@ -7714,9 +3993,7 @@
'schema' => [
'description' => '创建呼叫中心的同时创建多个用户。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '无',
'maxItems' => 99,
@@ -7728,110 +4005,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Instance' => [
'description' => '呼叫中心实例对象。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '实例状态。',
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- 'Owner' => [
- 'description' => '呼叫中心系统规格所对应的阿里云账户ID。',
- 'type' => 'string',
- 'example' => '1028571882648254',
- ],
- 'StorageMaxDays' => [
- 'description' => '录音文件最多存贮天数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'StorageMaxSize' => [
- 'description' => '录音文件最多存贮容量,单位GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1024',
- ],
- 'MaxOnlineAgents' => [
- 'description' => '呼叫中心实例的最大同时登陆在线的座席数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'e3jsl2e7-89wu-4d55-9812-80ysec29ueka',
- ],
- 'InstanceDescription' => [
- 'description' => '实例描述信息。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'DomainName' => [
- 'description' => '呼叫中心的域名,全局唯一。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'ConsoleUrl' => [
- 'description' => '呼叫中心实例的url地址。',
- 'type' => 'string',
- 'example' => 'ccc.aliyun.com/workbench/cctest',
- ],
- 'InstanceName' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => '云呼测试',
- ],
- 'StorageBucket' => [
- 'description' => '录音文件存贮位置,如果不指定,则存放在一个公共的存贮空间。',
- 'type' => 'string',
- 'example' => 'cloudcallcenter-online',
- ],
- 'CreatedTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1607181612000',
- ],
- 'DirectoryId' => [
- 'description' => '目录ID,即阿里云UID。',
- 'type' => 'string',
- 'example' => '1028571882648254',
- ],
- 'TenantId' => [
- 'description' => 'CC核心服务对应的租户ID。外表存贮。',
- 'type' => 'string',
- 'example' => 'acc2722',
- ],
+ 'Status' => ['description' => '实例状态。', 'type' => 'string', 'example' => 'Creating'],
+ 'Owner' => ['description' => '呼叫中心系统规格所对应的阿里云账户ID。', 'type' => 'string', 'example' => '1028571882648254'],
+ 'StorageMaxDays' => ['description' => '录音文件最多存贮天数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'StorageMaxSize' => ['description' => '录音文件最多存贮容量,单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'],
+ 'MaxOnlineAgents' => ['description' => '呼叫中心实例的最大同时登陆在线的座席数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'e3jsl2e7-89wu-4d55-9812-80ysec29ueka'],
+ 'InstanceDescription' => ['description' => '实例描述信息。', 'type' => 'string', 'example' => '测试'],
+ 'DomainName' => ['description' => '呼叫中心的域名,全局唯一。', 'type' => 'string', 'example' => 'cctest'],
+ 'ConsoleUrl' => ['description' => '呼叫中心实例的url地址。', 'type' => 'string', 'example' => 'ccc.aliyun.com/workbench/cctest'],
+ 'InstanceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => '云呼测试'],
+ 'StorageBucket' => ['description' => '录音文件存贮位置,如果不指定,则存放在一个公共的存贮空间。', 'type' => 'string', 'example' => 'cloudcallcenter-online'],
+ 'CreatedTime' => ['description' => '实例创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1607181612000'],
+ 'DirectoryId' => ['description' => '目录ID,即阿里云UID。', 'type' => 'string', 'example' => '1028571882648254'],
+ 'TenantId' => ['description' => 'CC核心服务对应的租户ID。外表存贮。', 'type' => 'string', 'example' => 'acc2722'],
'Admin' => [
'type' => 'object',
'itemNode' => true,
@@ -7842,50 +4038,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'e3jsl2e7-89wu-4d55-9812-80ysec29ueka',
- ],
- 'RamId' => [
- 'description' => 'RamId,即访问控制中的用户ID,或者是阿里云UID。',
- 'type' => 'string',
- 'example' => '1028571882648254',
- ],
- 'UserId' => [
- 'description' => '云呼UserId。',
- 'type' => 'string',
- 'example' => '9d-487c-96ad-9181d85cf802',
- ],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'e3jsl2e7-89wu-4d55-9812-80ysec29ueka'],
+ 'RamId' => ['description' => 'RamId,即访问控制中的用户ID,或者是阿里云UID。', 'type' => 'string', 'example' => '1028571882648254'],
+ 'UserId' => ['description' => '云呼UserId。', 'type' => 'string', 'example' => '9d-487c-96ad-9181d85cf802'],
'Detail' => [
'description' => '详情。',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '姓名。',
- 'type' => 'string',
- 'example' => '测试1',
- ],
- 'Email' => [
- 'description' => '电子邮箱地址。',
- 'type' => 'string',
- 'example' => 'xxxx@aliyun-inc.com',
- ],
- 'LoginName' => [
- 'description' => '阿里云登录名',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'Department' => [
- 'description' => '部门。',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '联系电话。',
- 'type' => 'string',
- 'example' => '131xxxx3215',
- ],
+ 'DisplayName' => ['description' => '姓名。', 'type' => 'string', 'example' => '测试1'],
+ 'Email' => ['description' => '电子邮箱地址。', 'type' => 'string', 'example' => 'xxxx@aliyun-inc.com'],
+ 'LoginName' => ['description' => '阿里云登录名', 'type' => 'string', 'example' => 'cctest'],
+ 'Department' => ['description' => '部门。', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '联系电话。', 'type' => 'string', 'example' => '131xxxx3215'],
],
],
],
@@ -7903,53 +4067,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否为测试号码。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Number' => [
- 'description' => '号码。',
- 'type' => 'string',
- 'example' => '010xxxx8557',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'e3jsl2e7-89wu-4d55-9812-80ysec29ueka',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途。',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'AllowOutbound' => [
- 'description' => '是否可以外呼。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '号码描述信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'PhoneNumberId' => [
- 'description' => '号码ID。',
- 'type' => 'string',
- 'example' => 'd8beaee2-b6c5-407a-b290-54111wsu6aff',
- ],
+ 'TestOnly' => ['description' => '是否为测试号码。', 'type' => 'boolean', 'example' => 'false'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Number' => ['description' => '号码。', 'type' => 'string', 'example' => '010xxxx8557'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'e3jsl2e7-89wu-4d55-9812-80ysec29ueka'],
+ 'Usage' => ['description' => '电话号码的用途。', 'type' => 'string', 'example' => 'Outbound'],
+ 'AllowOutbound' => ['description' => '是否可以外呼。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '号码描述信息。', 'type' => 'string', 'example' => '无'],
+ 'PhoneNumberId' => ['description' => '号码ID。', 'type' => 'string', 'example' => 'd8beaee2-b6c5-407a-b290-54111wsu6aff'],
],
],
],
@@ -7961,11 +4087,7 @@
'properties' => [
'SuccessPhoneNumber' => [
'type' => 'array',
- 'items' => [
- 'description' => '导入成功的号码列表。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'items' => ['description' => '导入成功的号码列表。', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -7975,11 +4097,7 @@
'properties' => [
'SuccessLoginName' => [
'type' => 'array',
- 'items' => [
- 'description' => '导入成功的用户列表。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'items' => ['description' => '导入成功的用户列表。', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -7989,11 +4107,7 @@
'properties' => [
'FailPhoneNumber' => [
'type' => 'array',
- 'items' => [
- 'description' => '添加失败的电话号码。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'items' => ['description' => '添加失败的电话号码。', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -8003,11 +4117,7 @@
'properties' => [
'FailLoginName' => [
'type' => 'array',
- 'items' => [
- 'description' => '添加失败的用户名。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'items' => ['description' => '添加失败的用户名。', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -8026,13 +4136,8 @@
],
'CreateVoiceAppraise' => [
'summary' => '调用CreateVoiceAppraise开通实例的语音满意度。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8047,56 +4152,31 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取电话号码的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
+ 'schema' => ['description' => '待获取电话号码的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
],
[
'name' => 'ContactFlowVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '联系流版本ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'EX9Q_1EATgHX',
- ],
+ 'schema' => ['description' => '联系流版本ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'EX9Q_1EATgHX'],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'description' => '语音满意度内容。'."\n"
- ."\n"
- .'1. Content中需要注意设置的按键信息与提示音要对应。'."\n"
- .'2. 按键信息与url.pressKeyMapping中的mapping中的内容要对应。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '[{"nodeId":1,"nodeDescript":"开始","nextNodeId":2,"nodeType":"start","variables":["varDescript":"","varName":"satisfaction","varType":"string","varInitial":""}]',
- ],
+ 'schema' => ['description' => '语音满意度内容。'."\n"
+ ."\n"
+ .'1. Content中需要注意设置的按键信息与提示音要对应。'."\n"
+ .'2. 按键信息与url.pressKeyMapping中的mapping中的内容要对应。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{"nodeId":1,"nodeDescript":"开始","nextNodeId":2,"nodeType":"start","variables":["varDescript":"","varName":"satisfaction","varType":"string","varInitial":""}]'],
],
[
'name' => 'IsAppraise',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开启语音满意度,默认开启(**true**)。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否开启语音满意度,默认开启(**true**)。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -8104,32 +4184,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'B06B3244-1B44-481B-90C4-F2F92E59D6B5',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'B06B3244-1B44-481B-90C4-F2F92E59D6B5'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -8140,14 +4199,8 @@
],
'DeleteInstance' => [
'summary' => '调用DeleteInstance通过呼叫中心实例ID删除该实例。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8162,20 +4215,13 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '需要删除的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '需要删除的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
],
'responses' => [
@@ -8183,32 +4229,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -8223,14 +4248,8 @@
],
'GetInstance' => [
'summary' => '通过呼叫中心实例ID获取该实例相关信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8244,20 +4263,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取信息的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '待获取信息的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
],
'responses' => [
@@ -8265,110 +4277,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Instance' => [
'description' => '呼叫中心实例信息',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '实例状态。',
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- 'Owner' => [
- 'description' => '实例的拥有者。',
- 'type' => 'string',
- 'example' => '1059803544828509',
- ],
- 'StorageMaxDays' => [
- 'description' => '录音文件最多存贮多少天。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'StorageMaxSize' => [
- 'description' => '录音文件最大存贮容量GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MaxOnlineAgents' => [
- 'description' => '呼叫中心实例的最大同时登陆在线的座席数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
- 'InstanceDescription' => [
- 'description' => '实例描述信息。',
- 'type' => 'string',
- 'example' => '测试实例',
- ],
- 'DomainName' => [
- 'description' => '呼叫中心实例的二级域名,全局唯一。',
- 'type' => 'string',
- 'example' => '111',
- ],
- 'ConsoleUrl' => [
- 'description' => '呼叫中心控制台URL,由阿里云呼叫中心官方URL加呼叫中心实例的域名组成。',
- 'type' => 'string',
- 'example' => 'ccc.aliyun.com/workbench/111',
- ],
- 'InstanceName' => [
- 'description' => '呼叫中心实例的名称。',
- 'type' => 'string',
- 'example' => '测试11111',
- ],
- 'StorageBucket' => [
- 'description' => '录音文件存贮位置,如果不指定,则存放在一个公共的存贮空间。',
- 'type' => 'string',
- 'example' => 'cloudcallcenter-online',
- ],
- 'CreatedTime' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1537867125000',
- ],
- 'DirectoryId' => [
- 'description' => '目录ID,即阿里云UID。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'TenantId' => [
- 'description' => '租户ID。',
- 'type' => 'string',
- 'example' => 'acc2985',
- ],
+ 'Status' => ['description' => '实例状态。', 'type' => 'string', 'example' => 'Creating'],
+ 'Owner' => ['description' => '实例的拥有者。', 'type' => 'string', 'example' => '1059803544828509'],
+ 'StorageMaxDays' => ['description' => '录音文件最多存贮多少天。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'StorageMaxSize' => ['description' => '录音文件最大存贮容量GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MaxOnlineAgents' => ['description' => '呼叫中心实例的最大同时登陆在线的座席数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
+ 'InstanceDescription' => ['description' => '实例描述信息。', 'type' => 'string', 'example' => '测试实例'],
+ 'DomainName' => ['description' => '呼叫中心实例的二级域名,全局唯一。', 'type' => 'string', 'example' => '111'],
+ 'ConsoleUrl' => ['description' => '呼叫中心控制台URL,由阿里云呼叫中心官方URL加呼叫中心实例的域名组成。', 'type' => 'string', 'example' => 'ccc.aliyun.com/workbench/111'],
+ 'InstanceName' => ['description' => '呼叫中心实例的名称。', 'type' => 'string', 'example' => '测试11111'],
+ 'StorageBucket' => ['description' => '录音文件存贮位置,如果不指定,则存放在一个公共的存贮空间。', 'type' => 'string', 'example' => 'cloudcallcenter-online'],
+ 'CreatedTime' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1537867125000'],
+ 'DirectoryId' => ['description' => '目录ID,即阿里云UID。', 'type' => 'string', 'example' => '无'],
+ 'TenantId' => ['description' => '租户ID。', 'type' => 'string', 'example' => 'acc2985'],
'Admin' => [
'type' => 'object',
'itemNode' => true,
@@ -8379,50 +4310,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM账户ID。',
- 'type' => 'string',
- 'example' => '1059803544828509',
- ],
- 'UserId' => [
- 'description' => '用户ID, 全局唯一。',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
+ 'RamId' => ['description' => '用户所对应的RAM账户ID。', 'type' => 'string', 'example' => '1059803544828509'],
+ 'UserId' => ['description' => '用户ID, 全局唯一。', 'type' => 'string', 'example' => '无'],
'Detail' => [
'description' => '详细信息。',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的全名。',
- 'type' => 'string',
- 'example' => '测试test',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址。',
- 'type' => 'string',
- 'example' => '123@xx.com',
- ],
- 'LoginName' => [
- 'description' => '用户登陆名。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'Department' => [
- 'description' => '部门。',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码。',
- 'type' => 'string',
- 'example' => '131xxxx1234',
- ],
+ 'DisplayName' => ['description' => '用户的全名。', 'type' => 'string', 'example' => '测试test'],
+ 'Email' => ['description' => '用户的电子邮件地址。', 'type' => 'string', 'example' => '123@xx.com'],
+ 'LoginName' => ['description' => '用户登陆名。', 'type' => 'string', 'example' => 'cctest'],
+ 'Department' => ['description' => '部门。', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '用户的电话号码。', 'type' => 'string', 'example' => '131xxxx1234'],
],
],
],
@@ -8442,53 +4341,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '02500000000',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '该电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '51349d57-e7a1-4dba-bd16-34d93251207d',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'false'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '02500000000'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
+ 'Usage' => ['description' => '电话号码的用途。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '该电话号码的简单描述。', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '51349d57-e7a1-4dba-bd16-34d93251207d'],
],
],
],
@@ -8509,14 +4370,8 @@
],
'GetInstanceState' => [
'summary' => '获取实例下各个状态的坐席数量。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8531,21 +4386,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -8553,32 +4400,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'RealTimeInstanceState' => [
'description' => '状态统计。',
'type' => 'object',
@@ -8593,17 +4419,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'State' => [
- 'description' => '状态,注意 “未上线” 状态不会计入统计。',
- 'type' => 'string',
- 'example' => 'Ready',
- ],
- 'Count' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'State' => ['description' => '状态,注意 “未上线” 状态不会计入统计。', 'type' => 'string', 'example' => 'Ready'],
+ 'Count' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -8624,14 +4441,8 @@
],
'ListInstancesOfUser' => [
'summary' => '调用接口:ListInstancesOfUser获取用户所属的呼叫中心实例。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8645,9 +4456,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccTMAX45',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccTMAX45'],
],
'parameters' => [],
'responses' => [
@@ -8655,35 +4464,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID'."\n"
+ ."\n", 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Instances' => [
'type' => 'object',
'itemNode' => true,
@@ -8694,80 +4482,20 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '实例状态',
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- 'Owner' => [
- 'description' => '呼叫中心系统规格所对应的阿里云账户ID。',
- 'type' => 'string',
- 'example' => '105980354482xxxx',
- ],
- 'StorageMaxDays' => [
- 'description' => '录音文件最多存贮多少天。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'StorageMaxSize' => [
- 'description' => '录音文件最大存贮容量GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MaxOnlineAgents' => [
- 'description' => '呼叫中心实例最大同时在线座席的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cxxxx',
- ],
- 'InstanceDescription' => [
- 'description' => '呼叫中心实例描述信息',
- 'type' => 'string',
- 'example' => '测试11111',
- ],
- 'DomainName' => [
- 'description' => '呼叫中心实例的二级域名,全局唯一。',
- 'type' => 'string',
- 'example' => '111',
- ],
- 'ConsoleUrl' => [
- 'description' => '呼叫中心控制台URL,由阿里云呼叫中心官方URL加呼叫中心实例的域名组成',
- 'type' => 'string',
- 'example' => 'ccc.aliyun.com/workbench/111',
- ],
- 'InstanceName' => [
- 'description' => '呼叫中心实例名称',
- 'type' => 'string',
- 'example' => '测试11111',
- ],
- 'StorageBucket' => [
- 'description' => '录音文件存贮位置,如果不指定,则存放在一个公共的存贮空间。',
- 'type' => 'string',
- 'example' => 'cloudcallcenter-online',
- ],
- 'CreatedTime' => [
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1537867125000',
- ],
- 'DirectoryId' => [
- 'description' => '目录服务提供的目录ID。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'TenantId' => [
- 'description' => 'CC核心服务对应的租户ID。外表存贮。',
- 'type' => 'string',
- 'example' => 'accxxxx',
- ],
+ 'Status' => ['description' => '实例状态', 'type' => 'string', 'example' => 'Creating'],
+ 'Owner' => ['description' => '呼叫中心系统规格所对应的阿里云账户ID。', 'type' => 'string', 'example' => '105980354482xxxx'],
+ 'StorageMaxDays' => ['description' => '录音文件最多存贮多少天。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'StorageMaxSize' => ['description' => '录音文件最大存贮容量GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MaxOnlineAgents' => ['description' => '呼叫中心实例最大同时在线座席的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cxxxx'],
+ 'InstanceDescription' => ['description' => '呼叫中心实例描述信息', 'type' => 'string', 'example' => '测试11111'],
+ 'DomainName' => ['description' => '呼叫中心实例的二级域名,全局唯一。', 'type' => 'string', 'example' => '111'],
+ 'ConsoleUrl' => ['description' => '呼叫中心控制台URL,由阿里云呼叫中心官方URL加呼叫中心实例的域名组成', 'type' => 'string', 'example' => 'ccc.aliyun.com/workbench/111'],
+ 'InstanceName' => ['description' => '呼叫中心实例名称', 'type' => 'string', 'example' => '测试11111'],
+ 'StorageBucket' => ['description' => '录音文件存贮位置,如果不指定,则存放在一个公共的存贮空间。', 'type' => 'string', 'example' => 'cloudcallcenter-online'],
+ 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1537867125000'],
+ 'DirectoryId' => ['description' => '目录服务提供的目录ID。', 'type' => 'string', 'example' => '无'],
+ 'TenantId' => ['description' => 'CC核心服务对应的租户ID。外表存贮。', 'type' => 'string', 'example' => 'accxxxx'],
'Admin' => [
'type' => 'object',
'itemNode' => true,
@@ -8778,50 +4506,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cxxxx',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM账户ID。',
- 'type' => 'string',
- 'example' => '105980354482xxxx',
- ],
- 'UserId' => [
- 'description' => '用户ID, 系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '9d-487c-96ad-9181d85cxxxx',
- ],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cxxxx'],
+ 'RamId' => ['description' => '用户所对应的RAM账户ID。', 'type' => 'string', 'example' => '105980354482xxxx'],
+ 'UserId' => ['description' => '用户ID, 系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '9d-487c-96ad-9181d85cxxxx'],
'Detail' => [
'description' => '用户详细信息',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的全名。',
- 'type' => 'string',
- 'example' => '云呼测试',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址。',
- 'type' => 'string',
- 'example' => '123xxxx@123.com',
- ],
- 'LoginName' => [
- 'description' => '用户登录名。',
- 'type' => 'string',
- 'example' => '云呼测试',
- ],
- 'Department' => [
- 'description' => '所属部门。',
- 'type' => 'string',
- 'example' => '云呼测试',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码。',
- 'type' => 'string',
- 'example' => '1320909xxxx',
- ],
+ 'DisplayName' => ['description' => '用户的全名。', 'type' => 'string', 'example' => '云呼测试'],
+ 'Email' => ['description' => '用户的电子邮件地址。', 'type' => 'string', 'example' => '123xxxx@123.com'],
+ 'LoginName' => ['description' => '用户登录名。', 'type' => 'string', 'example' => '云呼测试'],
+ 'Department' => ['description' => '所属部门。', 'type' => 'string', 'example' => '云呼测试'],
+ 'Phone' => ['description' => '用户的电话号码。', 'type' => 'string', 'example' => '1320909xxxx'],
],
],
],
@@ -8839,53 +4535,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '0250000xxxx',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cxxxx',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入,呼出,已经同时用于呼入和呼出。 Inbound, Outbound, Bidirection',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID',
- 'type' => 'string',
- 'example' => '51349d57-e7a1-4dba-bd16-34d93251207d',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'false'],
+ 'Trunks' => ['description' => '电话号码的中继数量', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '0250000xxxx'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cxxxx'],
+ 'Usage' => ['description' => '电话号码的用途,呼入,呼出,已经同时用于呼入和呼出。 Inbound, Outbound, Bidirection', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'PhoneNumberId' => ['description' => '电话号码ID', 'type' => 'string', 'example' => '51349d57-e7a1-4dba-bd16-34d93251207d'],
],
],
],
@@ -8909,14 +4567,8 @@
],
'DisableTrunkProviders' => [
'summary' => '调用接口:DisableTrunkProviders 注销供应商。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8931,9 +4583,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
@@ -8943,9 +4593,7 @@
'schema' => [
'description' => '线路供应商名称集合。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '联通全国',
'maxItems' => 99,
@@ -8957,42 +4605,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'UserPermission',
- 'errorMessage' => 'User \'%s\' has no permission to \'%s\'',
- ],
+ ['errorCode' => 'UserPermission', 'errorMessage' => 'User \'%s\' has no permission to \'%s\''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]',
@@ -9004,14 +4628,8 @@
],
'ListTrunkProviders' => [
'summary' => '调用接口:ListTrunkProviders 查询指定用户下正在使用的供应商信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9026,9 +4644,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [],
'responses' => [
@@ -9036,53 +4652,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID'."\n"
+ ."\n", 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'TrunkProviders' => [
'description' => '供应商列表信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '线路供应商使用状态, 默认enable',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'ProviderName' => [
- 'description' => '线路供应商名称',
- 'type' => 'string',
- 'example' => '联通全国',
- ],
+ 'Status' => ['description' => '线路供应商使用状态, 默认enable', 'type' => 'string', 'example' => 'enable'],
+ 'ProviderName' => ['description' => '线路供应商名称', 'type' => 'string', 'example' => '联通全国'],
],
],
],
@@ -9092,10 +4679,7 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'UserPermission',
- 'errorMessage' => 'User \'%s\' has no permission to \'%s\'',
- ],
+ ['errorCode' => 'UserPermission', 'errorMessage' => 'User \'%s\' has no permission to \'%s\''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\",\\n \\"Success\\": true,\\n \\"TrunkProviders\\": [\\n {\\n \\"Status\\": \\"enable\\",\\n \\"ProviderName\\": \\"联通全国\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<TrunkProviders>\\n <Status>enable</Status>\\n <ProviderName>联通全国</ProviderName>\\n</TrunkProviders>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]',
@@ -9107,14 +4691,8 @@
],
'CreateMedia' => [
'summary' => '调用CreateMedia创建语音。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9129,100 +4707,53 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的音频文件的名字。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '音频测试',
- ],
+ 'schema' => ['description' => '待创建的音频文件的名字。', 'type' => 'string', 'required' => true, 'example' => '音频测试'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的音频文件的描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '音频测试',
- ],
+ 'schema' => ['description' => '待创建的音频文件的描述。', 'type' => 'string', 'required' => false, 'example' => '音频测试'],
],
[
'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的音频文件名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cc-test.wav',
- ],
+ 'schema' => ['description' => '待创建的音频文件名称。', 'type' => 'string', 'required' => true, 'example' => 'cc-test.wav'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '语音文件类型 Audio-语音文件 TTS-文本文件。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Audio',
- ],
+ 'schema' => ['description' => '语音文件类型 Audio-语音文件 TTS-文本文件。', 'type' => 'string', 'required' => true, 'example' => 'Audio'],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的音频文件的文本内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无',
- ],
+ 'schema' => ['description' => '待创建的音频文件的文本内容。', 'type' => 'string', 'required' => false, 'example' => '无'],
],
[
'name' => 'OssFileName',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS文件名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '0693df6e-3eaf-48ce-bf69-24103f23a25a.wav',
- ],
+ 'schema' => ['description' => 'OSS文件名。', 'type' => 'string', 'required' => true, 'example' => '0693df6e-3eaf-48ce-bf69-24103f23a25a.wav'],
],
[
'name' => 'OssFilePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS文件路径。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'oss://ccc-online/media/7082312b-2a31-47c6-b529-e72b3d6354bd',
- ],
+ 'schema' => ['description' => 'OSS文件路径。', 'type' => 'string', 'required' => true, 'example' => 'oss://ccc-online/media/7082312b-2a31-47c6-b529-e72b3d6354bd'],
],
[
'name' => 'UploadResult',
'in' => 'query',
- 'schema' => [
- 'description' => '上传结果,Success 或 Fail。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Success',
- ],
+ 'schema' => ['description' => '上传结果,Success 或 Fail。', 'type' => 'string', 'required' => true, 'example' => 'Success'],
],
],
'responses' => [
@@ -9230,66 +4761,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8707EB29-BAED-4302-B999-40BA61877437',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8707EB29-BAED-4302-B999-40BA61877437'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'MediaUploadParam' => [
'description' => '上传的文件参数。',
'type' => 'object',
'properties' => [
- 'Instance' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
- 'OssFilePath' => [
- 'description' => 'OSS文件路径。',
- 'type' => 'string',
- 'example' => 'oss://ccc-online/media/7082312b-2a31-47c6-b529-e72b3d6354bd',
- ],
- 'FileName' => [
- 'description' => '文件名。',
- 'type' => 'string',
- 'example' => 'cc-test.wav',
- ],
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => '音频测试',
- ],
- 'Id' => [
- 'description' => 'ID',
- 'type' => 'string',
- 'example' => '53211',
- ],
- 'OssFileName' => [
- 'description' => 'OSS文件名。',
- 'type' => 'string',
- 'example' => '0693df6e-3eaf-48ce-bf69-24103f23a25a.wav',
- ],
+ 'Instance' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
+ 'OssFilePath' => ['description' => 'OSS文件路径。', 'type' => 'string', 'example' => 'oss://ccc-online/media/7082312b-2a31-47c6-b529-e72b3d6354bd'],
+ 'FileName' => ['description' => '文件名。', 'type' => 'string', 'example' => 'cc-test.wav'],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '音频测试'],
+ 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '53211'],
+ 'OssFileName' => ['description' => 'OSS文件名。', 'type' => 'string', 'example' => '0693df6e-3eaf-48ce-bf69-24103f23a25a.wav'],
],
],
],
@@ -9305,14 +4791,8 @@
],
'DeleteMedia' => [
'summary' => '调用DeleteMedia删除语音。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9324,30 +4804,18 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '待删除的音频文件的名字。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '音频测试',
- ],
+ 'schema' => ['description' => '待删除的音频文件的名字。', 'type' => 'string', 'required' => true, 'example' => '音频测试'],
],
],
'responses' => [
@@ -9355,32 +4823,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8707EB29-BAED-4302-B999-40BA61877437',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8707EB29-BAED-4302-B999-40BA61877437'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -9394,14 +4841,8 @@
],
'ListMedias' => [
'summary' => '查询语音列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9415,53 +4856,29 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '呼叫中心实例。', 'type' => 'string', 'required' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
[
'name' => 'NamePrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '音频文件前缀',
- 'type' => 'string',
- 'required' => false,
- 'example' => '809128080',
- ],
+ 'schema' => ['description' => '音频文件前缀', 'type' => 'string', 'required' => false, 'example' => '809128080'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -9469,58 +4886,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '8707EB29-BAED-4302-B999-40BA61877437',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '8707EB29-BAED-4302-B999-40BA61877437'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'Medias' => [
'description' => '音频文件集合',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '29',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '29'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -9531,51 +4912,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '转码状态',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'Type' => [
- 'description' => '语音文件类型 Audio-语音文件 TTS-文本文件',
- 'type' => 'string',
- 'example' => 'TTS',
- ],
- 'FilePath' => [
- 'description' => '文件路径',
- 'type' => 'string',
- 'example' => 'OSS://cloudcall-test',
- ],
- 'Instance' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'Description' => [
- 'description' => '音频文件的简单描述。',
- 'type' => 'string',
- 'example' => '测试音频',
- ],
- 'FileName' => [
- 'description' => '文件名',
- 'type' => 'string',
- 'example' => '测试音频',
- ],
- 'Name' => [
- 'description' => '文件名称',
- 'type' => 'string',
- 'example' => '001.wav',
- ],
- 'Content' => [
- 'description' => '待通过TTS创建的音频文件的文本内容。',
- 'type' => 'string',
- 'example' => '云呼TTS测试',
- ],
- 'OssFileName' => [
- 'description' => 'oss文件',
- 'type' => 'string',
- 'example' => '001.wav',
- ],
+ 'Status' => ['description' => '转码状态', 'type' => 'string', 'example' => 'Success'],
+ 'Type' => ['description' => '语音文件类型 Audio-语音文件 TTS-文本文件', 'type' => 'string', 'example' => 'TTS'],
+ 'FilePath' => ['description' => '文件路径', 'type' => 'string', 'example' => 'OSS://cloudcall-test'],
+ 'Instance' => ['description' => '实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'Description' => ['description' => '音频文件的简单描述。', 'type' => 'string', 'example' => '测试音频'],
+ 'FileName' => ['description' => '文件名', 'type' => 'string', 'example' => '测试音频'],
+ 'Name' => ['description' => '文件名称', 'type' => 'string', 'example' => '001.wav'],
+ 'Content' => ['description' => '待通过TTS创建的音频文件的文本内容。', 'type' => 'string', 'example' => '云呼TTS测试'],
+ 'OssFileName' => ['description' => 'oss文件', 'type' => 'string', 'example' => '001.wav'],
],
],
],
@@ -9596,14 +4941,8 @@
],
'GetTURNCredentials' => [
'summary' => '调用GetTURNCredentials获取TURN服务所需用户名和密码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9617,32 +4956,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'UserName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的RamId。或者传“0”(服务端自行获取当前用户的RamId)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '用户的RamId。或者传“0”(服务端自行获取当前用户的RamId)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0'],
],
],
'responses' => [
@@ -9650,42 +4975,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Password' => [
- 'description' => '访问Turn服务用的密码',
- 'type' => 'string',
- 'example' => 'SMP4FH/BhK3Ffh+LW4OM+7mv0jQ=',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'D39CD25C-2C52-488B-9D9E-DC61F1F69812',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Username' => [
- 'description' => '访问Turn服务用的用户名',
- 'type' => 'string',
- 'example' => '1566545336:1059803544828509',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Password' => ['description' => '访问Turn服务用的密码', 'type' => 'string', 'example' => 'SMP4FH/BhK3Ffh+LW4OM+7mv0jQ='],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D39CD25C-2C52-488B-9D9E-DC61F1F69812'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'Username' => ['description' => '访问Turn服务用的用户名', 'type' => 'string', 'example' => '1566545336:1059803544828509'],
],
],
],
@@ -9699,14 +4995,8 @@
],
'GetTURNServerList' => [
'summary' => '调用GetTURNServerList获取TURN服务列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9721,21 +5011,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -9743,37 +5025,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '35783199-DB04-40E8-9FCB-C190008AEFA4',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TurnServerListConfig' => [
- 'description' => 'Turn服务列表',
- 'type' => 'string',
- 'example' => '{"region":"shanghai","name":"上海","domain":"turn3.ccc.aliyuncs.com","cidr":"192.1.25.64/28"}',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '35783199-DB04-40E8-9FCB-C190008AEFA4'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'xxx'],
+ 'TurnServerListConfig' => ['description' => 'Turn服务列表', 'type' => 'string', 'example' => '{"region":"shanghai","name":"上海","domain":"turn3.ccc.aliyuncs.com","cidr":"192.1.25.64/28"}'],
],
],
],
@@ -9787,14 +5044,8 @@
],
'CreateFault' => [
'summary' => '调用CreateFault上报故障信息,。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9809,218 +5060,108 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'AgentId',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席的RAM ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '293285256197663688',
- ],
+ 'schema' => ['description' => '坐席的RAM ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '293285256197663688'],
],
[
'name' => 'ConnectId',
'in' => 'query',
- 'schema' => [
- 'description' => '通话ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1341443161',
- ],
+ 'schema' => ['description' => '通话ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1341443161'],
],
[
'name' => 'AgentOssFileName',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席录音文件名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xiaofang',
- ],
+ 'schema' => ['description' => '坐席录音文件名', 'type' => 'string', 'required' => false, 'example' => 'xiaofang'],
],
[
'name' => 'AgentFilePath',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席录音地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '坐席录音地址', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'CustomOssFileName',
'in' => 'query',
- 'schema' => [
- 'description' => '客户录音文件名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xiaohong',
- ],
+ 'schema' => ['description' => '客户录音文件名', 'type' => 'string', 'required' => false, 'example' => 'xiaohong'],
],
[
'name' => 'CustomFilePath',
'in' => 'query',
- 'schema' => [
- 'description' => '客户录音文件地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '客户录音文件地址', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '报障信息描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '报障信息描述', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'ClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端IP',
- 'type' => 'string',
- 'required' => false,
- 'example' => '127.0.0.1',
- ],
+ 'schema' => ['description' => '客户端IP', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1'],
],
[
'name' => 'ClientPort',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端端口',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8000',
- ],
+ 'schema' => ['description' => '客户端端口', 'type' => 'string', 'required' => false, 'example' => '8000'],
],
[
'name' => 'OperatingSystemVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '操作系统版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'windows10',
- ],
+ 'schema' => ['description' => '操作系统版本', 'type' => 'string', 'required' => false, 'example' => 'windows10'],
],
[
'name' => 'BrowserVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '浏览器版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '浏览器内核类型:chrome,浏览器版本:74.0.3729.169',
- ],
+ 'schema' => ['description' => '浏览器版本', 'type' => 'string', 'required' => false, 'example' => '浏览器内核类型:chrome,浏览器版本:74.0.3729.169'],
],
[
'name' => 'MicrophoneList',
'in' => 'query',
- 'schema' => [
- 'description' => '麦克风列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '麦克风列表', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'MicrophoneEquipment',
'in' => 'query',
- 'schema' => [
- 'description' => '当前麦克风设备',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无',
- ],
+ 'schema' => ['description' => '当前麦克风设备', 'type' => 'string', 'required' => false, 'example' => '无'],
],
[
'name' => 'SpeakerList',
'in' => 'query',
- 'schema' => [
- 'description' => '扬声器列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '扬声器列表', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'SpeakerEquipment',
'in' => 'query',
- 'schema' => [
- 'description' => '当前扬声器设备',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无',
- ],
+ 'schema' => ['description' => '当前扬声器设备', 'type' => 'string', 'required' => false, 'example' => '无'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1558439900000',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1558439900000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1558443508000',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1558443508000'],
],
[
'name' => 'ServiceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '服务端IP',
- 'type' => 'string',
- 'required' => false,
- 'example' => '127.0.0.1',
- ],
+ 'schema' => ['description' => '服务端IP', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1'],
],
[
'name' => 'ServicePort',
'in' => 'query',
- 'schema' => [
- 'description' => '服务端端口号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8000',
- ],
+ 'schema' => ['description' => '服务端端口号', 'type' => 'string', 'required' => false, 'example' => '8000'],
],
],
'responses' => [
@@ -10028,32 +5169,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '87107935-A19D-442B-9D94-267A9A518C8E',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '87107935-A19D-442B-9D94-267A9A518C8E'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -10068,14 +5188,8 @@
],
'ListCallMeasureSummaryReports' => [
'summary' => '调用ListCallMeasureSummaryReports按月或按天查询呼叫计量数据列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10090,21 +5204,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'IntervalType',
'in' => 'query',
- 'schema' => [
- 'description' => '按月查询或者按天查询(**Monthly**/**Daily**)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Monthly',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '按月查询或者按天查询(**Monthly**/**Daily**)', 'type' => 'string', 'required' => true, 'example' => 'Monthly', 'docRequired' => true],
],
],
'responses' => [
@@ -10112,32 +5218,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '184F6B94-18EE-42D9-B628-A9A895E804F3',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '184F6B94-18EE-42D9-B628-A9A895E804F3'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'CallMeasureSummaryReportList' => [
'type' => 'object',
'itemNode' => true,
@@ -10148,45 +5233,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Day' => [
- 'description' => '日期',
- 'type' => 'string',
- 'example' => '2',
- ],
- 'Year' => [
- 'description' => '年份',
- 'type' => 'string',
- 'example' => '2018',
- ],
- 'InboundDurationByMinute' => [
- 'description' => '呼入通话时长/分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OutboundCount' => [
- 'description' => '呼出接通次数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OutboundDurationByMinute' => [
- 'description' => '呼出通话时长/分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'InboundCount' => [
- 'description' => '呼入接通次数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Month' => [
- 'description' => '月份',
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'Day' => ['description' => '日期', 'type' => 'string', 'example' => '2'],
+ 'Year' => ['description' => '年份', 'type' => 'string', 'example' => '2018'],
+ 'InboundDurationByMinute' => ['description' => '呼入通话时长/分钟', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OutboundCount' => ['description' => '呼出接通次数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OutboundDurationByMinute' => ['description' => '呼出通话时长/分钟', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'InboundCount' => ['description' => '呼入接通次数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Month' => ['description' => '月份', 'type' => 'string', 'example' => '10'],
],
],
],
@@ -10202,14 +5255,8 @@
],
'GetCallMeasureSummaryReport' => [
'summary' => '查询某天或某月各个号码的呼叫计量数据列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10224,78 +5271,38 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'IntervalType',
'in' => 'query',
- 'schema' => [
- 'description' => '按月查询或者按天查询(**Monthly** | **Daily**)',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Monthly',
- ],
+ 'schema' => ['description' => '按月查询或者按天查询(**Monthly** | **Daily**)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Monthly'],
],
[
'name' => 'Year',
'in' => 'query',
- 'schema' => [
- 'description' => '年份',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019',
- ],
+ 'schema' => ['description' => '年份', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2019'],
],
[
'name' => 'Month',
'in' => 'query',
- 'schema' => [
- 'description' => '月份',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '12',
- ],
+ 'schema' => ['description' => '月份', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '12'],
],
[
'name' => 'Day',
'in' => 'query',
- 'schema' => [
- 'description' => '日期',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '日期', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认50,最大100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => '分页大小,默认50,最大100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'],
],
],
'responses' => [
@@ -10303,102 +5310,31 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BF268B34-09C2-43FD-BAC4-5D31EA633111',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BF268B34-09C2-43FD-BAC4-5D31EA633111'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'SummaryReport' => [
'description' => '当天或当月的汇总报表',
'type' => 'object',
'properties' => [
- 'Day' => [
- 'description' => '日期',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'Year' => [
- 'description' => '年份',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2018',
- ],
- 'InboundDurationByMinute' => [
- 'description' => '呼入通话时长/分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '47',
- ],
- 'OutboundCount' => [
- 'description' => '呼出接通次数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65',
- ],
- 'OutboundDurationByMinute' => [
- 'description' => '呼出通话时长/分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390',
- ],
- 'InboundCount' => [
- 'description' => '呼入接通次数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Month' => [
- 'description' => '月份',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'Day' => ['description' => '日期', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Year' => ['description' => '年份', 'type' => 'integer', 'format' => 'int32', 'example' => '2018'],
+ 'InboundDurationByMinute' => ['description' => '呼入通话时长/分钟', 'type' => 'integer', 'format' => 'int64', 'example' => '47'],
+ 'OutboundCount' => ['description' => '呼出接通次数', 'type' => 'integer', 'format' => 'int64', 'example' => '65'],
+ 'OutboundDurationByMinute' => ['description' => '呼出通话时长/分钟', 'type' => 'integer', 'format' => 'int64', 'example' => '3390'],
+ 'InboundCount' => ['description' => '呼入接通次数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Month' => ['description' => '月份', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
'NumberReports' => [
'description' => '号码计量数据报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -10409,53 +5345,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Day' => [
- 'description' => '日期',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '31',
- ],
- 'Year' => [
- 'description' => '年份',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2018',
- ],
- 'InboundDurationByMinute' => [
- 'description' => '呼入通话时长/分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OutboundCount' => [
- 'description' => '呼出接通次数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '18',
- ],
- 'OutboundDurationByMinute' => [
- 'description' => '呼出通话时长/分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2108',
- ],
- 'Number' => [
- 'description' => '号码',
- 'type' => 'string',
- 'example' => '07318888****',
- ],
- 'InboundCount' => [
- 'description' => '呼入接通次数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Month' => [
- 'description' => '月份',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'Day' => ['description' => '日期', 'type' => 'integer', 'format' => 'int32', 'example' => '31'],
+ 'Year' => ['description' => '年份', 'type' => 'integer', 'format' => 'int32', 'example' => '2018'],
+ 'InboundDurationByMinute' => ['description' => '呼入通话时长/分钟', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OutboundCount' => ['description' => '呼出接通次数', 'type' => 'integer', 'format' => 'int64', 'example' => '18'],
+ 'OutboundDurationByMinute' => ['description' => '呼出通话时长/分钟', 'type' => 'integer', 'format' => 'int64', 'example' => '2108'],
+ 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '07318888****'],
+ 'InboundCount' => ['description' => '呼入接通次数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Month' => ['description' => '月份', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
@@ -10476,14 +5373,8 @@
],
'GetInstanceSummaryReport' => [
'summary' => '实例汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10498,65 +5389,33 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-09-09 11:11:11',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-09-09 11:11:11'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-09-09 11:11:11',
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-09-09 11:11:11'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -10564,386 +5423,87 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '24BE19E8-BF7D-4992-A35E-15EBA874F2E5',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '24BE19E8-BF7D-4992-A35E-15EBA874F2E5'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'InstanceSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '46914',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '109',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.003922070376574993',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '75',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '21194',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1608',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '46644',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '51',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '46914'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '109'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0.003922070376574993'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '75'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '21194'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1608'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '46644'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '51'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'CallsIncomingLine' => [
- 'description' => '电话进线量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAbandonedInIVR' => [
- 'description' => 'IVR放弃量,即电话进入IVR流程之后在IVR环节放弃。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWaitTime' => [
- 'description' => '平均等待时长,平均每通电话的坐席接起时等待时长。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsIncomingQueue' => [
- 'description' => '技能组进线量,即电话进入技能组量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWaitTime' => [
- 'description' => '总等待时长,等待时长是指来电进入队列开始算到坐席接起之间的耗时。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsIncomingIVR' => [
- 'description' => 'IVR进线量,即电话进入IVR流程。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWaitTime' => [
- 'description' => '最大等待时长,所有坐席接起通话里面最大等待时长。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '服务水平,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAbandonedInQueue' => [
- 'description' => '队列放弃量,即电话进入技能组之后在排队环节放弃。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'CallsIncomingLine' => ['description' => '电话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAbandonedInIVR' => ['description' => 'IVR放弃量,即电话进入IVR流程之后在IVR环节放弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWaitTime' => ['description' => '平均等待时长,平均每通电话的坐席接起时等待时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsIncomingQueue' => ['description' => '技能组进线量,即电话进入技能组量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWaitTime' => ['description' => '总等待时长,等待时长是指来电进入队列开始算到坐席接起之间的耗时。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsIncomingIVR' => ['description' => 'IVR进线量,即电话进入IVR流程。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWaitTime' => ['description' => '最大等待时长,所有坐席接起通话里面最大等待时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '服务水平,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAbandonedInQueue' => ['description' => '队列放弃量,即电话进入技能组之后在排队环节放弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '109',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.800000011920929',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '75',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '135',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '51',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '109'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0.800000011920929'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '75'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '135'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '51'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
],
],
],
@@ -10960,14 +5520,8 @@
],
'GetInstanceSummaryReportByInterval' => [
'summary' => '调用GetInstanceSummaryReportByInterval汇总实例分段报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10982,78 +5536,41 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '间隔类型。'."\n"
- ."\n"
- .'- Daily:天'."\n"
- .'- Minute5:5分钟',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Daily',
- ],
+ 'schema' => ['description' => '间隔类型。'."\n"
+ ."\n"
+ .'- Daily:天'."\n"
+ .'- Minute5:5分钟', 'type' => 'string', 'required' => false, 'example' => 'Daily'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-09-09 11:11:11',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-09-09 11:11:11'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-09-09 11:11:11',
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-09-09 11:11:11'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -11061,41 +5578,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '01B12EE4-6AF2-4730-8B78-EC15F4E5C025',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '01B12EE4-6AF2-4730-8B78-EC15F4E5C025'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'InstanceTimeIntervalReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
'IntervalList' => [
'type' => 'object',
'itemNode' => true,
@@ -11106,361 +5598,79 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'Timestamp' => [
- 'description' => '分段统计的开始时间。',
- 'type' => 'string',
- 'example' => '2020-11-14 10:45:00',
- ],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'Timestamp' => ['description' => '分段统计的开始时间。', 'type' => 'string', 'example' => '2020-11-14 10:45:00'],
'Overall' => [
'description' => '整体指标。',
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '49',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.44897958636283275',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '49'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'OccupancyRate' => ['description' => '座席利用率。', 'type' => 'number', 'format' => 'float', 'example' => '0.44897958636283275'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'SatisfactionIndex' => ['description' => '满意度指数。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'Inbound' => [
'description' => '呼入指标。',
'type' => 'object',
'properties' => [
- 'CallsIncomingLine' => [
- 'description' => '电话进线量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAbandonedInIVR' => [
- 'description' => 'IVR放弃量,即电话进入IVR流程之后在IVR环节放弃。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWaitTime' => [
- 'description' => '平均等待时长(等待时长=振铃时长+队列等待时长),单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsIncomingQueue' => [
- 'description' => '技能组进线量,即电话进入技能组量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWaitTime' => [
- 'description' => '总等待时长(等待时长=振铃时长+队列等待时长),单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsIncomingIVR' => [
- 'description' => 'IVR进线量,即电话进入IVR流程。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWaitTime' => [
- 'description' => '最大等待时长(等待时长=振铃时长+队列等待时长),单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '20s应答率。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAbandonedInQueue' => [
- 'description' => '队列放弃量,即电话进入技能组之后在排队环节放弃。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'CallsIncomingLine' => ['description' => '电话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAbandonedInIVR' => ['description' => 'IVR放弃量,即电话进入IVR流程之后在IVR环节放弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWaitTime' => ['description' => '平均等待时长(等待时长=振铃时长+队列等待时长),单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsIncomingQueue' => ['description' => '技能组进线量,即电话进入技能组量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWaitTime' => ['description' => '总等待时长(等待时长=振铃时长+队列等待时长),单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsIncomingIVR' => ['description' => 'IVR进线量,即电话进入IVR流程。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWaitTime' => ['description' => '最大等待时长(等待时长=振铃时长+队列等待时长),单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '20s应答率。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAbandonedInQueue' => ['description' => '队列放弃量,即电话进入技能组之后在排队环节放弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'AnswerRate' => [
- 'description' => '接通率。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'AnswerRate' => ['description' => '接通率。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'SatisfactionIndex' => ['description' => '满意度指数。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
],
],
],
@@ -11482,14 +5692,8 @@
],
'GetInstanceSummaryReportSinceMidnight' => [
'summary' => '实例当日的汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11504,43 +5708,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -11548,391 +5732,88 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '8707EB29-BAED-4302-B999-40BA61877437',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '8707EB29-BAED-4302-B999-40BA61877437'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'InstanceSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx',
- ],
- 'Timestamp' => [
- 'description' => '日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'example' => '2018-09-13 00:00:00',
- ],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx'],
+ 'Timestamp' => ['description' => '日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2018-09-13 00:00:00'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'CallsIncomingLine' => [
- 'description' => '电话进线量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAbandonedInIVR' => [
- 'description' => 'IVR放弃量,即电话进入IVR流程之后在IVR环节放弃。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWaitTime' => [
- 'description' => '平均等待时长,平均每通电话的坐席接起时等待时长。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsIncomingQueue' => [
- 'description' => '技能组进线量,即电话进入技能组量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWaitTime' => [
- 'description' => '总等待时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsIncomingIVR' => [
- 'description' => 'IVR进线量,即电话进入IVR流程。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWaitTime' => [
- 'description' => '最大等待时长,所有坐席接起通话里面最大等待时长。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '服务水平,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAbandonedInQueue' => [
- 'description' => '队列放弃量,即电话进入技能组之后在排队环节放弃。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'CallsIncomingLine' => ['description' => '电话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAbandonedInIVR' => ['description' => 'IVR放弃量,即电话进入IVR流程之后在IVR环节放弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWaitTime' => ['description' => '平均等待时长,平均每通电话的坐席接起时等待时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsIncomingQueue' => ['description' => '技能组进线量,即电话进入技能组量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWaitTime' => ['description' => '总等待时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsIncomingIVR' => ['description' => 'IVR进线量,即电话进入IVR流程。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWaitTime' => ['description' => '最大等待时长,所有坐席接起通话里面最大等待时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '服务水平,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAbandonedInQueue' => ['description' => '队列放弃量,即电话进入技能组之后在排队环节放弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -11950,14 +5831,8 @@
],
'CreateUser' => [
'summary' => '创建用户。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11972,72 +5847,40 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的全名',
- 'type' => 'string',
- 'required' => true,
- 'example' => '张先生',
- ],
+ 'schema' => ['description' => '用户的全名', 'type' => 'string', 'required' => true, 'example' => '张先生'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '待创建用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'LoginName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户登录名',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'yourUserName',
- ],
+ 'schema' => ['description' => '用户登录名', 'type' => 'string', 'required' => true, 'example' => 'yourUserName'],
],
[
'name' => 'Phone',
'in' => 'query',
- 'schema' => [
- 'description' => '用户电话号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1886666****',
- ],
+ 'schema' => ['description' => '用户电话号码', 'type' => 'string', 'required' => false, 'example' => '1886666****'],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'description' => '用户电子邮件地址。'."\n"
- ."\n"
- .'新建成功后会发送邮件,邮件中包含呼叫中心登录地址,以及用户名密码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'username@example.com',
- ],
+ 'schema' => ['description' => '用户电子邮件地址。'."\n"
+ ."\n"
+ .'新建成功后会发送邮件,邮件中包含呼叫中心登录地址,以及用户名密码。', 'type' => 'string', 'required' => true, 'example' => 'username@example.com'],
],
[
'name' => 'PrivateOutboundNumberId',
'in' => 'query',
- 'schema' => [
- 'description' => '个人外呼号码的PhoneNumberId',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6d****',
- ],
+ 'schema' => ['description' => '个人外呼号码的PhoneNumberId', 'type' => 'string', 'required' => false, 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6d****'],
],
[
'name' => 'RoleId',
@@ -12046,9 +5889,7 @@
'schema' => [
'description' => '指定待创建用户的角色,需传入角色ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '4c2e158e-ddd9-464a-a3fc-338eca102***',
'maxItems' => 99,
@@ -12063,9 +5904,7 @@
."\n"
.'SkillGroupId.1意为只绑定到一个技能组中,如果绑定多个技能组,则需要传多个,例如 SkillGroupId.1、SkillGroupId.2、SkillGroupId.3,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18****',
'maxItems' => 99,
@@ -12080,10 +5919,7 @@
."\n\n"
.'SkillLevel.1表示为SkillGroupId.1的技能组等级,如果SkillGroupId为多个,则SkillLevel也需要多个,并且数量需要保持一致,具体请参考下方的请求示例。',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '4',
'maxItems' => 99,
@@ -12095,39 +5931,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '4A2E1761-8C19-4788-BA76-6C8902A6D5E9',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'UserId' => [
- 'description' => '新创建的用户信息。'."\n"
- ."\n\n"
- .'> 这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'example' => '7ed274a5-6351-4dbd-9f13-6ac63c8e****',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4A2E1761-8C19-4788-BA76-6C8902A6D5E9'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'UserId' => ['description' => '新创建的用户信息。'."\n"
+ ."\n\n"
+ .'> 这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'example' => '7ed274a5-6351-4dbd-9f13-6ac63c8e****'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -12142,14 +5953,8 @@
],
'GetUserByExtension' => [
'summary' => '根据坐席分机号获取用户信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12164,32 +5969,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
],
[
'name' => 'Extension',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席分机号。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8037****',
- ],
+ 'schema' => ['description' => '坐席分机号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8037****'],
],
],
'responses' => [
@@ -12197,77 +5988,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'User' => [
'description' => '用户信息。',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM账户ID。',
- 'type' => 'string',
- 'example' => '20225462120879xxxx',
- ],
- 'UserId' => [
- 'description' => '用户ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '6f3e7751-fa61-453f-8057-a2fe9741xxxx',
- ],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RamId' => ['description' => '用户所对应的RAM账户ID。', 'type' => 'string', 'example' => '20225462120879xxxx'],
+ 'UserId' => ['description' => '用户ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '6f3e7751-fa61-453f-8057-a2fe9741xxxx'],
'Roles' => [
'description' => '用户的角色列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RoleName' => [
- 'description' => '角色名称。',
- 'type' => 'string',
- 'example' => 'ADMIN',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述。',
- 'type' => 'string',
- 'example' => '管理员',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '59a3d864-2f98-4f5e-84ec-c1ea13afxxxx',
- ],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RoleName' => ['description' => '角色名称。', 'type' => 'string', 'example' => 'ADMIN'],
+ 'RoleDescription' => ['description' => '角色描述。', 'type' => 'string', 'example' => '管理员'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '59a3d864-2f98-4f5e-84ec-c1ea13afxxxx'],
],
],
],
@@ -12277,41 +6019,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '181792',
- ],
- 'Level' => [
- 'description' => '技能级别。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '181792'],
+ 'Level' => ['description' => '技能级别。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'Skill' => [
'description' => '技能组。',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'a053e6d5-16ee-4283-9c81-631b78aexxxx',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => '默认技能组',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述。', 'type' => 'string', 'example' => '描述'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'a053e6d5-16ee-4283-9c81-631b78aexxxx'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => '默认技能组'],
],
],
],
@@ -12321,36 +6038,12 @@
'description' => '用户详细信息。',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的姓名。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Extension' => [
- 'description' => '坐席分机号。',
- 'type' => 'string',
- 'example' => '8037****',
- ],
- 'LoginName' => [
- 'description' => '用户登录名(用户名)。',
- 'type' => 'string',
- 'example' => 'test123',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址。',
- 'type' => 'string',
- 'example' => 'test@alibaba-inc.com',
- ],
- 'Department' => [
- 'description' => '用户的部门。',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码。',
- 'type' => 'string',
- 'example' => '1360176****',
- ],
+ 'DisplayName' => ['description' => '用户的姓名。', 'type' => 'string', 'example' => 'test'],
+ 'Extension' => ['description' => '坐席分机号。', 'type' => 'string', 'example' => '8037****'],
+ 'LoginName' => ['description' => '用户登录名(用户名)。', 'type' => 'string', 'example' => 'test123'],
+ 'Email' => ['description' => '用户的电子邮件地址。', 'type' => 'string', 'example' => 'test@alibaba-inc.com'],
+ 'Department' => ['description' => '用户的部门。', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '用户的电话号码。', 'type' => 'string', 'example' => '1360176****'],
],
],
],
@@ -12361,10 +6054,7 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ParameterFormat',
- 'errorMessage' => 'The format of parameter \'%s\' is incorrect.',
- ],
+ ['errorCode' => 'ParameterFormat', 'errorMessage' => 'The format of parameter \'%s\' is incorrect.'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"9FBA26B0-462B-4D77-B78F-AF35560DBC71\\",\\n \\"Success\\": true,\\n \\"User\\": {\\n \\"InstanceId\\": \\"9cfad875-6260-4a53-ab6e-b13e3fb3xxxx\\",\\n \\"RamId\\": \\"20225462120879xxxx\\",\\n \\"UserId\\": \\"6f3e7751-fa61-453f-8057-a2fe9741xxxx\\",\\n \\"Roles\\": [\\n {\\n \\"InstanceId\\": \\"9cfad875-6260-4a53-ab6e-b13e3fb3xxxx\\",\\n \\"RoleName\\": \\"ADMIN\\",\\n \\"RoleDescription\\": \\"管理员\\",\\n \\"RoleId\\": \\"59a3d864-2f98-4f5e-84ec-c1ea13afxxxx\\"\\n }\\n ],\\n \\"SkillLevels\\": [\\n {\\n \\"SkillLevelId\\": \\"181792\\",\\n \\"Level\\": 4,\\n \\"Skill\\": {\\n \\"InstanceId\\": \\"9cfad875-6260-4a53-ab6e-b13e3fb3xxxx\\",\\n \\"SkillGroupDescription\\": \\"描述\\",\\n \\"SkillGroupId\\": \\"a053e6d5-16ee-4283-9c81-631b78aexxxx\\",\\n \\"SkillGroupName\\": \\"默认技能组\\"\\n }\\n }\\n ],\\n \\"Detail\\": {\\n \\"DisplayName\\": \\"test\\",\\n \\"Extension\\": \\"8037****\\",\\n \\"LoginName\\": \\"test123\\",\\n \\"Email\\": \\"test@alibaba-inc.com\\",\\n \\"Department\\": \\"IT\\",\\n \\"Phone\\": \\"1360176****\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<User>\\n <InstanceId>9cfad875-6260-4a53-ab6e-b13e3fb3xxxx</InstanceId>\\n <UserId>6f3e7751-fa61-453f-8057-a2fe9741xxxx</UserId>\\n <RamId>20225462120879xxxx</RamId>\\n <SkillLevels>\\n <SkillLevelId>181792</SkillLevelId>\\n <Level>4</Level>\\n <Skill>\\n <SkillGroupName>默认技能组</SkillGroupName>\\n <InstanceId>9cfad875-6260-4a53-ab6e-b13e3fb3xxxx</InstanceId>\\n <SkillGroupId>a053e6d5-16ee-4283-9c81-631b78aexxxx</SkillGroupId>\\n <SkillGroupDescription>描述</SkillGroupDescription>\\n </Skill>\\n </SkillLevels>\\n <Roles>\\n <RoleName>ADMIN</RoleName>\\n <InstanceId>9cfad875-6260-4a53-ab6e-b13e3fb3xxxx</InstanceId>\\n <RoleDescription>管理员</RoleDescription>\\n <RoleId>59a3d864-2f98-4f5e-84ec-c1ea13afxxxx</RoleId>\\n </Roles>\\n <Detail>\\n <Extension>8037****</Extension>\\n <LoginName>test123</LoginName>\\n <Department>IT</Department>\\n <Email>test@alibaba-inc.com</Email>\\n <Phone>1360176****</Phone>\\n <DisplayName>test</DisplayName>\\n </Detail>\\n</User>\\n<Message>无</Message>\\n<RequestId>9FBA26B0-462B-4D77-B78F-AF35560DBC71</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]',
@@ -12375,14 +6065,8 @@
],
'AssignUsers' => [
'summary' => '把目录服务中的一组用户添加到一个呼叫中心实例中。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12397,20 +6081,13 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc8HB4RI',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc8HB4RI'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待添加用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待添加用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'UserRamId',
@@ -12419,9 +6096,7 @@
'schema' => [
'description' => '待添加的目录服务中的用户RAM ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '6f3e7751-fa61-453f-8057-a2fe9741a387',
'maxItems' => 99,
@@ -12434,9 +6109,7 @@
'schema' => [
'description' => '新添加用户的角色ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '4c2e158e-ddd9-464a-a3fc-338eca10277c',
'maxItems' => 99,
@@ -12449,9 +6122,7 @@
'schema' => [
'description' => '待创建用户所归属的技能组ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18ef28',
'maxItems' => 99,
@@ -12464,10 +6135,7 @@
'schema' => [
'description' => '待创建用户所具有的技能级别',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '4',
'maxItems' => 99,
@@ -12479,32 +6147,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'type' => 'object',
'itemNode' => true,
@@ -12514,18 +6161,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'RamId' => [
- 'type' => 'string',
- ],
- 'Primary' => [
- 'type' => 'boolean',
- ],
+ 'InstanceId' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'RamId' => ['type' => 'string'],
+ 'Primary' => ['type' => 'boolean'],
],
],
],
@@ -12543,14 +6182,8 @@
],
'ResetUserStatus' => [
'summary' => '重置异常状态的坐席。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12565,21 +6198,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '云呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
+ 'schema' => ['description' => '云呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
],
[
'name' => 'RamIdList',
@@ -12588,10 +6213,7 @@
'schema' => [
'description' => '云呼叫中心子账号的RamId,管理员可重置该实例异常坐席的状态信息,技能组组长可用于重置该技能组下异常坐席的状态信息,可通过[ListUsers](https://help.aliyun.com/document_detail/63052.html?spm=a2c4g.11186623.6.669.60a42ec43cAdOk)接口进行查询获取',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int64'],
'required' => false,
'example' => '12345678',
'maxItems' => 99,
@@ -12603,32 +6225,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => '响应状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应提示信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID,可用于接口的日志查询',
- 'type' => 'string',
- 'example' => '2D4F3E45-96CD-4210-B15B-F27BAC29FE29',
- ],
- 'Success' => [
- 'description' => '是否调用成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => '响应状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应提示信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID,可用于接口的日志查询', 'type' => 'string', 'example' => '2D4F3E45-96CD-4210-B15B-F27BAC29FE29'],
+ 'Success' => ['description' => '是否调用成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -12642,14 +6243,8 @@
],
'ModifyUser' => [
'summary' => '调用ModifyUser修改用户数据。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12664,72 +6259,40 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc8HB4RI',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc8HB4RI'],
],
'parameters' => [
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的全名',
- 'type' => 'string',
- 'required' => true,
- 'example' => '张先生',
- ],
+ 'schema' => ['description' => '用户的全名', 'type' => 'string', 'required' => true, 'example' => '张先生'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '待修改的用户ID。'."\n"
- ."\n\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6f3e7751-fa61-453f-8057-a2fe9741****',
- ],
+ 'schema' => ['description' => '待修改的用户ID。'."\n"
+ ."\n\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'required' => true, 'example' => '6f3e7751-fa61-453f-8057-a2fe9741****'],
],
[
'name' => 'Phone',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的电话号码',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1886666****',
- ],
+ 'schema' => ['description' => '用户的电话号码', 'type' => 'string', 'required' => true, 'example' => '1886666****'],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的电子邮件',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'username@example.com',
- ],
+ 'schema' => ['description' => '用户的电子邮件', 'type' => 'string', 'required' => true, 'example' => 'username@example.com'],
],
[
'name' => 'PrivateOutboundNumberId',
'in' => 'query',
- 'schema' => [
- 'description' => '个人外呼号码的PhoneNumberId',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6d****',
- ],
+ 'schema' => ['description' => '个人外呼号码的PhoneNumberId', 'type' => 'string', 'required' => false, 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6d****'],
],
[
'name' => 'RoleId',
@@ -12738,9 +6301,7 @@
'schema' => [
'description' => '指定待创建用户的角色,需传入角色ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '4c2e158e-ddd9-464a-a3fc-338eca10****',
'maxItems' => 99,
@@ -12755,9 +6316,7 @@
."\n\n"
.'SkillGroupId.1意为只绑定到一个技能组中,如果绑定多个技能组,则需要传多个,例如 SkillGroupId.1、SkillGroupId.2、SkillGroupId.3,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18****',
'maxItems' => 99,
@@ -12772,10 +6331,7 @@
."\n"
.'**SkillLevel.1**表示为SkillGroupId.1的技能组等级,如果SkillGroupId为多个,则SkillLevel也需要多个,并且数量需要保持一致。',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '4',
'maxItems' => 99,
@@ -12787,32 +6343,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -12826,14 +6361,8 @@
],
'GetUser' => [
'summary' => '调用GetUser根据用户ID获取用户信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12848,34 +6377,20 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。'."\n"
- ."\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '6f3e7751-fa61-453f-8057-a2fe9741xxxx',
- ],
+ 'schema' => ['description' => '用户ID。'."\n"
+ ."\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '6f3e7751-fa61-453f-8057-a2fe9741xxxx'],
],
],
'responses' => [
@@ -12883,53 +6398,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'User' => [
'description' => '用户信息',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM账户ID',
- 'type' => 'string',
- 'example' => '20225462120879xxxx',
- ],
- 'UserId' => [
- 'description' => '用户ID,系统自动生成的唯一标示符。'."\n"
- ."\n"
- .'> 注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'example' => '6f3e7751-fa61-453f-8057-a2fe9741xxxx',
- ],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RamId' => ['description' => '用户所对应的RAM账户ID', 'type' => 'string', 'example' => '20225462120879xxxx'],
+ 'UserId' => ['description' => '用户ID,系统自动生成的唯一标示符。'."\n"
+ ."\n"
+ .'> 注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'example' => '6f3e7751-fa61-453f-8057-a2fe9741xxxx'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -12940,26 +6422,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '角色所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RoleName' => [
- 'description' => '角色名称',
- 'type' => 'string',
- 'example' => 'AGENT',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述',
- 'type' => 'string',
- 'example' => '坐席',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10xxxx',
- ],
+ 'InstanceId' => ['description' => '角色所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RoleName' => ['description' => '角色名称', 'type' => 'string', 'example' => 'AGENT'],
+ 'RoleDescription' => ['description' => '角色描述', 'type' => 'string', 'example' => '坐席'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10xxxx'],
],
],
],
@@ -12975,41 +6441,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '121335',
- ],
- 'Level' => [
- 'description' => '技能级别',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '121335'],
+ 'Level' => ['description' => '技能级别', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'Skill' => [
'description' => '技能',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述',
- 'type' => 'string',
- 'example' => '售后技术支持人员使用',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => '售后技术支持技能组',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述', 'type' => 'string', 'example' => '售后技术支持人员使用'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => '售后技术支持技能组'],
],
],
],
@@ -13021,31 +6462,11 @@
'description' => '用户详细信息。@Transient',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的全名',
- 'type' => 'string',
- 'example' => '王明',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址',
- 'type' => 'string',
- 'example' => '1886666****@163.com',
- ],
- 'LoginName' => [
- 'description' => '用户登录名',
- 'type' => 'string',
- 'example' => 'user05',
- ],
- 'Department' => [
- 'description' => '所属部门',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码',
- 'type' => 'string',
- 'example' => '1886666****',
- ],
+ 'DisplayName' => ['description' => '用户的全名', 'type' => 'string', 'example' => '王明'],
+ 'Email' => ['description' => '用户的电子邮件地址', 'type' => 'string', 'example' => '1886666****@163.com'],
+ 'LoginName' => ['description' => '用户登录名', 'type' => 'string', 'example' => 'user05'],
+ 'Department' => ['description' => '所属部门', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '用户的电话号码', 'type' => 'string', 'example' => '1886666****'],
],
],
],
@@ -13064,14 +6485,8 @@
],
'ListUsers' => [
'summary' => '调用ListUsers获取呼叫中心实例中的所有用户。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13085,42 +6500,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
+ 'schema' => ['description' => '待获取用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
],
'responses' => [
@@ -13128,54 +6524,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '707EF054-E614-4A4A-98D4-F4457073F111',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '707EF054-E614-4A4A-98D4-F4457073F111'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Users' => [
'description' => '获取到的呼叫中心实例中的用户列表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '14',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '14'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -13186,33 +6546,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'PrivateOutboundNumberId' => [
- 'description' => '个人外呼号码的PhoneNumberId',
- 'type' => 'string',
- 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6dxxxx',
- ],
- 'Primary' => [
- 'description' => '是否为主账户',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM子账户ID',
- 'type' => 'string',
- 'example' => '29303293146891xxxx',
- ],
- 'UserId' => [
- 'description' => '用户ID,系统自动生成的唯一标示符。'."\n"
- ."\n\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'example' => 'b80bd838-a5a5-4ed3-ac9a-30be353dxxxx',
- ],
+ 'PrivateOutboundNumberId' => ['description' => '个人外呼号码的PhoneNumberId', 'type' => 'string', 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6dxxxx'],
+ 'Primary' => ['description' => '是否为主账户', 'type' => 'boolean', 'example' => 'false'],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RamId' => ['description' => '用户所对应的RAM子账户ID', 'type' => 'string', 'example' => '29303293146891xxxx'],
+ 'UserId' => ['description' => '用户ID,系统自动生成的唯一标示符。'."\n"
+ ."\n\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'example' => 'b80bd838-a5a5-4ed3-ac9a-30be353dxxxx'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -13223,26 +6563,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '角色所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RoleName' => [
- 'description' => '角色名称',
- 'type' => 'string',
- 'example' => 'AGENT',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述',
- 'type' => 'string',
- 'example' => '坐席',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10xxxx',
- ],
+ 'InstanceId' => ['description' => '角色所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RoleName' => ['description' => '角色名称', 'type' => 'string', 'example' => 'AGENT'],
+ 'RoleDescription' => ['description' => '角色描述', 'type' => 'string', 'example' => '坐席'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10xxxx'],
],
],
],
@@ -13258,41 +6582,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '121335',
- ],
- 'Level' => [
- 'description' => '技能级别',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '121335'],
+ 'Level' => ['description' => '技能级别', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'Skill' => [
'description' => '技能',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述',
- 'type' => 'string',
- 'example' => '售后技术支持人员使用',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => '售后技术支持技能组',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述', 'type' => 'string', 'example' => '售后技术支持人员使用'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => '售后技术支持技能组'],
],
],
],
@@ -13304,31 +6603,11 @@
'description' => '用户详细信息。',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的全名',
- 'type' => 'string',
- 'example' => '王明',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址',
- 'type' => 'string',
- 'example' => '1886666****@163.com',
- ],
- 'LoginName' => [
- 'description' => '用户登录名',
- 'type' => 'string',
- 'example' => 'user05',
- ],
- 'Department' => [
- 'description' => '所属部门',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码',
- 'type' => 'string',
- 'example' => '1886666****',
- ],
+ 'DisplayName' => ['description' => '用户的全名', 'type' => 'string', 'example' => '王明'],
+ 'Email' => ['description' => '用户的电子邮件地址', 'type' => 'string', 'example' => '1886666****@163.com'],
+ 'LoginName' => ['description' => '用户登录名', 'type' => 'string', 'example' => 'user05'],
+ 'Department' => ['description' => '所属部门', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '用户的电话号码', 'type' => 'string', 'example' => '1886666****'],
],
],
],
@@ -13352,14 +6631,8 @@
],
'ListRoles' => [
'summary' => '获取的账号所能管理的角色。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13373,20 +6646,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取角色列表的呼叫中心实例的ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待获取角色列表的呼叫中心实例的ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -13394,32 +6660,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '711D948F-C616-4E23-8573-0F260513CE09',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '711D948F-C616-4E23-8573-0F260513CE09'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -13430,26 +6675,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '角色所归属的呼叫中心实例',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'RoleName' => [
- 'description' => '角色名称',
- 'type' => 'string',
- 'example' => 'SKILL_GROUP_ADMIN',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述',
- 'type' => 'string',
- 'example' => '技能组组长',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符',
- 'type' => 'string',
- 'example' => '42d97cec-386b-4770-ad7b-0e6a4e665c74',
- ],
+ 'InstanceId' => ['description' => '角色所归属的呼叫中心实例', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'RoleName' => ['description' => '角色名称', 'type' => 'string', 'example' => 'SKILL_GROUP_ADMIN'],
+ 'RoleDescription' => ['description' => '角色描述', 'type' => 'string', 'example' => '技能组组长'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符', 'type' => 'string', 'example' => '42d97cec-386b-4770-ad7b-0e6a4e665c74'],
],
],
],
@@ -13468,14 +6697,8 @@
],
'FindUsers' => [
'summary' => '搜索呼叫中心实例中的所有用户。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13489,52 +6712,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc8HB4RI',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc8HB4RI'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '待获取用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'Criteria',
'in' => 'query',
- 'schema' => [
- 'description' => '待查询名称,可以传登录名或者展示名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '待查询名称,可以传登录名或者展示名称。', 'type' => 'string', 'required' => true, 'example' => 'test'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
],
'responses' => [
@@ -13542,54 +6741,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Users' => [
'description' => '获取到的呼叫中心实例中的用户列表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -13600,28 +6763,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'PrivateOutboundNumberId' => [
- 'description' => '个人外呼号码的PhoneNumberId',
- 'type' => 'string',
- 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6d****',
- ],
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM账户ID',
- 'type' => 'string',
- 'example' => '29491103620126****',
- ],
- 'UserId' => [
- 'description' => '用户唯一标识。'."\n"
- ."\n\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'example' => '674a5953-21d5-4ee9-9b42-eb8813d6****',
- ],
+ 'PrivateOutboundNumberId' => ['description' => '个人外呼号码的PhoneNumberId', 'type' => 'string', 'example' => 'a08d255e-12a5-48f8-93e0-6b8e1b6d****'],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'RamId' => ['description' => '用户所对应的RAM账户ID', 'type' => 'string', 'example' => '29491103620126****'],
+ 'UserId' => ['description' => '用户唯一标识。'."\n"
+ ."\n\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'example' => '674a5953-21d5-4ee9-9b42-eb8813d6****'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -13632,26 +6779,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '角色所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'RoleName' => [
- 'description' => '角色名称',
- 'type' => 'string',
- 'example' => 'ADMIN',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述',
- 'type' => 'string',
- 'example' => '管理员',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '59a3d864-2f98-4f5e-84ec-c1ea13af****',
- ],
+ 'InstanceId' => ['description' => '角色所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'RoleName' => ['description' => '角色名称', 'type' => 'string', 'example' => 'ADMIN'],
+ 'RoleDescription' => ['description' => '角色描述', 'type' => 'string', 'example' => '管理员'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '59a3d864-2f98-4f5e-84ec-c1ea13af****'],
],
],
],
@@ -13667,41 +6798,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '181792',
- ],
- 'Level' => [
- 'description' => '技能级别',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '181792'],
+ 'Level' => ['description' => '技能级别', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'Skill' => [
'description' => '技能组',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'a053e6d5-16ee-4283-9c81-631b78ae****',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => '默认技能组',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述', 'type' => 'string', 'example' => '描述'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'a053e6d5-16ee-4283-9c81-631b78ae****'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => '默认技能组'],
],
],
],
@@ -13713,31 +6819,11 @@
'description' => '用户详细信息',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的全名',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址',
- 'type' => 'string',
- 'example' => 'test@alibaba-inc.com',
- ],
- 'LoginName' => [
- 'description' => '用户登录名',
- 'type' => 'string',
- 'example' => 'test123',
- ],
- 'Department' => [
- 'description' => '用户的部门',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码',
- 'type' => 'string',
- 'example' => '1360176****',
- ],
+ 'DisplayName' => ['description' => '用户的全名', 'type' => 'string', 'example' => 'test'],
+ 'Email' => ['description' => '用户的电子邮件地址', 'type' => 'string', 'example' => 'test@alibaba-inc.com'],
+ 'LoginName' => ['description' => '用户登录名', 'type' => 'string', 'example' => 'test123'],
+ 'Department' => ['description' => '用户的部门', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '用户的电话号码', 'type' => 'string', 'example' => '1360176****'],
],
],
],
@@ -13761,14 +6847,8 @@
],
'RemoveUsers' => [
'summary' => '调用RemoveUsers从一个呼叫中心实例中移除一组用户。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13783,20 +6863,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc8HB4RI',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc8HB4RI'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待移除用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待移除用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'UserId',
@@ -13807,9 +6880,7 @@
."\n\n"
.'**UserId.1**意为只移除一个坐席,如果移除多个,则需要传多个,例如 UserId.1、UserId.2、UserId.3,以此类推,具体请参考下方的请求示例。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '7ed274a5-6351-4dbd-9f13-6ac63c8ef296',
'maxItems' => 99,
@@ -13821,32 +6892,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1F9834D8-6D09-4A1B-BADB-B019D9D444D8',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1F9834D8-6D09-4A1B-BADB-B019D9D444D8'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -13857,14 +6907,8 @@
],
'AddAgentDevice' => [
'summary' => '当坐席上线时,保存坐席设备的基本信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13879,63 +6923,33 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc8HB4RI',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc8HB4RI'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'ClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端IP地址',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '127.0.0.1',
- ],
+ 'schema' => ['description' => '客户端IP地址', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '127.0.0.1'],
],
[
'name' => 'ClientPort',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端IP端口',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8080',
- ],
+ 'schema' => ['description' => '客户端IP端口', 'type' => 'string', 'required' => false, 'example' => '8080'],
],
[
'name' => 'BrowserVersion',
'in' => 'formData',
- 'schema' => [
- 'description' => '浏览器版本信息',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Chrome/74.0.3729.169',
- ],
+ 'schema' => ['description' => '浏览器版本信息', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Chrome/74.0.3729.169'],
],
[
'name' => 'Remark',
'in' => 'formData',
- 'schema' => [
- 'description' => '其他备注信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => '其他备注信息', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
],
'responses' => [
@@ -13943,40 +6957,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'AgentDeviceId' => [
- 'description' => '保存数据的ID。'."\n"
- ."\n"
- .'用于给ModifyAgentDevice提供数据来记录登录是否成功。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '456',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A13BB835-94AA-4E55-8D9E-5EA585CE6555"',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'AgentDeviceId' => ['description' => '保存数据的ID。'."\n"
+ ."\n"
+ .'用于给ModifyAgentDevice提供数据来记录登录是否成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '456'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A13BB835-94AA-4E55-8D9E-5EA585CE6555"'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -13991,14 +6979,8 @@
],
'ModifyAgentDevice' => [
'summary' => '当坐席上线成功时,更新坐席设备中的坐席的登录状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14013,48 +6995,26 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'IsLogin',
'in' => 'query',
- 'schema' => [
- 'description' => '是否签入成功。取值:'."\n"
- ."\n"
- .'- 0(默认):签入失败'."\n"
- .'- 1:签入成功',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '是否签入成功。取值:'."\n"
+ ."\n"
+ .'- 0(默认):签入失败'."\n"
+ .'- 1:签入成功', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'AgentDeviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席设备唯一标识',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '456',
- ],
+ 'schema' => ['description' => '坐席设备唯一标识', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '456'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -14062,32 +7022,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A13BB835-94AA-4E55-8D9E-5EA585CEA98D',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A13BB835-94AA-4E55-8D9E-5EA585CEA98D'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -14100,14 +7039,8 @@
],
'ListRealTimeAgent' => [
'summary' => '获取呼叫中心实例中的所有可转接的坐席,其中可转接是指坐席处于空闲状态或者坐席存有个人手机号。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14121,21 +7054,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '待获取用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
],
'responses' => [
@@ -14143,32 +7068,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '51DE4272-1711-4FF3-805F-7FBD2251AA0D',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '51DE4272-1711-4FF3-805F-7FBD2251AA0D'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'type' => 'object',
'itemNode' => true,
@@ -14179,36 +7083,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '坐席展示名',
- 'type' => 'string',
- 'example' => '模板导入坐席',
- ],
- 'StateDesc' => [
- 'description' => '坐席状态描述',
- 'type' => 'string',
- 'example' => '未上线',
- ],
- 'Dn' => [
- 'description' => '坐席分机号',
- 'type' => 'string',
- 'example' => '8031****',
- ],
- 'State' => [
- 'description' => '坐席状态',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'RamId' => [
- 'description' => '坐席RAM子账号',
- 'type' => 'string',
- 'example' => '21577102482268****',
- ],
- 'Phone' => [
- 'description' => '坐席手机号',
- 'type' => 'string',
- 'example' => '1880134****',
- ],
+ 'DisplayName' => ['description' => '坐席展示名', 'type' => 'string', 'example' => '模板导入坐席'],
+ 'StateDesc' => ['description' => '坐席状态描述', 'type' => 'string', 'example' => '未上线'],
+ 'Dn' => ['description' => '坐席分机号', 'type' => 'string', 'example' => '8031****'],
+ 'State' => ['description' => '坐席状态', 'type' => 'string', 'example' => '3'],
+ 'RamId' => ['description' => '坐席RAM子账号', 'type' => 'string', 'example' => '21577102482268****'],
+ 'Phone' => ['description' => '坐席手机号', 'type' => 'string', 'example' => '1880134****'],
'SkillLevels' => [
'type' => 'object',
'itemNode' => true,
@@ -14219,41 +7099,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '101271',
- ],
- 'Level' => [
- 'description' => '技能级别',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '101271'],
+ 'Level' => ['description' => '技能级别', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'Skill' => [
'description' => '技能',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例。',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述。',
- 'type' => 'string',
- 'example' => '默认技能组',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0ee27b3b-6765-499a-a741-61b16a90****',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => 'Default',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例。', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述。', 'type' => 'string', 'example' => '默认技能组'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0ee27b3b-6765-499a-a741-61b16a90****'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => 'Default'],
],
],
],
@@ -14279,14 +7134,8 @@
],
'ListAgentStateLogs' => [
'summary' => '获取呼叫中心实例中坐席的状态日志。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14301,81 +7150,38 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
+ 'schema' => ['description' => '待获取用户的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
],
[
'name' => 'RamId',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席的RAM ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '233600862826937630',
- ],
+ 'schema' => ['description' => '坐席的RAM ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '233600862826937630'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1607911199000',
- ],
+ 'schema' => ['description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1607911199000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,注意查询时间范围不能大于2小时,否则会报错。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1607918399000',
- ],
+ 'schema' => ['description' => '结束时间,注意查询时间范围不能大于2小时,否则会报错。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1607918399000'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2'],
],
],
'responses' => [
@@ -14383,107 +7189,33 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'AgentStateLogPage' => [
'description' => '坐席状态日志列表。',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '对象总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '对象总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'description' => '对象列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'StateCode' => [
- 'description' => '坐席子状态。',
- 'type' => 'string',
- 'example' => 'StartMonitoring',
- ],
- 'ContactId' => [
- 'description' => '通话ID。',
- 'type' => 'string',
- 'example' => '2952482622',
- ],
- 'State' => [
- 'description' => '坐席状态。',
- 'type' => 'string',
- 'example' => 'Talking',
- ],
- 'ConnectId' => [
- 'description' => '话务ID。',
- 'type' => 'string',
- 'example' => '2952482621',
- ],
- 'StateTime' => [
- 'description' => '状态对应的时刻。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1607911119000',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'RamId' => [
- 'description' => '坐席的RamId。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '233600862826937630',
- ],
- 'SkillGroupIds' => [
- 'description' => '坐席所在的技能组列表。',
- 'type' => 'string',
- 'example' => 'f762fa1d-d8cb-4d4c-aa0a-b3e0c1f05347,b09c567c-9d74-43e6-9106-86e1bf2da52b',
- ],
- 'CounterParty' => [
- 'description' => '对端:所监听对象的RamId。非监听场景或被监听者不展示此字段。',
- 'type' => 'string',
- 'example' => '135600862836930633',
- ],
+ 'StateCode' => ['description' => '坐席子状态。', 'type' => 'string', 'example' => 'StartMonitoring'],
+ 'ContactId' => ['description' => '通话ID。', 'type' => 'string', 'example' => '2952482622'],
+ 'State' => ['description' => '坐席状态。', 'type' => 'string', 'example' => 'Talking'],
+ 'ConnectId' => ['description' => '话务ID。', 'type' => 'string', 'example' => '2952482621'],
+ 'StateTime' => ['description' => '状态对应的时刻。', 'type' => 'integer', 'format' => 'int64', 'example' => '1607911119000'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'RamId' => ['description' => '坐席的RamId。', 'type' => 'integer', 'format' => 'int64', 'example' => '233600862826937630'],
+ 'SkillGroupIds' => ['description' => '坐席所在的技能组列表。', 'type' => 'string', 'example' => 'f762fa1d-d8cb-4d4c-aa0a-b3e0c1f05347,b09c567c-9d74-43e6-9106-86e1bf2da52b'],
+ 'CounterParty' => ['description' => '对端:所监听对象的RamId。非监听场景或被监听者不展示此字段。', 'type' => 'string', 'example' => '135600862836930633'],
],
],
],
@@ -14502,14 +7234,8 @@
],
'ListAgentStates' => [
'summary' => '调用ListAgentStates获取坐席状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14524,77 +7250,42 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'XXX',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => false, 'example' => 'XXX'],
],
[
'name' => 'AgentIds',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席ID列表。'."\n"
- ."\n"
- .'坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传则查询全部。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '237432034227828673',
- ],
+ 'schema' => ['description' => '坐席ID列表。'."\n"
+ ."\n"
+ .'坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传则查询全部。', 'type' => 'string', 'required' => false, 'example' => '237432034227828673'],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席状态列表。'."\n"
- ."\n"
- .'不传查询全部。枚举值:ACW:话后处理中,Break:小休,Dialing:拨号,Ringing:振铃,Ready:等待,Talking:通话。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACW',
- ],
+ 'schema' => ['description' => '坐席状态列表。'."\n"
+ ."\n"
+ .'不传查询全部。枚举值:ACW:话后处理中,Break:小休,Dialing:拨号,Ringing:振铃,Ready:等待,Talking:通话。', 'type' => 'string', 'required' => false, 'example' => 'ACW'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -14602,54 +7293,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求iD',
- 'type' => 'string',
- 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求iD', 'type' => 'string', 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -14660,41 +7315,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LoginName' => [
- 'description' => '座席登录名',
- 'type' => 'string',
- 'example' => 'paige',
- ],
- 'Dn' => [
- 'description' => '分机号码',
- 'type' => 'string',
- 'example' => '80301522',
- ],
- 'StateDuration' => [
- 'description' => '坐席状态持续时长',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'State' => [
- 'description' => '座席状态描述,会有以下描述:会议、发起求助、处理、小休、拨号、振铃、求助、等待、通话。',
- 'type' => 'string',
- 'example' => 'Ready',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '237432034227828673',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => '派鸽',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'LoginName' => ['description' => '座席登录名', 'type' => 'string', 'example' => 'paige'],
+ 'Dn' => ['description' => '分机号码', 'type' => 'string', 'example' => '80301522'],
+ 'StateDuration' => ['description' => '坐席状态持续时长', 'type' => 'string', 'example' => '10'],
+ 'State' => ['description' => '座席状态描述,会有以下描述:会议、发起求助、处理、小休、拨号、振铃、求助、等待、通话。', 'type' => 'string', 'example' => 'Ready'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '237432034227828673'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => '派鸽'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
],
@@ -14719,14 +7346,8 @@
],
'ListAgentSummaryReports' => [
'summary' => '查询坐席指标的某个时间范围汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14741,85 +7362,43 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => false, 'example' => 'fb654c6-17c6-4501-ba57-f5ddeb919814'],
],
[
'name' => 'AgentIds',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席ID列表(使用“,”隔开),坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传查询全部。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2769707711429472695',
- ],
+ 'schema' => ['description' => '坐席ID列表(使用“,”隔开),坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传查询全部。', 'type' => 'string', 'required' => false, 'example' => '2769707711429472695'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd HH:mm:ss;需要注意目前仅支持按天维度的查询,参数设置请参考案例。同时时间设置不得早于6个月前的时间点',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-08-01 00:00:00',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd HH:mm:ss;需要注意目前仅支持按天维度的查询,参数设置请参考案例。同时时间设置不得早于6个月前的时间点', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-08-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式:yyyy-MM-dd HH:mm:ss;需要注意目前仅支持按天维度的查询,参数设置请参考案例。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-08-07 00:00:00',
- ],
+ 'schema' => ['description' => '终止日期,格式:yyyy-MM-dd HH:mm:ss;需要注意目前仅支持按天维度的查询,参数设置请参考案例。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-08-07 00:00:00'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -14827,54 +7406,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '685904F9-C253-49EF-8255-384888B794D2',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '685904F9-C253-49EF-8255-384888B794D2'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PagedAgentSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -14885,349 +7428,78 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LoginName' => [
- 'description' => '座席登录名',
- 'type' => 'string',
- 'example' => 'weichao',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '2769707711429472695',
- ],
- 'AgentName' => [
- 'description' => '座席显示名称',
- 'type' => 'string',
- 'example' => '默默',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'SkillGroupNames' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
- 'SkillGroupIds' => [
- 'description' => '技能组ID列表',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'LoginName' => ['description' => '座席登录名', 'type' => 'string', 'example' => 'weichao'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '2769707711429472695'],
+ 'AgentName' => ['description' => '座席显示名称', 'type' => 'string', 'example' => '默默'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'SkillGroupNames' => ['description' => '技能组名称', 'type' => 'string', 'example' => '其他服务'],
+ 'SkillGroupIds' => ['description' => '技能组ID列表', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'LastLogOutTime' => [
- 'description' => '最后登出时间',
- 'type' => 'string',
- 'example' => '2018-08-04 18:00:00',
- ],
- 'FirstLogInTime' => [
- 'description' => '首次登录时间',
- 'type' => 'string',
- 'example' => '2018-08-04 09:00:00',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OneTransferCalls' => [
- 'description' => '总转接量,即坐席发起直接转接的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'LastLogOutTime' => ['description' => '最后登出时间', 'type' => 'string', 'example' => '2018-08-04 18:00:00'],
+ 'FirstLogInTime' => ['description' => '首次登录时间', 'type' => 'string', 'example' => '2018-08-04 09:00:00'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OneTransferCalls' => ['description' => '总转接量,即坐席发起直接转接的次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '服务水平,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '服务水平,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。总话后处理时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。总话后处理时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -15251,14 +7523,8 @@
],
'ListAgentSummaryReportsByInterval' => [
'summary' => '调用ListAgentSummaryReportsByInterval查询坐席指标的分段汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15273,97 +7539,50 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb91xxxx',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => false, 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb91xxxx'],
],
[
'name' => 'AgentIds',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席ID列表(使用“,”隔开),坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传查询全部。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '276970771142947xxxx',
- ],
+ 'schema' => ['description' => '坐席ID列表(使用“,”隔开),坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传查询全部。', 'type' => 'string', 'required' => false, 'example' => '276970771142947xxxx'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '间隔类型。'."\n"
- .'- Daily:天'."\n"
- .'- Minute5:5分钟',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Daily',
- ],
+ 'schema' => ['description' => '间隔类型。'."\n"
+ .'- Daily:天'."\n"
+ .'- Minute5:5分钟', 'type' => 'string', 'required' => false, 'example' => 'Daily'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-09-12 14:45:00',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-09-12 14:45:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-09-12 14:45:00',
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-09-12 14:45:00'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -15371,54 +7590,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DCF128C7-3817-4409-8557-15A0C49DA1B8',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DCF128C7-3817-4409-8557-15A0C49DA1B8'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PagedAgentSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -15429,11 +7612,7 @@
'items' => [
'type' => 'object',
'properties' => [
- 'AgentId' => [
- 'description' => '坐席ID',
- 'type' => 'string',
- 'example' => '276970771142947xxxx',
- ],
+ 'AgentId' => ['description' => '坐席ID', 'type' => 'string', 'example' => '276970771142947xxxx'],
'IntervalList' => [
'type' => 'object',
'itemNode' => true,
@@ -15444,355 +7623,79 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LoginName' => [
- 'description' => '座席登录名',
- 'type' => 'string',
- 'example' => 'weichao',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '276970771142947xxxx',
- ],
- 'AgentName' => [
- 'description' => '座席显示名称',
- 'type' => 'string',
- 'example' => '默默',
- ],
- 'SkillGroupNames' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
- 'Timestamp' => [
- 'description' => '日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'example' => '2018-09-12 14:45:00',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxx',
- ],
- 'SkillGroupIds' => [
- 'description' => '技能组ID列表',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb91981',
- ],
+ 'LoginName' => ['description' => '座席登录名', 'type' => 'string', 'example' => 'weichao'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '276970771142947xxxx'],
+ 'AgentName' => ['description' => '座席显示名称', 'type' => 'string', 'example' => '默默'],
+ 'SkillGroupNames' => ['description' => '技能组名称', 'type' => 'string', 'example' => '其他服务'],
+ 'Timestamp' => ['description' => '日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2018-09-12 14:45:00'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxx'],
+ 'SkillGroupIds' => ['description' => '技能组ID列表', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb91981'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'LastLogOutTime' => [
- 'description' => '最后下线时间。',
- 'type' => 'string',
- 'example' => '2018-09-12 14:50:00',
- ],
- 'FirstLogInTime' => [
- 'description' => '首次登录时间。',
- 'type' => 'string',
- 'example' => '2018-09-12 14:46:00',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OneTransferCalls' => [
- 'description' => '总转接量,即坐席发送直接转接的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'LastLogOutTime' => ['description' => '最后下线时间。', 'type' => 'string', 'example' => '2018-09-12 14:50:00'],
+ 'FirstLogInTime' => ['description' => '首次登录时间。', 'type' => 'string', 'example' => '2018-09-12 14:46:00'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OneTransferCalls' => ['description' => '总转接量,即坐席发送直接转接的次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '20s应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '20s应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -15821,14 +7724,8 @@
],
'ListAgentSummaryReportsSinceMidnight' => [
'summary' => '调用ListAgentSummaryReportsSinceMidnight查询坐席指标的当天汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15843,65 +7740,35 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => false, 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
],
[
'name' => 'AgentIds',
'in' => 'query',
- 'schema' => [
- 'description' => '坐席ID列表(使用“,”隔开)。'."\n"
- ."\n"
- .'坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传查询全部.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2769707711429472695',
- ],
+ 'schema' => ['description' => '坐席ID列表(使用“,”隔开)。'."\n"
+ ."\n"
+ .'坐席ID等同于该座席的RAM子账户ID,最多50个坐席;不传查询全部.', 'type' => 'string', 'required' => false, 'example' => '2769707711429472695'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -15909,54 +7776,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '27DD30C4-CAE2-481A-97CC-D3C54625341D',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应信息', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '27DD30C4-CAE2-481A-97CC-D3C54625341D'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PagedAgentSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -15967,344 +7798,77 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LoginName' => [
- 'description' => '座席登录名',
- 'type' => 'string',
- 'example' => 'weichao',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '2769707711429472695',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => '默默',
- ],
- 'SkillGroupNames' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
- 'Timestamp' => [
- 'description' => '日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'example' => '2018-09-13 00:00:00',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'SkillGroupIds' => [
- 'description' => '技能组ID列表',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'LoginName' => ['description' => '座席登录名', 'type' => 'string', 'example' => 'weichao'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '2769707711429472695'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => '默默'],
+ 'SkillGroupNames' => ['description' => '技能组名称', 'type' => 'string', 'example' => '其他服务'],
+ 'Timestamp' => ['description' => '日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2018-09-13 00:00:00'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'SkillGroupIds' => ['description' => '技能组ID列表', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '37',
- ],
- 'OneTransferCalls' => [
- 'description' => '总转接量,坐席发起直接转接的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '65'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '37'],
+ 'OneTransferCalls' => ['description' => '总转接量,坐席发起直接转接的次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '65'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '20s应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '20s应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -16327,14 +7891,8 @@
],
'GetAgentData' => [
'summary' => '调用GetAgentData获取单个坐席报表数据。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16349,77 +7907,38 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802'],
],
[
'name' => 'StartDay',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2021-01-05',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-05'],
],
[
'name' => 'EndDay',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2021-01-06',
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-06'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '阿里云账号的lgoinName。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cctest',
- ],
+ 'schema' => ['description' => '阿里云账号的lgoinName。', 'type' => 'string', 'required' => false, 'example' => 'cctest'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,最大值100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,最大值100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
],
'responses' => [
@@ -16427,441 +7946,102 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '5E4AE8BE-282D-47DD-A9CB-AAC211F95DDB',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5E4AE8BE-282D-47DD-A9CB-AAC211F95DDB'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'DataList' => [
'description' => '报表数据。',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '对象总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '对象总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'description' => '对象列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16225',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'LoginName' => [
- 'description' => '座席登录名。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID,或阿里云UID。',
- 'type' => 'string',
- 'example' => '233482729826925174',
- ],
- 'RecordDate' => [
- 'description' => '日期。',
- 'type' => 'string',
- 'example' => '2021-01-05',
- ],
- 'AgentName' => [
- 'description' => 'Display/姓名。',
- 'type' => 'string',
- 'example' => '云呼测试',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef9',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SkillGroupNames' => [
- 'description' => '座席所属技能组名称列表。',
- 'type' => 'string',
- 'example' => '默认技能组',
- ],
- 'SkillGroupIds' => [
- 'description' => '座席所属技能组ID列表。',
- 'type' => 'string',
- 'example' => '1fa8bb2f-e738-4981-aea8-264e67a175bc',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '146',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16225'],
+ 'OccupancyRate' => ['description' => '座席利用率。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'LoginName' => ['description' => '座席登录名。', 'type' => 'string', 'example' => 'cctest'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID,或阿里云UID。', 'type' => 'string', 'example' => '233482729826925174'],
+ 'RecordDate' => ['description' => '日期。', 'type' => 'string', 'example' => '2021-01-05'],
+ 'AgentName' => ['description' => 'Display/姓名。', 'type' => 'string', 'example' => '云呼测试'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef9'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SkillGroupNames' => ['description' => '座席所属技能组名称列表。', 'type' => 'string', 'example' => '默认技能组'],
+ 'SkillGroupIds' => ['description' => '座席所属技能组ID列表。', 'type' => 'string', 'example' => '1fa8bb2f-e738-4981-aea8-264e67a175bc'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '146'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Inbound' => [
'description' => '呼入指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '33',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxHoldTime' => [
- 'description' => '最大保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalHoldTime' => [
- 'description' => '总保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageHoldTime' => [
- 'description' => '平均保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '33'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxHoldTime' => ['description' => '最大保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalHoldTime' => ['description' => '总保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageHoldTime' => ['description' => '平均保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '260',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '18',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxHoldTime' => [
- 'description' => '最大保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalHoldTime' => [
- 'description' => '总保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageHoldTime' => [
- 'description' => '平均保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '260'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxHoldTime' => ['description' => '最大保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalHoldTime' => ['description' => '总保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageHoldTime' => ['description' => '平均保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Overall' => [
'description' => '整体指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '293',
- ],
- 'MaxHoldTime' => [
- 'description' => '最大保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '70',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalHoldTime' => [
- 'description' => '总保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageHoldTime' => [
- 'description' => '平均保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '293'],
+ 'MaxHoldTime' => ['description' => '最大保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '70'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalHoldTime' => ['description' => '总保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageHoldTime' => ['description' => '平均保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
],
],
],
@@ -16882,14 +8062,8 @@
],
'ListAgentDevices' => [
'summary' => '当坐席出现异常下线的情况时,查询坐席的设备信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16904,55 +8078,30 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'RamIds',
'in' => 'query',
- 'schema' => [
- 'description' => 'RamID的集合。'."\n"
- ."\n"
- .'如果没有数据则查询当前坐席的设备信息,查询多个ramID信息用“,”分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123,456',
- ],
+ 'schema' => ['description' => 'RamID的集合。'."\n"
+ ."\n"
+ .'如果没有数据则查询当前坐席的设备信息,查询多个ramID信息用“,”分隔。', 'type' => 'string', 'required' => false, 'example' => '123,456'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,默认当天时间的0点时刻。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '13465000',
- ],
+ 'schema' => ['description' => '开始时间,默认当天时间的0点时刻。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13465000'],
],
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,默认当前时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1645645700',
- ],
+ 'schema' => ['description' => '结束时间,默认当前时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1645645700'],
],
],
'responses' => [
@@ -16960,32 +8109,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A13BB835-94AA-4E55-8D9E-5EA585CEA99Y',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A13BB835-94AA-4E55-8D9E-5EA585CEA99Y'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'AgentDeviceList' => [
'type' => 'object',
'itemNode' => true,
@@ -16996,51 +8124,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LoginTime' => [
- 'description' => '登录时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1559113107000',
- ],
- 'ClientPort' => [
- 'description' => '客户端Port',
- 'type' => 'string',
- 'example' => '8080',
- ],
- 'Remark' => [
- 'description' => '备注信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'BrowserVersion' => [
- 'description' => '客户端浏览器信息',
- 'type' => 'string',
- 'example' => '浏览器内核类型:chrome,浏览器版本:74.0.3729.169',
- ],
- 'ClientIp' => [
- 'description' => '客户端IP',
- 'type' => 'string',
- 'example' => '30.52.180.90',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'IsLogin' => [
- 'description' => '是否签入成功。 '."\n"
- ."\n"
- .'**0**:签入失败;**1**:签入成功;',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RamId' => [
- 'description' => '座席的RAM子账户ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1059803544828509',
- ],
+ 'LoginTime' => ['description' => '登录时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1559113107000'],
+ 'ClientPort' => ['description' => '客户端Port', 'type' => 'string', 'example' => '8080'],
+ 'Remark' => ['description' => '备注信息', 'type' => 'string', 'example' => '无'],
+ 'BrowserVersion' => ['description' => '客户端浏览器信息', 'type' => 'string', 'example' => '浏览器内核类型:chrome,浏览器版本:74.0.3729.169'],
+ 'ClientIp' => ['description' => '客户端IP', 'type' => 'string', 'example' => '30.52.180.90'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'IsLogin' => ['description' => '是否签入成功。 '."\n"
+ ."\n"
+ .'**0**:签入失败;**1**:签入成功;', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RamId' => ['description' => '座席的RAM子账户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1059803544828509'],
],
],
],
@@ -17059,14 +8152,8 @@
],
'ListAgentEvents' => [
'summary' => '调用ListAgentEvents获取呼叫中心实例中坐席的事件状态信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17081,45 +8168,25 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
+ 'schema' => ['description' => '待获取用户的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。'."\n"
- ."\n"
- .'默认是当前时间前一小时,注意查询时间范围小于1小时,否则会报错。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1555297200000',
- ],
+ 'schema' => ['description' => '开始时间。'."\n"
+ ."\n"
+ .'默认是当前时间前一小时,注意查询时间范围小于1小时,否则会报错。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1555297200000'],
],
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,默认是当前时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1555300800000',
- ],
+ 'schema' => ['description' => '结束时间,默认是当前时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1555300800000'],
],
[
'name' => 'RamId',
@@ -17128,9 +8195,7 @@
'schema' => [
'description' => '坐席的RAM ID。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '1059803544828509',
'maxItems' => 99,
@@ -17145,9 +8210,7 @@
."\n"
.'包括:”签入”,”签出”,”小休”,”等待”,”振铃”,”通话”,”放弃”,”结束”,”处理”,”发起求助”,”求助成功”,”会议建立”,”会议结束”,”拨号”。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '签入',
'maxItems' => 99,
@@ -17159,32 +8222,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'ADB327AC-6ABF-4FE9-A52E-AAB9894CD0E7',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'ADB327AC-6ABF-4FE9-A52E-AAB9894CD0E7'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'AgentEventList' => [
'type' => 'object',
'itemNode' => true,
@@ -17195,33 +8237,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Event' => [
- 'description' => '座席事件状态描述。',
- 'type' => 'string',
- 'example' => '签出',
- ],
- 'EventTime' => [
- 'description' => '事件触发时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1555299918000',
- ],
- 'LoginName' => [
- 'description' => '座席登录名',
- 'type' => 'string',
- 'example' => 'ccctest',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef',
- ],
- 'RamId' => [
- 'description' => '座席的RAM子账户ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2059803544828509',
- ],
+ 'Event' => ['description' => '座席事件状态描述。', 'type' => 'string', 'example' => '签出'],
+ 'EventTime' => ['description' => '事件触发时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1555299918000'],
+ 'LoginName' => ['description' => '座席登录名', 'type' => 'string', 'example' => 'ccctest'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef'],
+ 'RamId' => ['description' => '座席的RAM子账户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2059803544828509'],
'SkillGroupIds' => [
'type' => 'object',
'itemNode' => true,
@@ -17232,16 +8252,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillGroupName' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => 'Default',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'example' => '014a9696-931d-49db-ae96-111d2098a548',
- ],
+ 'SkillGroupName' => ['description' => '技能组名称', 'type' => 'string', 'example' => 'Default'],
+ 'SkillGroupId' => ['description' => '技能组ID', 'type' => 'string', 'example' => '014a9696-931d-49db-ae96-111d2098a548'],
],
],
],
@@ -17265,14 +8277,8 @@
],
'GenerateAgentStatisticReport' => [
'summary' => '调用GenerateAgentStatisticReport返回调用者自己的坐席报表数据,用在坐席工作台-我的工作页面。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17287,77 +8293,38 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef8',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef8', 'docRequired' => true],
],
[
'name' => 'AgentId',
'in' => 'query',
- 'schema' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '233482729826925174',
- ],
+ 'schema' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'required' => false, 'example' => '233482729826925174'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd,包括当前日期。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2018-05-20 11:11:11',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd,包括当前日期。', 'type' => 'string', 'required' => true, 'example' => '2018-05-20 11:11:11', 'docRequired' => true],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd,包括当前日期。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2018-05-20 11:11:11',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd,包括当前日期。', 'type' => 'string', 'required' => true, 'example' => '2018-05-20 11:11:11', 'docRequired' => true],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'docRequired' => true],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'docRequired' => true],
],
],
'responses' => [
@@ -17365,54 +8332,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'DataList' => [
'description' => '报表数据。',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -17423,387 +8354,84 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'LoginName' => [
- 'description' => '座席登录名。',
- 'type' => 'string',
- 'example' => 'cctest',
- ],
- 'AgentId' => [
- 'description' => '座席ID,等同于该座席的RAM子账户ID。',
- 'type' => 'string',
- 'example' => '233482729826925174',
- ],
- 'RecordDate' => [
- 'description' => '日期。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'AgentName' => [
- 'description' => 'Display/姓名。',
- 'type' => 'string',
- 'example' => '云呼测试',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef9',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SkillGroupNames' => [
- 'description' => '座席所属技能组名称列表。',
- 'type' => 'string',
- 'example' => 'Default,测试技能组',
- ],
- 'SkillGroupIds' => [
- 'description' => '座席所属技能组ID列表。',
- 'type' => 'string',
- 'example' => 'b0cc307c-9c74-43e6-4328-86e1bf98272b,f792751d-d4cb-4d4c-ccs4-b0oiw1f05247',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'LoginName' => ['description' => '座席登录名。', 'type' => 'string', 'example' => 'cctest'],
+ 'AgentId' => ['description' => '座席ID,等同于该座席的RAM子账户ID。', 'type' => 'string', 'example' => '233482729826925174'],
+ 'RecordDate' => ['description' => '日期。', 'type' => 'string', 'example' => '无'],
+ 'AgentName' => ['description' => 'Display/姓名。', 'type' => 'string', 'example' => '云呼测试'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef9'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SkillGroupNames' => ['description' => '座席所属技能组名称列表。', 'type' => 'string', 'example' => 'Default,测试技能组'],
+ 'SkillGroupIds' => ['description' => '座席所属技能组ID列表。', 'type' => 'string', 'example' => 'b0cc307c-9c74-43e6-4328-86e1bf98272b,f792751d-d4cb-4d4c-ccs4-b0oiw1f05247'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Inbound' => [
'description' => '呼入指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxHoldTime' => [
- 'description' => '最大保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalHoldTime' => [
- 'description' => '总保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageHoldTime' => [
- 'description' => '平均保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxHoldTime' => ['description' => '最大保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalHoldTime' => ['description' => '总保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageHoldTime' => ['description' => '平均保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxHoldTime' => [
- 'description' => '最大保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalHoldTime' => [
- 'description' => '总保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageHoldTime' => [
- 'description' => '平均保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxHoldTime' => ['description' => '最大保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalHoldTime' => ['description' => '总保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageHoldTime' => ['description' => '平均保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Overall' => [
'description' => '整体指标。',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxHoldTime' => [
- 'description' => '最大保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalHoldTime' => [
- 'description' => '总保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageHoldTime' => [
- 'description' => '平均保持时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxHoldTime' => ['description' => '最大保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalHoldTime' => ['description' => '总保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageHoldTime' => ['description' => '平均保持时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -17826,14 +8454,8 @@
],
'RefreshToken' => [
'summary' => '刷新坐席工作台的Token,用来保持坐席工作台有效的登录状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17848,21 +8470,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -17870,48 +8484,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'EF438794-B498-4559-A536-3CD0BA33A1BF',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'EF438794-B498-4559-A536-3CD0BA33A1BF'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Token' => [
'description' => '更新的令牌信息',
'type' => 'object',
'properties' => [
- 'SignData' => [
- 'description' => '待签名数据',
- 'type' => 'string',
- 'example' => '{"tenantId": "acc2631", "serviceId":"249353919874654122", "dn":"80326034", "source":"aliyun", "timestamp":1531452126, "expireTime":1531453926}',
- ],
- 'Signature' => [
- 'description' => '签名信息。'."\n"
- ."\n"
- .'签名格式:`{“tenantId”: “aliyun-xxx”, “serviceId”:”sam.zhang”, “dn”:”802001”, “source”:”aliyun”, “timestamp”:1423333, “expireTime”:1423933}`。',
- 'type' => 'string',
- 'example' => '{“tenantId”: “aliyun-xxx”, “serviceId”:”sam.zhang”, “dn”:”802001”, “source”:”aliyun”, “timestamp”:1423333, “expireTime”:1423933}',
- ],
+ 'SignData' => ['description' => '待签名数据', 'type' => 'string', 'example' => '{"tenantId": "acc2631", "serviceId":"249353919874654122", "dn":"80326034", "source":"aliyun", "timestamp":1531452126, "expireTime":1531453926}'],
+ 'Signature' => ['description' => '签名信息。'."\n"
+ ."\n"
+ .'签名格式:`{“tenantId”: “aliyun-xxx”, “serviceId”:”sam.zhang”, “dn”:”802001”, “source”:”aliyun”, “timestamp”:1423333, “expireTime”:1423933}`。', 'type' => 'string', 'example' => '{“tenantId”: “aliyun-xxx”, “serviceId”:”sam.zhang”, “dn”:”802001”, “source”:”aliyun”, “timestamp”:1423333, “expireTime”:1423933}'],
],
],
],
@@ -17928,14 +8513,8 @@
],
'RequestLoginInfo' => [
'summary' => '调用RequestLoginInfo获取坐席工作台的登陆信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17950,32 +8529,20 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户唯一标识。'."\n"
- ."\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '674a5953-21d5-4ee9-9b42-eb8813d6**** ',
- ],
+ 'schema' => ['description' => '用户唯一标识。'."\n"
+ ."\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'required' => false, 'example' => '674a5953-21d5-4ee9-9b42-eb8813d6**** '],
],
],
'responses' => [
@@ -17983,86 +8550,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '9D902FCA-FBBA-4888-9F85-4900EE85DA3D',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9D902FCA-FBBA-4888-9F85-4900EE85DA3D'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'LoginInfo' => [
'description' => '获取到的Region信息',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '座席展示名,来源于IMS目录服务',
- 'type' => 'string',
- 'example' => '小李',
- ],
- 'Signature' => [
- 'description' => '签名信息',
- 'type' => 'string',
- 'example' => '****',
- ],
- 'Extension' => [
- 'description' => '分机号码',
- 'type' => 'string',
- 'example' => '8032****',
- ],
- 'SignData' => [
- 'description' => '签名数据',
- 'type' => 'string',
- 'example' => '{"tenantId": "acc2631", "serviceId":"24935391987465****", "dn":"8032****", "source":"aliyun", "timestamp":1531454246, "expireTime":1531456046}',
- ],
- 'PhoneNumber' => [
- 'description' => '手机号码',
- 'type' => 'string',
- 'example' => '1766666****',
- ],
- 'Region' => [
- 'description' => '区域信息',
- 'type' => 'string',
- 'example' => 'aliyunccc',
- ],
- 'AgentServerUrl' => [
- 'description' => 'Agent Server集群VIP地址',
- 'type' => 'string',
- 'example' => 'as.ccc.aliyuncs.com:80',
- ],
- 'UserName' => [
- 'description' => '座席登录名(用户名),来源于IMS目录服务',
- 'type' => 'string',
- 'example' => '4935391987465****@hotCallCenter2',
- ],
- 'WebRtcUrl' => [
- 'description' => 'WebRTC2SIP服务器地址',
- 'type' => 'string',
- 'example' => 'sip.ccc.aliyuncs.com:9443',
- ],
- 'TenantId' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'example' => 'acc2631',
- ],
+ 'DisplayName' => ['description' => '座席展示名,来源于IMS目录服务', 'type' => 'string', 'example' => '小李'],
+ 'Signature' => ['description' => '签名信息', 'type' => 'string', 'example' => '****'],
+ 'Extension' => ['description' => '分机号码', 'type' => 'string', 'example' => '8032****'],
+ 'SignData' => ['description' => '签名数据', 'type' => 'string', 'example' => '{"tenantId": "acc2631", "serviceId":"24935391987465****", "dn":"8032****", "source":"aliyun", "timestamp":1531454246, "expireTime":1531456046}'],
+ 'PhoneNumber' => ['description' => '手机号码', 'type' => 'string', 'example' => '1766666****'],
+ 'Region' => ['description' => '区域信息', 'type' => 'string', 'example' => 'aliyunccc'],
+ 'AgentServerUrl' => ['description' => 'Agent Server集群VIP地址', 'type' => 'string', 'example' => 'as.ccc.aliyuncs.com:80'],
+ 'UserName' => ['description' => '座席登录名(用户名),来源于IMS目录服务', 'type' => 'string', 'example' => '4935391987465****@hotCallCenter2'],
+ 'WebRtcUrl' => ['description' => 'WebRTC2SIP服务器地址', 'type' => 'string', 'example' => 'sip.ccc.aliyuncs.com:9443'],
+ 'TenantId' => ['description' => '租户ID', 'type' => 'string', 'example' => 'acc2631'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -18073,26 +8579,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '角色所归属的呼叫中心实例',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'RoleName' => [
- 'description' => '角色名称',
- 'type' => 'string',
- 'example' => 'AGENT',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述',
- 'type' => 'string',
- 'example' => '坐席',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符',
- 'type' => 'string',
- 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10277c',
- ],
+ 'InstanceId' => ['description' => '角色所归属的呼叫中心实例', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'RoleName' => ['description' => '角色名称', 'type' => 'string', 'example' => 'AGENT'],
+ 'RoleDescription' => ['description' => '角色描述', 'type' => 'string', 'example' => '坐席'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符', 'type' => 'string', 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10277c'],
],
],
],
@@ -18114,14 +8604,8 @@
],
'GetSmsConfig' => [
'summary' => '获取短信配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18135,21 +8619,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREccc1MRAID',
- ],
+ 'abilityTreeNodes' => ['FEATUREccc1MRAID'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'Scenario',
@@ -18160,10 +8636,7 @@
."\n"
.'参数名称**Scenario.1**表示只获取1个场景下的短信配置信息,如果要获取多个场景的短信配置信息,则需要有Scenario.1以及Scenario.2,以此类推,请参考下方的请求示例。',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => true,
'example' => '2',
'maxItems' => 99,
@@ -18175,32 +8648,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'E993D7CD-D546-4F88-9B04-62DFB05ED7E1',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E993D7CD-D546-4F88-9B04-62DFB05ED7E1'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'SmsConfigs' => [
'type' => 'object',
'itemNode' => true,
@@ -18211,58 +8663,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Instance' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
- 'Description' => [
- 'description' => '短信模板内容',
- 'type' => 'string',
- 'example' => '验证码${code},您正在进行身份验证,不要告诉别人哦!',
- ],
- 'TemplateCode' => [
- 'description' => '短信模板CODE',
- 'type' => 'string',
- 'example' => 'SMS_96955021',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Scenario' => [
- 'description' => '场景',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'GmtModified' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => '身份验证',
- ],
- 'Extra' => [
- 'description' => '额外参数,与具体场景有关',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'SignName' => [
- 'description' => '短信签名名称',
- 'type' => 'string',
- 'example' => '阿里大于测试专用',
- ],
- 'Id' => [
- 'description' => '短信配置ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '36230',
- ],
+ 'Instance' => ['description' => '实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
+ 'Description' => ['description' => '短信模板内容', 'type' => 'string', 'example' => '验证码${code},您正在进行身份验证,不要告诉别人哦!'],
+ 'TemplateCode' => ['description' => '短信模板CODE', 'type' => 'string', 'example' => 'SMS_96955021'],
+ 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '无'],
+ 'Scenario' => ['description' => '场景', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'GmtModified' => ['description' => '更新时间', 'type' => 'string', 'example' => '无'],
+ 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '身份验证'],
+ 'Extra' => ['description' => '额外参数,与具体场景有关', 'type' => 'string', 'example' => '无'],
+ 'SignName' => ['description' => '短信签名名称', 'type' => 'string', 'example' => '阿里大于测试专用'],
+ 'Id' => ['description' => '短信配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '36230'],
],
],
],
@@ -18281,14 +8691,8 @@
],
'LaunchShortMessageAppraise' => [
'summary' => '调用LaunchShortMessageAppraise统计短信满意度发送率。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18303,70 +8707,38 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'Acid',
'in' => 'query',
- 'schema' => [
- 'description' => '通话话务ID。'."\n"
- ."\n"
- .'即contactId,软电话SDK的回调事件中会携带contactId。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2029401778',
- ],
+ 'schema' => ['description' => '通话话务ID。'."\n"
+ ."\n"
+ .'即contactId,软电话SDK的回调事件中会携带contactId。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2029401778'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'ContactType',
'in' => 'query',
- 'schema' => [
- 'description' => '呼入还是呼出。取值:'."\n"
- ."\n"
- .'- 0:呼入'."\n"
- .'- 1:呼出',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '呼入还是呼出。取值:'."\n"
+ ."\n"
+ .'- 0:呼入'."\n"
+ .'- 1:呼出', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PhoneNumbers',
'in' => 'query',
- 'schema' => [
- 'description' => '要发送短信的手机号码,多个号码以逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1763333****',
- ],
+ 'schema' => ['description' => '要发送短信的手机号码,多个号码以逗号分隔', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1763333****'],
],
],
'responses' => [
@@ -18374,32 +8746,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -18414,14 +8765,8 @@
],
'SendPredefinedShortMessage' => [
'summary' => '根据预告定义的短信模板发送短信,例如发送漏话短信。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18436,53 +8781,30 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'PhoneNumbers',
'in' => 'query',
- 'schema' => [
- 'description' => '手机号码',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1760066****',
- ],
+ 'schema' => ['description' => '手机号码', 'type' => 'string', 'required' => true, 'example' => '1760066****'],
],
[
'name' => 'ConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '短信配置项ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '23',
- ],
+ 'schema' => ['description' => '短信配置项ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '23'],
],
[
'name' => 'TemplateParam',
'in' => 'query',
- 'schema' => [
- 'description' => '短信模板变量替换JSON串。'."\n"
- ."\n"
- .'> 如果JSON中需要带换行符,请参照标准的JSON协议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"totalSum":"13422","minutes":"3423","outBound":"1333","inBound":"2333"}',
- ],
+ 'schema' => ['description' => '短信模板变量替换JSON串。'."\n"
+ ."\n"
+ .'> 如果JSON中需要带换行符,请参照标准的JSON协议。', 'type' => 'string', 'required' => false, 'example' => '{"totalSum":"13422","minutes":"3423","outBound":"1333","inBound":"2333"}'],
],
],
'responses' => [
@@ -18490,37 +8812,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '28349E33-294F-4413-A9F3-EE828F4C2FE7',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'BizId' => [
- 'description' => '短信服务返回的Bizid',
- 'type' => 'string',
- 'example' => '35681823605595****',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '28349E33-294F-4413-A9F3-EE828F4C2FE7'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'BizId' => ['description' => '短信服务返回的Bizid', 'type' => 'string', 'example' => '35681823605595****'],
],
],
],
@@ -18534,14 +8831,8 @@
],
'CreateSkillGroup' => [
'summary' => '调用CreateSkillGroup创建技能组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18556,62 +8847,33 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccPBOQGO',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccPBOQGO'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的技能组所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待创建的技能组所归属的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的技能组名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '售前技能组',
- ],
+ 'schema' => ['description' => '待创建的技能组名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '售前技能组'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '待创建的技能组的描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '售前坐席使用',
- ],
+ 'schema' => ['description' => '待创建的技能组的描述。', 'type' => 'string', 'required' => false, 'example' => '售前坐席使用'],
],
[
'name' => 'RoutingStrategy',
'in' => 'query',
- 'schema' => [
- 'description' => '匹配方式。取值:default(默认模式)、acquaintance(熟人模式)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '匹配方式。取值:default(默认模式)、acquaintance(熟人模式)。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
'name' => 'AllowPrivateOutboundNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '是否允许使用个人外呼号码。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否允许使用个人外呼号码。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'OutboundPhoneNumberId',
@@ -18622,9 +8884,7 @@
."\n\n"
.'参数名称为**OutboundPhoneNumberId.1**意为只绑定一个外呼号码,如果绑定多个号码,则需要传多个,例如 OutboundPhoneNumberId.1、OutboundPhoneNumberId.2、OutboundPhoneNumberId.3,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '2ead4b47-db37-43b3-8e32-ae71d81620af',
'maxItems' => 99,
@@ -18639,9 +8899,7 @@
."\n"
.'**UserId.1**意为只绑定一个坐席,如果绑定多个,则需要传多个,例如 UserId.1、UserId.2、UserId.3,以此类推。注意UserId指RAM子账号在呼叫中心实例的唯一标识UserId,并非RAM子账号的RamId。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '8b33d247-128c-4013-b79d-ec11a6a8f108',
'maxItems' => 99,
@@ -18656,10 +8914,7 @@
."\n"
.'**SkillLevel.1**代表为上面的**UserId.1**设置技能组等级,如果userId为多个,则SkillLevel也需要多个,并且数量需要保持一致。',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '5',
'maxItems' => 99,
@@ -18671,37 +8926,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '05B8C64B-008A-427B-8B27-84E372A291D6',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SkillGroupId' => [
- 'description' => '新创建的技能组ID',
- 'type' => 'string',
- 'example' => '8fc24faa-4e15-43af-9c94-5bb9ee568bb2',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '05B8C64B-008A-427B-8B27-84E372A291D6'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SkillGroupId' => ['description' => '新创建的技能组ID', 'type' => 'string', 'example' => '8fc24faa-4e15-43af-9c94-5bb9ee568bb2'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -18715,14 +8945,8 @@
],
'DeleteSkillGroup' => [
'summary' => '调用DeleteSkillGroup删除技能组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18737,32 +8961,18 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待删除技能组所属呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待删除技能组所属呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '待删除的技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '8fc24faa-4e15-43af-9c94-5bb9ee568bb2',
- ],
+ 'schema' => ['description' => '待删除的技能组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8fc24faa-4e15-43af-9c94-5bb9ee568bb2'],
],
],
'responses' => [
@@ -18770,32 +8980,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A450574A-337F-43E2-BC59-9C6594C994C6',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A450574A-337F-43E2-BC59-9C6594C994C6'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -18807,14 +8996,8 @@
],
'ModifyPrimaryTrunksOfSkillGroup' => [
'summary' => '调用接口:ModifyPrimaryTrunksOfSkillGroup 修改技能组线路中继配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18829,32 +9012,18 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '809wer75-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '809wer75-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'PrimaryProviderName',
@@ -18863,9 +9032,7 @@
'schema' => [
'description' => '主线路名称',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '联通全国',
'maxItems' => 99,
@@ -18877,45 +9044,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE '],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'UserPermission',
- 'errorMessage' => 'User \'%s\' has no permission to \'%s\'',
- ],
+ ['errorCode' => 'UserPermission', 'errorMessage' => 'User \'%s\' has no permission to \'%s\''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\\\t\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\t</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]',
@@ -18927,14 +9070,8 @@
],
'ModifySkillGroup' => [
'summary' => '修改技能组的名称、描述、外呼号码以及组内坐席。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18949,73 +9086,38 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待编辑技能组所属呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待编辑技能组所属呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '待修改的技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18ef28',
- ],
+ 'schema' => ['description' => '待修改的技能组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18ef28'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组的新名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '售后技术支持技能组',
- ],
+ 'schema' => ['description' => '技能组的新名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '售后技术支持技能组'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组的新的简单描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '售后技术支持人员使用',
- ],
+ 'schema' => ['description' => '技能组的新的简单描述', 'type' => 'string', 'required' => false, 'example' => '售后技术支持人员使用'],
],
[
'name' => 'RoutingStrategy',
'in' => 'query',
- 'schema' => [
- 'description' => '匹配方式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '匹配方式', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
'name' => 'AllowPrivateOutboundNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '是否允许使用个人外呼号码',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否允许使用个人外呼号码', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'OutboundPhoneNumberId',
@@ -19026,9 +9128,7 @@
."\n\n"
.'参数名称**OutboundPhoneNumberId.1**意为只绑定一个外呼号码,如果绑定多个号码,则需要传多个,例如 OutboundPhoneNumberId.1、OutboundPhoneNumberId.2、OutboundPhoneNumberId.3,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '2ead4b47-db37-43b3-8e32-ae71d81620af',
'maxItems' => 99,
@@ -19043,9 +9143,7 @@
."\n"
.'**UserId.1**意为只绑定一个坐席,如果绑定多个,则需要传多个,例如 UserId.1、UserId.2、UserId.3,以此类推。注意UserId指RAM子账号在呼叫中心实例的唯一标识UserId,并非RAM子账号的RamId。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '8b33d247-128c-4013-b79d-ec11a6a8f108',
'maxItems' => 99,
@@ -19060,10 +9158,7 @@
."\n"
.'**SkillLevel.1**代表为**UserId.1**设置技能组等级,如果userId为多个,则SkillLevel也需要多个,并且数量需要保持一致。',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '5',
'maxItems' => 99,
@@ -19075,32 +9170,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'E49E170E-4481-40A2-BC33-3D789263F50E',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E49E170E-4481-40A2-BC33-3D789263F50E'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -19114,14 +9188,8 @@
],
'ModifySkillGroupOfUser' => [
'summary' => '调用ModifySkillGroupOfUser修改坐席从属的技能组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19136,30 +9204,18 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccPBOQGO',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccPBOQGO'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '待修改的用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'b394cf26-8d5c-4494-8f40-68a2aba8ba64',
- ],
+ 'schema' => ['description' => '待修改的用户ID', 'type' => 'string', 'required' => true, 'example' => 'b394cf26-8d5c-4494-8f40-68a2aba8ba64'],
],
[
'name' => 'RoleId',
@@ -19168,9 +9224,7 @@
'schema' => [
'description' => '用户所具有的角色ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '4c2e158e-ddd9-464a-a3fc-338eca10277c',
'maxItems' => 99,
@@ -19183,9 +9237,7 @@
'schema' => [
'description' => '待创建用户所归属的技能组ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18ef28',
'maxItems' => 99,
@@ -19198,10 +9250,7 @@
'schema' => [
'description' => '修改后的技能级别',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '4',
'maxItems' => 99,
@@ -19213,32 +9262,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '4A2E1761-8C19-4788-BA76-6C8902A6D5E9',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4A2E1761-8C19-4788-BA76-6C8902A6D5E9'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -19249,14 +9277,8 @@
],
'ModifySkillGroupOutboundNumbers' => [
'summary' => '调用ModifySkillGroupOutboundNumbers修改技能组的外呼电话列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19271,49 +9293,28 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待编辑技能组所属呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待编辑技能组所属呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '待修改的技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'c6010943-c0f6-44e5-8f94-60a85a647178',
- ],
+ 'schema' => ['description' => '待修改的技能组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c6010943-c0f6-44e5-8f94-60a85a647178'],
],
[
'name' => 'OperationType',
'in' => 'query',
- 'schema' => [
- 'description' => '支持新增、删除、重置。'."\n"
- ."\n"
- .'- 1 = 新增,把传入的所有号码添加到当前的外呼列表中,'."\n"
- .'- 2 = 删除,把传入的所有号码从当前的外呼列表中删除'."\n"
- .'- 3 = 重置,把当前外呼号码列表中的号码情况,把传入的所有号码增加到外呼号码列表中。'."\n"
- .'- 其他值无效,返回错误。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '支持新增、删除、重置。'."\n"
+ ."\n"
+ .'- 1 = 新增,把传入的所有号码添加到当前的外呼列表中,'."\n"
+ .'- 2 = 删除,把传入的所有号码从当前的外呼列表中删除'."\n"
+ .'- 3 = 重置,把当前外呼号码列表中的号码情况,把传入的所有号码增加到外呼号码列表中。'."\n"
+ .'- 其他值无效,返回错误。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'OutboundPhoneNumberId',
@@ -19324,9 +9325,7 @@
."\n"
.'参数名称**OutboundPhoneNumberId.1**意为只绑定一个外呼号码,如果绑定多个号码,则需要传多个,例如 OutboundPhoneNumberId.1、OutboundPhoneNumberId.2、OutboundPhoneNumberId.3,以此类推。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '2ead4b47-db37-43b3-8e32-ae71d81620af',
'maxItems' => 99,
@@ -19338,32 +9337,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '05B8C64B-008A-427B-8B27-84E372A291D6',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '05B8C64B-008A-427B-8B27-84E372A291D6'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -19374,14 +9352,8 @@
],
'ListTrunksOfSkillGroup' => [
'summary' => '调用接口:ListTrunksOfSkillGroup 查询用户技能组下中继线路配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19396,32 +9368,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sdiuwd875-6260-4a53-ab6e-b13e3fb31f',
- ],
+ 'schema' => ['description' => '技能组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sdiuwd875-6260-4a53-ab6e-b13e3fb31f'],
],
],
'responses' => [
@@ -19429,53 +9387,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID'."\n"
+ ."\n", 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'TrunkConfigs' => [
'description' => '中继线路配置信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ProviderName' => [
- 'description' => '线路供应商名称',
- 'type' => 'string',
- 'example' => '联通全国',
- ],
- 'Primary' => [
- 'description' => '线路供应商使用状态',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'ProviderName' => ['description' => '线路供应商名称', 'type' => 'string', 'example' => '联通全国'],
+ 'Primary' => ['description' => '线路供应商使用状态', 'type' => 'boolean', 'example' => 'false'],
],
],
],
@@ -19485,10 +9414,7 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'UserPermission',
- 'errorMessage' => 'User \'%s\' has no permission to \'%s\'',
- ],
+ ['errorCode' => 'UserPermission', 'errorMessage' => 'User \'%s\' has no permission to \'%s\''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\",\\n \\"Success\\": true,\\n \\"TrunkConfigs\\": [\\n {\\n \\"ProviderName\\": \\"联通全国\\",\\n \\"Primary\\": false\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<TrunkConfigs>\\n <ProviderName>联通全国</ProviderName>\\n <Primary>false</Primary>\\n</TrunkConfigs>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]',
@@ -19500,14 +9426,8 @@
],
'ListUsersOfSkillGroup' => [
'summary' => '调用ListUsersOfSkillGroup获取一个技能组的用户列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19521,56 +9441,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户列表的技能组所属呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
+ 'schema' => ['description' => '待获取用户列表的技能组所属呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取用户列表的技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx',
- ],
+ 'schema' => ['description' => '待获取用户列表的技能组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '5'],
],
],
'responses' => [
@@ -19578,54 +9470,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'C0628E65-1D39-4C26-9AF8-E64775D4BE0F',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C0628E65-1D39-4C26-9AF8-E64775D4BE0F'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Users' => [
'description' => '获取到的一个技能组的所有用户',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalCount' => [
- 'description' => '对象总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalCount' => ['description' => '对象总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -19636,23 +9492,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '用户所归属的呼叫中心实ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RamId' => [
- 'description' => '用户所对应的RAM账户ID',
- 'type' => 'string',
- 'example' => '20643462717516xxxx',
- ],
- 'UserId' => [
- 'description' => '用户ID,系统自动生成的唯一标示符。'."\n"
- ."\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标示符并非RamId,即UUID。',
- 'type' => 'string',
- 'example' => '8b33d247-128c-4013-b79d-ec11a6a8xxxx',
- ],
+ 'InstanceId' => ['description' => '用户所归属的呼叫中心实ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RamId' => ['description' => '用户所对应的RAM账户ID', 'type' => 'string', 'example' => '20643462717516xxxx'],
+ 'UserId' => ['description' => '用户ID,系统自动生成的唯一标示符。'."\n"
+ ."\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标示符并非RamId,即UUID。', 'type' => 'string', 'example' => '8b33d247-128c-4013-b79d-ec11a6a8xxxx'],
'Roles' => [
'type' => 'object',
'itemNode' => true,
@@ -19663,32 +9507,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'UserCount' => [
- 'description' => '拥有该角色的用户的数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RoleName' => [
- 'description' => '角色名称',
- 'type' => 'string',
- 'example' => 'AGENT',
- ],
- 'InstanceId' => [
- 'description' => '角色所归属的呼叫中心实例',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RoleDescription' => [
- 'description' => '角色描述',
- 'type' => 'string',
- 'example' => '坐席',
- ],
- 'RoleId' => [
- 'description' => '角色ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10xxxx',
- ],
+ 'UserCount' => ['description' => '拥有该角色的用户的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'RoleName' => ['description' => '角色名称', 'type' => 'string', 'example' => 'AGENT'],
+ 'InstanceId' => ['description' => '角色所归属的呼叫中心实例', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RoleDescription' => ['description' => '角色描述', 'type' => 'string', 'example' => '坐席'],
+ 'RoleId' => ['description' => '角色ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '4c2e158e-ddd9-464a-a3fc-338eca10xxxx'],
'Privileges' => [
'type' => 'object',
'itemNode' => true,
@@ -19699,21 +9522,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'PrivilegeName' => [
- 'description' => '权限名称,需要唯一。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'PrivilegeId' => [
- 'description' => '权限ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'PrivilegeDescription' => [
- 'description' => '权限描述',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'PrivilegeName' => ['description' => '权限名称,需要唯一。', 'type' => 'string', 'example' => 'xxx'],
+ 'PrivilegeId' => ['description' => '权限ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'xxx'],
+ 'PrivilegeDescription' => ['description' => '权限描述', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -19734,41 +9545,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '121131',
- ],
- 'Level' => [
- 'description' => '技能级别',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '121131'],
+ 'Level' => ['description' => '技能级别', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'Skill' => [
'description' => '技能',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述',
- 'type' => 'string',
- 'example' => '售后技术支持人员使用',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => '售后技术支持技能组',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述', 'type' => 'string', 'example' => '售后技术支持人员使用'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => '售后技术支持技能组'],
],
],
],
@@ -19780,31 +9566,11 @@
'description' => '用户详细信息',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '用户的全名',
- 'type' => 'string',
- 'example' => '馨言',
- ],
- 'Email' => [
- 'description' => '用户的电子邮件地址',
- 'type' => 'string',
- 'example' => '1783922****@163.com',
- ],
- 'LoginName' => [
- 'description' => '用户登录名',
- 'type' => 'string',
- 'example' => 'xinyan',
- ],
- 'Department' => [
- 'description' => '所属部门',
- 'type' => 'string',
- 'example' => 'IT',
- ],
- 'Phone' => [
- 'description' => '用户的电话号码',
- 'type' => 'string',
- 'example' => '12345****',
- ],
+ 'DisplayName' => ['description' => '用户的全名', 'type' => 'string', 'example' => '馨言'],
+ 'Email' => ['description' => '用户的电子邮件地址', 'type' => 'string', 'example' => '1783922****@163.com'],
+ 'LoginName' => ['description' => '用户登录名', 'type' => 'string', 'example' => 'xinyan'],
+ 'Department' => ['description' => '所属部门', 'type' => 'string', 'example' => 'IT'],
+ 'Phone' => ['description' => '用户的电话号码', 'type' => 'string', 'example' => '12345****'],
],
],
],
@@ -19827,14 +9593,8 @@
],
'ListSkillGroupStates' => [
'summary' => '技能组瞬时状态列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19849,53 +9609,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', 'docRequired' => true],
],
[
'name' => 'SkillGroupIds',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID列表,使用’,’隔开,最多50个技能组;不传查询全部。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"SkillGroup":[{"SkillGroupName":"Default","SkillGroupId":"014a9696-931d-49db-ae96-111d2098a548"}]}',
- ],
+ 'schema' => ['description' => '技能组ID列表,使用’,’隔开,最多50个技能组;不传查询全部。', 'type' => 'string', 'required' => false, 'example' => '{"SkillGroup":[{"SkillGroupName":"Default","SkillGroupId":"014a9696-931d-49db-ae96-111d2098a548"}]}'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -19903,54 +9638,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '66BD5D25-3785-46D1-BAE7-F81920E501F2',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '66BD5D25-3785-46D1-BAE7-F81920E501F2'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -19961,63 +9660,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'WorkingAgents' => [
- 'description' => '话后处理坐席数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'LoggedInAgents' => [
- 'description' => '在线坐席数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'BreakingAgents' => [
- 'description' => '小休坐席数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'LongestCall' => [
- 'description' => '最大等待时长。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'WaitingCalls' => [
- 'description' => '当前排队电话个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TalkingAgents' => [
- 'description' => '正在通话坐席数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组展示名。',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID。',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
- 'ReadyAgents' => [
- 'description' => '空闲坐席数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'WorkingAgents' => ['description' => '话后处理坐席数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'LoggedInAgents' => ['description' => '在线坐席数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'BreakingAgents' => ['description' => '小休坐席数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'LongestCall' => ['description' => '最大等待时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'WaitingCalls' => ['description' => '当前排队电话个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TalkingAgents' => ['description' => '正在通话坐席数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SkillGroupName' => ['description' => '技能组展示名。', 'type' => 'string', 'example' => '其他服务'],
+ 'SkillGroupId' => ['description' => '技能组ID。', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
+ 'ReadyAgents' => ['description' => '空闲坐席数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
],
],
@@ -20044,14 +9696,8 @@
],
'ListSkillGroupSummaryReports' => [
'summary' => '调用接口:ListSkillGroupSummaryReports获取技能组汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20066,75 +9712,38 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'SkillGroupIds',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID列表,使用“,”隔开,最多50个;不传查询全部.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'schema' => ['description' => '技能组ID列表,使用“,”隔开,最多50个;不传查询全部.', 'type' => 'string', 'required' => false, 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,;需要注意目前仅支持按天维度的查询,参数设置请参考案例,同时不得早于31天前的时间点。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-01-10 00:00:00',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,;需要注意目前仅支持按天维度的查询,参数设置请参考案例,同时不得早于31天前的时间点。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-01-10 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd HH:mm:ss;需要注意目前仅支持按天维度的查询,参数设置请参考案例。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-01-10 00:00:00',
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd HH:mm:ss;需要注意目前仅支持按天维度的查询,参数设置请参考案例。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-01-10 00:00:00'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -20142,54 +9751,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '11C37A88-C5D4-4538-A768-AFFFC2397896',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '11C37A88-C5D4-4538-A768-AFFFC2397896'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PagedSkillGroupSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -20200,372 +9773,81 @@
'items' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'SkillGroupId' => ['description' => '技能组ID', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
+ 'SkillGroupName' => ['description' => '技能组名称', 'type' => 'string', 'example' => '其他服务'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1158',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.0025906735099852085',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'MaxWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '480',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '225',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1126',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1158'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0.0025906735099852085'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'MaxWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '480'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '225'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1126'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'QueueMaxWaitTimeDuration' => [
- 'description' => '队列最大等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueWaitTimeDuration' => [
- 'description' => '坐席接起时队列等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'InComingQueueOfQueueCount' => [
- 'description' => '技能组呼入次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '分配到坐席并振铃的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AbandonedInQueueOfQueueCount' => [
- 'description' => '技能组排队放弃次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OverFlowInQueueOfQueueCount' => [
- 'description' => '技能组排队超时次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => [
- 'description' => '坐席接起时队列最大等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '服务水平即20s应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueCount' => [
- 'description' => '技能组人工接起次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'GiveUpByAgentOfQueueCount' => [
- 'description' => '技能组振铃放弃次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'QueueWaitTimeDuration' => [
- 'description' => '队列等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'QueueMaxWaitTimeDuration' => ['description' => '队列最大等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AnsweredByAgentOfQueueWaitTimeDuration' => ['description' => '坐席接起时队列等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'InComingQueueOfQueueCount' => ['description' => '技能组呼入次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '分配到坐席并振铃的次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AbandonedInQueueOfQueueCount' => ['description' => '技能组排队放弃次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OverFlowInQueueOfQueueCount' => ['description' => '技能组排队超时次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => ['description' => '坐席接起时队列最大等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '服务水平即20s应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnsweredByAgentOfQueueCount' => ['description' => '技能组人工接起次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'GiveUpByAgentOfQueueCount' => ['description' => '技能组振铃放弃次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'QueueWaitTimeDuration' => ['description' => '队列等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '14',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.5',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'MaxWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '28',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '14',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '14'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'MaxWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '28'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '14'],
],
],
],
@@ -20588,14 +9870,8 @@
],
'ListSkillGroupSummaryReportsByInterval' => [
'summary' => '技能组的分段汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20610,88 +9886,46 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccOQKOLI',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccOQKOLI'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'SkillGroupIds',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID列表,使用“,”隔开,最多50个;不传查询全部。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0',
- ],
+ 'schema' => ['description' => '技能组ID列表,使用“,”隔开,最多50个;不传查询全部。', 'type' => 'string', 'required' => false, 'example' => '3f3ceb0d-d6b6-4c97-af20-f3daf04f90e0'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '间隔类型。'."\n"
- ."\n"
- .'- Daily:天'."\n"
- .'- Minute5:5分钟',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Daily',
- ],
+ 'schema' => ['description' => '间隔类型。'."\n"
+ ."\n"
+ .'- Daily:天'."\n"
+ .'- Minute5:5分钟', 'type' => 'string', 'required' => false, 'example' => 'Daily'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-10-20 00:00:00',
- ],
+ 'schema' => ['description' => '起始日期,格式yyyy-MM-dd HH:mm:ss,不得早于6个月前的时间点', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-10-20 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2018-10-20 00:00:00',
- ],
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-10-20 00:00:00'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -20699,54 +9933,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PagedSkillGroupSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -20757,11 +9955,7 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillGroupId' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'SkillGroupId' => ['description' => '技能组ID', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
'IntervalList' => [
'type' => 'object',
'itemNode' => true,
@@ -20772,378 +9966,82 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Timestamp' => [
- 'description' => '日期,格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'example' => '2018-09-12 15:45:00',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'Timestamp' => ['description' => '日期,格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2018-09-12 15:45:00'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'SkillGroupName' => ['description' => '技能组名称', 'type' => 'string', 'example' => '其他服务'],
+ 'SkillGroupId' => ['description' => '技能组ID', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'QueueMaxWaitTimeDuration' => [
- 'description' => '队列最大等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueWaitTimeDuration' => [
- 'description' => '坐席接起时队列等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'InComingQueueOfQueueCount' => [
- 'description' => '技能组呼入次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '电话呼入数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AbandonedInQueueOfQueueCount' => [
- 'description' => '技能组排队放弃次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OverFlowInQueueOfQueueCount' => [
- 'description' => '技能组排队超时次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => [
- 'description' => '坐席接起时队列最大等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '20s应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueCount' => [
- 'description' => '技能组人工接起次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'GiveUpByAgentOfQueueCount' => [
- 'description' => '技能组振铃放弃次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'QueueWaitTimeDuration' => [
- 'description' => '队列等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'QueueMaxWaitTimeDuration' => ['description' => '队列最大等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AnsweredByAgentOfQueueWaitTimeDuration' => ['description' => '坐席接起时队列等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'InComingQueueOfQueueCount' => ['description' => '技能组呼入次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '电话呼入数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AbandonedInQueueOfQueueCount' => ['description' => '技能组排队放弃次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OverFlowInQueueOfQueueCount' => ['description' => '技能组排队超时次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => ['description' => '坐席接起时队列最大等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '20s应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnsweredByAgentOfQueueCount' => ['description' => '技能组人工接起次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'GiveUpByAgentOfQueueCount' => ['description' => '技能组振铃放弃次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'QueueWaitTimeDuration' => ['description' => '队列等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.5',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'MaxWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'MaxWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
],
],
],
@@ -21171,14 +10069,8 @@
],
'ListSkillGroupSummaryReportsSinceMidnight' => [
'summary' => '技能组当天汇总报表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21193,53 +10085,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
],
[
'name' => 'SkillGroups',
'in' => 'query',
- 'schema' => [
- 'description' => '技能组ID列表,使用“,”隔开,最多50个坐席;不传查询全部。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'schema' => ['description' => '技能组ID列表,使用“,”隔开,最多50个坐席;不传查询全部。', 'type' => 'string', 'required' => false, 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值为10,最大是100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小,默认值为10,最大是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -21247,54 +10114,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '19D09CCC-F298-4124-849A-AFA217819011',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '19D09CCC-F298-4124-849A-AFA217819011'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'PagedSkillGroupSummaryReport' => [
'description' => '报表',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -21305,391 +10136,86 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Timestamp' => [
- 'description' => '日期'."\n"
- ."\n"
- .'格式yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'example' => '2018-09-13 00:00:00',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => '其他服务',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814',
- ],
+ 'Timestamp' => ['description' => '日期'."\n"
+ ."\n"
+ .'格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2018-09-13 00:00:00'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450'],
+ 'SkillGroupName' => ['description' => '技能组名称', 'type' => 'string', 'example' => '其他服务'],
+ 'SkillGroupId' => ['description' => '技能组ID', 'type' => 'string', 'example' => '8fb654c6-17c6-4501-ba57-f5ddeb919814'],
'Overall' => [
'description' => '整体指标',
'type' => 'object',
'properties' => [
- 'TotalLoggedInTime' => [
- 'description' => '总登录时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '516',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OccupancyRate' => [
- 'description' => '座席利用率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxReadyTime' => [
- 'description' => '最大就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '398',
- ],
- 'AverageReadyTime' => [
- 'description' => '平均就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '51',
- ],
- 'TotalBreakTime' => [
- 'description' => '总小休时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalReadyTime' => [
- 'description' => '总就绪时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '515',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCalls' => [
- 'description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalLoggedInTime' => ['description' => '总登录时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '516'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OccupancyRate' => ['description' => '座席利用率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxReadyTime' => ['description' => '最大就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '398'],
+ 'AverageReadyTime' => ['description' => '平均就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '51'],
+ 'TotalBreakTime' => ['description' => '总小休时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalReadyTime' => ['description' => '总就绪时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '515'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCalls' => ['description' => '总电话接待量。包括应答的呼入电话和接通的呼出电话。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Inbound' => [
'description' => '呼入指标',
'type' => 'object',
'properties' => [
- 'AverageRingTime' => [
- 'description' => '平均振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsHandled' => [
- 'description' => '电话应答数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'QueueMaxWaitTimeDuration' => [
- 'description' => '队列最大等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueWaitTimeDuration' => [
- 'description' => '坐席接起时队列等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalRingTime' => [
- 'description' => '总振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'InComingQueueOfQueueCount' => [
- 'description' => '技能组呼入次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'MaxRingTime' => [
- 'description' => '最大振铃时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsOffered' => [
- 'description' => '分配到坐席并振铃的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AbandonedInQueueOfQueueCount' => [
- 'description' => '技能组排队放弃次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OverFlowInQueueOfQueueCount' => [
- 'description' => '技能组排队超时次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => [
- 'description' => '坐席接起时队列最大等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceLevel20' => [
- 'description' => '20s应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnsweredByAgentOfQueueCount' => [
- 'description' => '技能组人工接起次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HandleRate' => [
- 'description' => '应答率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'GiveUpByAgentOfQueueCount' => [
- 'description' => '技能组振铃放弃次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'QueueWaitTimeDuration' => [
- 'description' => '队列等待时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsServiceLevel20' => [
- 'description' => '等待20s内坐席接起次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsServiceLevel30' => [
- 'description' => '等待30s内坐席接起次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'AverageRingTime' => ['description' => '平均振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsHandled' => ['description' => '电话应答数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'QueueMaxWaitTimeDuration' => ['description' => '队列最大等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AnsweredByAgentOfQueueWaitTimeDuration' => ['description' => '坐席接起时队列等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalRingTime' => ['description' => '总振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'InComingQueueOfQueueCount' => ['description' => '技能组呼入次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'string', 'example' => '0'],
+ 'MaxRingTime' => ['description' => '最大振铃时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsOffered' => ['description' => '分配到坐席并振铃的次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AbandonedInQueueOfQueueCount' => ['description' => '技能组排队放弃次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OverFlowInQueueOfQueueCount' => ['description' => '技能组排队超时次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => ['description' => '坐席接起时队列最大等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceLevel20' => ['description' => '20s应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnsweredByAgentOfQueueCount' => ['description' => '技能组人工接起次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HandleRate' => ['description' => '应答率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'GiveUpByAgentOfQueueCount' => ['description' => '技能组振铃放弃次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'QueueWaitTimeDuration' => ['description' => '队列等待时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsServiceLevel20' => ['description' => '等待20s内坐席接起次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsServiceLevel30' => ['description' => '等待30s内坐席接起次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'Outbound' => [
'description' => '呼出指标',
'type' => 'object',
'properties' => [
- 'TotalTalkTime' => [
- 'description' => '总通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxDialingTime' => [
- 'description' => '最大拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsDialed' => [
- 'description' => '电话拨号量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CallsAnswered' => [
- 'description' => '电话接通量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AnswerRate' => [
- 'description' => '接通率,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TotalWorkTime' => [
- 'description' => '总话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxWorkTime' => [
- 'description' => '最大话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalDialingTime' => [
- 'description' => '总拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageTalkTime' => [
- 'description' => '平均通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageWorkTime' => [
- 'description' => '平均话后处理时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionIndex' => [
- 'description' => '满意度指数,单位%。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'SatisfactionSurveysOffered' => [
- 'description' => '满意度调查发送次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SatisfactionSurveysResponded' => [
- 'description' => '满意度调查响应次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxTalkTime' => [
- 'description' => '最大通话时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'AverageDialingTime' => [
- 'description' => '平均拨号时长,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TotalTalkTime' => ['description' => '总通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxDialingTime' => ['description' => '最大拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsDialed' => ['description' => '电话拨号量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CallsAnswered' => ['description' => '电话接通量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AnswerRate' => ['description' => '接通率,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TotalWorkTime' => ['description' => '总话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxWorkTime' => ['description' => '最大话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalDialingTime' => ['description' => '总拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageTalkTime' => ['description' => '平均通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageWorkTime' => ['description' => '平均话后处理时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionIndex' => ['description' => '满意度指数,单位%。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'SatisfactionSurveysOffered' => ['description' => '满意度调查发送次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SatisfactionSurveysResponded' => ['description' => '满意度调查响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'MaxTalkTime' => ['description' => '最大通话时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'AverageDialingTime' => ['description' => '平均拨号时长,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -21711,14 +10237,8 @@
],
'ListTransferableSkillGroups' => [
'summary' => '调用接口:ListTransferableSkillGroups 获取呼叫中心实例的可转接技能组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21733,21 +10253,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
],
'responses' => [
@@ -21755,88 +10267,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID'."\n"
+ ."\n", 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'SkillGroups' => [
'description' => '待转接技能组信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'AllowPrivateOutboundNumber' => [
- 'description' => '是否允许技能组内用户使用个人外呼号码',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RoutingStrategy' => [
- 'description' => '路由策略',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名称',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组ID',
- 'type' => 'string',
- 'example' => '223048-9cf-4a53-ab6e-b13e3fb31f7d ',
- ],
- 'UserCount' => [
- 'description' => '归属于该技能组的座席数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'AccQueueName' => [
- 'description' => 'acc队列名字',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d ',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组描述信息',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AccSkillGroupName' => [
- 'description' => 'acc技能组名字',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'AllowPrivateOutboundNumber' => ['description' => '是否允许技能组内用户使用个人外呼号码', 'type' => 'boolean', 'example' => 'false'],
+ 'RoutingStrategy' => ['description' => '路由策略', 'type' => 'string', 'example' => '无'],
+ 'SkillGroupName' => ['description' => '技能组名称', 'type' => 'string', 'example' => 'test'],
+ 'SkillGroupId' => ['description' => '技能组ID', 'type' => 'string', 'example' => '223048-9cf-4a53-ab6e-b13e3fb31f7d '],
+ 'UserCount' => ['description' => '归属于该技能组的座席数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'AccQueueName' => ['description' => 'acc队列名字', 'type' => 'string', 'example' => '无'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d '],
+ 'SkillGroupDescription' => ['description' => '技能组描述信息', 'type' => 'string', 'example' => 'test'],
+ 'AccSkillGroupName' => ['description' => 'acc技能组名字', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -21846,10 +10300,7 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ParameterNull',
- 'errorMessage' => 'Parameter \'%s\' can not be null or empty.',
- ],
+ ['errorCode' => 'ParameterNull', 'errorMessage' => 'Parameter \'%s\' can not be null or empty.'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\",\\n \\"Success\\": true,\\n \\"SkillGroups\\": [\\n {\\n \\"AllowPrivateOutboundNumber\\": false,\\n \\"RoutingStrategy\\": \\"无\\",\\n \\"SkillGroupName\\": \\"test\\",\\n \\"SkillGroupId\\": \\"223048-9cf-4a53-ab6e-b13e3fb31f7d\\\\t\\",\\n \\"UserCount\\": 10,\\n \\"AccQueueName\\": \\"无\\",\\n \\"InstanceId\\": \\"9cfad875-6260-4a53-ab6e-b13e3fb31f7d\\\\t\\",\\n \\"SkillGroupDescription\\": \\"test\\",\\n \\"AccSkillGroupName\\": \\"无\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<SkillGroups>\\n <AllowPrivateOutboundNumber>false</AllowPrivateOutboundNumber>\\n <SkillGroupName>test</SkillGroupName>\\n <InstanceId>9cfad875-6260-4a53-ab6e-b13e3fb31f7d</InstanceId>\\n <UserCount>10</UserCount>\\n <SkillGroupId>223048-9cf-4a53-ab6e-b13e3fb31f7d</SkillGroupId>\\n <SkillGroupDescription>test</SkillGroupDescription>\\n</SkillGroups>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]',
@@ -21860,14 +10311,8 @@
],
'ListSkillGroups' => [
'summary' => '调用ListSkillGroups获取呼叫中心实例的所有技能组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21881,21 +10326,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccPBOQGO',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccPBOQGO'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取技能组的呼叫中心实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
+ 'schema' => ['description' => '待获取技能组的呼叫中心实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
],
[
'name' => 'SkillGroupId',
@@ -21904,9 +10341,7 @@
'schema' => [
'description' => '技能组ID。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '0ee27b3b-6765-499a-a741-61b16a901e51',
'maxItems' => 500,
@@ -21919,9 +10354,7 @@
'schema' => [
'description' => '技能组名称。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '售前技能组',
'maxItems' => 500,
@@ -21933,32 +10366,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '19D09CCC-F298-4124-849A-AFA217819011',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '19D09CCC-F298-4124-849A-AFA217819011'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'SkillGroups' => [
'type' => 'object',
'itemNode' => true,
@@ -21969,47 +10381,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RoutingStrategy' => [
- 'description' => '匹配方式',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0ee27b3b-6765-499a-a741-61b16a901e51',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => 'Default',
- ],
- 'UserCount' => [
- 'description' => '归属于该技能组的座席数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '14',
- ],
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'AccQueueName' => [
- 'description' => 'acc队列名字',
- 'type' => 'string',
- 'example' => 'AliQ_acc2631_0ee27b3b-6765-499a-a741-61b16a901e51',
- ],
- 'AccSkillGroupName' => [
- 'description' => 'acc技能组名字',
- 'type' => 'string',
- 'example' => 'AliS_acc2631_0ee27b3b-6765-499a-a741-61b16a901e51',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述',
- 'type' => 'string',
- 'example' => '默认技能组',
- ],
+ 'RoutingStrategy' => ['description' => '匹配方式', 'type' => 'string', 'example' => 'default'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0ee27b3b-6765-499a-a741-61b16a901e51'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => 'Default'],
+ 'UserCount' => ['description' => '归属于该技能组的座席数量', 'type' => 'integer', 'format' => 'int32', 'example' => '14'],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'AccQueueName' => ['description' => 'acc队列名字', 'type' => 'string', 'example' => 'AliQ_acc2631_0ee27b3b-6765-499a-a741-61b16a901e51'],
+ 'AccSkillGroupName' => ['description' => 'acc技能组名字', 'type' => 'string', 'example' => 'AliS_acc2631_0ee27b3b-6765-499a-a741-61b16a901e51'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述', 'type' => 'string', 'example' => '默认技能组'],
'OutboundPhoneNumbers' => [
'type' => 'object',
'itemNode' => true,
@@ -22020,53 +10399,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Number' => [
- 'description' => '电话号码',
- 'type' => 'string',
- 'example' => '02566040852',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入(Inbound),呼出(Outbound),以及同时用于呼入和呼出(Bidirection)。',
- 'type' => 'string',
- 'example' => 'Inbound',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => 'f49392e1-9714-42b1-a15a-9a2f0cd88ef1',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码', 'type' => 'boolean', 'example' => 'false'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Number' => ['description' => '电话号码', 'type' => 'string', 'example' => '02566040852'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'Usage' => ['description' => '电话号码的用途,呼入(Inbound),呼出(Outbound),以及同时用于呼入和呼出(Bidirection)。', 'type' => 'string', 'example' => 'Inbound'],
+ 'AllowOutbound' => ['description' => '是否允许外呼。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => 'f49392e1-9714-42b1-a15a-9a2f0cd88ef1'],
],
],
],
@@ -22089,14 +10430,8 @@
],
'ListSkillGroupsOfUser' => [
'summary' => '调用ListSkillGroupsOfUser获取坐席所归属的技能组列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22110,34 +10445,20 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccPBOQGO',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccPBOQGO'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取技能组列表的用户ID。'."\n"
- ."\n"
- .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'c8b21767-bd0e-4a6e-937e-c46cd07fxxxx',
- ],
+ 'schema' => ['description' => '待获取技能组列表的用户ID。'."\n"
+ ."\n"
+ .'注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c8b21767-bd0e-4a6e-937e-c46cd07fxxxx'],
],
],
'responses' => [
@@ -22145,32 +10466,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'E35B41EA-C06C-44D6-8BE9-9FE8960641FD',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E35B41EA-C06C-44D6-8BE9-9FE8960641FD'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'SkillLevels' => [
'type' => 'object',
'itemNode' => true,
@@ -22181,46 +10481,17 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SkillLevelId' => [
- 'description' => '技能级别唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '116786',
- ],
- 'Level' => [
- 'description' => '技能级别',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'SkillLevelId' => ['description' => '技能级别唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '116786'],
+ 'Level' => ['description' => '技能级别', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'Skill' => [
'description' => '技能',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '技能组所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx',
- ],
- 'RoutingStrategy' => [
- 'description' => '匹配方式',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'SkillGroupDescription' => [
- 'description' => '技能组简单描述',
- 'type' => 'string',
- 'example' => '售后技术支持人员使用',
- ],
- 'SkillGroupName' => [
- 'description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。',
- 'type' => 'string',
- 'example' => '售后技术支持技能组',
- ],
- 'SkillGroupId' => [
- 'description' => '技能组唯一ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx',
- ],
+ 'InstanceId' => ['description' => '技能组所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx'],
+ 'RoutingStrategy' => ['description' => '匹配方式', 'type' => 'string', 'example' => 'default'],
+ 'SkillGroupDescription' => ['description' => '技能组简单描述', 'type' => 'string', 'example' => '售后技术支持人员使用'],
+ 'SkillGroupName' => ['description' => '技能组名字,需要在所归属的呼叫中心实例中唯一。', 'type' => 'string', 'example' => '售后技术支持技能组'],
+ 'SkillGroupId' => ['description' => '技能组唯一ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0ead7334-83e7-42a0-a5bd-c2ef9f18xxxx'],
'OutboundPhoneNumbers' => [
'type' => 'object',
'itemNode' => true,
@@ -22231,63 +10502,17 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TestOnly' => [
- 'description' => '是否是测试号码',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Number' => [
- 'description' => '电话号码',
- 'type' => 'string',
- 'example' => '0108648xxxx',
- ],
- 'City' => [
- 'description' => '号码归属地市。',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入,呼出,已经同时用于呼入和呼出。 Inbound, Outbound, Bidirection。上述值由枚举类型PhoneNumberType定义。该值的结果取决于1)大于的设置,比如400号码不允许外呼 2)呼叫中心实例的设置。电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼,结果取决于1)大于的设置,比如400号码不允许外呼 2)呼叫中心实例的设置。电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'Province' => [
- 'description' => '号码归属地省。',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '2ead4b47-db37-43b3-8e32-ae71d81620af',
- ],
+ 'TestOnly' => ['description' => '是否是测试号码', 'type' => 'boolean', 'example' => 'false'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Number' => ['description' => '电话号码', 'type' => 'string', 'example' => '0108648xxxx'],
+ 'City' => ['description' => '号码归属地市。', 'type' => 'string', 'example' => '北京'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'Usage' => ['description' => '电话号码的用途,呼入,呼出,已经同时用于呼入和呼出。 Inbound, Outbound, Bidirection。上述值由枚举类型PhoneNumberType定义。该值的结果取决于1)大于的设置,比如400号码不允许外呼 2)呼叫中心实例的设置。电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'AllowOutbound' => ['description' => '是否允许外呼,结果取决于1)大于的设置,比如400号码不允许外呼 2)呼叫中心实例的设置。电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。', 'type' => 'boolean', 'example' => 'true'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'Province' => ['description' => '号码归属地省。', 'type' => 'string', 'example' => '北京'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '2ead4b47-db37-43b3-8e32-ae71d81620af'],
],
],
],
@@ -22312,14 +10537,8 @@
],
'RemoveUsersFromSkillGroup' => [
'summary' => '调用RemoveUsersFromSkillGroup从一个技能组中移除用户。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22334,30 +10553,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '待移除用户的呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '18b4f6bd-12f7-4ab6-91d1-bf43b854f35c',
- ],
+ 'schema' => ['description' => '待移除用户的呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '18b4f6bd-12f7-4ab6-91d1-bf43b854f35c'],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '待移除用户的技能组ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'b9458ffa-b3aa-4747-acb0-f0c8acbabe95',
- ],
+ 'schema' => ['description' => '待移除用户的技能组ID', 'type' => 'string', 'required' => true, 'example' => 'b9458ffa-b3aa-4747-acb0-f0c8acbabe95'],
],
[
'name' => 'UserId',
@@ -22368,9 +10575,7 @@
."\n"
.'**UserId.1**意为只移除一个坐席,如果移除多个,则需要传多个,例如 UserId.1、UserId.2、UserId.3,以此类推。注意这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => 'ad7dea7f-c735-4f00-a725-7278d7e802dd',
'maxItems' => 99,
@@ -22382,32 +10587,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AF9834D8-6D09-4A1B-BADB-B019D9D444C8',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AF9834D8-6D09-4A1B-BADB-B019D9D444C8'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -22418,14 +10602,8 @@
],
'ListOutboundPhoneNumberOfUser' => [
'summary' => '调用ListOutboundPhoneNumberOfUser获取坐席的所有外呼电话列表,包含个人外呼号码及所属技能组外呼号码。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22440,56 +10618,30 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3****'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取外呼号码列表的用户ID。'."\n"
- ."\n"
- .'> 这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'c8b21767-bd0e-4a6e-937e-c46cd07f****',
- ],
+ 'schema' => ['description' => '待获取外呼号码列表的用户ID。'."\n"
+ ."\n"
+ .'> 这里是RAM子账号在呼叫中心实例的唯一标识并非RamId,即UUID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c8b21767-bd0e-4a6e-937e-c46cd07f****'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -22497,43 +10649,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DB6F6562-C76A-4A4D-892A-F33F638C058D',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DB6F6562-C76A-4A4D-892A-F33F638C058D'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'NumberList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Number' => [
'type' => 'array',
- 'items' => [
- 'description' => '真实外呼号码列表。',
- 'type' => 'string',
- 'example' => '["05712823****"]',
- ],
+ 'items' => ['description' => '真实外呼号码列表。', 'type' => 'string', 'example' => '["05712823****"]'],
],
],
],
@@ -22547,134 +10674,44 @@
'items' => [
'type' => 'object',
'properties' => [
- 'PrivateFlag' => [
- 'description' => '标识该号码是否为个人外呼号码。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TestOnly' => [
- 'description' => '是否是测试号码。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SipTelX' => [
- 'description' => 'sip虚拟号码',
- 'type' => 'string',
- 'example' => '1302015****',
- ],
- 'RemainingTime' => [
- 'description' => '测试号码剩余的通话时间。单位为分钟。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'City' => [
- 'description' => '号码归属地市。',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'InstanceId' => [
- 'description' => '电话号码所归属的呼叫中心实例ID。',
- 'type' => 'string',
- 'example' => 'ade80092-03d9-4f4d-ad4f-ab8a247d****',
- ],
- 'AllowOutbound' => [
- 'description' => '是否允许外呼,结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Usage' => [
- 'description' => '电话号码的用途,呼入(Inbound),呼出(Outbound),已经同时用于呼入和呼出(Bidirection)。上述值由枚举类型PhoneNumberType定义。'."\n"
- ."\n"
- .'该值的结果取决于:'."\n"
- ."\n"
- .'- 大于的设置,比如400号码不允许外呼'."\n"
- .'- 呼叫中心实例的设置'."\n"
- ."\n\n"
- .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。',
- 'type' => 'string',
- 'example' => 'Bidirection',
- ],
- 'PhoneNumberId' => [
- 'description' => '电话号码ID,系统自动生成的唯一标示符。',
- 'type' => 'string',
- 'example' => '0010faaa-0c07-4421-8929-9ea6a051****',
- ],
- 'Trunks' => [
- 'description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'Number' => [
- 'description' => '电话号码。',
- 'type' => 'string',
- 'example' => '05712823****',
- ],
- 'PhoneNumberDescription' => [
- 'description' => '电话号码的简单描述。',
- 'type' => 'string',
- 'example' => 'Ali Telecom',
- ],
- 'Province' => [
- 'description' => '号码归属地省。',
- 'type' => 'string',
- 'example' => '北京',
- ],
+ 'PrivateFlag' => ['description' => '标识该号码是否为个人外呼号码。', 'type' => 'boolean', 'example' => 'true'],
+ 'TestOnly' => ['description' => '是否是测试号码。', 'type' => 'boolean', 'example' => 'false'],
+ 'SipTelX' => ['description' => 'sip虚拟号码', 'type' => 'string', 'example' => '1302015****'],
+ 'RemainingTime' => ['description' => '测试号码剩余的通话时间。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'City' => ['description' => '号码归属地市。', 'type' => 'string', 'example' => '北京'],
+ 'InstanceId' => ['description' => '电话号码所归属的呼叫中心实例ID。', 'type' => 'string', 'example' => 'ade80092-03d9-4f4d-ad4f-ab8a247d****'],
+ 'AllowOutbound' => ['description' => '是否允许外呼,结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不绑定联系流IVR,但是ACC不建议这么做。', 'type' => 'boolean', 'example' => 'true'],
+ 'Usage' => ['description' => '电话号码的用途,呼入(Inbound),呼出(Outbound),已经同时用于呼入和呼出(Bidirection)。上述值由枚举类型PhoneNumberType定义。'."\n"
+ ."\n"
+ .'该值的结果取决于:'."\n"
+ ."\n"
+ .'- 大于的设置,比如400号码不允许外呼'."\n"
+ .'- 呼叫中心实例的设置'."\n"
+ ."\n\n"
+ .'> 电话号码一般都允许内呼,如果不允许内呼,可以1)由大于做设置,用户拨打该号码时听到提示音 2)该号码不连接人和联系流IVR,但是ACC不建议这么做。', 'type' => 'string', 'example' => 'Bidirection'],
+ 'PhoneNumberId' => ['description' => '电话号码ID,系统自动生成的唯一标示符。', 'type' => 'string', 'example' => '0010faaa-0c07-4421-8929-9ea6a051****'],
+ 'Trunks' => ['description' => '电话号码的中继数量,即可同时支持几路通话,数据来源于大于。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'Number' => ['description' => '电话号码。', 'type' => 'string', 'example' => '05712823****'],
+ 'PhoneNumberDescription' => ['description' => '电话号码的简单描述。', 'type' => 'string', 'example' => 'Ali Telecom'],
+ 'Province' => ['description' => '号码归属地省。', 'type' => 'string', 'example' => '北京'],
'PrivacyNumber' => [
'description' => '电话号码所绑定的虚拟号码关系。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '选择绑定虚拟号码的类型,包括**AXN**和**AXB**。',
- 'type' => 'string',
- 'example' => 'AXN',
- ],
- 'PoolId' => [
- 'description' => '虚拟号码所在池子ID。',
- 'type' => 'string',
- 'example' => '18b74553-484f-40c7-b6f9-81be0cbe****',
- ],
- 'SubId' => [
- 'description' => '类型为AXN,返回的绑定关系唯一标识,若类型为AXB,则此字段为空。',
- 'type' => 'string',
- 'example' => '6a5f6c7c2f774fb38b4aaf35c4e7****',
- ],
- 'PhoneNumber' => [
- 'description' => '绑定的呼叫中心号码。',
- 'type' => 'string',
- 'example' => '05712823****',
- ],
- 'PoolName' => [
- 'description' => '虚拟号码池名称。',
- 'type' => 'string',
- 'example' => '个人虚拟号码',
- ],
- 'BizId' => [
- 'description' => '第三方业务ID。',
- 'type' => 'string',
- 'example' => '4b32b62d3aae4d86a6c4bb26c3ee****',
- ],
- 'RegionNameCity' => [
- 'description' => '虚拟号码归属地市。',
- 'type' => 'string',
- 'example' => '上海市',
- ],
- 'Extra' => [
- 'description' => '其他参数,以Json字符串存入。',
- 'type' => 'string',
- 'example' => '{"name":"amy","cardno":"130226198001110819"}',
- ],
- 'TelX' => [
- 'description' => '选择AXN模式绑定的虚拟号码,若类型为AXB,则此字段为空。',
- 'type' => 'string',
- 'example' => '1302015****',
- ],
+ 'Type' => ['description' => '选择绑定虚拟号码的类型,包括**AXN**和**AXB**。', 'type' => 'string', 'example' => 'AXN'],
+ 'PoolId' => ['description' => '虚拟号码所在池子ID。', 'type' => 'string', 'example' => '18b74553-484f-40c7-b6f9-81be0cbe****'],
+ 'SubId' => ['description' => '类型为AXN,返回的绑定关系唯一标识,若类型为AXB,则此字段为空。', 'type' => 'string', 'example' => '6a5f6c7c2f774fb38b4aaf35c4e7****'],
+ 'PhoneNumber' => ['description' => '绑定的呼叫中心号码。', 'type' => 'string', 'example' => '05712823****'],
+ 'PoolName' => ['description' => '虚拟号码池名称。', 'type' => 'string', 'example' => '个人虚拟号码'],
+ 'BizId' => ['description' => '第三方业务ID。', 'type' => 'string', 'example' => '4b32b62d3aae4d86a6c4bb26c3ee****'],
+ 'RegionNameCity' => ['description' => '虚拟号码归属地市。', 'type' => 'string', 'example' => '上海市'],
+ 'Extra' => ['description' => '其他参数,以Json字符串存入。', 'type' => 'string', 'example' => '{"name":"amy","cardno":"130226198001110819"}'],
+ 'TelX' => ['description' => '选择AXN模式绑定的虚拟号码,若类型为AXB,则此字段为空。', 'type' => 'string', 'example' => '1302015****'],
],
],
],
@@ -22695,14 +10732,8 @@
],
'ListRecordings' => [
'summary' => '调用接口:ListRecordings 获取录音列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22716,94 +10747,48 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccD5GAHN',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccD5GAHN'],
],
'parameters' => [
[
'name' => 'StopTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的终止时间。缺省为0,代表截止到目前的时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '获取的历史数据的终止时间。缺省为0,代表截止到目前的时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d ',
- ],
+ 'schema' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'required' => true, 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d '],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取的历史数据的起始时间。缺省为0,代表从当天的0时开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '获取的历史数据的起始时间。缺省为0,代表从当天的0时开始。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'PhoneNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '待获取数据的呼叫中心的电话号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '01099998888',
- ],
+ 'schema' => ['description' => '待获取数据的呼叫中心的电话号码', 'type' => 'string', 'required' => false, 'example' => '01099998888'],
],
[
'name' => 'AgentId',
'in' => 'query',
- 'schema' => [
- 'description' => '座席ID,对应于RamId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2384025204570273452',
- ],
+ 'schema' => ['description' => '座席ID,对应于RamId', 'type' => 'string', 'required' => false, 'example' => '2384025204570273452'],
],
[
'name' => 'Criteria',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => '01099998888',
- ],
+ 'schema' => ['description' => '搜索条件', 'type' => 'string', 'required' => false, 'example' => '01099998888'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -22811,59 +10796,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Message' => [
- 'description' => '响应信息'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '无',
- ],
- 'RequestId' => [
- 'description' => '请求ID'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE',
- ],
- 'Success' => [
- 'description' => '是否成功'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Code' => ['description' => '响应码'."\n"
+ ."\n", 'type' => 'string', 'example' => 'OK'],
+ 'Message' => ['description' => '响应信息'."\n"
+ ."\n", 'type' => 'string', 'example' => '无'],
+ 'RequestId' => ['description' => '请求ID'."\n"
+ ."\n", 'type' => 'string', 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE'],
+ 'Success' => ['description' => '是否成功'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
'Recordings' => [
'description' => '录音信息集合',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页序号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '29',
- ],
+ 'PageNumber' => ['description' => '分页序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '29'],
'List' => [
'type' => 'object',
'itemNode' => true,
@@ -22874,73 +10823,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContactType' => [
- 'description' => '通话类型, 参考枚举类型 ContactType,Inbound 内呼, Outbound 外呼',
- 'type' => 'string',
- 'example' => 'Outbound',
- ],
- 'AgentId' => [
- 'description' => '座席ID,对应于RamId',
- 'type' => 'string',
- 'example' => '2384025204570273452',
- ],
- 'AgentName' => [
- 'description' => '座席名称',
- 'type' => 'string',
- 'example' => 'ccctest1',
- ],
- 'InstanceId' => [
- 'description' => '呼叫中心实例ID',
- 'type' => 'string',
- 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d',
- ],
- 'FileName' => [
- 'description' => '录音文件名',
- 'type' => 'string',
- 'example' => '8420398402-45937.wav',
- ],
- 'CalledNumber' => [
- 'description' => '被叫电话',
- 'type' => 'string',
- 'example' => '1870169190889',
- ],
- 'StartTime' => [
- 'description' => '通话开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1576295278000',
- ],
- 'FilePath' => [
- 'description' => '录音文件在OSS中的保存位置',
- 'type' => 'string',
- 'example' => 'oss://cloudcall-test/',
- ],
- 'ContactId' => [
- 'description' => '通话ID',
- 'type' => 'string',
- 'example' => '209887678',
- ],
- 'CallingNumber' => [
- 'description' => '主叫电话',
- 'type' => 'string',
- 'example' => '01099998888',
- ],
- 'Duration' => [
- 'description' => '通话时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'FileDescription' => [
- 'description' => '录音文件别名',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'Channel' => [
- 'description' => '座席所在音轨标示',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'ContactType' => ['description' => '通话类型, 参考枚举类型 ContactType,Inbound 内呼, Outbound 外呼', 'type' => 'string', 'example' => 'Outbound'],
+ 'AgentId' => ['description' => '座席ID,对应于RamId', 'type' => 'string', 'example' => '2384025204570273452'],
+ 'AgentName' => ['description' => '座席名称', 'type' => 'string', 'example' => 'ccctest1'],
+ 'InstanceId' => ['description' => '呼叫中心实例ID', 'type' => 'string', 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d'],
+ 'FileName' => ['description' => '录音文件名', 'type' => 'string', 'example' => '8420398402-45937.wav'],
+ 'CalledNumber' => ['description' => '被叫电话', 'type' => 'string', 'example' => '1870169190889'],
+ 'StartTime' => ['description' => '通话开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1576295278000'],
+ 'FilePath' => ['description' => '录音文件在OSS中的保存位置', 'type' => 'string', 'example' => 'oss://cloudcall-test/'],
+ 'ContactId' => ['description' => '通话ID', 'type' => 'string', 'example' => '209887678'],
+ 'CallingNumber' => ['description' => '主叫电话', 'type' => 'string', 'example' => '01099998888'],
+ 'Duration' => ['description' => '通话时长', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'FileDescription' => ['description' => '录音文件别名', 'type' => 'string', 'example' => '无'],
+ 'Channel' => ['description' => '座席所在音轨标示', 'type' => 'string', 'example' => '无'],
],
],
],
@@ -22961,14 +10856,8 @@
],
'ModifySkillGroupBasicInfo' => [
'summary' => '修改技能组基础信息,包括技能组名称、技能组描述、匹配模式、个人外呼号码标识等基础信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22983,62 +10872,38 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcccPBOQGO',
- ],
+ 'abilityTreeNodes' => ['FEATUREcccPBOQGO'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SkillGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RoutingStrategy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AllowPrivateOutboundNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'false'],
],
],
'responses' => [
@@ -23046,22 +10911,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'HttpStatusCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -23069,9 +10923,6 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'ccc.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'ccc.cn-shanghai.aliyuncs.com'],
],
];