Creates a quality survey you can send your clients to rate the service of your contact center.
Request Parameters
| Parameter | Type | Description |
binaryQuestion | boolean | true if there are two options for an answer |
minValue | long | Max score |
maxValue | long | Min score |
sendingFrequency | long | Sending frequency. For example, if it is equal to two, Quality will be sent to every second client. |
hideAfter | long | Number of seconds within which Quality will be available to the client after the thread is closed |
HTTP Request
POST /api/v1/quality HTTP/1.1
Content-Type: application/json
Authorization: Bearer <integrator_token>
Content-Length: 280
Host: localhost: 8080
{
"binaryQuestion": false,
"question": {
"minValue": 1,
"maxValue": 5,
"kpi": 4.02,
"text": "Please rate our service",
"displayText": "Quality of service"
},
"requiredMessageCount": 2,
"sendingFrequency": 1,
"hideAfter": 300
}
Example of a Successful HTTP Response
HTTP/1.1 200 OK