GET api/{area}/ShopCar/GetShopCartList?aid={aid}&sid={sid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aid

string

Required

sid

string

Required

area

string

None.

Body Parameters

None.

Response Information

Resource Description

ShopCartInfoList
NameDescriptionTypeAdditional information
shopCartList

Collection of ShopCartInfo

None.

total

integer

None.

totalPrice

string

None.

IntegralAlias

string

None.

Response Formats

application/json, text/json

Sample:
{
  "shopCartList": [
    {
      "productID": "sample string 1",
      "productName": "sample string 2",
      "price": "sample string 3",
      "imageUrl": "sample string 4",
      "amount": 5,
      "BuyInfo": "sample string 6",
      "shopCartId": "sample string 7",
      "isChecked": true
    },
    {
      "productID": "sample string 1",
      "productName": "sample string 2",
      "price": "sample string 3",
      "imageUrl": "sample string 4",
      "amount": 5,
      "BuyInfo": "sample string 6",
      "shopCartId": "sample string 7",
      "isChecked": true
    }
  ],
  "total": 1,
  "totalPrice": "sample string 2",
  "IntegralAlias": "sample string 3"
}

application/xml, text/xml

Sample:
<ShopCartInfoList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
  <IntegralAlias>sample string 3</IntegralAlias>
  <shopCartList>
    <ShopCartInfo>
      <BuyInfo>sample string 6</BuyInfo>
      <amount>5</amount>
      <imageUrl>sample string 4</imageUrl>
      <isChecked>true</isChecked>
      <price>sample string 3</price>
      <productID>sample string 1</productID>
      <productName>sample string 2</productName>
      <shopCartId>sample string 7</shopCartId>
    </ShopCartInfo>
    <ShopCartInfo>
      <BuyInfo>sample string 6</BuyInfo>
      <amount>5</amount>
      <imageUrl>sample string 4</imageUrl>
      <isChecked>true</isChecked>
      <price>sample string 3</price>
      <productID>sample string 1</productID>
      <productName>sample string 2</productName>
      <shopCartId>sample string 7</shopCartId>
    </ShopCartInfo>
  </shopCartList>
  <total>1</total>
  <totalPrice>sample string 2</totalPrice>
</ShopCartInfoList>