iva-studio-workspace/copilot/posting/copilotux/smart-transfer.posting.yaml

35 lines
979 B
YAML

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
headers:
- name: Authorization
value: Bearer $auth_token
- name: content-type
value: application/json
scripts:
setup: cloud-events.py