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

URL : service-desk/api/problem/{problemId}

Method : GET

Query Parameters :

Parameter Type Possible Values Required/Optional Description
problemId Integer Required Problem id

Success Response:

{
  "success":true,
  "data":{
    "id":16,
    "from":{
      "id":9,
      "email":"agentfrehservice1@gmail.com",
      "name":"Manas Patil",
      "profile_pic":"https://faveo.service.desk/avatar/1091235146c52c188a5f4a6227809979?s=80&r=g&d=identicon"
    },
    "subject":"IPod touch gaurd is cracked, need to replace it.",
    "description":"<p>Yesterday while testing one app, iPod touch is <span class=\"scayt-misspell-word\" data-scayt-word=\"falled\" data-wsc-lang=\"en_US\">fallen<\/span> down on the floor and touch guard is broken. I am not able to see the content on the screen. Need to replace.",
    "status_type_id":{
      "id":1,
      "name":"Open"
   },
   "priority_id":{
     "id":3,
     "name":"High"
   },
   "impact_id":{
     "id":2,
     "name":"Medium"
   },
   "location_type_id":{
     "id":2,
     "name":"Delhi"
   },
   "assigned_id":{
     "id":25,
     "name":"Gaurav Kole",
     "profile_pic":"https://faveo.service.desk/avatar/eef84165471847947fe886dfd33a3cfc?s=80&r=g&d=identicon"
  },
  "created_at":"2018-09-06 14:35:37",
  "updated_at":"2019-07-11 02:16:16",
  "asset_ids":[
    {
      "id":10,
      "name":"Mallikarjun's iPod"
    }
  ],
  "department_id":{
    "id":1,
    "name":"Support"
  },
  "attachment":null
 }
}

Error Response:

{
  "success":false,
  "message":"Problem Not Found"
}