您所在位置: 首页 > > 客服API
  • gome.custom.inquiries.get商品咨询查询

  • 简要描述
  • 系统级输入参数
  • 应用级输入参数
  • 请求示例
  • 返回结果参数
  • 返回示例
  • 异常码
  • 系统级异常码
  • API工具
  • 名称 类型 必须 描述
    $app String 应用的app_key
    $method String API接口名称
    $sign String 签名
    $token String 采用OAuth授权方式为必填参数
    $v String API协议版本,可选值:1.0.0
  • 名称 类型 必须 示例值 描述
    pageNo Integer
    pageSize Integer
    questionType String 2 咨询类型: 购买咨询=1, 促销优惠=2, 支付问题=3, 售后咨询=4
    status String -1000 编辑中 : 0 等待审核 : -1000 审核不通过 : -1001 已完结 : 30
    questionDateStart Date 2017-01-01 起始时间
    questionDateEnd Date 2017-01-02 截至时间
    productName String xxx 产品名称
    productNo String A000898096 产品编码
  • Java


    GmosClient client = new DefaultGmosClient(url, appKey, secret, token);
    GomeCustomInquiriesGetRequest request = new GomeCustomInquiriesGetRequest();
      //详细参数信息请参考API详情页面。
        request.setPageNo();
        request.setPageSize();
        request.setQuestionType("2");
        request.setStatus("-1000");
        request.setQuestionDateStart(2017-01-01);
        request.setQuestionDateEnd(2017-01-02);
        request.setProductName("xxx");
        request.setProductNo("A000898096");
    GomeCustomInquiriesGetResponse response = client.execute(request);
    System.out.println(response.getBody());


    PHP


    require_once('GmosSdk.php');
    
    $client = new GmosClient;
      $client -> appkey = "";
      $client -> secretKey = "";
      $client -> session = "";
      $client -> gatewayUrl = "";
    
      $request = new GomeCustomInquiriesGetRequest;
      //详细参数信息请参考API详情页面。
        $request -> setPageNo();
        $request -> setPageSize();
        $request -> setQuestionType("2");
        $request -> setStatus("-1000");
        $request -> setQuestionDateStart(2017-01-01);
        $request -> setQuestionDateEnd(2017-01-02);
        $request -> setProductName("xxx");
        $request -> setProductNo("A000898096");
    $response = $client -> execute($request);


    Net


    IGmosClient client = new DefaultGmosClient(url, appKey, secret, token);
    GomeCustomInquiriesGetRequest request = new GomeCustomInquiriesGetRequest();
    
    request.PageNo=;
    request.PageSize=;
    request.QuestionType="2";
    request.Status="-1000";
    request.QuestionDateStart=2017-01-01;
    request.QuestionDateEnd=2017-01-02;
    request.ProductName="xxx";
    request.ProductNo="A000898096";
    
    GomeCustomInquiriesGetResponse response = client.Execute(request);
  • 错误码 错误消息
  • 错误码 错误消息
    10001 系统错误
    10002 方法调用次数超限
    10003 当前版本的方法不存在,请检查
    10004 缺少版本参数,请指定服务方法的版本号
    10005 该应用在当前IP下禁止访问
    8224 缺少签名参数,请添加签名请求参数
    8999 存在重复的请求,请在90秒之后再请求第二次
    8225 签名无效,请按正确的算法对请求数据进行签名
    9000 字段%s不能为空
    8249 超过上传限制
    8223 无效的appKey,请使用合法的appKey(由服务提供商授予你)
    8239 需要传递accessToken参数
    8222 缺少appKey,请向服务端获取合法的appKey
    20001 令牌已过期