POST api/Tickets/Vote

Adds a vote to the ticket.

Request Information

URI Parameters

None.

Body Parameters

VotePost
NameDescriptionTypeAdditional information
TicketId

(Required TicketId OR TicketREF) The ID of the ticket

integer

None.

TicketREF

(Required TicketId OR TicketREF) The reference ID of the ticket

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": null,
  "TicketREF": "INC-000047"
}

application/xml, text/xml

Sample:
<VotePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <TicketId i:nil="true" />
  <TicketREF>INC-000047</TicketREF>
</VotePost>

Response Information

Resource Description

IHttpActionResult

None.