The schema defines all the fields that exist for a ticket object.
datestring, datetime (ISO8601) |
The date the object was published, in the site’s timezone.
Context: |
date_gmtstring, datetime (ISO8601) |
The date the object was published, as GMT.
Context: |
guidobject |
The globally unique identifier for the object.
Read only Context: |
idinteger |
Unique identifier for the object.
Read only Context: |
linkstring, uri |
URL to the object.
Read only Context: |
modifiedstring, datetime (ISO8601) |
The date the object was last modified, in the site’s timezone.
Read only Context: |
modified_gmtstring, datetime (ISO8601) |
The date the object was last modified, as GMT.
Read only Context: |
slugstring |
An alphanumeric identifier for the object unique to its type.
Context: |
statusstring |
A named status for the object.
Context: One of: |
typestring |
Type of Post for the object.
Read only Context: |
titleobject |
The title for the object.
Context: |
contentobject |
The content for the object.
Context: |
ticket-tagarray |
The terms assigned to the object in the ticket-tag taxonomy.
Context: |
productstring |
The terms assigned to the object in the product taxonomy.
Context: |
departmentstring |
The terms assigned to the object in the department taxonomy.
Context: |
ticket_prioritystring |
The terms assigned to the object in the ticket_priority taxonomy.
Context: |
ticket_channelstring |
The terms assigned to the object in the ticket_channel taxonomy.
Context: |
statestring |
Limit result set to tickets in the specified state.
Context: |
authorinteger |
The ID for the author of the object. Set to 0 for all authors.
Context: |
assigneeinteger |
The agent assigned to this ticket. Set to 0 for all assignees.
Context: |
secondary-assigneeinteger |
The secondary assignee for this ticket
Context: |
tertiary-assigneeinteger |
The tertiary assignee for this ticket
Context: |
customer-reply-countinteger |
The number of customer replies to this ticket
Context: |
agent-reply-countinteger |
The number of agent replies to this ticket
Context: |
total-reply-countinteger |
The number of total replies to this ticket
Context: |
time-calculatedinteger |
The gross time calculated for ticket in minutes
Context: |
time-adjustmentsinteger |
The time adjustments for ticket in minutes
Context: |
time-finalinteger |
The final adjusted time for ticket in minutes
Read only Context: |
time-adjustments-typestring |
The type of time adjustment, positive or negative.
Context: |
time-notesstring |
The notes for the time
Context: |
$ curl -X OPTIONS -i http://demo.getawesomesupport.com/wp-json/wpas-api/v1/tickets