dangdang.shop.ddcategory.get

下载当当标准商品分类

  • 功能描述:商家可以下载自己经营分类下对应的当当标准商品分类

    支持的数据格式:XML

    HTTP请求方式:GET

    版本:2.0

  • 系统级输入参数:

    请参考系统级输入参数

    应用级输入参数:

  • 商家接收到的XML文件格式说明:


  • 商家接收到的XML文件实例:

    <?xml version="1.0" encoding="GBK"?>

    <response>

     <functionID>dangdang.shop.ddcategory.get</functionID>

     <time>2009-03-20 15:10:50</time>

     <DDCategory>

      <CategoryInfo>

       <categoryID>4002430</categoryID>

       <categoryName>汽车用品>>装饰/用品</categoryName>

       <standardAttribute>

        <standardAttributeInfo>

         <standardAttributeName>性别</standardAttributeName>

         <optionInfo>

          <option>男性</option>

          <option>女性</option>

          <option>通用</option>

         </optionInfo>

         <fillType>0</fillType>

        </standardAttributeInfo>

        <standardAttributeInfo>

         <standardAttributeName>质地</standardAttributeName>

        ......

        </standardAttributeInfo>

       </standardAttribute>

       <specialAttribute>501_503</specialAttribute>

    <extendedDescriptions>

    <productDescription2>是</productDescription2>

    <productDescription3>否</productDescription3>

    <productDescription4>否</productDescription4>

    <productDescription5>否</productDescription5>

    </extendedDescriptions>

      </CategoryInfo>

      <CategoryInfo>

      ......

      </CategoryInfo>

     </DDCategory>

    </response>

     


  • java版

    SdkClient sdkClient= new SdkClient(appKey, appSecret, session, version) ;
    DDCategoryRequest request=new DDCategoryRequest();
    DDCategoryResponse response=sdkClient.excute(request);
    System.out.println(response.toString());


    php版

    $sdkClient = new DDHttpClient(appKey,appSecret,session)

    $shopDdcategoryGetRequest = new ShopDdcategoryGetRequest();
    $result = $ddHttpClient->execute($shopDdcategoryGetRequest);