NOTE: User must me logged in as agent or admin to access this API

URL : service-desk/api/problem-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 problem list page
limit Integer Optional Number of records to be displayed in each page
page Integer Optional Page number
problem_ids Array Optional Array of problem ids
dept_ids Array Optional Array of department ids
impact_ids Array Optional Array of impact ids
status_ids Array Optional Array of status ids
location_ids Array Optional Array of location ids
priority_ids Array Optional Array of priority ids
assigned_ids Array Optional Array of assigned ids
asset_ids Array Optional Array of asset ids
ticket_ids Array Optional Array of ticket ids
from_ids Array Optional Array of user ids

Success Response:

{ 
  "success":true,
  "data":{
    "current_page":1,
    "first_page_url":"https://www.stableservicedesk.faveodemo.com\/service-desk\/api\/problem-list?page=1","from":1,"last_page":1,"last_page_url":"https:\/\/www.stableservicedesk.faveodemo.com\/service-desk\/api\/problem-list?page=1",
    "next_page_url":null,
    "path":"https:\/\/www.stableservicedesk.faveodemo.com\/service-desk\/api\/problem-list",
    "per_page":10,
    "prev_page_url":null,
    "to":2,
    "total":2,
    "problems":[
     {
       "id":16,
       "problem_number":"#PRB-16",
       "subject":"IPod touch gaurd is cracked, need to replace it.",
       "from":{
         "id":9,
         "email":"agentfrehservice1@gmail.com",
         "full_name":null,
         "meta_name":"agentfrehservice1@gmail.com"
       },
       "department":{
         "id":1,
         "name":"Support"
      },
      "status":{
        "id":1,
        "name":"Open"
      }
    },
    {
      "id":15,
      "problem_number":"#PRB-15",
      "subject":"Need an new power cable of MacBook Pro",
      "from":{
        "id":9,
        "email":"agentfrehservice1@gmail.com",
        "full_name":null,"meta_name":"agentfrehservice1@gmail.com"
      },
      "department":{
        "id":1,
        "name":"Support"
      },
      "status":{
        "id":1,
        "name":"Open"
      }
    }]
  }
}