Check Ticket

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″, […]

Read More

Approval Ticket Conversation

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, […]

Read More

Approval Ticket Action

URL: api/approval-action/{hash} NOTE: hash is Unique string for identifying the user Method: POST Description : Approves or denies a ticket Parameters: Parameter Type Optional/Required Description action_type string Required approve or deny comment string Required Reason for approval or denial Success Response : { “success”:true, “Message”:”successfully approved/denied” } Error Response : { “success”:false, “message”:”hash expired” } […]

Read More