dangdang.item.columnDesc.get

查询公共栏目

  • 此接口用于查询商品的公共栏目

    支持的数据格式:XML

    HTTP请求方式:GET

    版本:3.0

  • 系统级输入参数:

    请参考系统级输入参数

    应用级输入参数:

    参数名称
    参数类型
    是否必填
    示例值
    参数说明
    item_id Number 38382934 商品数字ID
    gShopID Number 489 店铺id

  • XML数据格式:

    01 <?xml version="1.0" encoding="GBK"?>
    02 <response>
    03     <result>true</result>
    04     <resultCode>0</resultCode>
    05     <resultMessage>请求成功</resultMessage>
    06     <item>
    07     <item_id>1900000001</item_id >
    08     <column_descs>123|1,234|2,345|3</column_descs>
    09 </item>
    10 </response>

    JSON数据格式:

    01 {
    02   "response": {
    03     "result""true",
    04     "resultCode""0",
    05     "resultMessage""请求成功",
    06     "item": {
    07       "item_id""1900000001",
    08       "column_descs""123|1,234|2,345|3"
    09     }
    10   }
    11 }

  • java版

    SdkClient sdkClient= new SdkClient(appKey, appSecret, session, version) ;
    PublicationPublicColumnGetRequest request=new PublicationPublicColumnGetRequest();
    PublicationPublicColumnGet columnGet=new PublicationPublicColumnGet();
    columnGet.setItem_id("1393047703");
    request.setColumnGet(columnGet);
    PublicationPublicColumnResponse response =sdkClient.excute(request);
    System.out.println(response.toString());


    php版
    $sdkClient = new DDHttpClient(appKey,appSecret,session)
    $publicationItemColumnDescGetRequest = new PublicationItemColumnDescGetRequest();
    $publicationItemColumnDescGetRequest->setItemId("1079064024");
    $sdkResponse = $sdkClient->execute($publicationItemColumnDescGetRequest);