Class OrchestratorBundlingService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.orchestrator.workorders.rs1.bundling.OrchestratorBundlingService
@RestController
@RequestMapping("work-orders/bundler/r1/bundlings")
@Resource(logging=true)
public class OrchestratorBundlingService
extends PrivateService
Service to manage bundling processes.
- Since:
- 21.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<DTOIdentifier<Long>>> post(@Valid DTOBundling dto) Starts a new bundling process by calling theBundlingEvent.
-
Constructor Details
-
OrchestratorBundlingService
public OrchestratorBundlingService()
-
-
Method Details
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<List<DTOIdentifier<Long>>> post(@Valid @RequestBody @Valid DTOBundling dto) throws DAValidateException, DAException Starts a new bundling process by calling theBundlingEvent.- Parameters:
dto- theDTOBundling- Returns:
- the response containing the ids of the created bundles
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-