PUT api/content/v4/addtowishlist

Request Information

URI Parameters

None.

Body Parameters

APIWishList
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UniqueId

globally unique identifier

None.

UserUniqueId

integer

None.

BeerId

integer

None.

ProductId

integer

None.

LocationId

integer

None.

Remove

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UniqueId": "2933a0fe-aa45-4833-8e76-1c7fce6dec94",
  "UserUniqueId": 3,
  "BeerId": 4,
  "ProductId": 5,
  "LocationId": 6,
  "Remove": true
}

application/xml, text/xml

Sample:
<APIWishList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <BeerId>4</BeerId>
  <CustomerId>1</CustomerId>
  <LocationId>6</LocationId>
  <ProductId>5</ProductId>
  <Remove>true</Remove>
  <UniqueId>2933a0fe-aa45-4833-8e76-1c7fce6dec94</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</APIWishList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfAPIResult
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

APIResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {
    "Status": true,
    "Message": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<APICommonWrapperOfAPIResultZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data>
    <Message>sample string 2</Message>
    <Status>true</Status>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfAPIResultZdSfSp5S>