Modify quota limits

Set quota limits of a given project.

Request
Method PUT
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.

Quota object

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 succesful

{
    "errors": [
        {
            "errorcode": 417,
            "index": 1,
            "errormessage": "error.missing_arguments"
        },
        {
            "errorcode": 417,
            "index": 3,
            "errormessage": "error.missing_arguments"
        }
    ],
    "response": {
        "0": true,
        "2": true
    }
}

There are no comments yet.

Comment

Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.