Class TmaSubscriptionBaseApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaSubscriptionBaseApiController
- All Implemented Interfaces:
SubscriptionBaseApi
@Controller
public class TmaSubscriptionBaseApiController
extends TmaBaseController
implements SubscriptionBaseApi
Default implementation of
SubscriptionBaseApi- Since:
- 1907
-
Field Summary
Fields inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
BAD_REQUEST, NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<SubscriptionBase>>listSubscriptionBase(@NotNull @Valid String relatedPartyId, @Valid String fields) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
addDefaultFields, encodeUrl, filter, getAuthentication, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, getUser, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, hasRole, init, sanitize, sanitizeQueryString
-
Constructor Details
-
TmaSubscriptionBaseApiController
public TmaSubscriptionBaseApiController()
-
-
Method Details
-
listSubscriptionBase
@RequestMapping(value="/subscriptionBase", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<SubscriptionBase>> listSubscriptionBase(@NotNull @Valid @RequestParam("subscriptionAccess.relatedParty.id") @NotNull @Valid String relatedPartyId, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
listSubscriptionBasein interfaceSubscriptionBaseApi
-