Interface CxProfileServiceClient

All Known Implementing Classes:
CxProfileServiceClientAdapter

public interface CxProfileServiceClient
Client reading information from yaas profile service.
  • Method Details

    • getProfile

      @GET @Path("/${tenant}/profiles/{id}") Profile getProfile(@PathParam("id") String id)
      Read profile data from yaas profile service.
      Parameters:
      id - Profile identifier
      Returns:
      Profile data
    • getProfile

      @GET @Path("/${tenant}/profiles/{id}?fields={fields}") Profile getProfile(@PathParam("id") String id, @PathParam("fields") String fields)
      Read profile data from yaas profile service.
      Parameters:
      id - Profile identifier
      fields - List of fields which should be read from profile service separated by comma.
      Example : insights.affinities.products,insights.affinities.categories
      Returns:
      Profile data
    • getProfileAsync

      @GET @Path("/${tenant}/profiles/{id}") rx.Observable<Profile> getProfileAsync(@PathParam("id") String id)
      Read profile data from yaas profile service. Method runs asynchronously.
      Parameters:
      id - Profile identifier
      Returns:
      Profile data
    • getProfileAsync

      @GET @Path("/${tenant}/profiles/{id}?fields={fields}") rx.Observable<Profile> getProfileAsync(@PathParam("id") String id, @PathParam("fields") String fields)
      Read profile data from yaas profile service. Method runs asynchronously.
      Parameters:
      id - Profile identifier
      fields - List of fields which should be read from profile service separated by comma.
      Example : insights.affinities.products,insights.affinities.categories
      Returns:
      Profile data