taobao.aomp.api.deploy.pre (aomp部署topapi到预发环境)

aomp部署topapi到预发环境

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
repository_id Number 可选 0
  • 默认值:0
  • 0
    api_code String 可选 0
  • 默认值:0
  • 0
    work_id String 可选 0
  • 默认值:0
  • 0

    响应参数

    名称 类型 示例值 描述
    service_success Boolean true 调用是否成功
    operation String 0 操作人
    service_error_msg String 参数错误 错误信息
    service_error_code String invalid-parameter 错误码
    data Boolean true 是否成功

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AompApiDeployPreRequest req = new AompApiDeployPreRequest();
    req.setRepositoryId(0L);
    req.setApiCode("0");
    req.setWorkId("0");
    AompApiDeployPreResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <aomp_api_deploy_pre_response>
        <service_success>true</service_success>
        <operation>0</operation>
        <service_error_msg>参数错误</service_error_msg>
        <service_error_code>invalid-parameter</service_error_code>
        <data>true</data>
    </aomp_api_deploy_pre_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

    返回
    顶部