public interface LegalCategorieService extends BatchService<LegalCategorieServiceBatch>
This synchronous inbound service is based on the OData protocol and helps you to read legal categories through an API call. Category is one of the objects used to categorize Contexts, Legal Transactions, Templates and Text Blocks. This service contains legal categories and legal category text nodes. Using this service, you can read the legal categories created in the Categories application..
Reference: SAP API Business Hub
OData Service: | API_LEGAL_CATEGORY_SRV |
API Version: | 1 |
Communication Scenario: | Enterprise Contract Management and Assembly Integration (SAP_COM_0437) |
Scope Items: | Integration to SAP S/4HANA Cloud for Enterprise Contract Assembly (2OQ) |
Authentication Methods: | Basic, x509 |
Business Object: | LegalCategory |
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 |
---|---|
LegalCategoryFluentHelper |
getAllLegalCategory()
Fetch multiple
LegalCategory entities. |
LegalCategoryTextFluentHelper |
getAllLegalCategoryText()
Fetch multiple
LegalCategoryText entities. |
LegalCategoryByKeyFluentHelper |
getLegalCategoryByKey(String lglCntntMCategory)
Fetch a single
LegalCategory entity using key fields. |
LegalCategoryTextByKeyFluentHelper |
getLegalCategoryTextByKey(String lglCntntMCategory,
String language)
Fetch a single
LegalCategoryText entity using key fields. |
LegalCategorieService |
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 LegalCategorieService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull LegalCategoryFluentHelper getAllLegalCategory()
LegalCategory
entities.LegalCategory
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 LegalCategoryByKeyFluentHelper getLegalCategoryByKey(String lglCntntMCategory)
LegalCategory
entity using key fields.lglCntntMCategory
- Category ID
Constraints: Not nullable, Maximum length: 6
LegalCategory
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 LegalCategoryTextFluentHelper getAllLegalCategoryText()
LegalCategoryText
entities.LegalCategoryText
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 LegalCategoryTextByKeyFluentHelper getLegalCategoryTextByKey(String lglCntntMCategory, String language)
LegalCategoryText
entity using key fields.language
- The Language key field contains an alphanumeric code that identifies the language an entry is written
in.
Constraints: Not nullable, Maximum length: 2
lglCntntMCategory
- Category ID
Constraints: Not nullable, Maximum length: 6
LegalCategoryText
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 © 2020 SAP SE. All rights reserved.