public class HubScoreAPI extends Object
Constructor and Description |
---|
HubScoreAPI() |
Modifier and Type | Method and Description |
---|---|
String |
getAlertToken(boolean forceRefresh)
get alert token
|
String |
getHubScoreUserId(String userName,
String typeSubscription)
get UserID
|
String |
getNewsletterToken(boolean forceRefresh)
get newsletter token
|
String |
getUserSubscriptions(String userId,
String typeSubscription)
get user subscriptions
|
void |
manageUser(String eMail,
String typeSubscription,
String action)
Hubscore user record api
|
String |
updateSubscribtions(String userName,
Map<String,String> mapSubscriptions,
String typeSubscription)
update subscriptions
|
public String getHubScoreUserId(String userName, String typeSubscription)
userName
- typeSubscription
- public void manageUser(String eMail, String typeSubscription, String action) throws IOException
eMail
- typeSubscription
- action
- IOException
public String getUserSubscriptions(String userId, String typeSubscription)
userId
- typeSubscription
- public String updateSubscribtions(String userName, Map<String,String> mapSubscriptions, String typeSubscription) throws Exception
userName
- mapSubscriptions
- typeSubscription
- Exception
public String getNewsletterToken(boolean forceRefresh) throws IOException
forceRefresh
- IOException
public String getAlertToken(boolean forceRefresh) throws IOException
forceRefresh
- IOException
Copyright © 2020 City of Paris. All rights reserved.