POST api/Payment/v2/MembershipPreRetailCheckout

Request Information

URI Parameters

None.

Body Parameters

TicketMembershipPurchaseRequest
NameDescriptionTypeAdditional information
Tickets

string

None.

Discount

decimal number

None.

PercentDiscount

boolean

None.

Tip

decimal number

None.

EnvironmentId

integer

None.

MemberCardId

integer

None.

Request Formats

[application/json, { "Tickets": "sample string 1", "Discount": 1.0, "PercentDiscount": true, "Tip": 1.0, "EnvironmentId": 2, "MemberCardId": 3 }][text/json, { "Tickets": "sample string 1", "Discount": 1.0, "PercentDiscount": true, "Tip": 1.0, "EnvironmentId": 2, "MemberCardId": 3 }][application/xml, <TicketMembershipPurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <Discount>1</Discount> <EnvironmentId>2</EnvironmentId> <MemberCardId>3</MemberCardId> <PercentDiscount>true</PercentDiscount> <Tickets>sample string 1</Tickets> <Tip>1</Tip> </TicketMembershipPurchaseRequest>][text/xml, <TicketMembershipPurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <Discount>1</Discount> <EnvironmentId>2</EnvironmentId> <MemberCardId>3</MemberCardId> <PercentDiscount>true</PercentDiscount> <Tickets>sample string 1</Tickets> <Tip>1</Tip> </TicketMembershipPurchaseRequest>][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 'TicketMembershipPurchaseRequest'.]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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