From Bright Pattern Documentation
Line 7: | Line 7: | ||
== Request == | == Request == | ||
=== Syntax === | === Syntax === | ||
− | window.bpspat.api.selectService(service) | + | window.bpspat.api.selectService(service name) |
=== Parameters === | === Parameters === | ||
Line 15: | Line 15: | ||
| '''Description''' | | '''Description''' | ||
|- | |- | ||
− | | service | + | | service name |
| function | | function | ||
− | | Service name | + | | Service name (e.g., "Customer Service") |
|} | |} | ||
== Response == | == Response == | ||
− | Empty. | + | Empty. In response to the request, the service to be used for interactions changes to the specified service name. |
− | |||
− | In response to the request, the service to be used for interactions changes to the specified service name. | ||
Revision as of 20:00, 27 March 2019
<translate>
selectService
Selects a configured service (e.g., voice, chat, etc.) by name.
See the Embedded Agent Desktop Specification's Use Cases section for ways to use this method.
Request
Syntax
window.bpspat.api.selectService(service name)
Parameters
Parameter | Type | Description |
service name | function | Service name (e.g., "Customer Service") |
Response
Empty. In response to the request, the service to be used for interactions changes to the specified service name.
</translate>