Subversion Repositories SmartDukaan

Rev

Rev 31087 | Rev 31114 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31087 Rev 31113
Line 142... Line 142...
142
	@RequestMapping(value = "/order/tracking/bluedart", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
142
	@RequestMapping(value = "/order/tracking/bluedart", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
143
	@ApiImplicitParams({
143
	@ApiImplicitParams({
144
			@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
144
			@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
145
	public ResponseEntity<?> getBluedartOrderTracking(HttpServletRequest request) throws Throwable {
145
	public ResponseEntity<?> getBluedartOrderTracking(HttpServletRequest request) throws Throwable {
146
 
146
 
147
		String airwayBillNo = "30585044895";
147
		String airwayBillNo = "81007630141";
148
 
148
 
149
		String url = "http://api.bluedart.com/servlet/RoutingServlet?handler=tnt&action=custawbquery";
149
		String url = "http://api.bluedart.com/servlet/RoutingServlet?handler=tnt&action=custawbquery";
150
 
150
 
151
		OkHttpClient client = new OkHttpClient();
151
		OkHttpClient client = new OkHttpClient();
152
 
152