POST api/ShoppingCart/GetPayPalTokenID

Request Information

URI Parameters

None.

Body Parameters

ExpressCheckout
NameDescriptionTypeAdditional information
ShoppingCartReturnURL

string

None.

PaymentAmount

string

None.

shoppingCartItems

string

None.

PayPalCoupon

string

None.

PayPalCouponAmount

string

None.

PayPalCouponDiscountRate

string

None.

PaypalProductTitle

string

None.

PaypalProductCustom

string

None.

PayerId

string

None.

SilverPendantStatus

string

None.

SilverPendantStylenoStatus

string

None.

TotalAmount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShoppingCartReturnURL": "sample string 1",
  "PaymentAmount": "sample string 2",
  "shoppingCartItems": "sample string 3",
  "PayPalCoupon": "sample string 4",
  "PayPalCouponAmount": "sample string 5",
  "PayPalCouponDiscountRate": "sample string 6",
  "PaypalProductTitle": "sample string 7",
  "PaypalProductCustom": "sample string 8",
  "PayerId": "sample string 9",
  "SilverPendantStatus": "sample string 10",
  "SilverPendantStylenoStatus": "sample string 11",
  "TotalAmount": "sample string 12"
}

application/xml, text/xml

Sample:
<ShoppingCartModel.ExpressCheckout xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjoleeAPI.Models">
  <PayPalCoupon>sample string 4</PayPalCoupon>
  <PayPalCouponAmount>sample string 5</PayPalCouponAmount>
  <PayPalCouponDiscountRate>sample string 6</PayPalCouponDiscountRate>
  <PayerId>sample string 9</PayerId>
  <PaymentAmount>sample string 2</PaymentAmount>
  <PaypalProductCustom>sample string 8</PaypalProductCustom>
  <PaypalProductTitle>sample string 7</PaypalProductTitle>
  <ShoppingCartReturnURL>sample string 1</ShoppingCartReturnURL>
  <SilverPendantStatus>sample string 10</SilverPendantStatus>
  <SilverPendantStylenoStatus>sample string 11</SilverPendantStylenoStatus>
  <TotalAmount>sample string 12</TotalAmount>
  <shoppingCartItems>sample string 3</shoppingCartItems>
</ShoppingCartModel.ExpressCheckout>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.