URL: v3/api/agent/ticket-filter

Method : POST

Parameters:

Parameter Type Optional/Required Description
id Integer Optional Ticket filter id. Required for update.
name string Required Ticket filter name. Max 255 char.
fields array Required Ticket 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"

}

}

 

Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *