public interface PureSubstanceService extends BatchService<PureSubstanceServiceBatch>
This service reads data from specifications with category pure substance, and can retrieve pure substance header data and description. You can use the Pure Substance Component Type - Read API to read pure substance component types. .
Reference: SAP API Business Hub
OData Service: | OP_API_PURESUBSTANCE_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Recipe Pure Substance |
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 |
---|---|
PureSubstanceFluentHelper |
getAllPureSubstance()
Fetch multiple
PureSubstance entities. |
PureSubstanceDescriptionFluentHelper |
getAllPureSubstanceDescription()
Fetch multiple
PureSubstanceDescription entities. |
PureSubstanceByKeyFluentHelper |
getPureSubstanceByKey(String pureSubstanceInternalID)
Fetch a single
PureSubstance entity using key fields. |
PureSubstanceDescriptionByKeyFluentHelper |
getPureSubstanceDescriptionByKey(String pureSubstanceInternalID,
String pureSubstanceDescriptionLang)
Fetch a single
PureSubstanceDescription entity using key fields. |
PureSubstanceService |
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 PureSubstanceService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull PureSubstanceFluentHelper getAllPureSubstance()
PureSubstance
entities.PureSubstance
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 PureSubstanceByKeyFluentHelper getPureSubstanceByKey(String pureSubstanceInternalID)
PureSubstance
entity using key fields.pureSubstanceInternalID
- Pure Substance Internal ID
Constraints: Not nullable, Maximum length: 20
PureSubstance
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 PureSubstanceDescriptionFluentHelper getAllPureSubstanceDescription()
PureSubstanceDescription
entities.PureSubstanceDescription
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 PureSubstanceDescriptionByKeyFluentHelper getPureSubstanceDescriptionByKey(String pureSubstanceInternalID, String pureSubstanceDescriptionLang)
PureSubstanceDescription
entity using key fields.pureSubstanceDescriptionLang
- Language
Constraints: Not nullable, Maximum length: 2
pureSubstanceInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
PureSubstanceDescription
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.