POST api/Tickets/ChangeService

Changes the ticket's service. This can be done by an operator (solver or manager) or by an administrator to an open ticket.

Request Information

URI Parameters

None.

Body Parameters

ChangeServicePost
NameDescriptionTypeAdditional information
TicketId

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

integer

None.

ServiceId

Target Service Id.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 123,
  "ServiceId": 9
}

application/xml, text/xml

Sample:
<ChangeServicePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <ServiceId>9</ServiceId>
  <TicketId>123</TicketId>
</ChangeServicePost>

Response Information

Resource Description

IHttpActionResult

None.