URL: v3/service-desk/api/agent/change-filter

Method : POST

Parameters:

Parameter Type Optional/Required Description
id Integer Optional Sd filter id. Required for update.
name string Required Sd filter name. Max 255 char.
fields array Required Sd filter fields. Must be an associative array where key will be field name and value will be field value. Field value can be array.
users array Optional Array of user ids.
departments array Optional Array of department ids.

 

Response:

{

"success": true,

"message": "Filter successfully saved",

“data”: {

    "id": 195,

    "name": "My new filter",

    "status": 1,

    "user_id": 305,

    "created_at": "2018-09-14 06:53:25",

    "updated_at": "2018-09-14 06:53:25"

}

}