Integrating Advisor Campaigns

Prev Next

These are campaigns for which the flavour attribute is set to ADVISOR. Advisor campaigns contain two new sections in their response. The first section contains the active questions and associated answers. The second section contains the complete question and answer tree. The active questions are those that are currently to be displayed to the shop visitor. Since the campaign consists of a tree or hierarchy of questions and answers, initially the “active” questions section consists of the first question in the tree. When the user clicks a response, the follow-up questions below the selected answer are returned as active questions.

REST-Interface

The technical documentation of the REST-API is contained in the search application itself and can be accessed via [your NG server]/fact-finder/swagger-ui.html . It can be also accessed via the following URL:

Swagger Link

https://ng-demo.fact-finder.de/fact-finder/swagger-ui.html

Methods are documented under records. In addition to viewing the parameter documentation, you can also test a query and view the results. The documentation was created with Swagger, so you can use Swagger Codegen to generate a client to use in your code.

Please use the campaign method to retrieve campaigns.