public interface BusinessSituationService extends BatchService<BusinessSituationServiceBatch>
This synchronous inbound service enables you to read situation data context with the data provided in a payload. It is based on the OData protocol and the payload data can be consumed for machine learning and advanced analytics.
Reference: SAP API Business Hub
OData Service: | API_BUSINESS_SITUATION_SRV |
API Version: | 1 |
Communication Scenario: | Business Situation Integration (SAP_COM_0345) |
Scope Items: | Situation Handling (31N) |
Authentication Methods: | Basic, x509 |
Business Object: | BusinessSituation |
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. |
Modifier and Type | Method and Description |
---|---|
SitnDataContextFluentHelper |
getAllSitnDataContext()
Fetch multiple
SitnDataContext entities. |
SitnInstanceFluentHelper |
getAllSitnInstance()
Fetch multiple
SitnInstance entities. |
SitnDataContextByKeyFluentHelper |
getSitnDataContextByKey(String sitnDataContextID)
Fetch a single
SitnDataContext entity using key fields. |
SitnInstanceByKeyFluentHelper |
getSitnInstanceByKey(String sitnInstanceID)
Fetch a single
SitnInstance entity using key fields. |
BusinessSituationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull BusinessSituationService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull SitnDataContextFluentHelper getAllSitnDataContext()
SitnDataContext
entities.SitnDataContext
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 SitnDataContextByKeyFluentHelper getSitnDataContextByKey(String sitnDataContextID)
SitnDataContext
entity using key fields.sitnDataContextID
- Situation Data Context ID
Constraints: Not nullable, Maximum length: 32
SitnDataContext
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 SitnInstanceFluentHelper getAllSitnInstance()
SitnInstance
entities.SitnInstance
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 SitnInstanceByKeyFluentHelper getSitnInstanceByKey(String sitnInstanceID)
SitnInstance
entity using key fields.sitnInstanceID
- Situation Instance ID
Constraints: Not nullable, Maximum length: 32
SitnInstance
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 © 2019 SAP SE. All rights reserved.