GET sccm/shoppingCartItems/{portalId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
portalId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ShoppingCartItemDto
NameDescriptionTypeAdditional information
WebProductId

globally unique identifier

None.

ProductId

globally unique identifier

None.

ProductType

string

None.

WebProductName

string

None.

Quantity

integer

None.

Price

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WebProductId": "8fa21105-e160-4b3d-b795-50160b16fbf4",
    "ProductId": "34a8ee70-3be0-49f8-93c3-6050579115e0",
    "ProductType": "sample string 3",
    "WebProductName": "sample string 4",
    "Quantity": 1,
    "Price": 5.0
  },
  {
    "WebProductId": "8fa21105-e160-4b3d-b795-50160b16fbf4",
    "ProductId": "34a8ee70-3be0-49f8-93c3-6050579115e0",
    "ProductType": "sample string 3",
    "WebProductName": "sample string 4",
    "Quantity": 1,
    "Price": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfShoppingCartItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AltaiStandard.Web.ClientIntegrationService.Helpers">
  <ShoppingCartItemDto>
    <Price>5</Price>
    <ProductId>34a8ee70-3be0-49f8-93c3-6050579115e0</ProductId>
    <ProductType>sample string 3</ProductType>
    <Quantity>1</Quantity>
    <WebProductId>8fa21105-e160-4b3d-b795-50160b16fbf4</WebProductId>
    <WebProductName>sample string 4</WebProductName>
  </ShoppingCartItemDto>
  <ShoppingCartItemDto>
    <Price>5</Price>
    <ProductId>34a8ee70-3be0-49f8-93c3-6050579115e0</ProductId>
    <ProductType>sample string 3</ProductType>
    <Quantity>1</Quantity>
    <WebProductId>8fa21105-e160-4b3d-b795-50160b16fbf4</WebProductId>
    <WebProductName>sample string 4</WebProductName>
  </ShoppingCartItemDto>
</ArrayOfShoppingCartItemDto>