POST api/Tickets/ChangeSubject

Changes the ticket's subject.

Request Information

URI Parameters

None.

Body Parameters

ChangeSubjectPost
NameDescriptionTypeAdditional information
TicketId

(Required) The ticket Id where to change the subject.

integer

None.

NewSubject

New subject.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 1356,
  "NewSubject": "New subject"
}

application/xml, text/xml

Sample:
<ChangeSubjectPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts.Tickets">
  <NewSubject>New subject</NewSubject>
  <TicketId>1356</TicketId>
</ChangeSubjectPost>

Response Information

Resource Description

IHttpActionResult

None.