POST api/utility/confirmpurchase

Request Information

URI Parameters

None.

Body Parameters

InAppPurchaseModel
NameDescriptionTypeAdditional information
OrderId

string

None.

OrderItem

string

None.

OrderDateTimeEpoch

integer

None.

FullName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Country

string

None.

CreditCard

string

None.

EmailAddress

string

None.

ZipCode

string

None.

OrderTotal

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": "sample string 1",
  "OrderItem": "sample string 2",
  "OrderDateTimeEpoch": 3,
  "FullName": "sample string 4",
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "Country": "sample string 9",
  "CreditCard": "sample string 10",
  "EmailAddress": "sample string 11",
  "ZipCode": "sample string 12",
  "OrderTotal": 13.1
}

application/xml, text/xml

Sample:
<InAppPurchaseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/All_About_PDF_API.Models">
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <City>sample string 7</City>
  <Country>sample string 9</Country>
  <CreditCard>sample string 10</CreditCard>
  <EmailAddress>sample string 11</EmailAddress>
  <FullName>sample string 4</FullName>
  <OrderDateTimeEpoch>3</OrderDateTimeEpoch>
  <OrderId>sample string 1</OrderId>
  <OrderItem>sample string 2</OrderItem>
  <OrderTotal>13.1</OrderTotal>
  <State>sample string 8</State>
  <ZipCode>sample string 12</ZipCode>
</InAppPurchaseModel>

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 'InAppPurchaseModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.