POST api/Intents/getDataByAgentID?agentID={agentID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| agentID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of vIntent| Name | Description | Type | Additional information |
|---|---|---|---|
| IntentID | integer |
None. |
|
| AgentID | integer |
None. |
|
| IntentName | string |
None. |
|
| IsDefaultCatch | boolean |
None. |
|
| IsDefaultEntry | boolean |
None. |
|
| IsDefaultExit | boolean |
None. |
|
| IntentLevel | integer |
None. |
|
| ValidationURL | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IntentID": 1,
"AgentID": 2,
"IntentName": "sample string 3",
"IsDefaultCatch": true,
"IsDefaultEntry": true,
"IsDefaultExit": true,
"IntentLevel": 1,
"ValidationURL": "sample string 7"
},
{
"IntentID": 1,
"AgentID": 2,
"IntentName": "sample string 3",
"IsDefaultCatch": true,
"IsDefaultEntry": true,
"IsDefaultExit": true,
"IntentLevel": 1,
"ValidationURL": "sample string 7"
}
]
text/html, application/octet-stream
Sample:
[{"IntentID":1,"AgentID":2,"IntentName":"sample string 3","IsDefaultCatch":true,"IsDefaultEntry":true,"IsDefaultExit":true,"IntentLevel":1,"ValidationURL":"sample string 7"},{"IntentID":1,"AgentID":2,"IntentName":"sample string 3","IsDefaultCatch":true,"IsDefaultEntry":true,"IsDefaultExit":true,"IntentLevel":1,"ValidationURL":"sample string 7"}]
application/xml, text/xml
Sample:
<ArrayOfvIntent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatBot.Data">
<vIntent>
<AgentID>2</AgentID>
<IntentID>1</IntentID>
<IntentLevel>1</IntentLevel>
<IntentName>sample string 3</IntentName>
<IsDefaultCatch>true</IsDefaultCatch>
<IsDefaultEntry>true</IsDefaultEntry>
<IsDefaultExit>true</IsDefaultExit>
<ValidationURL>sample string 7</ValidationURL>
</vIntent>
<vIntent>
<AgentID>2</AgentID>
<IntentID>1</IntentID>
<IntentLevel>1</IntentLevel>
<IntentName>sample string 3</IntentName>
<IsDefaultCatch>true</IsDefaultCatch>
<IsDefaultEntry>true</IsDefaultEntry>
<IsDefaultExit>true</IsDefaultExit>
<ValidationURL>sample string 7</ValidationURL>
</vIntent>
</ArrayOfvIntent>