id |
Unique identifier for the object. |
date |
The date the object was published, in the site’s timezone. |
date_gmt |
The date the object was published, as GMT. |
slug |
An alphanumeric identifier for the object unique to its type. |
status |
A named status for the object.
One of: |
title |
The title for the object. |
content |
The content for the object. |
ticket-tag |
The terms assigned to the object in the ticket-tag taxonomy. |
product |
The terms assigned to the object in the product taxonomy. |
department |
The terms assigned to the object in the department taxonomy. |
ticket_priority |
The terms assigned to the object in the ticket_priority taxonomy. |
ticket_channel |
The terms assigned to the object in the ticket_channel taxonomy. |
state |
Limit result set to tickets in the specified state. |
author |
The ID for the author of the object. Set to 0 for all authors. |
assignee |
The agent assigned to this ticket. Set to 0 for all assignees. |
secondary-assignee |
The secondary assignee for this ticket |
tertiary-assignee |
The tertiary assignee for this ticket |
customer-reply-count |
The number of customer replies to this ticket |
agent-reply-count |
The number of agent replies to this ticket |
total-reply-count |
The number of total replies to this ticket |
time-calculated |
The gross time calculated for ticket in minutes |
time-adjustments |
The time adjustments for ticket in minutes |
time-adjustments-type |
The type of time adjustment, positive or negative. |
time-notes |
The notes for the time |
POST /wpas-api/v1/tickets/<id>
$ curl -X POST http://awesomesupport.dev/wp-json -d '{"title":"My New Title"}'