Accept the specified ticket
Scope:
client
or
operator
id
required
The id of the ticket to be accepted
payload
The ticket aceept data
department_id
The department id
message
The response message
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
 }