POST api/Tickets/SetResolutionText
Sets the ticket Resolution text.
Request Information
URI Parameters
None.
Body Parameters
SetResolutionTextPostName | Description | Type | Additional information |
---|---|---|---|
TicketId |
(Required) The Ticket Id to set the resolution. |
integer |
None. |
ResolutionText |
The text of the resolution. If null or empty, the resolution text will be cleared. |
string |
None. |
IsHtml |
If the ResolutionText is in HTML format, mark IsHtml as true. If plaintext, mark as false. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "TicketId": 1234, "ResolutionText": "This is the resolution text of the ticket.", "IsHtml": false }
application/xml, text/xml
Sample:
<SetResolutionTextPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts.Tickets"> <IsHtml>false</IsHtml> <ResolutionText>This is the resolution text of the ticket.</ResolutionText> <TicketId>1234</TicketId> </SetResolutionTextPost>
Response Information
Resource Description
IHttpActionResultNone.