POST api/Payment/PreRetailCheckout
Request Information
URI Parameters
None.
Body Parameters
TicketPurchaseRequestName | Description | Type | Additional information |
---|---|---|---|
Tickets | string |
None. |
|
Discount | decimal number |
None. |
|
PercentDiscount | boolean |
None. |
|
Tip | decimal number |
None. |
|
EnvironmentId | integer |
None. |
Request Formats
[application/json, { "Tickets": "sample string 1", "Discount": 1.0, "PercentDiscount": true, "Tip": 1.0, "EnvironmentId": 2 }][text/json, { "Tickets": "sample string 1", "Discount": 1.0, "PercentDiscount": true, "Tip": 1.0, "EnvironmentId": 2 }][application/xml, <TicketPurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <Discount>1</Discount> <EnvironmentId>2</EnvironmentId> <PercentDiscount>true</PercentDiscount> <Tickets>sample string 1</Tickets> <Tip>1</Tip> </TicketPurchaseRequest>][text/xml, <TicketPurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <Discount>1</Discount> <EnvironmentId>2</EnvironmentId> <PercentDiscount>true</PercentDiscount> <Tickets>sample string 1</Tickets> <Tip>1</Tip> </TicketPurchaseRequest>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TicketPurchaseRequest'.]Response Information
Resource Description
IHttpActionResultNone.