From Bright Pattern Documentation
< 3.10:Mobile-web-api-specification
Revision as of 20:02, 21 March 2016 by Sasha (talk | contribs) (Expected Parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Expected Parameters

Description Returns an array of expected parameters. The parameters are optional. They may be used, for example, to look for the most qualified agents to handle the requested chat sessions and/or to display user information for the agents. These parameters are initially specified for the mobile/web scenario entry through which this mobile application will communicate with the contact center.

Currently the following parameter types are supported: PHONE, TEXT, EMAIL, FIRST_NAME, LAST_NAME, ACCOUNT, COMPANY.

URL http[s]://<host>:<port>/clientweb/api/v1/parameters?tenantUrl=<tenantUrl>
Method GET
Returns 200 – Names and types of parameters that may be expected from the client application (content type: application/json). Example:

{

"parameters":[

{

"<name>":”<type>”

},

...

]

}

Errors 401 – Unauthorized
< Previous | Next >