POST /ccmessaging/queryPhraseByKeyword
Description
Associate common phrases based on keywords entered by users.
Method
POST
URI
https://Domain Name/apiaccess/ccmessaging/queryPhraseByKeyword.For example,the domain name is service.besclouds.com.
Request
Seq. |
Name |
Type |
Mandatory |
Description |
---|---|---|---|---|
1 |
ccmessaging-token |
string |
True |
ccmessagign-token generated by the applyToken interface |
2 |
x-app-key |
string |
False |
The same as app_key, which uniquely identifies a user,configuration on the API Fabric |
3 |
Authorization |
string |
False |
Authentication field. The value format is as follows: Bearer +AccessToken in the return values of the tokenByAKSK interface (there is a space after Bearer) |
Seq. |
Name |
Type |
Mandatory |
Description |
---|---|---|---|---|
1 |
reqBody |
True |
Request body |
Response
- Status code: 200
- Status code: 400
Incorrect request:Check the request path and parameters.
- Status code: 401
Unauthorized:1.Check whether you have purchased related services.2.Contact the customer service personnel to check the current status of your account.
- Status code: 404
Request not found: Check the request path.
- Status code: 500
Service failure:Check the values of the parameters in the request.
Error Code
None.
Message Example
- Scene description: Message Example
Request Header:
ccmessaging-token: XXXXXXXXX
Request Parameter:
{ "strContent": "Mesh", "locale": "zh", "channel": "WEB" }
Response Parameter:
{ "question": [ "Where can I download the Grid app?", "How do I log in to the Grid app?", "What Mobile Phone Versions Does the Grid App Support?", "After logging in to the grid version of the app, you do not have the permission to scan the street to place orders and grid account menus.", "How to log in to the middle-screen grid system on a PC?" ], "resultCode": "0" }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot