Modify quota limits
Set quota limits of a given project.
Request | |
---|---|
Method | POST |
Resource | https://[customer].asp.virtual-call-center.eu/v2/projects/[projectid]/quotas |
Options | N/A |
Body | Quota limits to be modified, encoded in JSON |
Response | |
Body | Result of modification, encoded in JSON |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
customer | string | yes | Your call centre’s unique identifier (subdomain). |
projectid | integer | yes | Unique project identifier in VCC’s database. |
Response object
Name | Type | Mandatory | Comment |
---|---|---|---|
quotas | array of objects | yes | Array of quota objects. |
Name | Type | Mandatory | Comment |
---|---|---|---|
quotaid | integer | yes | Quota identifier. |
value | integer | yes | Value of the quota to be set. |
Response
See the examples.
Example
Request
URL: https://mycc.asp.virtual-call-center.eu/v2/projects/134/quotas
Request body
[
{
"quotaid": 2,
"value": 15
},
{
"quotaid": 4,
"value": 20
}
]
Response body if success
{
"errors": [],
"response": {
"0": true,
"1": true
}
}
Response body if partially successful
{
"errors": [
{
"errorcode": 417,
"index": 1,
"errormessage": "error.missing_arguments"
},
{
"errorcode": 417,
"index": 3,
"errormessage": "error.missing_arguments"
}
],
"response": {
"0": true,
"2": 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.