public interface LegalDocumentService extends BatchService<LegalDocumentServiceBatch>
Legal documents are instances of legal content which are tailored to a specific legal transaction. The service contains legal document and legal document stamp nodes. The information sent in the request as a payload is used when creating a legal document, including appropriate checks for restricted values and authorizations. Once the legal document is created, the legal document ID is sent in the response with the data included in the legal document. If there are any issues when the legal document is created, the system displays error messages in the response. Note that to create or change the content of the legal document you need to use the Attachment Service that is also published in the SAP API Business Hub. For more information, refer to the business documentation of this API..
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 Enterprise Contract Management (1XV) |
Authentication Methods: | Basic, x509 |
Business Object: | LegalDocument |
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. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull 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 Identifier
Constraints: 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 LglCntntMDocCategoryFluentHelper getAllLglCntntMDocCategory()
LglCntntMDocCategory
entities.LglCntntMDocCategory
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 LglCntntMDocCategoryByKeyFluentHelper getLglCntntMDocCategoryByKey(UUID lglCntntMDocCategoryUUID)
LglCntntMDocCategory
entity using key fields.lglCntntMDocCategoryUUID
- Universal Unique Identifier
Constraints: Not nullable
LglCntntMDocCategory
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 LglCntntMDocCategoryCreateFluentHelper createLglCntntMDocCategory(@Nonnull LglCntntMDocCategory lglCntntMDocCategory)
LglCntntMDocCategory
entity and save it to the S/4HANA system.lglCntntMDocCategory
- LglCntntMDocCategory
entity object that will be created in the S/4HANA system.LglCntntMDocCategory
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull LglCntntMDocParCategoryFluentHelper getAllLglCntntMDocParCategory()
LglCntntMDocParCategory
entities.LglCntntMDocParCategory
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 LglCntntMDocParCategoryByKeyFluentHelper getLglCntntMDocParCategoryByKey(UUID lglCntntMDocParCatUUID)
LglCntntMDocParCategory
entity using key fields.lglCntntMDocParCatUUID
- Universal Unique Identifier
Constraints: Not nullable
LglCntntMDocParCategory
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 LglCntntMDocParCategoryCreateFluentHelper createLglCntntMDocParCategory(@Nonnull LglCntntMDocParCategory lglCntntMDocParCategory)
LglCntntMDocParCategory
entity and save it to the S/4HANA system.lglCntntMDocParCategory
- LglCntntMDocParCategory
entity object that will be created in the S/4HANA system.LglCntntMDocParCategory
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 Identifier
Constraints: 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 © 2021 SAP SE. All rights reserved.