Interface ProfileDataServiceClient
public interface ProfileDataServiceClient
Client reading information from yaas profile service.
-
Method Summary
Modifier and TypeMethodDescriptiongetProfile(String id) Read profile data from yaas profile service.getProfile(String id, String fields) Read profile data from yaas profile service.rx.Observable<Object>Read profile data from yaas profile service.rx.Observable<Object>getProfileAsync(String id, String fields) Read profile data from yaas profile service.
-
Method Details
-
getProfile
Read profile data from yaas profile service.- Parameters:
id- Profile identifier- Returns:
- Profile data
-
getProfile
@GET @Path("/${tenant}/profiles/{id}?fields={fields}") Object getProfile(@PathParam("id") String id, @PathParam("fields") String fields) Read profile data from yaas profile service.- Parameters:
id- Profile identifierfields- 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<Object> 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<Object> getProfileAsync(@PathParam("id") String id, @PathParam("fields") String fields) Read profile data from yaas profile service. Method runs asynchronously.- Parameters:
id- Profile identifierfields- List of fields which should be read from profile service separated by comma.
Example : insights.affinities.products,insights.affinities.categories- Returns:
- Profile data
-