public class SubscriptionRest extends Object
| Constructor and Description |
|---|
SubscriptionRest() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createSubscription(String demand_type_id,
String mail,
String frequency,
Integer nVersion)
Create Subscription
|
javax.ws.rs.core.Response |
deleteSubscription(Integer nVersion,
Integer id)
Delete Subscription
|
javax.ws.rs.core.Response |
getSubscription(Integer nVersion,
Integer id)
Get Subscription
|
javax.ws.rs.core.Response |
getSubscriptionList(Integer nVersion)
Get Subscription List
|
javax.ws.rs.core.Response |
modifySubscription(Integer id,
String demand_type_id,
String mail,
String frequency,
Integer nVersion)
Modify Subscription
|
public javax.ws.rs.core.Response getSubscriptionList(Integer nVersion)
nVersion - the API versionpublic javax.ws.rs.core.Response createSubscription(String demand_type_id, String mail, String frequency, Integer nVersion)
nVersion - the API versiondemand_type_id - the demand_type_idmail - the mailfrequency - the frequencypublic javax.ws.rs.core.Response modifySubscription(Integer id, String demand_type_id, String mail, String frequency, Integer nVersion)
nVersion - the API versionid - the iddemand_type_id - the demand_type_idmail - the mailfrequency - the frequencypublic javax.ws.rs.core.Response deleteSubscription(Integer nVersion, Integer id)
nVersion - the API versionid - the idCopyright © 2022 City of Paris. All rights reserved.