Interface CommonLocationApi
@FeignClient(name="common-service",
             dismiss404=true,
             qualifiers="locationApi")
public interface CommonLocationApi
A CommonLocationApi defines the public REST API to manage 
Locations. It is a Feign remote stub that can be used by client
 application.- Author:
 - Heiko Scherrer
 
- 
Method Summary
Modifier and TypeMethodDescriptionfindByErpCode(String erpCode) Find and return aLocationrepresentation by the givenerpCode. 
- 
Method Details
- 
findByErpCode
@GetMapping(value="/v1/locations", params="erpCode", produces="application/vnd.openwms.common.location-opt-v1+json") @Cacheable("locations") Optional<CommonLocationVO> findByErpCode(@RequestParam("erpCode") String erpCode) Find and return aLocationrepresentation by the givenerpCode.- Parameters:
 erpCode- The ERP code- Returns:
 - Never null
 
 
 -