GET api/ShoppingCartItems?shoppingCartId={shoppingCartId}&portalId={portalId}

Retrieve a list of active shopping cart items by Shopping Cart ID.
Possible Service Responses:
200/OK - a list of active shopping cart items are returned in the body of the response.
404/Shopping Cart Items Not Found - no available shopping cart items found.
500/Internal Server - unexpected server error, details in the body of the response.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shoppingCartId

System.String

Required

portalId

System.String

Required

Body Parameters

None.

Response Information

Resource Description

A list of events

System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.ShoppingCartItem]
NameDescriptionTypeAdditional information
Id

System.String

None.

ShoppingCartId

System.String

None.

WebProductId

System.String

None.

Name

System.String

None.

AttendeeId

System.String

None.

AttendeeName

System.String

None.

Quantity

System.Int32

None.

Price

System.Decimal

None.

TotalPrice

System.Decimal

None.

ProgramName

System.String

None.

ProgramDescription

System.String

None.

ProgramPrice

System.Decimal

None.

RecurringBilling

System.Boolean

None.

SessionOption

Altai.Web.Services.Models.SessionOption

None.

Discount

System.Decimal

None.

ParentWebProductId

System.Guid

None.

CouponId

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "ShoppingCartId": "sample string 2",
    "WebProductId": "sample string 3",
    "Name": "sample string 4",
    "AttendeeId": "sample string 5",
    "AttendeeName": "sample string 6",
    "Quantity": 7,
    "Price": 8.0,
    "TotalPrice": 9.0,
    "ProgramName": "sample string 10",
    "ProgramDescription": "sample string 11",
    "ProgramPrice": 12.0,
    "RecurringBilling": true,
    "SessionOption": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "SessionId": "sample string 3"
    },
    "Discount": 14.0,
    "ParentWebProductId": "d4e12374-6779-4d12-b352-4e4681947ed5",
    "CouponId": "sample string 15"
  },
  {
    "Id": "sample string 1",
    "ShoppingCartId": "sample string 2",
    "WebProductId": "sample string 3",
    "Name": "sample string 4",
    "AttendeeId": "sample string 5",
    "AttendeeName": "sample string 6",
    "Quantity": 7,
    "Price": 8.0,
    "TotalPrice": 9.0,
    "ProgramName": "sample string 10",
    "ProgramDescription": "sample string 11",
    "ProgramPrice": 12.0,
    "RecurringBilling": true,
    "SessionOption": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "SessionId": "sample string 3"
    },
    "Discount": 14.0,
    "ParentWebProductId": "d4e12374-6779-4d12-b352-4e4681947ed5",
    "CouponId": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfShoppingCartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <ShoppingCartItem>
    <AttendeeId>sample string 5</AttendeeId>
    <AttendeeName>sample string 6</AttendeeName>
    <CouponId>sample string 15</CouponId>
    <Discount>14</Discount>
    <Id>sample string 1</Id>
    <Name>sample string 4</Name>
    <ParentWebProductId>d4e12374-6779-4d12-b352-4e4681947ed5</ParentWebProductId>
    <Price>8</Price>
    <ProgramDescription>sample string 11</ProgramDescription>
    <ProgramName>sample string 10</ProgramName>
    <ProgramPrice>12</ProgramPrice>
    <Quantity>7</Quantity>
    <RecurringBilling>true</RecurringBilling>
    <SessionOption>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <SessionId>sample string 3</SessionId>
    </SessionOption>
    <ShoppingCartId>sample string 2</ShoppingCartId>
    <TotalPrice>9</TotalPrice>
    <WebProductId>sample string 3</WebProductId>
  </ShoppingCartItem>
  <ShoppingCartItem>
    <AttendeeId>sample string 5</AttendeeId>
    <AttendeeName>sample string 6</AttendeeName>
    <CouponId>sample string 15</CouponId>
    <Discount>14</Discount>
    <Id>sample string 1</Id>
    <Name>sample string 4</Name>
    <ParentWebProductId>d4e12374-6779-4d12-b352-4e4681947ed5</ParentWebProductId>
    <Price>8</Price>
    <ProgramDescription>sample string 11</ProgramDescription>
    <ProgramName>sample string 10</ProgramName>
    <ProgramPrice>12</ProgramPrice>
    <Quantity>7</Quantity>
    <RecurringBilling>true</RecurringBilling>
    <SessionOption>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <SessionId>sample string 3</SessionId>
    </SessionOption>
    <ShoppingCartId>sample string 2</ShoppingCartId>
    <TotalPrice>9</TotalPrice>
    <WebProductId>sample string 3</WebProductId>
  </ShoppingCartItem>
</ArrayOfShoppingCartItem>