Package com.hybris.yprofile.rest.clients
Interface ProfileClient
public interface ProfileClient
-
Method Summary
Modifier and TypeMethodDescriptionrx.Observable<ProfileResponse>sendEvent(String eventType, String consentReferenceId, String baseSiteId, String userAgent, String accept, String acceptLanguage, String referer, AbstractProfileEvent event) Deprecated, for removal: This API element is subject to removal in a future version.since 1808 please use ProfileTag insteadrx.Observable<com.hybris.charon.RawResponse>sendSlimEvent(String schema, String consentReferenceId, String baseSiteId, String tracingEnabled, AbstractProfileEvent event) Send slim events to CDSrx.Observable<com.hybris.charon.RawResponse>sendTransaction(String eventType, String consentReferenceId, String baseSiteId, String tracingEnabled, AbstractProfileEvent event) Send transactions (order events + login & registration events) to CDS
-
Method Details
-
sendEvent
@POST @Consumes("application/json") @Produces("application/json") @Path("/events") @Deprecated(since="1808", forRemoval=true) rx.Observable<ProfileResponse> sendEvent(@HeaderParam("event-type") String eventType, @HeaderParam("consent-reference") String consentReferenceId, @HeaderParam("site") String baseSiteId, @HeaderParam("User-Agent") String userAgent, @HeaderParam("Accept") String accept, @HeaderParam("Accept-Language") String acceptLanguage, @HeaderParam("Referer") String referer, AbstractProfileEvent event) Deprecated, for removal: This API element is subject to removal in a future version.since 1808 please use ProfileTag insteadSend tracking events, orders and users to CDS -
sendTransaction
@POST @Consumes("application/json") @Produces("application/json") @Path("/events") rx.Observable<com.hybris.charon.RawResponse> sendTransaction(@HeaderParam("event-type") String eventType, @HeaderParam("consent-reference") String consentReferenceId, @HeaderParam("site") String baseSiteId, @HeaderParam("X-B3-Sampled") String tracingEnabled, AbstractProfileEvent event) Send transactions (order events + login & registration events) to CDS -
sendSlimEvent
@POST @Consumes("application/json") @Produces("application/json") @Path("/events") rx.Observable<com.hybris.charon.RawResponse> sendSlimEvent(@HeaderParam("hybris-schema") String schema, @HeaderParam("consent-reference") String consentReferenceId, @HeaderParam("site") String baseSiteId, @HeaderParam("X-B3-Sampled") String tracingEnabled, AbstractProfileEvent event) Send slim events to CDS
-