public interface LegalDocumentService
This service enables you to read and create Legal Document with the data provided in a payload, in an API call. It is based on the OData protocol, and can be consumed in Integration scenarios or other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_LEGAL_DOCUMENT_SRV |
API Version: | 1 |
Communication Scenario: | Legal Document Integration (SAP_COM_0178) |
Scope Items: | SAP S/4HANA for Legal Content (1XV) |
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 |
---|---|
LegalDocumentCreateFluentHelper |
createLegalDocument(LegalDocument legalDocument)
Create a new
LegalDocument entity and save it to the S/4HANA system. |
LglDocStampCreateFluentHelper |
createLglDocStamp(LglDocStamp lglDocStamp)
Create a new
LglDocStamp entity and save it to the S/4HANA system. |
LegalDocumentFluentHelper |
getAllLegalDocument()
Fetch multiple
LegalDocument entities. |
LglDocStampFluentHelper |
getAllLglDocStamp()
Fetch multiple
LglDocStamp entities. |
LegalDocumentByKeyFluentHelper |
getLegalDocumentByKey(UUID lglCntntMDocumentUUID)
Fetch a single
LegalDocument entity using key fields. |
LglDocStampByKeyFluentHelper |
getLglDocStampByKey(UUID lglCntntMDocumentStampUUID)
Fetch a single
LglDocStamp entity using key fields. |
LegalDocumentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.LegalDocumentService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull LegalDocumentFluentHelper getAllLegalDocument()
LegalDocument
entities.LegalDocument
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 LegalDocumentByKeyFluentHelper getLegalDocumentByKey(UUID lglCntntMDocumentUUID)
LegalDocument
entity using key fields.lglCntntMDocumentUUID
- Universal Unique IdentifierConstraints: Not nullable
LegalDocument
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 LegalDocumentCreateFluentHelper createLegalDocument(@Nonnull LegalDocument legalDocument)
LegalDocument
entity and save it to the S/4HANA system.legalDocument
- LegalDocument
entity object that will be created in the S/4HANA system.LegalDocument
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull LglDocStampFluentHelper getAllLglDocStamp()
LglDocStamp
entities.LglDocStamp
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 LglDocStampByKeyFluentHelper getLglDocStampByKey(UUID lglCntntMDocumentStampUUID)
LglDocStamp
entity using key fields.lglCntntMDocumentStampUUID
- Universal Unique IdentifierConstraints: Not nullable
LglDocStamp
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 LglDocStampCreateFluentHelper createLglDocStamp(@Nonnull LglDocStamp lglDocStamp)
LglDocStamp
entity and save it to the S/4HANA system.lglDocStamp
- LglDocStamp
entity object that will be created in the S/4HANA system.LglDocStamp
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.