Interface for Adding Dialog ID Binding Relationships
Description
This interface is used to add dialog ID binding.
Interface Method
POST
URL
https://IP:PORT/oifde/rest/api/createnavigationinfo
Request
Parameter |
Type |
Position |
Mandatory |
Description |
---|---|---|---|---|
tenantId |
String |
Body |
Yes |
Tenant ID. |
accessCode |
String |
Body |
No |
Access ID. If this parameter is not passed, the system automatically generates an access ID.
|
domainId |
Integer |
Body |
No |
Domain ID. |
dialogType |
Integer |
Body |
Yes |
Dialog type.
|
flowCode |
String |
Body |
Yes |
Flow code. |
description |
String |
Body |
No |
Description. Either description or createFlag must be set. The value is used as the flow description in the SaaS scenario. It must be globally unique and can contain a maximum of 50 characters. |
authToken |
String |
Body |
Yes |
Authentication token. For details, see C3 OIAP Interface Authentication. |
source |
String |
Body |
No |
Source device that initiates a dialog.
|
createFlag |
String |
Body |
No |
Creation flag. Either description or createFlag must be set.
|
Response
Parameter |
Type |
Position |
Mandatory |
Description |
---|---|---|---|---|
errorCode |
Integer |
Body |
No |
Error code. If the operation is successful, no error code is returned. If the operation fails, see Common Error Codes. |
errorMsg |
String |
Body |
No |
Error description. |
Example
- Request
{ "tenantId": "tenant001", "accessCode": "10086" , "domainId": 10001 , "dialogType":1, "flowCode": "flowxxxxxx" , "description": "" , "authToken": "0dbe*******************b505de" }
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