public interface InHouseRepairService
The service enables you to initiate the in-house repair process from an external system. You can create in-house repairs and add repair objects. You can also read and update in-house repairs..
Reference: SAP API Business Hub
OData Service: | INHOUSEREPAIR_0001 |
API Version: | 1 |
Communication Scenario: | Service - In-House Repair OData Integration (SAP_COM_0717) |
Scope Items: | In-House Repair (3XK) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_INHOUSEREPAIR |
Business Object: | InHouseRepair |
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 |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<InHouseRepair> |
countInHouseRepair()
Fetch the number of entries from the
InHouseRepair entity
collection matching the filter and search expressions. |
CountRequestBuilder<InHouseRepairItem> |
countInHouseRepairItem()
Fetch the number of entries from the
InHouseRepairItem
entity collection matching the filter and search expressions. |
CreateRequestBuilder<InHouseRepair> |
createInHouseRepair(InHouseRepair inHouseRepair)
Create a new
InHouseRepair entity and save it to the S/4HANA system. |
CreateRequestBuilder<InHouseRepairItem> |
createInHouseRepairItem(InHouseRepairItem inHouseRepairItem)
Create a new
InHouseRepairItem entity and save it to the S/4HANA system. |
DeleteRequestBuilder<InHouseRepairItem> |
deleteInHouseRepairItem(InHouseRepairItem inHouseRepairItem)
Deletes an existing
InHouseRepairItem entity in the S/4HANA system. |
GetAllRequestBuilder<InHouseRepair> |
getAllInHouseRepair()
Fetch multiple
InHouseRepair entities. |
GetAllRequestBuilder<InHouseRepairItem> |
getAllInHouseRepairItem()
Fetch multiple
InHouseRepairItem entities. |
GetByKeyRequestBuilder<InHouseRepair> |
getInHouseRepairByKey(String inHouseRepair)
Fetch a single
InHouseRepair entity using key fields. |
GetByKeyRequestBuilder<InHouseRepairItem> |
getInHouseRepairItemByKey(String inHouseRepair,
String inHouseRepairItem)
Fetch a single
InHouseRepairItem entity using key fields. |
UpdateRequestBuilder<InHouseRepair> |
updateInHouseRepair(InHouseRepair inHouseRepair)
Update an existing
InHouseRepair entity and save it to the S/4HANA system. |
InHouseRepairService |
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.@Nonnull InHouseRepairService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<InHouseRepair> getAllInHouseRepair()
InHouseRepair
entities.InHouseRepair
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<InHouseRepair> countInHouseRepair()
InHouseRepair
entity
collection matching the filter and search expressions.InHouseRepair
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<InHouseRepair> getInHouseRepairByKey(@Nonnull String inHouseRepair)
InHouseRepair
entity using key fields.inHouseRepair
- In-House Repair ID
Constraints: Not nullable, Maximum length: 10
InHouseRepair
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<InHouseRepair> createInHouseRepair(@Nonnull InHouseRepair inHouseRepair)
InHouseRepair
entity and save it to the S/4HANA system.inHouseRepair
- InHouseRepair
entity object that will be created in the S/4HANA system.InHouseRepair
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull UpdateRequestBuilder<InHouseRepair> updateInHouseRepair(@Nonnull InHouseRepair inHouseRepair)
InHouseRepair
entity and save it to the S/4HANA system.inHouseRepair
- InHouseRepair
entity object that will be updated in the S/4HANA system.InHouseRepair
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<InHouseRepairItem> getAllInHouseRepairItem()
InHouseRepairItem
entities.InHouseRepairItem
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<InHouseRepairItem> countInHouseRepairItem()
InHouseRepairItem
entity collection matching the filter and search expressions.InHouseRepairItem
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<InHouseRepairItem> getInHouseRepairItemByKey(@Nonnull String inHouseRepair, @Nonnull String inHouseRepairItem)
InHouseRepairItem
entity using key fields.inHouseRepairItem
- Repair Object
Constraints: Not nullable, Maximum length: 6
inHouseRepair
- In-House Repair ID
Constraints: Not nullable, Maximum length: 10
InHouseRepairItem
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<InHouseRepairItem> createInHouseRepairItem(@Nonnull InHouseRepairItem inHouseRepairItem)
InHouseRepairItem
entity and save it to the S/4HANA system.inHouseRepairItem
- InHouseRepairItem
entity object that will be created in the S/4HANA system.InHouseRepairItem
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull DeleteRequestBuilder<InHouseRepairItem> deleteInHouseRepairItem(@Nonnull InHouseRepairItem inHouseRepairItem)
InHouseRepairItem
entity in the S/4HANA system.inHouseRepairItem
- InHouseRepairItem
entity object that will be deleted in the S/4HANA system.InHouseRepairItem
entity. To perform execution, call the
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.