POST api/ShoppingCart/Paypalordercomfirmation

Request Information

URI Parameters

None.

Body Parameters

ordercomfirmation
NameDescriptionTypeAdditional information
token

string

None.

payerId

string

None.

finalPaymentAmount

string

None.

PaypalProductTitle

string

None.

PaypalProductDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "payerId": "sample string 2",
  "finalPaymentAmount": "sample string 3",
  "PaypalProductTitle": "sample string 4",
  "PaypalProductDesc": "sample string 5"
}

application/xml, text/xml

Sample:
<ShoppingCartModel.ordercomfirmation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjoleeAPI.Models">
  <PaypalProductDesc>sample string 5</PaypalProductDesc>
  <PaypalProductTitle>sample string 4</PaypalProductTitle>
  <finalPaymentAmount>sample string 3</finalPaymentAmount>
  <payerId>sample string 2</payerId>
  <token>sample string 1</token>
</ShoppingCartModel.ordercomfirmation>

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

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.