GET api/shoppingcart/idtype?contactId={contactId}&accountId={accountId}

Retrieves Current Shopping Cart Summary Information such as Id and Cart Type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

globally unique identifier

Required

accountId

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

ShoppingCartIdType
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CartType

OptionSetValueModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "6ac45955-7cd3-4289-bd7c-a2865e281e25",
  "CartType": {
    "Label": "sample string 1",
    "Value": 2
  }
}

application/xml, text/xml

Sample:
<ShoppingCartIdType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <CartType xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Label>sample string 1</d2p1:Label>
    <d2p1:Value>2</d2p1:Value>
  </CartType>
  <Id>6ac45955-7cd3-4289-bd7c-a2865e281e25</Id>
</ShoppingCartIdType>