POST api/forb2b/bulk-add-to-cart

Request Information

URI Parameters

None.

Body Parameters

BulkAddToCart
NameDescriptionTypeAdditional information
ProductId

integer

None.

CustomerId

string

None.

Quantity

integer

None.

ModelId

integer

None.

BrandId

integer

None.

ColorId

integer

None.

RamId

integer

None.

RomId

integer

None.

Price

decimal number

None.

CartRef

string

None.

SkuVrp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "CustomerId": "sample string 2",
  "Quantity": 3,
  "ModelId": 4,
  "BrandId": 5,
  "ColorId": 6,
  "RamId": 7,
  "RomId": 8,
  "Price": 9.0,
  "CartRef": "sample string 10",
  "SkuVrp": "sample string 11"
}

application/xml, text/xml

Sample:
<BulkAddToCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model">
  <BrandId>5</BrandId>
  <CartRef>sample string 10</CartRef>
  <ColorId>6</ColorId>
  <CustomerId>sample string 2</CustomerId>
  <ModelId>4</ModelId>
  <Price>9</Price>
  <ProductId>1</ProductId>
  <Quantity>3</Quantity>
  <RamId>7</RamId>
  <RomId>8</RomId>
  <SkuVrp>sample string 11</SkuVrp>
</BulkAddToCart>

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

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.