PUT api/Content/v2/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.

LocationId

integer

None.

Remove

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UniqueId": "b6266def-a3c2-4452-ad4c-6c64b63e1ec3",
  "UserUniqueId": 3,
  "BeerId": 4,
  "LocationId": 5,
  "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>5</LocationId>
  <Remove>true</Remove>
  <UniqueId>b6266def-a3c2-4452-ad4c-6c64b63e1ec3</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</APIWishList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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