Skip to content

Commit 3af3c54

Browse files
authored
API: Add trigger into bot handover api endpoint RD-29540 (#253)
* API: ADD trigger into bot handover api endpoint RD-29540 * remove engage
1 parent d99c6e5 commit 3af3c54

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

specs/engage-digital_openapi3.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ paths:
405405
post:
406406
description: This method is used to handover a conversation between a bot and an agent.
407407
It handles 2 different cases, specific sources handover (Messenger for example, see Bots API doc)
408-
and handover between Engage Virtual Agents and human agents. This method recategorizes the thread if the thread_category_ids parameter is provided.
408+
and handover between Virtual Agents and human agents. This method recategorizes the thread if the thread_category_ids parameter is provided.
409409
operationId: handoverFromBotToAgent
410410
parameters:
411411
- description: Who we are taking the conversation control from (either bot or agent).
@@ -438,7 +438,7 @@ paths:
438438
required: false
439439
schema:
440440
type: string
441-
- description: The id of the intervention that we want to handover (only for Engage Virtual Agent handover).
441+
- description: The id of the intervention that we want to handover (only for Virtual Agent handover).
442442
in: query
443443
name: intervention_id
444444
required: false
@@ -453,6 +453,12 @@ paths:
453453
items:
454454
type: string
455455
type: array
456+
- description: The string configured in the handover rules trigger field of the Virtual Agent.
457+
in: query
458+
name: trigger
459+
required: false
460+
schema:
461+
type: string
456462
responses:
457463
'200':
458464
content:

specs/engage-digital_postman2.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -635,14 +635,20 @@
635635
{
636636
"key": "intervention_id",
637637
"value": "\u003cstring\u003e",
638-
"description": "The id of the intervention that we want to handover (only for Engage Virtual Agent handover).",
638+
"description": "The id of the intervention that we want to handover (only for Virtual Agent handover).",
639639
"disabled": true
640640
},
641641
{
642642
"key": "thread_category_ids[]",
643643
"value": "\u003carray.string.csv\u003e",
644644
"description": "An array containing the new categories to set on the thread.",
645645
"disabled": true
646+
},
647+
{
648+
"key": "trigger",
649+
"value": "\u003cstring\u003e",
650+
"description": "The string configured in the handover rules trigger field of the Virtual Agent.",
651+
"disabled": true
646652
}
647653
]
648654
},
@@ -657,7 +663,7 @@
657663
"value": "application/json"
658664
}
659665
],
660-
"description": "This method is used to handover a conversation between a bot and an agent. It handles 2 different cases, specific sources handover (Messenger for example, see Bots API doc) and handover between Engage Virtual Agents and human agents. This method recategorizes the thread if the thread_category_ids parameter is provided."
666+
"description": "This method is used to handover a conversation between a bot and an agent. It handles 2 different cases, specific sources handover (Messenger for example, see Bots API doc) and handover between Virtual Agents and human agents. This method recategorizes the thread if the thread_category_ids parameter is provided."
661667
}
662668
}
663669
]

0 commit comments

Comments
 (0)