Class StoreController
- java.lang.Object
-
- de.hybris.platform.ycommercewebservices.v1.controller.BaseController
-
- de.hybris.platform.ycommercewebservices.v1.controller.StoreController
-
@Controller("storeControllerV1") public class StoreController extends BaseControllerMain Controller for available data
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.ycommercewebservices.v1.controller.BaseController
DEFAULT_CURRENT_PAGE, DEFAULT_PAGE_SIZE
-
-
Constructor Summary
Constructors Constructor Description StoreController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CardTypeDataListgetCardTypes()returns all possible card types.
Sample call : http://localhost:9001/rest/v1/cardtypes
Request method :GETCurrencyDataListgetCurrencies()returns all currencies defined for the current store.
Sample call : http://localhost:9001/rest/v1/{SITE}/currencies
Request method :GETCountryDataListgetDeliveryCountries()returns all delivery countries defined for the curent store.
Sample call : http://localhost:9001/rest/v1/{SITE}/deliverycountries
Request method :GETLanguageDataListgetLanguages()returns all languages defined for the base store.
Sample call : http://localhost:9001/rest/v1/{SITE}/languages
Request method :GETTitleDataListgetTitles()returns all possible titles (code and name).
Sample call : http://localhost:9001/rest/v1/titles
Request method :GET-
Methods inherited from class de.hybris.platform.ycommercewebservices.v1.controller.BaseController
handleErrorInternal, handleModelNotFoundException, sanitize
-
-
-
-
Method Detail
-
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
-
-