POST api/PBCart/AddToPBCart

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objPBCart
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Category_Name": "sample string 1",
  "abc": "sample string 2",
  "cccd": "sample string 3",
  "CartID": 4,
  "UserName": "sample string 5",
  "Product_Name": "sample string 6",
  "Quantity": 7,
  "Price": 8,
  "cartcount": 9,
  "Unit": "sample string 10",
  "Description": "sample string 11",
  "AddToCartDate": "sample string 12",
  "DeliveryDate": "sample string 13",
  "TotalAmount": 14,
  "DeliveryCharges": 15,
  "ItCd": 16
}

text/html

Sample:
{"Category_Name":"sample string 1","abc":"sample string 2","cccd":"sample string 3","CartID":4,"UserName":"sample string 5","Product_Name":"sample string 6","Quantity":7,"Price":8,"cartcount":9,"Unit":"sample string 10","Description":"sample string 11","AddToCartDate":"sample string 12","DeliveryDate":"sample string 13","TotalAmount":14,"DeliveryCharges":15,"ItCd":16}

application/xml, text/xml

Sample:
<PBCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <AddToCartDate>sample string 12</AddToCartDate>
  <CartID>4</CartID>
  <Category_Name>sample string 1</Category_Name>
  <DeliveryCharges>15</DeliveryCharges>
  <DeliveryDate>sample string 13</DeliveryDate>
  <Description>sample string 11</Description>
  <ItCd>16</ItCd>
  <Price>8</Price>
  <Product_Name>sample string 6</Product_Name>
  <Quantity>7</Quantity>
  <TotalAmount>14</TotalAmount>
  <Unit>sample string 10</Unit>
  <UserName>sample string 5</UserName>
  <abc>sample string 2</abc>
  <cartcount>9</cartcount>
  <cccd>sample string 3</cccd>
</PBCart>

application/x-www-form-urlencoded

Sample:

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>