Interface BusinessSituationService
- All Superinterfaces:
BatchService<BusinessSituationServiceBatch>
- All Known Implementing Classes:
DefaultBusinessSituationService
This API is based on the OData protocol. It provides the situation instance and context data in the payload’s response. This includes the situation instance ID, situation creation time, situation status, situation type ID, situation template ID, situation anchor and trigger object key, anchor object, data context ID, data context, data context creation time, situation activity ID, and situation activity. The payload data can then be consumed, for example, by advanced analytics or automation. It also updates the situation action status for automation. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BUSINESS_SITUATION_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Business Situation Integration(SAP_COM_0345) |
| Scope Items: | Situation Handling(31N) |
| Authentication Methods: | x509 |
| Business Object: | Business Situation |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Fetch multipleSitnDataContextentities.Deprecated.Fetch multipleSitnInstanceentities.getSitnDataContextByKey(String sitnDataContextID) Deprecated.Fetch a singleSitnDataContextentity using key fields.getSitnInstanceByKey(String sitnInstanceID) Deprecated.Fetch a singleSitnInstanceentity using key fields.sendActionStatus(String sitnActionInstanceID, String sitnActionID, String sitnActionStatus, String sitnInstanceID, String sitnInstceTargetStatus) Deprecated.Creates a fluent helper for the SendActionStatus OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllSitnDataContext
Deprecated.Fetch multipleSitnDataContextentities.- Returns:
- A fluent helper to fetch multiple
SitnDataContextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSitnDataContextByKey
Deprecated.Fetch a singleSitnDataContextentity using key fields.- Parameters:
sitnDataContextID- Data Context IDConstraints: Not nullable, Maximum length: 32
- Returns:
- A fluent helper to fetch a single
SitnDataContextentity 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 theexecutemethod on the fluent helper object.
-
getAllSitnInstance
Deprecated.Fetch multipleSitnInstanceentities.- Returns:
- A fluent helper to fetch multiple
SitnInstanceentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSitnInstanceByKey
Deprecated.Fetch a singleSitnInstanceentity using key fields.- Parameters:
sitnInstanceID- Instance IDConstraints: Not nullable, Maximum length: 32
- Returns:
- A fluent helper to fetch a single
SitnInstanceentity 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 theexecutemethod on the fluent helper object.
-
sendActionStatus
@Nonnull SendActionStatusFluentHelper sendActionStatus(@Nonnull String sitnActionInstanceID, @Nonnull String sitnActionID, @Nonnull String sitnActionStatus, @Nonnull String sitnInstanceID, @Nonnull String sitnInstceTargetStatus) Deprecated.Creates a fluent helper for the SendActionStatus OData function import.
- Parameters:
sitnActionStatus- Action status: SUCCESS or FAILUREConstraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: SitnActionStatus
sitnActionInstanceID- Unique action instance ID generated by the service clientConstraints: Not nullable, Maximum length: 36
Original parameter name from the Odata EDM: SitnActionInstanceID
sitnInstanceID- Situation instance ID for which the action was performedConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: SitnInstanceID
sitnActionID- ActionID defined by situation template, NO_ACTION or UNKNOWNConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: SitnActionID
sitnInstceTargetStatus- Target instance status: OP(Open) RE(Resolved) UN(Unchanged)Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: SitnInstceTargetStatus
- Returns:
- A fluent helper object that will execute the SendActionStatus OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-