🟢[POST] Close
Change state of a ticket
Base URL:
{YOUR-DOMAIN}/upload/ost_wbs/
[ Header ] Authentication
Field
Type
Mandatory
apikey
string
✔️
[ Body ] parameters
Option
Type
Mandatory
query
string
✔️
condition
string
✔️
ticket_id
int
✔️
body
string
✔️
staff_id
int
✔️
status_id
int
✔️
team_id
int
✔️
dept_id
int
✔️
topic_id
int
✔️
username
string
✔️
Click here to see all Ticket Status available
Body request example:
{
"query":"ticket",
"condition":"close",
"parameters":{
"ticket_id":1,
"body":"<p>Ticket closed. Thank You!</p>",
"staff_id":1,
"status_id":3,
"team_id":1,
"dept_id":2,
"topic_id":1,
"username": "Bruno Vieira"
}
}
Status Code
{
"status": "Success",
"time": 0.09253191947937012,
"data": "Success! Row 1 affected."
}
Last updated