URL: api/ticket-conversation/{approvalhash}

Method: GET

Description : Gives the conversation based on the approval hash

Segment:

Parameter Type Optional/Required Description
page integer Optional This is the current page in the ticket list.

Parameters: None

Success Response :

{

"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,\/\/secure.gravatar.com",

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

"role":"admin"



"first_name":"Demo",

"last_name":"Admin",

"profile_pic":"https:},

"attach":[]

}

 ],

   "department":"Operation",

   "priority":"Low"

},

"reply":"yes",

"uploadfilesize":8388608,

"uploadSingleFileSize":2097152,

"uploadFilecount":20

}

}



Error Response :

{

"success":false,

"message":"link expired"

}

OR

{

"success":false,

"Message":"invalid hash"

}

 

Tagged: