文档中心 > API类目 > 天猫服务平台

alibaba.ssc.purchase.servicedefinition.param.query (查询采购服务定义参数信息)

查询采购服务定义参数信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
product_id Number 必须 2583 服务产品id

响应参数

名称 类型 示例值 描述
display_msg String xxx 错误描述信息
is_success Boolean true 是否成功
service_definitions ServiceDefinition [] 服务标准定义list
  • service_contents
  • ServiceContent []
  • 服务内容list
  • └ content
  • String
  • 座装
  • 服务内容
  • └ service_object_type
  • String
  • 50019790
  • 服务对象类型
  • └ service_object_type_name
  • String
  • 平板电视
  • 服务对象类型名称
  • service_properties
  • ServiceProperty []
  • 服务属性
  • └ service_property_name
  • String
  • 品牌
  • 服务属性名称
  • └ service_property_value_enum
  • String []
  • 服务属性值枚举

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSscPurchaseServicedefinitionParamQueryRequest req = new AlibabaSscPurchaseServicedefinitionParamQueryRequest();
req.setProductId(2583L);
AlibabaSscPurchaseServicedefinitionParamQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ssc_purchase_servicedefinition_param_query_response>
    <display_msg>xxx</display_msg>
    <is_success>true</is_success>
    <service_definitions>
        <service_definition>
            <service_contents>
                <service_content>
                    <content>座装</content>
                </service_content>
            </service_contents>
            <service_object_type>50019790</service_object_type>
            <service_object_type_name>平板电视</service_object_type_name>
            <service_properties>
                <service_property>
                    <service_property_name>品牌</service_property_name>
                </service_property>
            </service_properties>
        </service_definition>
    </service_definitions>
</alibaba_ssc_purchase_servicedefinition_param_query_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

返回
顶部