Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Subscription

Updated on 2023-09-27 GMT+08:00

Description

This interface is used by a third-party business client to send a subscription task registration request to the CTI platform of the call center so that third-party business client can receive event notifications from the CTI platform of the call center.

NOTE:
  • The CC-Gateway address needs to be configured on the Manage Subscription Server page of the web configuration console.
  • After this interface is successfully invoked, that is, the value of retcode is 0, the handshake interface can be invoked to remain the subscription status.

Interface Method

This interface supports only the POST method.

URI

https://IP:Port/agentgateway/resource/config/subscribe/register

Method Name in Logs

register

Request Message

  • Message header
    Table 1 Parameters in the message header

    No.

    Parameter

    Value Type

    Mandatory

    Description

    1

    Content-Type

    String

    Yes

    Coding mode of the message body. The default value is application/json; charset=UTF-8.

    2

    Guid

    String

    Yes

    The value of Guid is that returned through the interface in C5 Intelligent Auxiliary Interface Authentication.

  • Message body
    Table 2 Parameters in the message body

    No.

    Parameter

    Value Type

    Mandatory

    Description

    1

    subscribeType

    String

    Yes

    Subscription type.

    1: recognition

    Others: reserved

    2

    serviceToken

    String

    No

    Authentication token, which is generated by a third-party service. Example: 3320EA********************36ED638

    The value contains a maximum of 256 characters.

    This parameter needs to be transferred when the interfaces described in Handshake (Extended) and Recognition Result Notification are invoked.

    3

    serviceCallBackUri

    String

    Yes

    Event notification callback address.

    The value contains a maximum of 200 characters.

    4

    nlpFlag

    Boolean

    Yes

    Whether to use intelligent semantic analysis.

    • true: Use intelligent semantic analysis. You need to contact O&M personnel to configure the CC-Gateway callback URL in the basic.properties file of the CC-Gateway.
    • false: Do not use intelligent semantic analysis.

    5

    flowAccessCode

    String

    No

    Intelligent IVR chatbot access code, which is returned when a chatbot is added. This parameter needs to be set only when nlpFlag is set to true.

Response Message

Table 3 Parameters in the message body

No.

Parameter

Value Type

Description

1

message

String

Returned message.

2

retcode

String

Result cause code.

The value is an integer.

3

result

Object

Returned result. For details about the parameters of this object, see Table 4.

Table 4 Parameter of the result object

No.

Parameter

Value Type

Description

3.1

serverId

String

Subscription task ID returned by the CTI platform upon successful subscription based on the subscription request sent from a third-party business client to the CTI platform.

Example

  • Message header
    Content-Type:application/json; charset=UTF-8
    Guid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.AgentGateway1
  • Request parameter
    {
        "subscribeType": "1",
        "serviceToken": "3320EA1E***********8E336ED638",
        "serviceCallBackUri": "https://10.10.10.1:8080/rest/cc-ai/nlrresult",
        "nlpFlag": "true",
        "flowAccessCode": "801166010768953344"
    }
  • Response parameter
    {
        "result": {
            "serverId": "20140414172508-001-00101"
        },
        "message": "success",
        "retcode": "0"
    }

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback