44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
name: Context Updater
|
|
description: |-
|
|
Simulates the call that is made to KME's Context Updater
|
|
See documentation here; https://em-docs.verint.com/15_3/em-knowledge-management/Content/Contextual_Knowledge/Updating_Suggested_Knowledge_Using_the_Context_Updater_API.htm
|
|
method: POST
|
|
url: https://router.ivastudio.verint.live/ProxyScript/run/67bca862210071627d32ef12/current/context-updater/$CUSTOMER_ID/contexts/$UPN
|
|
body:
|
|
content: |-
|
|
{
|
|
"@type": "vcx:ComplexContextUpdateRequest",
|
|
"vcx:entityDefinitionName": "KnowledgeSearchContextED",
|
|
"vcx:contextKey": "knowledgeSearchContext",
|
|
"vcx:fields" : [
|
|
{
|
|
"@type" : "vcx:ContextField",
|
|
"vcx:field" : "searchTerm",
|
|
"vcx:typedValue" : {
|
|
"@type": "vcx:StringValue",
|
|
"vcx:stringValue" : "pet policy"
|
|
}
|
|
},
|
|
{
|
|
"@type" : "vcx:ContextField",
|
|
"vcx:field" : "tags",
|
|
"vcx:typedValue" : {
|
|
"@type": "vcx:StringValue",
|
|
"vcx:stringValue" : "content_alert"
|
|
}
|
|
},
|
|
{
|
|
"@type" : "vcx:ContextField",
|
|
"vcx:field" : "locale",
|
|
"vcx:typedValue" : {
|
|
"@type": "vcx:StringValue",
|
|
"vcx:stringValue" : "en-US"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
content_type: application/json
|
|
headers:
|
|
- name: content-type
|
|
value: application/json
|