Click or drag to resize
StrandsApiClient Class
Client for communication with Strands Recommender web services. API ID is always needed to communicate with service.
Inheritance Hierarchy
SystemObject
  CMS.StrandsRecommenderStrandsApiClient

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
Syntax
C#
public class StrandsApiClient

The StrandsApiClient type exposes the following members.

Constructors
  NameDescription
Public methodStrandsApiClient
Constructor.
Top
Methods
  NameDescription
Public methodDoSetupCallAsync
The call sets up fields in Strands Recommender settings. Eg. number of products per page, frequency of catalog update, URL from which should Strands download the catalog, mapping between catalog feed elements and Strands fields etc. Most of the values are predefined and cannot be changed by user. Only exceptions are enabling/disabling of automatic download of catalog from Strands and frequency of this download.
Public methodGetAvailableEmailTemplates
Gets names of all available email templates for given API ID from Strands API.
Public methodGetAvailableWebTemplates
Gets all available web templates for given API ID from Strands API.
Public methodGetEmailTemplate
Gets specific email template for given API ID and template name from Strands API.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also