URL : api/auto-assign
Method : POST
Query Parameters :
| Parameter | Type | Possible Values | Required/Optional | Description |
| status | integer | Required | Status: Enable or Disable | |
| only_login | integer | Required | Assign tickets only to the agents who are logged in, Yes or No | |
| assign_not_accept | integer | Required | Assign ticket even when agent is not accepting tickets, Yes or No | |
| assign_with_type | integer | Required | Assign tickets only when agents’s type matches ticket’s type, Yes or No | |
| is_location | integer | Required | Assign tickets only when agents’s location matches ticket’s location, Yes or No | |
| threshold | integer | Required | Maximum number of tickets can be assigned to an agent | |
| assign_department_option | String | Required | ||
| department_list | integer Array | Required if assign_department_option = specific | Array of department ids when assign_department_option = specific |
Response:
{
"success": true,
"message":"Auto Assign updated Successfully"
}