POST AddToCart/FreeCompleteOrder

Request Information

URI Parameters

None.

Body Parameters

Freeorder
NameDescriptionTypeAdditional information
CustomerId

integer

None.

ShopId

integer

None.

Currency

string

None.

ProductId

integer

None.

SequenceNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "ShopId": 2,
  "Currency": "sample string 3",
  "ProductId": 4,
  "SequenceNo": "sample string 5"
}

application/xml, text/xml

Sample:
<Freeorder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL.ShoppingCart">
  <Currency>sample string 3</Currency>
  <CustomerId>1</CustomerId>
  <ProductId>4</ProductId>
  <SequenceNo>sample string 5</SequenceNo>
  <ShopId>2</ShopId>
</Freeorder>

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

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.