1-877-548-3001 Sign in About Contact
Developer

POST

/api/ticket/{id}/accept

Accept the specified ticket

Scope:

client

or

operator

Request Parameters

Path

2

id

required

The id of the ticket to be accepted

Response

Schema

{}

payload

The ticket aceept data

{}

2

department_id

The department id

A

message

The response message

A

status

The system response status. Will be ok or error

curl

example request

1

curl -X POST -H "Content-Type: application/json"

2

-H "Authorization: Bearer {{Oauth Token}}"

3

https://developer.livehelpnow.net/api/ticket/{{12345678}}/accept

example response

      
        

1

 {

2

   "payload": {

3

     "department_id"

: 1,

4

     "message"

: "Ticket 16844179 successfully accepted"

5

   },

6

   "status": "ok"

7

 }