POST api/TicketItems/Discount

Request Information

URI Parameters

None.

Body Parameters

TicketItemSaveDiscountIn
NameDescriptionTypeAdditional information
DiscountAmount

decimal number

None.

DiscountCode

string

None.

DiscountSymbol

string

None.

IsTaxable

boolean

None.

Notes

string

None.

SerialNumber

string

None.

TicketID

globally unique identifier

None.

TicketItemID

globally unique identifier

None.

UserID

globally unique identifier

None.

UserName

string

None.

Quantity

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "DiscountAmount": 1.0,
  "DiscountCode": "sample string 2",
  "DiscountSymbol": "sample string 3",
  "IsTaxable": true,
  "Notes": "sample string 5",
  "SerialNumber": "sample string 6",
  "TicketID": "3cbba7d5-4b79-429c-892c-882c7881f841",
  "TicketItemID": "ea0640db-f5d7-465d-b0ae-c008c560bd93",
  "UserID": "54428e23-4d80-49a8-a71e-104fefa9e8e5",
  "UserName": "sample string 10",
  "Quantity": 11.0
}

application/xml, text/xml

Sample:
<TicketItemSaveDiscountIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DiscountAmount>1</DiscountAmount>
  <DiscountCode>sample string 2</DiscountCode>
  <DiscountSymbol>sample string 3</DiscountSymbol>
  <IsTaxable>true</IsTaxable>
  <Notes>sample string 5</Notes>
  <Quantity>11</Quantity>
  <SerialNumber>sample string 6</SerialNumber>
  <TicketID>3cbba7d5-4b79-429c-892c-882c7881f841</TicketID>
  <TicketItemID>ea0640db-f5d7-465d-b0ae-c008c560bd93</TicketItemID>
  <UserID>54428e23-4d80-49a8-a71e-104fefa9e8e5</UserID>
  <UserName>sample string 10</UserName>
</TicketItemSaveDiscountIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.