GET api/Order/GetCart?memberID={memberID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ShoppingCartDto
NameDescriptionTypeAdditional information
ShopID

integer

None.

ShopName

string

None.

HasChecked

boolean

None.

Items

Collection of ShoppintCartItemDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ShopID": 1,
    "ShopName": "sample string 2",
    "HasChecked": true,
    "Items": [
      {
        "ID": 1,
        "ArticleID": 2,
        "Name": "sample string 3",
        "Logo": "sample string 4",
        "CurrentPrice": 5.0,
        "Price": 6.0,
        "Quantity": 7,
        "Money": 8.0,
        "HasChecked": true,
        "Referee": 10
      },
      {
        "ID": 1,
        "ArticleID": 2,
        "Name": "sample string 3",
        "Logo": "sample string 4",
        "CurrentPrice": 5.0,
        "Price": 6.0,
        "Quantity": 7,
        "Money": 8.0,
        "HasChecked": true,
        "Referee": 10
      }
    ]
  },
  {
    "ShopID": 1,
    "ShopName": "sample string 2",
    "HasChecked": true,
    "Items": [
      {
        "ID": 1,
        "ArticleID": 2,
        "Name": "sample string 3",
        "Logo": "sample string 4",
        "CurrentPrice": 5.0,
        "Price": 6.0,
        "Quantity": 7,
        "Money": 8.0,
        "HasChecked": true,
        "Referee": 10
      },
      {
        "ID": 1,
        "ArticleID": 2,
        "Name": "sample string 3",
        "Logo": "sample string 4",
        "CurrentPrice": 5.0,
        "Price": 6.0,
        "Quantity": 7,
        "Money": 8.0,
        "HasChecked": true,
        "Referee": 10
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfShoppingCartDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProTech.Member.Entity">
  <ShoppingCartDto>
    <HasChecked>true</HasChecked>
    <Items>
      <ShoppintCartItemDto>
        <ArticleID>2</ArticleID>
        <CurrentPrice>5</CurrentPrice>
        <HasChecked>true</HasChecked>
        <ID>1</ID>
        <Logo>sample string 4</Logo>
        <Money>8</Money>
        <Name>sample string 3</Name>
        <Price>6</Price>
        <Quantity>7</Quantity>
        <Referee>10</Referee>
      </ShoppintCartItemDto>
      <ShoppintCartItemDto>
        <ArticleID>2</ArticleID>
        <CurrentPrice>5</CurrentPrice>
        <HasChecked>true</HasChecked>
        <ID>1</ID>
        <Logo>sample string 4</Logo>
        <Money>8</Money>
        <Name>sample string 3</Name>
        <Price>6</Price>
        <Quantity>7</Quantity>
        <Referee>10</Referee>
      </ShoppintCartItemDto>
    </Items>
    <ShopID>1</ShopID>
    <ShopName>sample string 2</ShopName>
  </ShoppingCartDto>
  <ShoppingCartDto>
    <HasChecked>true</HasChecked>
    <Items>
      <ShoppintCartItemDto>
        <ArticleID>2</ArticleID>
        <CurrentPrice>5</CurrentPrice>
        <HasChecked>true</HasChecked>
        <ID>1</ID>
        <Logo>sample string 4</Logo>
        <Money>8</Money>
        <Name>sample string 3</Name>
        <Price>6</Price>
        <Quantity>7</Quantity>
        <Referee>10</Referee>
      </ShoppintCartItemDto>
      <ShoppintCartItemDto>
        <ArticleID>2</ArticleID>
        <CurrentPrice>5</CurrentPrice>
        <HasChecked>true</HasChecked>
        <ID>1</ID>
        <Logo>sample string 4</Logo>
        <Money>8</Money>
        <Name>sample string 3</Name>
        <Price>6</Price>
        <Quantity>7</Quantity>
        <Referee>10</Referee>
      </ShoppintCartItemDto>
    </Items>
    <ShopID>1</ShopID>
    <ShopName>sample string 2</ShopName>
  </ShoppingCartDto>
</ArrayOfShoppingCartDto>