@RequestMapping(value="/order/{orderDay}", method = RequestMethod.POST)
	public @ResponseBody OrderResponse submitOrders(@RequestBody OrderRequest orderRequest, HttpServletResponse response, @PathVariable("orderDay") int orderDay) {
		
		logger.debug(orderRequest.toString());
		
		if(orderRequest ==null || orderRequest.getItems() ==null || orderRequest.getItems().isEmpty())
		{
			response.setStatus(HttpStatus.BAD_REQUEST.value());
			return null;
		}
		
		orderRequest.setOrderDay(orderDay);
		OrderResponse orderResponse = orderService.submitOrder(orderRequest);
		
		int requestedItems = orderRequest.getItems() !=null ? orderRequest.getItems().size() : 0;
		int responseItems = orderResponse.getItems() !=null ? orderResponse.getItems().size() : 0;
		
		
		if(responseItems ==0)
		{
			response.setStatus(HttpStatus.NOT_FOUND.value());
		}
		else if(responseItems == requestedItems)
		{
			response.setStatus(HttpStatus.CREATED.value());
		}
		else if(responseItems < requestedItems)
		{
			response.setStatus(HttpStatus.PARTIAL_CONTENT.value());
		}
		
		return orderResponse;
	}