Class OrchestratorResourceService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.orchestrator.workforce.rs1.resource.OrchestratorResourceService
@RestController
@RequestMapping("workforce/resources/r1/resources")
@Resource(logging=true)
public class OrchestratorResourceService
extends PrivateService
Service to manage resources.
- Since:
- 16.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@Valid DTOResourceInsert dto) Create a new resource by calling theSingleTeamResourceInsertEvent.
-
Constructor Details
-
OrchestratorResourceService
public OrchestratorResourceService()
-
-
Method Details
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@Valid @RequestBody @Valid DTOResourceInsert dto) throws DAValidateException, DAException Create a new resource by calling theSingleTeamResourceInsertEvent.- Parameters:
dto- theDTOResourceInsert- Returns:
- the standard response containing the new asset id
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-