The schema defines all the fields that exist for a ticket object.
date string, datetime (ISO8601) |
The date the object was published, in the site’s timezone.
Context: |
date_gmt string, datetime (ISO8601) |
The date the object was published, as GMT.
Context: |
guid object |
The globally unique identifier for the object.
Read only Context: |
id integer |
Unique identifier for the object.
Read only Context: |
link string, uri |
URL to the object.
Read only Context: |
modified string, datetime (ISO8601) |
The date the object was last modified, in the site’s timezone.
Read only Context: |
modified_gmt string, datetime (ISO8601) |
The date the object was last modified, as GMT.
Read only Context: |
slug string |
An alphanumeric identifier for the object unique to its type.
Context: |
status string |
A named status for the object.
Context: One of: |
type string |
Type of Post for the object.
Read only Context: |
title object |
The title for the object.
Context: |
content object |
The content for the object.
Context: |
ticket-tag array |
The terms assigned to the object in the ticket-tag taxonomy.
Context: |
product string |
The terms assigned to the object in the product taxonomy.
Context: |
department string |
The terms assigned to the object in the department taxonomy.
Context: |
ticket_priority string |
The terms assigned to the object in the ticket_priority taxonomy.
Context: |
ticket_channel string |
The terms assigned to the object in the ticket_channel taxonomy.
Context: |
state string |
Limit result set to tickets in the specified state.
Context: |
author integer |
The ID for the author of the object. Set to 0 for all authors.
Context: |
assignee integer |
The agent assigned to this ticket. Set to 0 for all assignees.
Context: |
secondary-assignee integer |
The secondary assignee for this ticket
Context: |
tertiary-assignee integer |
The tertiary assignee for this ticket
Context: |
customer-reply-count integer |
The number of customer replies to this ticket
Context: |
agent-reply-count integer |
The number of agent replies to this ticket
Context: |
total-reply-count integer |
The number of total replies to this ticket
Context: |
time-calculated integer |
The gross time calculated for ticket in minutes
Context: |
time-adjustments integer |
The time adjustments for ticket in minutes
Context: |
time-final integer |
The final adjusted time for ticket in minutes
Read only Context: |
time-adjustments-type string |
The type of time adjustment, positive or negative.
Context: |
time-notes string |
The notes for the time
Context: |
$ curl -X OPTIONS -i http://demo.getawesomesupport.com/wp-json/wpas-api/v1/tickets