注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.decoration.scm.budget.detail (获取报价信息)

获取报价信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
open_leads_id String 可选 12345 开发外部系统留资ID
leads_id String 可选 1234 客户的留资ID

响应参数

名称 类型 示例值 描述
result Result result
  • └ message_flag
  • Boolean
  • true
  • 是否成功
  • └ message_code
  • Number
  • 100399999
  • 返回错误码
  • └ message_info
  • String
  • 程序发生异常
  • 错误message
  • data
  • OpenBudgetProjectResultResp
  • 返回结果
  • └ area
  • String
  • 103
  • 报价面积
  • └ market_package_name
  • String
  • 报价套餐
  • 营销套餐名
  • └ market_package_code
  • String
  • 123
  • 营销套餐code
  • └ open_market_package_code
  • String
  • 123
  • 外部营销套餐code
  • └ package_type
  • Number
  • 1
  • 营销套餐类型,全包:1,半包:2
  • └ total_price
  • String
  • 102000
  • 项目总价,单位元
  • └ tax
  • String
  • 10200
  • 税费
  • └ adjust_fee
  • String
  • 10200
  • 调节费
  • └ distance_fee
  • String
  • 10200
  • 远程费
  • └ tax_rate
  • String
  • 10%
  • 税费比率
  • └ adjust_fee_rate
  • String
  • 10%
  • 调节费比率
  • └ distance_fee_rate
  • String
  • 10%
  • 远程费比率
  • └ gmt_create
  • Number
  • 1614150220570
  • 创建时间
  • └ gmt_modified
  • Number
  • 1614150220570
  • 最后更新时间
  • list
  • PackageBudgetInfo []
  • 1614150220570
  • 最后更新时间
  • └ name
  • String
  • 套餐标配项
  • 套餐项名称
  • └ code
  • String
  • EXCESS
  • 套餐项code,套餐标配项:STANDARD,标配超量项:EXCESS,标配升级项:PROMOTION,标配折抵项:DEDUCT,套外增项:EXTPACKAGE,特殊费用:SPECIAL_EXPENSES
  • └ total_price
  • String
  • 1000000
  • 套餐总价
  • room_budget_infos
  • RoomBudgetRoomInfo []
  • 房间预算信息
  • └ room_id
  • String
  • 123
  • 房间ID
  • └ room_name
  • String
  • 卧室
  • 房间名称
  • item_infos
  • ItemPriceBudgetInfo []
  • itemInfos
  • └ open_item_code
  • String
  • F1-A2
  • 工艺code
  • └ item_id
  • String
  • 123
  • 商品的ID
  • └ sku_id
  • String
  • 123
  • 商品的skuID
  • └ name
  • String
  • 123马桶
  • 商品名称
  • └ brand_id
  • String
  • 1234
  • 品牌id
  • └ brand_name
  • String
  • 箭牌
  • 品牌
  • └ item_code
  • String
  • 123e
  • 商品型号
  • └ standard_sizes
  • String
  • 100*100
  • 规格尺寸
  • └ category_code
  • String
  • 100001
  • 分类的code
  • └ category_name
  • String
  • 卫浴
  • 分类的名称
  • └ type
  • String
  • PROCESS
  • 类别,枚举 主材:MAIN_MATERIAL,软装:SOFT_DECORATION,电器:HOME_APPLIANCE,木作:CARPENTRY_WORKS,工艺:PROCESS,其它:OTHER
  • └ buy_type
  • Number
  • 1
  • 购买方式装企购买:1,客户自购:2,装企代购:3
  • └ amount
  • String
  • 1
  • 商品数量
  • └ unit_name
  • String
  • 单位名称
  • └ construction_amount
  • String
  • 1
  • 施工量
  • └ construction_unit_name
  • String
  • 施工单位名称
  • └ sell_price
  • String
  • 110
  • 销售价
  • └ total_price
  • String
  • 110
  • 总价
  • process_infos
  • ProcessPriceBudgetInfo []
  • processInfos
  • └ open_process_code
  • String
  • F1-A2
  • 外部工艺code
  • └ process_code
  • String
  • F1-A2
  • 工艺code
  • └ name
  • String
  • 卫浴
  • 工艺code
  • └ type
  • String
  • 工艺
  • 类别
  • └ buy_type
  • String
  • 1
  • 购买方式
  • └ desc
  • String
  • 水电施工
  • 项目描述
  • └ amount
  • String
  • 1
  • 商品数量
  • └ unit_name
  • String
  • 单位名称
  • └ construction_amount
  • String
  • 123
  • 施工量
  • └ construction_unit_name
  • String
  • 施工单位名称
  • └ sell_price
  • String
  • 110
  • 销售价
  • └ total_price
  • String
  • 110
  • 总价
  • └ room_area
  • String
  • 12.34
  • 房间面积
  • construction_budget_infos
  • RoomBudgetConstructionInfo []
  • 水电施工信息
  • └ construction_code
  • String
  • asdf
  • 施工的code
  • └ construction_name
  • String
  • 水电
  • 施工名称
  • process_infos
  • ProcessPriceBudgetInfo []
  • processInfos
  • └ open_process_code
  • String
  • F1-A2
  • 外部工艺code
  • └ process_code
  • String
  • F1-A2
  • 工艺code
  • └ name
  • String
  • 卫浴
  • 工艺code
  • └ type
  • String
  • 工艺
  • 类别
  • └ buy_type
  • String
  • 1
  • 购买方式
  • └ desc
  • String
  • 水电施工
  • 项目描述
  • └ amount
  • String
  • 1
  • 商品数量
  • └ unit_name
  • String
  • 单位名称
  • └ construction_amount
  • String
  • 123
  • 施工量
  • └ construction_unit_name
  • String
  • 施工单位名称
  • └ sell_price
  • String
  • 110
  • 销售价
  • └ total_price
  • String
  • 110
  • 总价

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDecorationScmBudgetDetailRequest req = new AlibabaDecorationScmBudgetDetailRequest();
req.setOpenLeadsId("12345");
req.setLeadsId("1234");
AlibabaDecorationScmBudgetDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_decoration_scm_budget_detail_response>
    <result>
        <message_flag>true</message_flag>
        <message_code>100399999</message_code>
        <message_info>程序发生异常</message_info>
        <data>
            <area>103</area>
            <market_package_name>报价套餐</market_package_name>
            <market_package_code>123</market_package_code>
            <open_market_package_code>123</open_market_package_code>
            <package_type>1</package_type>
            <total_price>102000</total_price>
            <tax>10200</tax>
            <adjust_fee>10200</adjust_fee>
            <distance_fee>10200</distance_fee>
            <tax_rate>10%</tax_rate>
            <adjust_fee_rate>10%</adjust_fee_rate>
            <distance_fee_rate>10%</distance_fee_rate>
            <gmt_create>1614150220570</gmt_create>
            <gmt_modified>1614150220570</gmt_modified>
            <list>
                <package_budget_info>
                    <name>套餐标配项</name>
                    <code>EXCESS</code>
                    <total_price>1000000</total_price>
                    <room_budget_infos>
                        <room_budget_room_info>
                            <room_id>123</room_id>
                            <room_name>卧室</room_name>
                            <item_infos>
                                <item_price_budget_info>
                                    <open_item_code>F1-A2</open_item_code>
                                    <item_id>123</item_id>
                                    <sku_id>123</sku_id>
                                    <name>123马桶</name>
                                    <brand_id>1234</brand_id>
                                    <brand_name>箭牌</brand_name>
                                    <item_code>123e</item_code>
                                    <standard_sizes>100*100</standard_sizes>
                                    <category_code>100001</category_code>
                                    <category_name>卫浴</category_name>
                                    <type>PROCESS</type>
                                    <buy_type>1</buy_type>
                                    <amount>1</amount>
                                    <unit_name>个</unit_name>
                                    <construction_amount>1</construction_amount>
                                    <construction_unit_name>个</construction_unit_name>
                                    <sell_price>110</sell_price>
                                    <total_price>110</total_price>
                                </item_price_budget_info>
                            </item_infos>
                            <process_infos>
                                <process_price_budget_info>
                                    <open_process_code>F1-A2</open_process_code>
                                    <process_code>F1-A2</process_code>
                                    <name>卫浴</name>
                                    <type>工艺</type>
                                    <buy_type>1</buy_type>
                                    <desc>水电施工</desc>
                                    <amount>1</amount>
                                    <unit_name>个</unit_name>
                                    <construction_amount>123</construction_amount>
                                    <construction_unit_name>个</construction_unit_name>
                                    <sell_price>110</sell_price>
                                    <total_price>110</total_price>
                                </process_price_budget_info>
                            </process_infos>
                            <room_area>12.34</room_area>
                        </room_budget_room_info>
                    </room_budget_infos>
                    <construction_budget_infos>
                        <room_budget_construction_info>
                            <construction_code>asdf</construction_code>
                            <construction_name>水电</construction_name>
                            <process_infos>
                                <process_price_budget_info>
                                    <open_process_code>F1-A2</open_process_code>
                                    <process_code>F1-A2</process_code>
                                    <name>卫浴</name>
                                    <type>工艺</type>
                                    <buy_type>1</buy_type>
                                    <desc>水电施工</desc>
                                    <amount>1</amount>
                                    <unit_name>个</unit_name>
                                    <construction_amount>123</construction_amount>
                                    <construction_unit_name>个</construction_unit_name>
                                    <sell_price>110</sell_price>
                                    <total_price>110</total_price>
                                </process_price_budget_info>
                            </process_infos>
                        </room_budget_construction_info>
                    </construction_budget_infos>
                </package_budget_info>
            </list>
        </data>
    </result>
</alibaba_decoration_scm_budget_detail_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部