Untitled
ResponseEntity<OrderDTO> orderDetails= template.getForEntity("http://CustomerMS/Ekart/customerorderapi/order"+transactionDTO.getOrder().getOrderId(),OrderDTO.class); transactionDTO.setTransactionDate(orderDetails.getBody().getDateOfOrder()); transactionDTO.setTotalPrice(orderDetails.getBody().getTotalPrice());