Import QnA
Import QnA
Importing QnA
POST
https://{{account_id}}.acquire.io/api/v1/bot/qna/import
Import QnA
Headers
Name
Type
Description
Authorization
string
Bearer {{api_key}}
Request Body
Name
Type
Description
qnaGroupId
integer
qnaSource
string
{
"data": {
"success": true,
"message": "Question Imported Successfully"
}
}
Body(raw)
{
"language": "en",
"sourceLang": "en",
"qnaGroupId": 1,
"qnaSource": "acquire",
"qnaPairs": [
{
"questions": "Test Question 1",
"answerType": "random",
"answers": [
"Test Answer 1",
"Test Answer 2",
"Test Answer 3"
]
},
{
"questions": "Test Question 2",
"answerType": "random",
"answers": [
"-same-"
]
}
],
"serviceJSON": {}
}
Last updated