Class BrevoNotifyWebhook
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.optional.newsletterbrevo.impl.resource.BrevoNotifyWebhook
- All Implemented Interfaces:
RestResource
@Path("newsletterbrevo/brevo-webhook-notify/{accountUuid}")
public class BrevoNotifyWebhook
extends AbstractRestResource
-
Field Summary
Fields inherited from class AbstractRestResource
uriInfo -
Constructor Summary
ConstructorsConstructorDescriptionBrevoNotifyWebhook(PersistenceService persistenceService, EntityDefaultValueService defaultValueService, SecurityManager securityManager) -
Method Summary
Methods inherited from class AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
BrevoNotifyWebhook
public BrevoNotifyWebhook(PersistenceService persistenceService, EntityDefaultValueService defaultValueService, SecurityManager securityManager)
-
-
Method Details
-
handleNotify
@POST @Consumes("application/x-www-form-urlencoded") public void handleNotify(@PathParam("accountUuid") String accountUuid, @FormParam("proc_success") Integer importProcessId, @FormParam("updated_contacts") @Nullable @Nullable Integer updatedContactsCount, @FormParam("new_emails") @Nullable @Nullable Integer newContactsCount, @FormParam("listids") List<Integer> listIds)
-