Add disposition
Add a new disposition to a specified record.
Request | |
---|---|
Method | POST |
Resource | https://[customer].asp.virtual-call-center.eu/v2/projects/[projectid]/records/[numberid]/dispositions |
Options | N/A |
Body | Disposition object, encoded in JSON. |
Response | |
Body | Results whether the request is succeeded or not. |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
customer | string | yes | Your call centre’s unique identifier (subdomain). |
numberid | integer | yes | Unique record identifier. |
projectid | integer | yes | Unique project identifier. |
Request object
Name | Type | Mandatory | Comment |
---|---|---|---|
avoid_in_call | bool | no | Ignores all records being handled by agents (prework, in call, afterwork). |
description | string | no | Description added by the supervisor. |
dispositionid | string | yes | Unique disposition identifier. |
next_calldate | string | no | If call-back or shared call-back type dispositions are set, this is the next time the record is due to be called, in YYYY-MM-DD hh:mm:ss format. |
next_contactid | string | no | Defines which phone field should be called next time (e.g.: next_contactid:2, that means phone2 will be called) |
userid | string | yes | User’s unique identifier, to whom the disposition is linked. |
sendDispositionMessages | boolean | no | If SMS and/or email sending is set up for the disposition, the SMS and/or email will be sent. Values: true, false |
Response
Response body is empty if it is successful.
Example
URL: https://mycc.asp.virtual-call-center.eu/v2/projects/134/records/8377/dispositions
Request body
{
"dispositionid": "1",
"userid": "17",
"next_calldate": "2017-01-17 11:00:00",
"next_contactid": "2",
"description": "University degree",
"avoid_in_call": true
}
Response body
{
"errors": [],
"response": true
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.