POST api/Tickets/RemoveRelatedTickets

Removes realation between tickets.

Request Information

URI Parameters

None.

Body Parameters

RemoveRelatedTicketsPost
NameDescriptionTypeAdditional information
TicketId

The main ticket.

integer

None.

RelatedTicketsIds

The related tickets' IDs. Doesn't matter which kind of relation the tickets have with each other.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 1,
  "RelatedTicketsIds": [
    2,
    1
  ]
}

application/xml, text/xml

Sample:
<RemoveRelatedTicketsPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <RelatedTicketsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>2</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </RelatedTicketsIds>
  <TicketId>1</TicketId>
</RemoveRelatedTicketsPost>

Response Information

Resource Description

IHttpActionResult

None.