Update skill
PATCH {{baseUrl}}/api/v1/skills/:skillId
This API Updates a skill
OAuth Scope
Desk.settings.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name | <String> | Name of the skill |
description | <String> | description of the skill |
status | <String> | Values allowed are ACTIVE and INACTIVE |
skillTypeId | <long> | ID of the Skill Type |
criteria | <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-23T13:08:36.093Z","agentIds":["1000000000059"],"skillType":{"skillTypeId":"1000000173013","skillTypeName":"Language"},"orderId":"5","criteria":{"fieldConditions":[{"displayValue":["Malayalam"],"condition":"contains","fieldName":"Subject","fieldModule":"tickets","value":["Malayalam"]}],"pattern":"1"},"departmentId":"1000000013248","description":"Malayali","skillTypeId":"1000000173013","createdBy":"1000000000059","name":"Malayalam","createdTime":"2020-07-23T13:08:36.093Z","modifiedBy":"1000000000059","id":"1000000173145","status":"ACTIVE"}