URL: api/check-ticket/{id}

Method: GET

Description : gives the details of asked ticket along with all the threads under it

{

"success":true,

"data":{

   "ticket":{

       "id":1,

             "duedate":"2018-08-27 10:02:46",

 "dept_id":3,

 "ticket_number":"AAAA-0000-0000",

 "status":"Open",

 "created_at":"2018-08-27 05:02:46",

 "thread_count":1,

 "collaborator_count":null,

 "attachment_count":0,

 "poster":"client",

 "ratings":[],

 "user”:{

"id":1,

"first_name":"Demo",

"last_name":"Admin",

"profile_pic":"https:\/\/secure.gravatar.com\/avatar",

"email":"demo-admin@gmail.com"

},

 "collaborator_count_relation":[],

 "help_topic":"Support query",

 "title":"something",

 "threads":[

{

"id":1,

"user_id":1,

"title":"something",

"body":"<p>something<\/p>",

"created_at":"2018-08-27 05:02:46",

"updated_at":"2018-08-27 05:02:46",

"ticket_id":1,

"ratings":[],

"user":{

"id":1,

"first_name":"Demo",

"last_name":"Admin",

"profile_pic":"https:\/\/secure.gravatar.com",

"email":"demo-admin@gmail.com",

"role":"admin"

},

"attach":[]

}

 ],

   "department":"Operation",

   "priority":"Low"

},

"reply":"yes",

"uploadfilesize":8388608,

"uploadSingleFileSize":2097152,

"uploadFilecount":20

}

}

 

Leave a Reply

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