POST api/Payment/CheckoutTotal

Request Information

URI Parameters

None.

Body Parameters

TicketPurchaseRequest
NameDescriptionTypeAdditional information
Tickets

string

None.

Discount

decimal number

None.

PercentDiscount

boolean

None.

Tip

decimal number

None.

EnvironmentId

integer

None.

WalletType

string

None.

SeatObjectIds

string

None.

InstanceId

integer

None.

Request Formats

[application/json, { "Tickets": "sample string 1", "Discount": 1.0, "PercentDiscount": true, "Tip": 1.0, "EnvironmentId": 2, "WalletType": "sample string 3", "SeatObjectIds": "sample string 4", "InstanceId": 1 }][text/json, { "Tickets": "sample string 1", "Discount": 1.0, "PercentDiscount": true, "Tip": 1.0, "EnvironmentId": 2, "WalletType": "sample string 3", "SeatObjectIds": "sample string 4", "InstanceId": 1 }][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> <InstanceId>1</InstanceId> <PercentDiscount>true</PercentDiscount> <SeatObjectIds>sample string 4</SeatObjectIds> <Tickets>sample string 1</Tickets> <Tip>1</Tip> <WalletType>sample string 3</WalletType> </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> <InstanceId>1</InstanceId> <PercentDiscount>true</PercentDiscount> <SeatObjectIds>sample string 4</SeatObjectIds> <Tickets>sample string 1</Tickets> <Tip>1</Tip> <WalletType>sample string 3</WalletType> </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

IHttpActionResult

None.

Response Formats

[application/json, ][text/json, ][application/xml, ][text/xml, ]