Class WorkOrderService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.workorder.WorkOrderService
@RestController("WorkOrderService-legacy")
@RequestMapping("core/r5/workorders")
@Resource(logging=true)
public class WorkOrderService
extends PrivateService
Services to manage work orders
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Long> Create a new work order from work cycle.
-
Constructor Details
-
WorkOrderService
public WorkOrderService()
-
-
Method Details
-
createFromWorkCycle
@PostMapping(value="actions/createfromworkcycle", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Long> createFromWorkCycle(@Valid @RequestBody @Valid DTOWOCreateFromWorkCycle input) throws DAException, DAValidateException Create a new work order from work cycle.WorkOrderCreateFromWorkCycleEvent- Parameters:
input- theDTOWOCreateFromWorkCycle- Returns:
- the response containing the new work order created from work cycle id
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-