POST api/Payment/SaveSaleData

Request Information

URI Parameters

None.

Body Parameters

SecureEmbedCheckoutModel
NameDescriptionTypeAdditional information
ApiKey

string

Required

InstanceId

integer

Required

Tickets

string

None.

Email

string

Required

DeliverTo

string

None.

Telephone

string

None.

FirstName

string

None.

LastName

string

None.

EventName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "sample string 1",
  "InstanceId": 2,
  "Tickets": "sample string 3",
  "Email": "sample string 4",
  "DeliverTo": "sample string 5",
  "Telephone": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "EventName": "sample string 9"
}

application/xml, text/xml

Sample:
<SecureEmbedCheckoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models">
  <ApiKey>sample string 1</ApiKey>
  <DeliverTo>sample string 5</DeliverTo>
  <Email>sample string 4</Email>
  <EventName>sample string 9</EventName>
  <FirstName>sample string 7</FirstName>
  <InstanceId>2</InstanceId>
  <LastName>sample string 8</LastName>
  <Telephone>sample string 6</Telephone>
  <Tickets>sample string 3</Tickets>
</SecureEmbedCheckoutModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SecureEmbedCheckoutModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.