public interface AllergenService extends BatchService<AllergenServiceBatch>
The service reads data from specifications with category allergen, and can retrieve allergen header data and description. You can use the Allergen Statement - Read API to read allergen exception values. .
Reference: SAP API Business Hub
OData Service: | OP_API_ALLERGEN_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Allergen |
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 |
---|---|
AllergenFluentHelper |
getAllAllergen()
Fetch multiple
Allergen entities. |
AllergenDescriptionFluentHelper |
getAllAllergenDescription()
Fetch multiple
AllergenDescription entities. |
AllergenByKeyFluentHelper |
getAllergenByKey(String allergenInternalID)
Fetch a single
Allergen entity using key fields. |
AllergenDescriptionByKeyFluentHelper |
getAllergenDescriptionByKey(String allergenInternalID,
String allergenDescriptionLanguage)
Fetch a single
AllergenDescription entity using key fields. |
AllergenService |
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 AllergenService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull AllergenFluentHelper getAllAllergen()
Allergen
entities.@Nonnull AllergenByKeyFluentHelper getAllergenByKey(String allergenInternalID)
Allergen
entity using key fields.allergenInternalID
- Allergen Internal ID
Constraints: Not nullable, Maximum length: 20
Allergen
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 AllergenDescriptionFluentHelper getAllAllergenDescription()
AllergenDescription
entities.AllergenDescription
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 AllergenDescriptionByKeyFluentHelper getAllergenDescriptionByKey(String allergenInternalID, String allergenDescriptionLanguage)
AllergenDescription
entity using key fields.allergenInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
allergenDescriptionLanguage
- Language
Constraints: Not nullable, Maximum length: 2
AllergenDescription
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.