Class OrchestratorBundleOperationService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.orchestrator.workorders.rs1.bundleoperation.OrchestratorBundleOperationService
@RestController
@RequestMapping("work-orders/bundler/r1/bundles/{bundleId:[0-9]+}/operations")
@Resource(logging=true)
public class OrchestratorBundleOperationService
extends PrivateService
Service to manage bundle operations.
- Since:
- 20.1
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(Long bundleId, @Valid DTOBundleOperationInsert dto) Creates a new bundle operation in order to add a work order operation to a bundle by calling theBundleOperationAddEvent.
-
Constructor Details
-
OrchestratorBundleOperationService
public OrchestratorBundleOperationService()
-
-
Method Details
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@PathVariable("bundleId") Long bundleId, @Valid @RequestBody @Valid DTOBundleOperationInsert dto) throws DAValidateException, DAException Creates a new bundle operation in order to add a work order operation to a bundle by calling theBundleOperationAddEvent.- Parameters:
bundleId- the bundle iddto- theDTOBundleOperationInsert- Returns:
- the standard response containing the new bundle operation id
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-