java.lang.Object
de.hybris.platform.ycommercewebservices.v1.controller.BaseController
de.hybris.platform.ycommercewebservices.v1.controller.StoreController

@Controller("storeControllerV1") public class StoreController extends BaseController
Main Controller for available data
  • Constructor Details

    • StoreController

      public StoreController()
  • Method Details

    • getLanguages

      @RequestMapping(value="/{baseSiteId}/languages", method=GET) @ResponseBody public LanguageDataList getLanguages()
      returns all languages defined for the base store.
      Sample call : http://localhost:9001/rest/v1/{SITE}/languages
      Request method : GET
      Returns:
      list of languages
    • getCurrencies

      @RequestMapping(value="/{baseSiteId}/currencies", method=GET) @ResponseBody public CurrencyDataList getCurrencies()
      returns all currencies defined for the current store.
      Sample call : http://localhost:9001/rest/v1/{SITE}/currencies
      Request method : GET
      Returns:
      list of currencies
    • getDeliveryCountries

      @RequestMapping(value="/{baseSiteId}/deliverycountries", method=GET) @ResponseBody public CountryDataList getDeliveryCountries()
      returns all delivery countries defined for the curent store.
      Sample call : http://localhost:9001/rest/v1/{SITE}/deliverycountries
      Request method : GET
      Returns:
      list of countries
    • getTitles

      @RequestMapping(value="/{baseSiteId}/titles", method=GET) @ResponseBody public TitleDataList getTitles()
      returns all possible titles (code and name).
      Sample call : http://localhost:9001/rest/v1/titles
      Request method : GET
      Returns:
      list of titles
    • getCardTypes

      @RequestMapping(value="/{baseSiteId}/cardtypes", method=GET) @ResponseBody public CardTypeDataList getCardTypes()
      returns all possible card types.
      Sample call : http://localhost:9001/rest/v1/cardtypes
      Request method : GET
      Returns:
      list of card types