JAX-RS Rest Api for courier pickup