Interface EquipmentHierarchyService
- All Known Implementing Classes:
DefaultEquipmentHierarchyService
public interface EquipmentHierarchyService
This service allows you to read the hierarchy of an equipment along with a list of subequipment that is installed on the superior equipment. The request contains all the information that is necessary to read an equipment hierarchy. If the input in the request is not as expected, the system displays appropriate error or warning messages in the response. .
Reference: SAP API Business Hub
Details:
| OData Service: | EQUIPMENTSTRUCLIST_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Asset Management Master Data Integration(SAP_COM_0395) |
| Scope Items: | Service Order Management and Monitoring(3D2), Service Contract Management(3MO), In-House Repair(3XK), Reactive Maintenance(4HH), Proactive Maintenance(4HI), Improvement Maintenance(4VT), Operational and Overhead Maintenance(4WM), Corrective Maintenance(BH1), Emergency Maintenance(BH2), Preventive Maintenance(BJ2), Reactive Maintenance(OHH), Proactive Maintenance(OHI), PSM: Preventive Maintenance(OJ2), Improvement Maintenance(OVT), Operational and Overhead Maintenance(OWM), Service Order Processing with SAP Field Service Management(49X), Service Quotation(4GA) |
| Authentication Methods: | x509 |
| Service Group Name: | API_EQUIPMENT_STRUCLIST |
| Business Object: | Equipment |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIf no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Creates a batch request builder object.Fetch the number of entries from theEquipmentStrucListentity collection matching the filter and search expressions.Fetch multipleEquipmentStrucListentities.getEquipmentStructureListByKey(String equipment, LocalDate validityEndDate) Fetch a singleEquipmentStrucListentity using key fields.withServicePath(String servicePath) Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllEquipmentStructureList
Fetch multipleEquipmentStrucListentities.- Returns:
- A request builder to fetch multiple
EquipmentStrucListentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countEquipmentStructureList
Fetch the number of entries from theEquipmentStrucListentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
EquipmentStrucListentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getEquipmentStructureListByKey
@Nonnull GetByKeyRequestBuilder<EquipmentStrucList> getEquipmentStructureListByKey(String equipment, LocalDate validityEndDate) Fetch a singleEquipmentStrucListentity using key fields.- Parameters:
equipment- Equipment NumberConstraints: Not nullable, Maximum length: 18
validityEndDate- Valid To DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
EquipmentStrucListentity 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 theexecutemethod on the request builder object.
-