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

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": "12c87104-67dd-482b-9b03-a7e0bdf98aed",
  "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>12c87104-67dd-482b-9b03-a7e0bdf98aed</Id>
</ShoppingCartIdType>