全部产品
Search
文档中心

边缘安全加速:PurchaseBotInstance - 新购bot实例

更新时间:Jul 07, 2026

新购bot实例

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

SiteInstanceId

string

站点实例。

esa-site-23kde*****

BotInstanceLevel

string

bot 实例规格。

枚举值:

  • enterprise_bot :

    WEB 版

  • enterprise_bot_with_app :

    WEB/APP 版

enterprise_bot

返回参数

名称

类型

描述

示例值

object

响应结构。

RequestId

string

请求 ID。

04F0F334-1335-436C-A1D7-6C044FE73368

OrderId

string

订单 ID。

31223****11

InstanceId

string

实例 ID。

esa-bot-9v9x3o2***

示例

正常返回示例

JSON格式

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368\n",
  "OrderId": "31223****11",
  "InstanceId": "esa-bot-9v9x3o2***"
}

错误码

HTTP status code

错误码

错误信息

描述

400 CheckOrderFailed Invalid order parameter. 订单参数不合法。
400 InternalError An internal exception occurred, please try again later. 触发内部异常,请稍后再试。
400 InvalidSiteICP The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. 您配置的站点未备案或ICP备案信息不合法,请确保站点已完成备案后重试。
400 InvalidSiteName Invalid website name. Check and try again. 您配置的站点名称不正确,请确保传入正确的站点名称后重试。
400 SYSTEM.NoSpecificCodeFailed Invalid subscription duration. Check and try again. 您配置的套餐购买周期不正确,请检查后重试。
400 CheckPlanFailed Invalid plan name or code. Check and try again. 您配置的套餐名或套餐Code不正确,请确保已传入正确的套餐名或套餐Code后重试。
400 SubSiteUnavailable Subdomains are allowed only in Enterprise plans. Upgrade your plan to add a subdomain to ESA. 仅企业版支持以子域名创建站点,请升级您的套餐。
400 InsufficientAvailableQuota Your account balance is insufficient. 您的账号已欠费,请缴清欠费后再购买。
400 InsufficientBalance Your account balance is insufficient. 您的账号余额不足,请充值后再购买。
400 InvalidComponent The order parameters is invalid. 订单配置参数不符合校验条件。
400 RamAuthFailed The sub-account has no operation permission. 子账号无操作权限.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情