POST api/Tickets/AddProductItem

Adds the product items to the ticket.

Request Information

URI Parameters

None.

Body Parameters

TicketProductItemPost
NameDescriptionTypeAdditional information
TicketId

Ticket id

integer

None.

ProductItemIds

Product item id

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 1,
  "ProductItemIds": [
    1
  ]
}

application/xml, text/xml

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

Response Information

Resource Description

IHttpActionResult

None.