如何使用AWS Connect API创建任务

0

【以下的问题经过翻译处理】 我们在Lambda使用Python Boto3“start_task_contact”调用Amazon Connect上的CreateTaskContact API时,是否有办法将电话号码作为“Reference”属性的值传递。这样当任务到达代理时,他可以简单地单击电话号码以发出呼出电话?目前,“引用”属性仅接受URL作为类型和有效URL作为值。除此以外的任何内容都会引发InvalidRequestException错误。

profile picture
EXPERTO
preguntada hace 5 meses53 visualizaciones
1 Respuesta
0

【以下的回答经过翻译处理】 根据 API 指南,请使用 'Attributes' 传递电话号码:https://docs.aws.amazon.com/connect/latest/APIReference/API_StartTaskContact.html#API_StartTaskContact_RequestSyntax

"Attributes": { "TripAdvisorScore": "5 out of 5", "PhoneNumber": "+44112233445566" }

profile picture
EXPERTO
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas