GET api/shoppingcart/idtype?contactId={contactId}&accountId={accountId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contactId | globally unique identifier |
Required |
|
| accountId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
ShoppingCartIdType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CartType | OptionSetValueModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "90bff86f-cd4a-49fa-b404-5f097e4ae8eb",
"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>90bff86f-cd4a-49fa-b404-5f097e4ae8eb</Id>
</ShoppingCartIdType>