POST api/ticket/updateticket

Updates the chosen ticket

Request Information

URI Parameters

None.

Body Parameters

The chosen ticket

UpdateTicketModel
NameDescriptionTypeAdditional information
Ticket

string

Required

Sort

integer

Required

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Ticket": "sample string 1",
  "Sort": 2,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateTicketModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InSumma_Servicebus.Models.Ticketing">
  <Message>sample string 3</Message>
  <Sort>2</Sort>
  <Ticket>sample string 1</Ticket>
</UpdateTicketModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Whether the action succeeded or not

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.