ASSIGN currTime = "{now}" ASSIGN InteractionContextUrl="{global:csa_api_vars.api_facade_domain}/eai-real-time-insight/v1/interaction-context" DYNAMIC RtiHeaders RtiHeaders.Authorization="Bearer {global:csa_api_vars.cxone_token}" RtiHeaders.PLACEHOLDERCONTENTTYPE="application/json" DYNAMIC InteractionContextPayload InteractionContextPayload.schemaVersion="1.0.0" InteractionContextPayload.timestamp="{currTime.asisodatetime()}" InteractionContextPayload.tenantId="{global:csa_api_vars.tenant_id}" InteractionContextPayload.contactNumber="{global:contactid}" InteractionContextPayload.contextData.ANI = "{ANI}" InteractionContextPayload.contextData.CallDirection = "Inbound" ASSIGN RtiHeadersJson = "{RtiHeaders.asjson()}" ASSIGN RtiHeadersJson = RtiHeadersJson.replace("{char(34)}PLACEHOLDERCONTENTTYPE{char(34)}","{char(34)}Content-Type{char(34)}") - ASSIGN InteractionContextPayloadJson="{InteractionContextPayload.asjson()}"