Class WorkDayClosureService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.schedulingresource.workday.WorkDayClosureService
@RestController
@RequestMapping("core/r5/schedulingresources/{id:[0-9]+}/actions/workdayclosure")
@Resource(logging=true)
public class WorkDayClosureService
extends PrivateService
Services to manage work day closures.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> close(Long id, @Valid DTOWorkDayClosure workDayClosure) Closes the work day of the specified scheduling resource.
-
Constructor Details
-
WorkDayClosureService
public WorkDayClosureService()
-
-
Method Details
-
close
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> close(@PathVariable("id") Long id, @Valid @RequestBody @Valid DTOWorkDayClosure workDayClosure) throws DAValidateException, DAException Closes the work day of the specified scheduling resource.WorkDayClosureEvent- Parameters:
id- the idworkDayClosure- the work day closure- Returns:
- a standard response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-