public interface BusinessEventsSubscriptionService extends BatchService<BusinessEventsSubscriptionServiceBatch>
This service lets the caller create a subscription for business events for a given subscriber. A subscription is required to activate the events so they are delivered to the event queue where they can be read. The information sent in the request as a payload is used to maintain a business events subscription, make the appropriate checks for restricted values and authorizations. Once an event subscription is maintained, the system displays a success or failure message in the response..
Reference: SAP API Business Hub
OData Service: | OP_CA_BEH_SUBSCRIPTION_SRV |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull BusinessEventsSubscriptionService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull SubscriptionMaintainFluentHelper getAllSubscriptionMaintain()
SubscriptionMaintain
entities.SubscriptionMaintain
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SubscriptionMaintainByKeyFluentHelper getSubscriptionMaintainByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode)
SubscriptionMaintain
entity using key fields.busEventSubscriberCode
- Subscriber ID
Constraints: Not nullable, Maximum length: 4
sAPObjectTaskCode
- SAP Object Task Code
Constraints: Not nullable, Maximum length: 18
sAPObjectType
- SAP Object Type
Constraints: Not nullable, Maximum length: 30
SubscriptionMaintain
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SubscriptionMaintainCreateFluentHelper createSubscriptionMaintain(@Nonnull SubscriptionMaintain subscriptionMaintain)
SubscriptionMaintain
entity and save it to the S/4HANA system.subscriptionMaintain
- SubscriptionMaintain
entity object that will be created in the S/4HANA system.SubscriptionMaintain
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SubscriptionMaintainUpdateFluentHelper updateSubscriptionMaintain(@Nonnull SubscriptionMaintain subscriptionMaintain)
SubscriptionMaintain
entity and save it to the S/4HANA system.subscriptionMaintain
- SubscriptionMaintain
entity object that will be updated in the S/4HANA system.SubscriptionMaintain
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SubscriptionReadFluentHelper getAllSubscriptionRead()
SubscriptionRead
entities.SubscriptionRead
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SubscriptionReadByKeyFluentHelper getSubscriptionReadByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode)
SubscriptionRead
entity using key fields.busEventSubscriberCode
- Subscriber ID
Constraints: Not nullable, Maximum length: 4
sAPObjectTaskCode
- SAP Object Task Code
Constraints: Not nullable, Maximum length: 18
sAPObjectType
- SAP Object Type
Constraints: Not nullable, Maximum length: 30
SubscriptionRead
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.