IVR Process Docking Instructions

1.Scenario description The user dials the 400 number / relay service number or is invited by the webcall interface to enter the C7 Malaysia IVR process.

  • scene one:

The third party interface is called according to the incoming call number to obtain the corresponding number, and the number is called, and the two parties start talking.

  • scene two:

The third-party interface is called according to the incoming call number to determine the customer level, and it is assigned to the corresponding agent according to different levels.

  • Scenario three:

The calling user enters the extension number, and calls the third-party interface to obtain the corresponding number according to the extension number and calls the number.

  • Scene four:

The calling user enters the order number and calls the third-party interface to return the corresponding order information to the customer according to the order number.

  • Scene five:

The calling user enters the username and password, and calls the third-party interface according to the input information to return to the customer login success / failure information

2.For the above scenarios of docking operation, since the corresponding data exists in the client's own server, C7 Malaysia system needs data interaction through the interface, so the client needs to develop an interface for data interaction with C7 Malaysia system.

This interface has two forms: get and post. Here, the get request is used as an example. Post is the same.

(1)get request-The interface returns a plain string.

Request URL example:http://merrige.hyxmt.cn/a/electronic/ajax/qmCallCheck.ashx?callTell=phoneNum

The return value is string: "key": "value"

(2)get request-The interface returns a json string.

Request URL example:http://merrige.hyxmt.cn/a/electronic/ajax/qmCallCheck.ashx

The return value is json: {"code":"404","message":"GET is not allowed"}

3.Precautions

The URL request form can only be get and post, and the return value can only be a pure string or a json string, without any format. json is a single-layer json string, which cannot be nested. For example, there cannot be a list array in json, and json cannot be nested in json.

String, such as: the return value is a mobile phone number 123456, then the interface only needs to return this mobile phone number: 123456. json,such as:{"code":"404","message":"GET is not allowed"}