Adding copilot IVA requests to posting
This commit is contained in:
37
copilot/posting/copilotux/IVA/smart-transfer.posting.yaml
Normal file
37
copilot/posting/copilotux/IVA/smart-transfer.posting.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Smart Transfer
|
||||
method: POST
|
||||
url: $BASE_URL/v1/cloud-event
|
||||
body:
|
||||
content: |-
|
||||
{
|
||||
"customerId": "$CUSTOMER_ID",
|
||||
"source": "//iva/us-east-prd/transfer",
|
||||
"id": "2025051416334592900000000000000001",
|
||||
"type": "iva.transfer.data.v1",
|
||||
"time": "2025-05-14T16:33:45.929Z",
|
||||
"upn": "$UPN",
|
||||
"userUUID": "$USER_UUID",
|
||||
"data": {
|
||||
"conversationId": "2025051416334592900000000000000001",
|
||||
"customData": {
|
||||
"firstName": "John",
|
||||
"lastName": "Smith",
|
||||
"phoneNumber": "9887655432",
|
||||
"accountID": "1234",
|
||||
"summary": "summary test",
|
||||
"lastContactDate": "09/09/2020",
|
||||
"purpose": "Testing Purpose"
|
||||
}
|
||||
}
|
||||
}
|
||||
content_type: application/json
|
||||
auth:
|
||||
type: bearer_token
|
||||
bearer_token:
|
||||
token: $access_token
|
||||
headers:
|
||||
- name: content-type
|
||||
value: application/json
|
||||
scripts:
|
||||
setup: cloud-events.py
|
||||
on_request: cloud-events.py
|
||||
Reference in New Issue
Block a user