public interface MeasurementDocumentService
The data transferred to the system after a measurement has been taken at a measuring point or a counter is described in the SAP system as a measurement document. The payload used to create a measurement document through this API is sent in JSON format as a request object. The long text for the measurement document is included within as a nested object. .
Reference: SAP API Business Hub
OData Service: | MEASUREMENTDOCUMENT_0001 |
API Version: | 1 |
Communication Scenario: | Plant Maintenance Execution Integration (SAP_COM_0398) |
Scope Items: | Service Order Management and Monitoring (3D2), Service Contract Management (3MO), In-House Repair (3XK), Service Order processing with SAP Field service management (49X), Service Quotation (4GA), Reactive Maintenance (4HH), Proactive Maintenance (4HI), Improvement Maintenance (4VT), Operational and Overhead Maintenance (4WM), Corrective Maintenance (BH1), Emergency Maintenance (BH2), Preventive Maintenance (BJ2) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_MEASUREMENTDOCUMENT |
Business Object: | MeasurementDocument |
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 MeasurementDocumentService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<MeasurementDocument> getAllMeasurementDocument()
MeasurementDocument
entities.MeasurementDocument
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<MeasurementDocument> countMeasurementDocument()
MeasurementDocument
entity collection matching the filter and search expressions.MeasurementDocument
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<MeasurementDocument> getMeasurementDocumentByKey(@Nonnull String measurementDocument)
MeasurementDocument
entity using key fields.measurementDocument
- Measurement Document
Constraints: Not nullable, Maximum length: 20
MeasurementDocument
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 CreateRequestBuilder<MeasurementDocument> createMeasurementDocument(@Nonnull MeasurementDocument measurementDocument)
MeasurementDocument
entity and save it to the S/4HANA system.measurementDocument
- MeasurementDocument
entity object that will be created in the S/4HANA system.MeasurementDocument
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull UpdateRequestBuilder<MeasurementDocument> updateMeasurementDocument(@Nonnull MeasurementDocument measurementDocument)
MeasurementDocument
entity and save it to the S/4HANA system.measurementDocument
- MeasurementDocument
entity object that will be updated in the S/4HANA system.MeasurementDocument
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<MsmtDocumentLongText> getAllMsmtDocumentLongText()
MsmtDocumentLongText
entities.MsmtDocumentLongText
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<MsmtDocumentLongText> countMsmtDocumentLongText()
MsmtDocumentLongText
entity collection matching the filter and search expressions.MsmtDocumentLongText
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<MsmtDocumentLongText> getMsmtDocumentLongTextByKey(@Nonnull String measurementDocument)
MsmtDocumentLongText
entity using key fields.measurementDocument
- Measurement Document
Constraints: Not nullable, Maximum length: 20
MsmtDocumentLongText
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 CreateRequestBuilder<MsmtDocumentLongText> createMsmtDocumentLongText(@Nonnull MsmtDocumentLongText msmtDocumentLongText)
MsmtDocumentLongText
entity and save it to the S/4HANA system.msmtDocumentLongText
- MsmtDocumentLongText
entity object that will be created in the S/4HANA system.MsmtDocumentLongText
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull UpdateRequestBuilder<MsmtDocumentLongText> updateMsmtDocumentLongText(@Nonnull MsmtDocumentLongText msmtDocumentLongText)
MsmtDocumentLongText
entity and save it to the S/4HANA system.msmtDocumentLongText
- MsmtDocumentLongText
entity object that will be updated in the S/4HANA system.MsmtDocumentLongText
entity. To perform execution, call the
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.