code: public static KFMsgRecord msgrecordGetrecord(String access_token, int endtime, int pageindex, int pagesize, int starttime) {
  		String jsonPostData = String.format("{\"endtime\":%1d,\"pageindex\":%2d,\"pagesize\":%3d,\"starttime\":%4d}", 
  					endtime,
  					pageindex, 
  					pagesize, 
  					starttime);
  		HttpUriRequest httpUriRequest = RequestBuilder.post()
  					.setHeader(jsonHeader)
  					.setUri(BASE_URI + "/customservice/msgrecord/getrecord")
  					.addParameter(PARAM_ACCESS_TOKEN, API.accessToken(access_token))
  					.setEntity(new StringEntity(jsonPostData, Charset.forName("utf-8")))
  					.build();
  		return LocalHttpClient.executeJsonResult(httpUriRequest, KFMsgRecord.class);
  	}
docs: 获取客服聊天记录
  @param access_token access_token
  @param endtime 查询结束时间，UNIX时间戳，每次查询不能跨日查询
  @param pageindex 查询第几页，从1开始
  @param pagesize 每页大小，每页最多拉取50条
  @param starttime 查询开始时间，UNIX时间戳
  @return KFMsgRecord