# Applies a JSON Patch document to update specific properties of a ticket. This endpoint supports partial updates to a ticket using a JSON Patch document. The number of operations in the patch document must not exceed the number of updatable properties in the WorkflowCore.Controllers.Request.PatchTicketRequest model. Additionally, only "replace" operations are allowed. Endpoint: PATCH /tickets/{ticketId} Version: v3 Security: oauth2 ## Path parameters: - `ticketId` (string, required) The unique identifier of the ticket to be updated. ## Request fields (application/json): - `op` (string) The operation to be performed. - `path` (string) A JSON Pointer path to the target location. - `value` (object) The value to be used in the operation. ## Response 200 fields (application/json): - `id` (string) Gets or sets the unique identifier for the ticket. - `ticketPriority` (object) - `ticketPriority.id` (string) Gets or sets the unique identifier for the ticket priority. - `ticketPriority.name` (string,null) Gets or sets the name of the ticket priority. - `ticketPriority.priorityLevel` (string) Ticket priority levels. These are the standardized priority levels recognized by Willow that can be assigned to tickets. Custom priority levels should be mapped to these standard levels so the system can interpret them consistently. Enum: "urgent", "high", "medium", "low" - `ticketStatus` (object) Represent the Ticket status dto class. - `ticketStatus.id` (string) Gets or sets the unique identifier for the ticket status. - `ticketStatus.name` (string,null) Gets or sets the name of the ticket status. - `ticketStatus.tab` (string,null) Gets or sets the status's tab that can be used to filter ticket status in UI. - `ticketStatus.color` (string,null) Gets or sets the color associated with the ticket status. - `insightId` (string,null) Gets or sets the insight identifier associated with the ticket. - `summary` (string,null) Gets or sets the summary of the ticket. - `description` (string,null) Gets or sets the description of the ticket. - `cause` (string,null) Gets or sets the description of the underlying reason or cause associated with this instance. - `solution` (string,null) Gets or sets the solution text associated with the ticket. - `reporter` (object) - `reporter.id` (string,null) Gets or sets the unique identifier for the user. - `reporter.name` (string,null) Gets or sets the name of the user. - `reporter.email` (string,null) Gets or sets the email address of the user. - `reporter.phone` (string,null) Gets or sets the phone number of the user. - `reporter.company` (string,null) Gets or sets the company name associated with the user. - `assigneeType` (string) Specifies the type of assignee for a ticket. Enum: "noAssignee", "customerUser", "workGroup" - `userAssignee` (object) - `workgroupAssignee` (object) Represents a workgroup assignee for tickets. - `workgroupAssignee.id` (string,null) Gets or sets the workgroup identifier. - `workgroupAssignee.name` (string,null) Gets or sets the workgroup name. - `creator` (object) - `dueDate` (string,null) Gets or sets the due date of the ticket. - `createdDate` (string) Gets or sets the date when the ticket was created. - `updatedDate` (string) Gets or sets the date when the ticket was last updated. - `startedDate` (string,null) Gets or sets the date when the ticket was started. - `resolvedDate` (string,null) Gets or sets the date when the ticket was resolved. - `closedDate` (string,null) Gets or sets the date when the ticket was closed. - `sourceType` (string) Specifies the available data source types for queries and operations. Enum: "Adx", "AdtQuery", "AdtMemory", "Acs" - `sourceName` (string,null) Gets or sets the name of the source from which the ticket originated. - `externalId` (string,null) Gets or sets the external identifier of the ticket. - `externalCreatedDate` (string,null) Gets or sets the date when the ticket was created in an external system. - `externalUpdatedDate` (string,null) Gets or sets the date when the ticket was last updated in an external system. - `latitude` (number,null) Gets or sets the latitude of the ticket's location. - `longitude` (number,null) Gets or sets the longitude of the ticket's location. - `customProperties` (object,null) Gets or sets the custom properties associated with the ticket. - `extendableSearchablePropertyKeys` (array,null) Gets or sets the list of extendable searchable property keys associated with the ticket. - `scheduledDate` (string,null) Gets or sets the scheduled date for the ticket. - `occurrence` (integer) Gets or sets the occurrence count of the ticket. - `locations` (array,null) Gets or sets the list of ticket locations. - `locations.id` (string,null) Gets or sets location Id (Scope's twinId). - `locations.name` (string,null) Gets or sets location name. - `locations.modelId` (string,null) Gets or sets location model Id. - `twin` (object) Represent the base twin. - `twin.id` (string,null) Gets or sets the unique identifier for the twin. - `twin.name` (string,null) Gets or sets the name of the twin. - `twin.modelId` (string,null) Gets or sets the twin's model id. - `recommendations` (array,null) Gets or sets the list of ticket's recommendations. - `recommendations.id` (string) Gets or sets the unique identifier for the recommendation entity. - `recommendations.name` (string,null) Gets or sets the name of the recommendation. - `recommendations.recommendation` (string,null) Gets or sets the recommendation. - `recommendations.tags` (array,null) Gets or sets the tags for recommendation. - `category` (object) - `category.id` (string) - `category.name` (string,null) - `jobType` (object) - `serviceNeeded` (object) - `subStatus` (object) - `comments` (array,null) Gets or sets the comments associated with the ticket. - `comments.id` (string) Gets or sets the unique identifier for the comment. - `comments.text` (string,null) Gets or sets the text content of the comment. - `comments.createdDate` (string) Gets or sets the date and time when the comment was created. - `attachments` (array,null) Gets or sets the attachments associated with the ticket. - `attachments.id` (string) Gets or sets the unique identifier for the attachment. - `attachments.fileName` (string,null) Gets or sets the file name of the attachment. - `ticketCosts` (array,null) Gets or sets the list of ticket costs associated with the ticket. - `ticketCosts.phase` (string) Specifies the phase of ticket cost tracking, indicating whether the cost is estimated, planned, or actual. Enum: "estimated", "planned", "actual" - `ticketCosts.category` (string) Specifies the category of cost associated with a ticket, such as tools, materials, labor, or the total cost. Enum: "tool", "material", "labor", "total" - `ticketCosts.unit` (string,null) Gets or sets the unit of measurement associated with the value. - `ticketCosts.value` (number) Gets or sets the numeric value represented by this instance. ## Response 400 fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `errors` (object,null) ## Response 401 fields ## Response 404 fields