List all roles
List all roles that currently exist in VCC.
Request | |
---|---|
Method | GET |
Resource | https://[customer].asp.virtual-call-center.eu/v2/roles |
Options | N/A |
Body | N/A |
Response | |
Body | Array of roles, encoded in JSON |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
customer | string | yes | Your call centre’s unique identifier (subdomain). |
Response
Response object
Name | Type | Comment |
---|---|---|
id | integer | The role’s unique identifier in VCC’s database. |
is_agent | boolean | Determine the role type. Possible values: – true – false |
name | string | Role name. |
rights | object | The list of rights that a user has. |
Rights object
Name | Type | Comment |
---|---|---|
id | string | The technical identifier of the role. |
label | string | The name of the role |
Example
URL: https://mycc.asp.virtual-call-center.eu/v2/roles
{
"response": [
{
"id": 2,
"name": "admin",
"is_agent": false,
"rights": [
{
"id": "sub_deleteVoiceFile",
"label": "Delete voicefile"
},
{
"id": "sub_moveVoiceFileToTrash",
"label": "Moving voicefile to trash"
},
{
"id": "sup_add_user",
"label": "Add user"
}
]
},
{
"id": 3,
"name": "supervisor",
"is_agent": false,
"rights": [
{
"id": "sub_deleteVoiceFile",
"label": "Delete voicefile"
},
{
"id": "sub_moveVoiceFileToTrash",
"label": "Moving voicefile to trash"
},
{
"id": "sup_add_user",
"label": "Add user"
}
]
},
{
"id": 4,
"name": "operator",
"is_agent": true,
"rights": [
{
"id": "op_chat",
"label": "Internal chat"
},
{
"id": "op_custom_call",
"label": "Custom call"
},
{
"id": "op_custom_call_call",
"label": "Custom call - call"
}
]
},
{
"id": 5,
"name": "visitor",
"is_agent": false
}
],
"errors": []
}
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.