Class LinearAssetLocationBatchService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.assets.rs1.linearassetlocation.LinearAssetLocationBatchService
@RestController
@RequestMapping("assets/r1/assets/linear-asset-locations/batch")
@Resource(logging=true)
public class LinearAssetLocationBatchService
extends PrivateService
Service to manage the set of linear asset locations.
- Since:
- 17.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> batchPatch(@Size(min=1,max=200) @Valid List<DTOLinearAssetLocationBatchUpdate> batchInput) Update a batch of linear asset locations by calling theLinearAssetLocationUpdateBatchEvent
-
Constructor Details
-
LinearAssetLocationBatchService
public LinearAssetLocationBatchService()
-
-
Method Details
-
batchPatch
@PatchMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> batchPatch(@Size(min=1,max=200) @Valid @RequestBody @Size(min=1,max=200) @Valid List<DTOLinearAssetLocationBatchUpdate> batchInput) throws DAValidateException, DAException Update a batch of linear asset locations by calling theLinearAssetLocationUpdateBatchEvent- Parameters:
batchInput- a list ofDTOLinearAssetLocationBatchUpdate- Returns:
- the standard response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-