Update Ticket

PUT {{baseUrl}}/api/v2/tickets/:ticket_id

Request Body

{"ticket"=>{"additional_collaborators"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "assignee_email"=>"<email>", "assignee_id"=>"<integer>", "attribute_value_ids"=>["<integer>", "<integer>"], "collaborator_ids"=>"<array>", "comment"=>{"author_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "body"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "html_body"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "public"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "uploads"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "via"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "custom_fields"=>"<array>", "custom_status_id"=>"<integer>", "due_at"=>"<dateTime>", "email_ccs"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "external_id"=>"<string>", "followers"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "group_id"=>"<integer>", "organization_id"=>"<integer>", "priority"=>"<string>", "problem_id"=>"<integer>", "requester_id"=>"<integer>", "safe_update"=>"<boolean>", "sharing_agreement_ids"=>["<integer>", "<integer>"], "status"=>"<string>", "subject"=>"<string>", "tags"=>"<array>", "type"=>"<string>", "updated_stamp"=>"<dateTime>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;audit&quot;:{&quot;events&quot;:[{&quot;field_name&quot;:&quot;subject&quot;,&quot;id&quot;:206091192546,&quot;type&quot;:&quot;Create&quot;,&quot;value&quot;:&quot;My printer is on fire!&quot;},{&quot;body&quot;:&quot;The smoke is very colorful.&quot;,&quot;id&quot;:206091192547,&quot;type&quot;:&quot;Comment&quot;},{&quot;field_name&quot;:&quot;status&quot;,&quot;id&quot;:206091192548,&quot;type&quot;:&quot;Create&quot;,&quot;value&quot;:&quot;open&quot;},{&quot;field_name&quot;:&quot;custom_status_id&quot;,&quot;id&quot;:206091192549,&quot;type&quot;:&quot;Create&quot;,&quot;value&quot;:123}]},&quot;ticket&quot;:{&quot;custom_status_id&quot;:123,&quot;id&quot;:35436,&quot;requester_id&quot;:123453,&quot;status&quot;:&quot;open&quot;,&quot;subject&quot;:&quot;My printer is on fire!&quot;}}