This page was last edited on September 5, 2013, at 18:19.
Comments or questions about this documentation? Contact us for support!
The following attributes are supported for Skill objects.
Attribute | Type | Description | Access level |
---|---|---|---|
name | String | The name of the skill. | POST, GET |
description | String | A detailed description. | POST, GET |
Returns uris of all skills of current contact center.
GET
.../api/v2/skills
Contact center administrator
Request:
GET .../api/v2/skills
Response:
{ "statusCode": 0, "uris": [ "http://localhost:8080/api/v2/skills/8e8fbe93-a8e5-4997-a939-0e245c30f97c", "http://localhost:8080/api/v2/skills/9d81193d-9f8a-4bce-9e58-1f586505328d" ] }
If detail information is demanded, request parameter ?fields=* should be used. Notice that the "description" field will be absent in the response if it wasn't created for the skill.
Request:
GET .../api/v2/skills?fields=*
Response:
{ "statusCode": 0, "skills": [ { "id": "8e8fbe93-a8e5-4997-a939-0e245c30f97c", "name": "Might", "description": "Вrandishing of heavy and sharp long iron bars.", "level": "0" }, { "id": "9d81193d-9f8a-4bce-9e58-1f586505328d", "name": "Magic", "description": "Declaiming of strange phrases and making funny gestures to cast fireballs and etc.", "level": "0" } ] }
Read the specified skill.
GET
.../api/v2/skills/{id}
Contact center administrator
Request:
GET .../api/v2/skills/<skill_id>
Response:
{ "statusCode":0 }
Reads the specified skill of the specified user.
GET
.../api/v2/users/{user_id}/skills/{skill_id}
Contact center administrator
Request:
GET .../api/v2/users/{user_id}/skills/{skill_id}
Response:
{ "statusCode":0 }
Reads all skills of the specified user.
GET
.../api/v2/users/{user_id}/skills
Contact center administrator
Request:
GET .../api/v2/users/{user_id}/skills
Response:
{ "statusCode":0 }
Reads the specified skill of the current user.
GET
.../api/v2/me/skills/{skill_id}
Request:
GET .../api/v2/me/skills/{skill_id}
Response:
{ "statusCode":0 }
Reads all skills of the current user.
GET
.../api/v2/me/skills
Request:
GET .../api/v2/me/skills
Response:
{ "statusCode":0 }