@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultBusinessSituationTypeService") public class DefaultBusinessSituationTypeService extends Object implements BusinessSituationTypeService
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 API Business Hub
OData Service: | OP_API_BUS_SITN_MSTRDATA_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Business Situation Type |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBusinessSituationTypeService()
Creates a service using
BusinessSituationTypeService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultBusinessSituationTypeService()
BusinessSituationTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBusinessSituationTypeService withServicePath(@Nonnull String servicePath)
BusinessSituationTypeService
withServicePath
in interface BusinessSituationTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultBusinessSituationTypeServiceBatch batch()
batch
in interface BatchService<BusinessSituationTypeServiceBatch>
@Nonnull public SituationActionFluentHelper getAllSituationAction()
BusinessSituationTypeService
SituationAction
entities.getAllSituationAction
in interface BusinessSituationTypeService
SituationAction
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 public SituationActionByKeyFluentHelper getSituationActionByKey(String sitnDefTemplateID, String sitnActionID)
BusinessSituationTypeService
SituationAction
entity using key fields.getSituationActionByKey
in interface BusinessSituationTypeService
sitnDefTemplateID
- Situation Standard Template ID
Constraints: Not nullable, Maximum length: 32
sitnActionID
- Action ID
Constraints: Not nullable, Maximum length: 32
SituationAction
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 public SituationActionTextFluentHelper getAllSituationActionText()
BusinessSituationTypeService
SituationActionText
entities.getAllSituationActionText
in interface BusinessSituationTypeService
SituationActionText
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 public SituationActionTextByKeyFluentHelper getSituationActionTextByKey(String sitnActionID, String language)
BusinessSituationTypeService
SituationActionText
entity using key fields.getSituationActionTextByKey
in interface BusinessSituationTypeService
sitnActionID
- Action ID
Constraints: Not nullable, Maximum length: 32
language
- Language Key
Constraints: Not nullable, Maximum length: 2
SituationActionText
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 public SituationTemplateTextFluentHelper getAllSituationTemplateText()
BusinessSituationTypeService
SituationTemplateText
entities.getAllSituationTemplateText
in interface BusinessSituationTypeService
SituationTemplateText
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 public SituationTemplateTextByKeyFluentHelper getSituationTemplateTextByKey(String sitnDefTemplateID, String language)
BusinessSituationTypeService
SituationTemplateText
entity using key fields.getSituationTemplateTextByKey
in interface BusinessSituationTypeService
sitnDefTemplateID
- Situation Standard Template ID
Constraints: Not nullable, Maximum length: 32
language
- Language Key
Constraints: Not nullable, Maximum length: 2
SituationTemplateText
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 public SituationTypeFluentHelper getAllSituationType()
BusinessSituationTypeService
SituationType
entities.getAllSituationType
in interface BusinessSituationTypeService
SituationType
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 public SituationTypeByKeyFluentHelper getSituationTypeByKey(String sitnDefinitionID)
BusinessSituationTypeService
SituationType
entity using key fields.getSituationTypeByKey
in interface BusinessSituationTypeService
sitnDefinitionID
- Situation Type ID
Constraints: Not nullable, Maximum length: 32
SituationType
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 public SituationTypeTextFluentHelper getAllSituationTypeText()
BusinessSituationTypeService
SituationTypeText
entities.getAllSituationTypeText
in interface BusinessSituationTypeService
SituationTypeText
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 public SituationTypeTextByKeyFluentHelper getSituationTypeTextByKey(String sitnDefinitionID, String language)
BusinessSituationTypeService
SituationTypeText
entity using key fields.getSituationTypeTextByKey
in interface BusinessSituationTypeService
sitnDefinitionID
- Situation Type ID
Constraints: Not nullable, Maximum length: 32
language
- Language Key
Constraints: Not nullable, Maximum length: 2
SituationTypeText
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 public SituationTemplateFluentHelper getAllSituationTemplate()
BusinessSituationTypeService
SituationTemplate
entities.getAllSituationTemplate
in interface BusinessSituationTypeService
SituationTemplate
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 public SituationTemplateByKeyFluentHelper getSituationTemplateByKey(String sitnDefTemplateID)
BusinessSituationTypeService
SituationTemplate
entity using key fields.getSituationTemplateByKey
in interface BusinessSituationTypeService
sitnDefTemplateID
- Situation Standard Template ID
Constraints: Not nullable, Maximum length: 32
SituationTemplate
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.