public interface ProductsToProductHierarchiesAssignmentService
This service enables you to read the products assigned to product hierarchy details by exposing the remote API views through OData. These products are assigned to the corresponding product hierarchy based on the validity of the hierarchy version. This is a synchronous service. .
Reference: SAP API Business Hub
OData Service: | PRODHIERPRODS_0001 |
API Version: | 1 |
Communication Scenario: | Product Integration (SAP_COM_0009) |
Scope Items: | Master Data Integration (1RO), Opportunity-to-Order with SAP Cloud for Customer (1VP) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_PROD_HIER_PRODS_SRV |
Business Object: | Product |
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. |
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ProductsToProductHierarchiesAssignmentService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<ProdUnivHierNormalNode> getAllProdUnivHierNormalNode()
ProdUnivHierNormalNode
entities.ProdUnivHierNormalNode
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull CountRequestBuilder<ProdUnivHierNormalNode> countProdUnivHierNormalNode()
ProdUnivHierNormalNode
entity collection matching the filter and search expressions.ProdUnivHierNormalNode
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull GetByKeyRequestBuilder<ProdUnivHierNormalNode> getProdUnivHierNormalNodeByKey(@Nonnull String prodUnivHierarchy, @Nonnull String hierarchyNode, @Nonnull LocalDate prodHierarchyValidityEndDate)
ProdUnivHierNormalNode
entity using key fields.prodHierarchyValidityEndDate
- Validity End Date
Constraints: Not nullable
prodUnivHierarchy
- Product Hierarchy
Constraints: Not nullable, Maximum length: 20
hierarchyNode
- Hierarchy node
Constraints: Not nullable, Maximum length: 50
ProdUnivHierNormalNode
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<ProdUnivHierProdByHierNode> getAllProdUnivHierProdByHierNode()
ProdUnivHierProdByHierNode
entities.ProdUnivHierProdByHierNode
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull CountRequestBuilder<ProdUnivHierProdByHierNode> countProdUnivHierProdByHierNode()
ProdUnivHierProdByHierNode
entity collection matching the filter and search expressions.ProdUnivHierProdByHierNode
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull GetByKeyRequestBuilder<ProdUnivHierProdByHierNode> getProdUnivHierProdByHierNodeByKey(@Nonnull String prodUnivHierarchy, @Nonnull String hierarchyNode, @Nonnull LocalDate prodHierarchyValidityEndDate, @Nonnull String product)
ProdUnivHierProdByHierNode
entity using key fields.prodHierarchyValidityEndDate
- Validity End Date
Constraints: Not nullable
product
- Product Number
Constraints: Not nullable, Maximum length: 18
prodUnivHierarchy
- Product Hierarchy
Constraints: Not nullable, Maximum length: 20
hierarchyNode
- Hierarchy node
Constraints: Not nullable, Maximum length: 50
ProdUnivHierProdByHierNode
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.