public interface TradingPartnerService extends BatchService<TradingPartnerServiceBatch>
The service enables you to retrieve trading partner master data. It contains a header and nodes with business information. You can read trading partners and their texts..
Reference: SAP API Business Hub
OData Service: | OP_API_PARTNERCOMPANY_SRV |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
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 |
---|---|
PartnerCompanyFluentHelper |
getAllPartnerCompany()
Fetch multiple
PartnerCompany entities. |
PartnerCompanyByKeyFluentHelper |
getPartnerCompanyByKey(String partnerCompany)
Fetch a single
PartnerCompany entity using key fields. |
TradingPartnerService |
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 TradingPartnerService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull PartnerCompanyFluentHelper getAllPartnerCompany()
PartnerCompany
entities.PartnerCompany
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 PartnerCompanyByKeyFluentHelper getPartnerCompanyByKey(String partnerCompany)
PartnerCompany
entity using key fields.partnerCompany
- Company
Constraints: Not nullable, Maximum length: 6
PartnerCompany
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.