POST api/v2/favorites/retailers/subscribe

Request Information

URI Parameters

None.

Body Parameters

RetailerFavoritesSubscribeRequest
NameDescriptionTypeAdditional information
LeafletRetailerID

globally unique identifier

Required

ApiKey

globally unique identifier

Required

ApplicationVersion

integer

Required

Udid

string

Required

UserID

globally unique identifier

Required

ZoneID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "LeafletRetailerID": "918b119a-5dad-4554-9686-61aa02a371af",
  "ApiKey": "2b4961ce-0cbe-4d85-b30b-990a41c92f45",
  "ApplicationVersion": 3,
  "Udid": "sample string 4",
  "UserID": "f4a17beb-1a85-42d7-947f-ee6b769ec6db",
  "ZoneID": 6
}

application/xml, text/xml

Sample:
<RetailerFavoritesSubscribeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Favorites.v2">
  <ApiKey xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">2b4961ce-0cbe-4d85-b30b-990a41c92f45</ApiKey>
  <ApplicationVersion xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">3</ApplicationVersion>
  <Udid xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">sample string 4</Udid>
  <UserID xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">f4a17beb-1a85-42d7-947f-ee6b769ec6db</UserID>
  <ZoneID xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">6</ZoneID>
  <LeafletRetailerID>918b119a-5dad-4554-9686-61aa02a371af</LeafletRetailerID>
</RetailerFavoritesSubscribeRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RetailerFavoritesSubscribeRequest'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.