JSON Body Request for 3Dolphins SRM Dialog Rest Integration

Request Sample

{
“intent”:{
“intention”:”Ask Policy”,
“integration”:”{\”type\”:\”rest\”,\”sdkConfig\”:{\”trigger\”:[{\”sdkId\”:\”d030ad9e-2f9d-49fa-81d4-ff6920040312\”,\”promptVariable\”:\”FINAL\”,\”endpointUrl\”:\”\”,\”endpointUrlCommand\”:\”http://localhost:8081/customers\”,\”httpMethod\”:\”POST\”,\”map\”:{\”name\”:\”name\”,\”account\”:\”account\”},\”headers\”:{},\”basicAuth\”:{}}]}}”,
“id”:”[id]”,
“botId”:”[botId]”,
“ticket”:{
“accountId”:”[accountId]”,
“accountName”:”email@inmotion.co.id”,
“accountScreen”:”email@inmotion.co.id”,
“channel”:”[channel]”,
“channelKey”:”[channelKey]”,
“channelType”:”[channelType]”,
“message”:”[message]”,
“ticketNumber”:”[ticketNumber]”,
“ticketOwner”:”[ticketOwner]”,
“termsMap”:{
“question_term”:[
],
“sconj_term”:[
],
“noun_term”:[
],
“verb_term”:[
],
“pron_term”:[
],
“primary_term”:[
“123456”
]
},
“module”:””,
“context”:””
}
},
“parameters”:[
{
“name”:”intention”,
“value”:”73840234″
},
{
“name”:”name”,
“value”:”Rena”
},
{
“name”:”account”,
“value”:”123456″
}
],
“promptVariable”:”FINAL”
}

Last updated