URL : api/ticket-status-list

Method : GET

Query Parameters :

Parameter Type Possible Values Required/Optional Description
sort-field String name Optional Field name to sort
sort-order String asc, desc Optional Sorting order either ascending or descending
search-query String Optional Keyword to be searched in Status list page
limit Integer Optional Number of records to be displayed in each page
page Integer Optional Page number

Success Response:

  
{
  "success": true,
  "data": {
    "current_page": 1,
    "first_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/ticket-status-list?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/ticket-status-list?page=1",
    "next_page_url": null,
    "path": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/ticket-status-list",
    "per_page": 10,
    "prev_page_url": null,
    "to": 7,
    "total": 7,
    "statuses": [
    {
      "id": 1,
      "name": "Open",
      "visibility_for_client": 1,
      "purpose_of_status": {
        "id": 1,
        "name": "open"
      },
      "send_email": "Client , Assigne ",
      "order": 1,
      "icon": "fa fa-clock-o"
    },
    {
      "id": 4,
      "name": "Deleted",
      "visibility_for_client": 1,
      "purpose_of_status": {
        "id": 4,
        "name": "deleted"
      },
      "send_email": "",
      "order": 4,
      "icon": "fa fa-trash"
    }
  ]
 }
}

Leave a Reply

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