Create skill
POST {{baseUrl}}/api/v1/skills
This API Creates a skill
OAuth Scope
Desk.settings.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name (required) | <String> | Name of the skill |
description | <String> | description of the skill |
status (required) | <String> | Values allowed are ACTIVE and INACTIVE |
skillTypeId (required) | <long> | ID of the Skill Type |
criteria (required) | <list> | The criteria details for the skill |
agentIds | <list> | IDs of the agents mapped with the skill |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2020-07-23T12:44:42.574Z","agentIds":[],"skillType":{"skillTypeId":"1000000173001","skillTypeName":"Country"},"orderId":"1","criteria":{"fieldConditions":[{"displayValue":["India"],"condition":"is","fieldName":"Subject","fieldModule":"tickets","value":["India"]},{"displayValue":["987532114"],"condition":"is","fieldName":"Phone","fieldModule":"tickets","value":["987532114"]}],"pattern":"(1or2)"},"departmentId":"1000000013248","description":"Country is India","skillTypeId":"1000000173001","createdBy":"1000000000059","name":"India","createdTime":"2020-07-23T12:44:42.574Z","modifiedBy":"1000000000059","id":"1000000173029","status":"ACTIVE"}