华为云用户手册

  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 描述 400 CBC.0100 参数错误。 400 CBC.0101 参数无效。 403 CBC.0155 不允许执行当前请求。 原因可能为账号鉴权信息不正确、账号或子账号没有接口调用权限。 500 CBC.0999 其他错误。
  • 请求消息 请求参数 无 请求示例 GET https://bss.myhuaweicloud.com/v2/orders/customer-orders/details/CS19040119281JMYC?limit=10&offset=0 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
  • Web UI 资源即将到期时,已经购买包年/包月产品的客户,可以在费用中心执行续订操作。 进入“ 续费管理”页面。 如需对域名续费,可点击页面右上角“域名续费”快捷入口,进入控制台进行续费操作。请参见“如何域名续费”。 设置查询条件。 开通了企业项目管理的客户可以设置查询条件筛选该客户下各企业项目的名称,查询各企业项目待续费的资源。 单击“设置统一到期日”,可以设置资源的统一到期日,设置资源统一到期日的步骤请参见如何设置统一到期日。 可在“手动续费项”、“自动续费项”、“到期转按需项”“到期不续费项”页签查询全部待续费资源。 可对“手动续费项”、“自动续费项”、“到期转按需项”、“到期不续费项”页签的资源进行手动续费的操作。 所有需手动续费的资源都可归置到“手动续费项”页签。请参见如何恢复为手动续费。 单个续费与批量续费可使用不同的操作方式: 单个续费:在资源页面找到需要续费的资源,单击操作列的“续费”。 批量续费:在资源页面勾选需要续费的资源,单击列表左上角的“批量续费”。 进入续费管理页面,默认隐藏有待支付订单的资源,可取消勾选页面中间“隐藏有待支付订单的资源”展示出来。 若资源有续费待支付订单,对该资源进行续费时弹出提示:资源有待支付订单,完成支付或取消订单后才能续费订单。可点击提示框的订单号进入订单页面,完成支付或取消该订单后,该资源恢复可续费状态。 确认需要续费的资源信息,并设置续费时长,单击“去支付”。 选择优惠和支付方式,单击“确认付款”。 获取并输入手机验证码,单击“确认付款”。 操作成功即可完成续费。 如暂时不支付,可直接关闭支付页面。后续可以在左侧菜单中选择“我的订单”并单击“待支付”页签,支付刚才生成的续费订单,即可完成续费。
  • REST API 客户在自建平台完成包年/包月资源的续订。 该接口只允许使用客户AK/SK或者Token调用。 调用接口后,如果某个主资源ID有对应的从资源ID,系统会将主资源ID和从资源ID一起续订,存在主从资源关系的资源为: 云主机为主资源,对应的从资源为云硬盘 共享带宽的情况下,带宽为主资源,对应的从资源为弹性IP(可能包含多个IP) 独享带宽的情况下,弹性IP为主资源,对应的从资源为带宽 本接口支持自动支付,自动支付时支持使用折扣,不支持使用优惠券。支付时使用折扣或优惠券的说明,请参见支付使用折扣或优惠券说明。
  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 描述 400 CBC.0100 参数错误。 400 CBC.30010036 续费的资源非主资源,不允许续费。 400 CBC.30010069 不存在的续费周期。 400 CBC.30050006 订单自动支付失败。 400 CBC.99000092 订购周期校验失败。 400 CBC.99003100 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 400 CBC.99003016 资源已过期删除或不存在。 400 CBC.99003144 资源正在退订或者变更。 400 CBC.99003154 资源已购买时长加本次续费时长已超过最大值,请重新选择续费时长。 400 CBC.99003634 参与优惠套餐活动的资源需要整体续费,不能和其他资源一起续费。 403 CBC.0151 访问拒绝。 500 CBC.0999 其他错误。
  • 功能介绍 客户在自建平台完成包年/包月资源的续订。 客户的包年/包月资源即将到期时,可进行包年/包月资源的续订。 客户在费用中心执行续订操作请参见这里。 调用接口后,如果某个主资源有对应的从资源,系统会将主资源和从资源一起续订,主资源的从资源信息可以通过调用查询客户包年/包月资源列表接口获取。 注意:如ECS主机挂载新购的云硬盘,但此硬盘不是该ECS主资源的从资源,主从资源信息必须以调用查询客户包年/包月资源列表接口获取的信息为准。 本接口支持自动支付,支付时使用折扣或优惠券的说明,请参见支付使用折扣或优惠券说明。
  • 请求消息 请求参数 无 请求示例 GET https://bss.myhuaweicloud.com/v2/products/usage-types?offset=0&limit=3 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ X-Language: zh_CN
  • URI GET /v2/products/usage-types 表1 Header参数 参数 是否必选 取值范围 描述 X-Language 否 最大长度:8 语言。 中文:zh_CN 英文:en_US 缺省为zh_CN。 表2 查询参数 参数 是否必选 参数类型 取值范围 描述 resource_type_code 否 String 最大长度:64 资源类型编码,例如ECS的VM为“hws.resource.type.vm”。您可以调用查询资源类型列表接口获取。 此参数不携带或携带值为空时,不作为筛选条件;携带值为空串或携带值为null时,作为筛选条件。 offset 否 Integer [0-100000000] 偏移量,从0开始。默认值为0。 此参数不携带或携带值为空或携带值为null时,取默认值0;不支持携带值为空串。 说明: offset用于分页处理,如不涉及分页,请使用默认值0。offset表示相对于满足条件的第一个数据的偏移量。如offset = 1,则返回满足条件的第二个数据至最后一个数据。 示例1,满足查询条件的结果共10条数据,limit取值为10,offset取值为1,则返回的数据为2~10,第一条数据不返回。 示例2,查询总数20条,期望每页返回10条数据,则获取第一页数据,入参offset填写0,limit填写10;获取第二页数据,入参offset填写10,limit填写10。 limit 否 Integer [1-100] 每次查询的数量,默认值为10。 此参数不携带或携带值为空或携带值为null时,取默认值10;不支持携带值为空串。
  • 功能介绍 客户在自建平台查询自己的资源详单,用于反映各类资源的消耗情况。 客户登录费用中心查询资源详单请参见这里。 由于资源消费呈现的是资源维度的8位小数原始消费金额,实际从账户扣费时按2位小数进行扣费(即扣到分),会存在精度差异,所以,不推荐消费汇总和资源消费直接对账。 若需要查询财务独立企业子的账单信息,前提是子账号已经接受了企业主账号的“允许查看子账号消费信息”的申请。申请方法见“变更子账号权限”。 支持查看近3年的数据。
  • 请求消息 请求参数 参数 是否必选 参数类型 取值范围 描述 cycle 是 String 最大长度:8 查询的资源详单所在账期,东八区时间,格式为YYYY-MM。 示例:2019-01。 cloud_service_type 否 String 最大长度:64 云服务类型编码,例如OBS的云服务类型编码为“hws.service.type.obs”。您可以调用查询云服务类型列表接口获取。 此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 resource_type 否 String 最大长度:64 资源类型编码,例如ECS的VM为“hws.resource.type.vm”。您可以调用查询资源类型列表接口获取。 此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 region 否 String 最大长度:64 云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点对应云服务的“区域”列的值。 此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 res_instance_id 否 String 最大长度:64 资源实例ID。 此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 charge_mode 否 Integer - 计费模式。 1 : 包年/包月 3:按需 10:预留实例 11:节省计划 此参数不携带或者携带值为null时,返回所有计费模式的资源详单数据记录。 bill_type 否 Integer - 账单类型: 1:消费-新购 2:消费-续订 3:消费-变更 4:退款-退订 5:消费-使用 8:消费-自动续订 9:调账-补偿 14:消费-服务支持计划月末扣费 16:调账-扣费 18:消费-按月付费 20:退款-变更 23:消费-节省计划抵扣 24:退款-包年/包月转按需 此参数不携带或者携带值为null时,返回所有账单类型的资源详单数据记录。 enterprise_project_id 否 String 最大长度:64 企业项目标识(企业项目ID)。 default项目对应ID:0 未归集(表示该云服务不支持企业项目管理能力)项目对应ID:-1 其余项目对应ID获取方法请参见如何获取企业项目ID。 此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 include_zero_record 否 Boolean - 返回是否包含应付金额为0的记录。 true: 包含 false: 不包含 此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 method 否 String 最大长度:64 查询方式。 oneself:客户自己 sub_customer:企业子客户 all:客户自己和企业子客户 此参数不携带或携带值为空串或携带值为null时,默认值为“all”,如果没有企业子客户,all的时候也是查询客户自己的数据。 说明: 若需要查询财务独立企业子的账单信息,前提是子账号已经接受了企业主账号的“允许查看子账号消费信息”的申请。申请方法见“变更子账号权限”。 sub_customer_id 否 String 最大长度:64 企业子账号ID。 说明: 如果method取值不为sub_customer,则此参数无效。 如果method取值为sub_customer,则此参数不能为空。 offset 否 Integer [0-最大整数] 偏移量,从0开始。默认值为0。 说明: offset用于分页处理,如不涉及分页,请使用默认值0。offset表示相对于满足条件的第一个数据的偏移量。如offset = 1,则返回满足条件的第二个数据至最后一个数据。 示例1,满足查询条件的结果共10条数据,limit取值为10,offset取值为1,则返回的数据为2~10,第一条数据不返回。 示例2,查询总数20条,期望每页返回10条数据,则获取第一页数据,入参offset填写0,limit填写10;获取第二页数据,入参offset填写10,limit填写10。 limit 否 Integer [1-1000] 页面大小。默认值为10。 statistic_type 否 Integer [1-2] 统计类型。默认值为1。 1:按账期 2:按天 该参数不携带或携带值为null时,取默认值1;不支持携带为空串。 query_type 否 String [0-9] 查询类型。默认值为BILLCYCLE。 BILLCYCLE:按月 DAILY:按天 仅当statistic_type=2时,支持传递query_type=DAILY。 该参数不携带或携带值为null或携带为空串时,取默认值BILLCYCLE。 bill_cycle_begin 否 String [0-10] 账期开始时间。格式为YYYY-MM-DD。 仅当query_type=DAILY时,必须传递账期开始时间。 该参数不携带或携带值为null或携带为空串时,不作为筛选条件。 说明: 如果query_type取值不为DAILY,则该参数无效。 如果query_type取值为DAILY,则该参数不能为空,必须和cycle(即资源详单所在账期)在同一个月。 bill_cycle_end 否 String [0-10] 账期结束时间。格式为YYYY-MM-DD。 仅当query_type=DAILY时,必须传递账期结束时间。 该参数不携带或携带值为null或携带为空串时,不作为筛选条件。 说明: 如果query_type取值不为DAILY,则该参数无效。 如果query_type取值为DAILY,则该参数不能为空,必须和cycle(即资源详单所在账期)在同一个月。 请求示例 POST https://bss.myhuaweicloud.com/v2/bills/customer-bills/res-records/query HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ X-Language:zh_CN { "cycle": "2018-12", "cloud_service_type": "hws.service.type.ec2", "resource_type": "hws.resource.type.vm", "region": "cn-north-1", "res_instance_id": "76*****7f", "charge_mode": 1, "bill_type": 1, "enterprise_project_id": "6***f3-3**4-4**2-9a3e-a****c24", "include_zero_record": "true", "method": "sub_customer", "sub_customer_id": "05b5fef62300d2ad0f98c00befba72c0", "offset": 1, "limit": 10 }
  • URI GET /v2/bases/conversions 表1 查询参数 参数 是否必选 参数类型 取值范围 描述 measure_type 否 Integer - 度量类型。 1:货币 2:时长 3:流量 4:数量 6:长度 7:容量 9:行数 10:周期 11:频率 12:个数 15:容量*时长 16:带宽速率 17:容量时长 18:查询速率 19:带宽速率(1000进制) 20:性能测试用量 21:面积 22:视频 23:吞吐量 24:分辨率 26:通用资源包抵扣单位 27:核数*时长 28:内存*时长 29:IOPS*时长 30:吞吐量*时长 31:个/时长 40:流量(1000进制) 41:1K Tokens 82:帧 98:缓存带宽x时长 此参数不携带或携带值为空或携带值为null时,不作为筛选条件;不支持携带值为空串。
  • 错误码说明 表1 错误码 状态码 错误码 错误码信息 错误码描述 200 CBC.0000 Success. 成功。 403 CBC.0150 Access denied. The customer does not belong to the website you are now at. 访问拒接,不是本站点客户。 400 CBC.18000016 Insufficient permissions. Contact your associated partner. 权限不足,请联系您的合作伙伴。 400 CBC.18000048 Too many independent accounting members. Specify a member account for query. 您名下的财务独立子,超过系统可支持查询的数量,请指定企业子账号查询。 200 CBC.3002 The resource has been locked. 资源被锁定。 200 CBC.3006 Unsupported cloud service type. 云服务类型不支持。 200 CBC.3016 Expired resources exist. 存在过期资源。 200 CBC.30050007 It is not a primary resource, and the renewal quotation is not allowed. 资源非主资源,不允许续费询价。 200 CBC.30050008 The period type or number of periods for the resource does not exist. 资源不存在对应的的周期类型或周期数。 200 CBC.30050009 The resources do not exist or has been deleted due to expiration. 资源已过期删除或不存在。 200 CBC.30050010 This operation is not allowed because some resources are included in the unpaid orders. 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 200 CBC.30050011 The resources are being unsubscribed from or changed. 资源正在退订或者变更。 200 CBC.30050013 The product cannot be renewed. 该产品不支持续费。 200 CBC.3106 The order status has changed and no payment can be made. 订单状态已发生变更,不能进行支付操作。 200 CBC.3112 The coupon or stored-value card has been used. 优惠券或储值卡已被使用。 200 CBC.3124 Resources have been unsubscribed from. 资源已经退订。 200 CBC.3144 Resources are being unsubscribed from or changed. 资源正在退订或者变更。 200 CBC.3128 The resource does not have renewed periods or its renewed periods have taken effect, and the renewal periods cannot be unsubscribed from. 资源无已续费周期或续费周期已生效,不支持退订续费周期。 200 CBC.3141 Cloud service quota or capacity is insufficient, or the resource specifications have changed. 云服务配额或容量不足或规格发生变化。 200 CBC.3155 Insufficient enterprise project fund quota, or invalid project. 企业项目资金配额不足/项目不可用。 200 CBC.3162 The add-on package you purchased does not meet payment requirements. 您购买的加油包不满足支付条件。 200 CBC.3185 The cloud service can only be unsubscribed from as a whole. 云服务必须整体退订。 200 CBC.3605 Automaticrenewal has been canceled and you cannnot perform the current operation. 自动续费已取消,不可进行当前操作。 200 CBC.3638 Subscription to bandwidth add-on packages cannot be renewed. 带宽加油包不能续费。 200 CBC.3640 Bandwidth add-on packages cannot be unsubscribed from. 有加油包的资源,不能退订。 200 CBC.5005 The customer is being authenticated by HUAWEI CLOUD. 该客户正在华为云系统认证。 200 CBC.50000034 Coupons cannot be issued to the enterprise member account. 无法给财务托管企业子发券。 200 CBC.50000045 No frequent operations are allowed for the same coupon quota. 不能对同一个代金券额度进行频繁操作。上一次的代金券额度划拨正在进行中,不允许并行划拨,待结束后再进行下一次操作。 200 CBC.5006 The customer type (individual/enterprise) is different from the customer type stored in HUAWEI CLOUD. 客户类型(个人/企业)和华为云系统存储的客户类型不同。 200 CBC.5007 The subscribed products must belong to the same region. 订购产品必须属于同一个区域。 200 CBC.5008 The quota value exceeds the limit that can be set by the partner. quota值超出合作伙伴可设置的限额。 200 CBC.5009 The partner does not have the permission to modify or query the quota. 合作伙伴无修改和查询quota的权限。 200 CBC.5020 Partial failure. 部分失败。 200 CBC.5021 Coupons cannot be issued or recycled to customers associated to the partner in Referral mode. 顾问销售模式下不能给客户调账和回收。 200 CBC.5023 The account type does not match the association type. 账户类型与合作伙伴关联类型不匹配。 200 CBC.5024 This API cannot be invoked because the association type of the customer is incorrect. 客户的关联类型不允许调用该接口。 200 CBC.5041 Resources in this order have been unsubscribed. 该订单中的资源已经退订。 200 CBC.5042 Resources cannot be found. 资源无法找到。 200 CBC.6001 Required param resource id or riInstanceId is null or empty. 资源ID或者预留实例ID为空。 200 CBC.6055 Calculate result exceeds max value. 询价结果超过金额最大限制。 200 CBC.6006 The required product cannot be found. 找不到您询价的产品。 400 CBC.0100 parameter error. 输入参数校验失败。 400 CBC.0101 Invalid parameter. 参数无效。 400 CBC.18000014 Inactive Cost Management. 未开通成本中心。 500 CBC.30000010 Invalid order (maybe the order does not exist), unable to operate. 无效订单(可能是订单不存在),不能进行操作。 400 CBC.30000052 The resource or account has been already frozen. 已冻结,不能执行此操作。 400 CBC.30010001 Auto-renewal not supported. Selected resources no longer available. 您所购买的产品已下架,不支持自动续费。 400 CBC.30010035 resource deleted. 资源已被删除。 400 CBC.30010036 Renewal is only supported for primary resources. 续费的资源非主资源,不允许续费。 400 CBC.30010069 The renewal period does not exist. 不存在的续费周期。 400 CBC.30050006 Automatic order payment failed. 订单自动支付失败。 400 CBC.30050012 Duplicate resource ID. 存在重复的资源ID。 400 CBC.5001 You has not been a partner. 非合作伙伴。 400 CBC.5002 The customer does not exist. 合作伙伴的客户不存在。 400 CBC.5003 Insufficient balance. 余额不足。 400 CBC.5004 You do not have the operation permission to the customer. 无对该客户的操作权限。 400 CBC.5037 The invoice amount is zero. 无可开票金额。 400 CBC.50000020 The coupon can only be allocated to the specified recipient. 该代金券只适用于指定客户。 400 CBC.50000021 The recipient specified for the quota is not a customer of the tier-2 reseller. 此额度的指定客户不是该二级经销商的子客户。 400 CBC.50010059 Customer association not supported for distributors. 一级经销商不允许关联子客户。 400 CBC.50010065 Customer association not allowed. This partner is a Huawei Cloud reseller, and its associated distributor has already been disenrolled. 该伙伴是云经销商,其关联的总经销商已经摘牌退出,无法拓客创建关联关系。 400 CBC.50010085 Customer association not allowed. The account of this partner has been restricted. 该伙伴企业目前处于受限状态,无法拓客创建关联关系。 400 CBC.50010086 Customer association not allowed. This partner is a Huawei Cloud reseller, and the account of its associated distributor has been restricted. 该伙伴是云经销商,其关联的总经销商企业目前处于受限状态,无法拓客创建关联关系。 400 CBC.50010105 Failed to allocate a coupon quota to the reseller who is withdrawing from the Distribution Partner Program. 无法给退出中的云经销商发放代金券额度 400 CBC.70600026 Huawei Cloud cannot review the information you submitted for real-name authentication. Contact your account manager. 抱歉,华为云暂无法审核您提交的实名认证信息,请联系您的客户经理协助。 400 CBC.7151 Expired verification code. 验证码失效。 400 CBC.7152 Incorrect verification code. 验证码错误。 400 CBC.7188 The customer has passed real-name authentication or is being reviewed. 该客户已经实名认证或者实名认证在审核中。 400 CBC.7191 The number of real-name authentication times of the customer exceeds the upper limit. 客户实名认证次数超过最大配置值。 400 CBC.7202 Real-name authentication failed. 实名认证校验失败。 400 CBC.7219 Real-name authentication information does not match the facial image. 实名认证信息与人脸不匹配。 400 CBC.7253 The picture of the ID card is invalid or blurred. 无效的证件照或者证件照模糊。 400 CBC.7255 The ID information or mobile number is incorrect. 持卡人身份信息或手机号输入不正确。 400 CBC.7256 The legal entity information is incorrect. 法人信息不正确。 400 CBC.7257 The enterprise information is incorrect. 企业信息不正确。 400 CBC.7258 The bank card status is incorrect. The bank card may be frozen or expired. 银行卡状态不正确(可能是冻结或过期的银行卡)。 400 CBC.7259 If you use a card issued by the Bank of Communications, Beijing Bank, Bank of Shanghai, Guangdong Development Bank, Shanghai Pudong Development Bank, or Ping An Bank to perform real-name authentication, you must subscribe to UnionPay online payment for the card first. 银行卡未开通认证支付(若您使用交通银行、北京银行、上海银行、广发银行、浦发银行或平安银行的银行卡进行个人实名认证,需要先开通此银行卡的银联在线支付)。 400 CBC.7261 The bank card is not supported. Try another bank card. 不支持该银行卡,请尝试其他银行卡。 400 CBC.7265 You are a partner and cannot be authenticated as an individual using your real name. 您是合作伙伴,不允许实名实名认证为个人。 400 CBC.7267 The member account is being associated with a master account and cannot perform real-name authentication again. 企业子账号正在被邀请关联,不允许重新实名认证。 400 CBC.8003 The customer has a negative consumption bill cycle or order is not included in the billing bill cycle or order set. 客户有负向消费的账期或订单未包含在本次开票账期或订单集合内。 400 CBC.8007 Marketplace does not support billing by bill cycle. 云商店开票不支持按账期开票。 400 CBC.8008 Invoices are issued based on orders. The request contains multiple same orders (reserved). 按订单开票,请求中存在多个相同的订单(预留)。 400 CBC.8009 Invoices are issued by bill cycle. The request contains multiple same bill cycles. 按账期开票,请求中存在多个相同的账期。 400 CBC.8012 The invoice remarks or enterprise registration address contains characters that cannot be parsed by the GBK. 发票备注或企业注册地址中包含gbk无法解析的字符。 400 CBC.8016 The billing amount of an electronic invoice cannot exceed US$1 million. 电子票的开票金额不得高于100万。 400 CBC.8202 The invoice cloud is not interconnected. Electronic invoices cannot be issued. 未对接发票云,暂不支持开具电子发票。 400 CBC.8207 Inaccurate billed amount 开票金额不正确。 400 CBC.8210 The actual invoicing amount cannot be greater than the permitted invoicing amount. 开票金额不能大于实际可开票金额。 400 CBC.8211 The actual invoicing account cannot be greater than the permitted invoicing account. 开票金额小于最低可开票金额。 400 CBC.8214 The subscriber account is locked. 用户账号已被冻结。 400 CBC.8215 3: Real-name authentication failed. 用户实名认证失败。 400 CBC.8216 Individual invoices cannot be issued as special invoices. 个人发票不允许开专票。 400 CBC.8217 * Lessor Taxpayer Identification Number (Uniform Social Credit Code) 纳税人识别号或统一社会信用代码校验失败。 400 CBC.8218 Invoices are issued by order. The order list is empty or the number of orders exceeds the maximum (reserved). 按订单开票,订单列表为空或者超过最大条数(预留)。 400 CBC.8224 Postpaid users cannot be billed by order on HUAWEI CLOUD. 后付费用户华为云开票不支持按订单开票。 400 CBC.8232 Value added tax (VAT) special invoices cannot be issued for E-invoices. 电子发票不可开具增值税普通发票。 400 CBC.99000000 You do not have the operation permission to the customer. 无对该客户的操作权限。 400 CBC.99000004 An exception occurred when the customer authorized rights to the partner. 客户向伙伴授权时发生异常。 400 CBC.99000006 The record ID of the record to be updated does not exist. 要查询/更新的记录ID不存在。 400 CBC.99000011 Set commercial discounts 设置折扣失败。 400 CBC.99000012 The quota does not exist or the quota status is incorrect. 额度不存在或者额度状态不正确。 400 CBC.99000013 Specifies the preference amount. 优惠券额度不足。 400 CBC.99000014 The coupon cannot be sent to customers of this cooperation type. 该券不能发给该合作类型的客户。 400 CBC.99000015 Issue coupons failed. The status of the quota does not support coupon allocation. 此状态的额度不支持发放。 400 CBC.99000016 The customer does not exist or is not a customer of the partner. 该子客户不存在或者不是该伙伴子客户。 400 CBC.99000017 The quota has not taken effect or has expired. 额度未生效或者已过期。 400 CBC.99000018 The maximum value cannot be smaller than the minimum value. 券面值不得小于最小值。 400 CBC.99000019 The minimum value cannot be greater than the maximum value. 券面值不得大于最大值。 200 CBC.99000020 The number of customers exceeds the license limit. 券数量超过最大限制。 200 CBC.99000021 The total face value of coupons cannot exceed the total face value. 券总面值不允许超过总面值。 400 CBC.99000022 The coupon can be sent only to the associated customer for the first time. 该券只能发给首次关联的子客户。 400 CBC.99000023 The cloud service limit or product limit of the coupon exceeds the limit. 券的云服务限制、产品限制超出额度的限制。 400 CBC.99000024 The coupon usage limit (subscription type list) is not within the limit range. 券的使用限制条件配置(订购类型列表),不在额度配置的限制条件范围内。 400 CBC.99000025 This type of partners cannot issue coupons to themselves. 该类伙伴不能给自己发券。 400 CBC.99000026 Incorrect verification code. 验证码错误。 400 CBC.99000027 Expired verification code. 验证码过期。 400 CBC.99000029 The mobile number already exists. 手机号码已存在。 400 CBC.99000030 The mobile number exceeds the limit. 手机号码超出限制。 400 CBC.99000031 Invalid DomainName. DomainName无效。 400 CBC.99000034 Currently, registration with HUAWEI CLOUD is not available to users in this country. 目前不支持该国家客户注册华为云。 400 CBC.99000035 You are not a customer of a partner yet. 非合作伙伴子客户。 400 CBC.99000036 Invalid password. 客户密码格式不合法。 400 CBC.99000037 You do not have the permission to operate this Huawei Cloud reseller. 您没有操作该云经销商的权限。 400 CBC.99000038 The account name already exists. 客户登录名已经存在。 400 CBC.99000039 xAccountId exists. xaccountId重复。 400 CBC.99000041 Only the unified discount can be queried. 只支持查询统一折扣。 400 CBC.99000043 Business owner fails to grant/recover to business subcustomer. 企业主账号向企业子账号拨款/回收失败。 400 CBC.99000045 Coupons sent to referral customers cannot be reclaimed. 不能回收发给顾问销售子客户的券。 400 CBC.99000046 Insufficient budget. 预算不足。 400 CBC.99000047 Balances account not exist 账户不存在。 400 CBC.99000048 The coupon has expired or has been recycled. 该券已经过期或者已经被回收。 400 CBC.99000049 BindType can not be resale. 转售子客户无账户余额。 400 CBC.99000051 Customer creation failed because this mobile number or email address has been preregistered by Huawei. 该手机号/邮箱已被华为报备,无法创建客户。 400 CBC.99000082 You have exceeded the maximum verification code requests allowed. 客户发送验证码次数超过限制。 400 CBC.99000088 We have received your payment and it is currently being processed. Please do not attempt to make the payment again. 抱歉,支付处理中,请勿重复操作。 400 CBC.99000089 The current operation can only be performed on combined orders. 抱歉,当前订单号不能操作,请使用组合交易单号操作。 400 CBC.99000092 Incorrect subscription period. 订购周期校验失败。 400 CBC.99003004 The resource has dependencies. 资源存在依赖。 400 CBC.99003012 The resource ID does not exist. 资源ID不存在。 400 CBC.99003016 The resources have expired and been deleted or do not exist. 资源已过期删除或不存在。 400 CBC.99003100 This operation is not allowed because some resources are included in your orders to be paid. 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 400 CBC.99003106 The order status has changed and no payment can be made. 订单状态已发生变更,不能进行支付操作。 400 CBC.99003108 Unavailable discount. 您选择的折扣不可用。 400 CBC.99003110 The order has not been paid before the expiration time. Please re-submit the order. 订单已经过了支付截止时间,请重新提交订单。 400 CBC.99003112 The coupon or stored-value card has been used. 优惠券或储值卡已被使用。 400 CBC.99003115 An error occurred. Try again later. 抱歉,当前操作出现异常,请稍后再试。 400 CBC.99003116 The restriction to selected coupon regulates that the coupon cannot be used with the discount at the same time. 选择的优惠券限制不能和折扣同时使用。 400 CBC.99003117 The selected discount is less than the minimum discount rate configured for the selected coupon. Note: For example, if the minimum discount rate configured for a coupon is 90% and the selected discount is less than 90% in all order lines, the discount cannot be used. 选择的优惠券配置了最小折扣比例,而选择的折扣小于这个折扣比例。 例如:优惠券配置的最小折扣比例为90%,而选择的折扣在所有订单行上都小于90%,则该折扣不可使用。 400 CBC.99003124 Resources have been unsubscribed from. 资源已经退订。 400 CBC.99003128 The resource does not have renewed periods or its renewed periods have taken effect, and the renewal periods cannot be unsubscribed from. 资源无已续费周期或续费周期已生效,不支持退订续费周期。 400 CBC.99003141 Cloud service quota or capacity is insufficient, or the resource specifications have changed. 云服务配额或容量不足或规格发生变化。 400 CBC.99003144 Resources are being unsubscribed from or changed. 资源正在退订或者变更。 400 CBC.99003147 Discounts and cash coupons cannot be used together. 代金券和折扣券不能同时使用。 400 CBC.99003151 This discount cannot be used together with other discounts. 您选择的折扣不可与其他折扣一起使用。 400 CBC.99003154 The sum of the existing and renewal durations has exceeded the maximun. Select another renewal duration. 资源已购买时长加本次续费时长后已超过最大值,请重新选择续费时长。 400 CBC.99003155 Insufficient enterprise project fund quota, or invalid project. 企业项目资金配额不足/项目不可用。 400 CBC.99003156 Coupons applicable to Marketplace products cannot be used together with dedicated coupons. 云商店券和专用代金券不能同时使用。 400 CBC.99003162 The payment time must be earlier than the specified effective time. 支付时间超过设定的生效时间。 400 CBC.99003185 The cloud service can only be unsubscribed from as a whole. 云服务必须整体退订。 400 CBC.99003198 Insufficient organization budget. 企业组织预算不足。 400 CBC.99003602 Automatic renewal is not supported for expired or frozen resources. 资源已过期或被冻结,不允许自动续费。 400 CBC.99003605 Theautomatic renewal has been canceled. The current operation cannot be performed. 自动续费已取消,不可进行当前操作。 400 CBC.99003608 Select products cannot be changed to pay-per-use. 严选产品不能设置转按需。 400 CBC.99003609 The billing mode of this product type cannot be converted into pay-per-use. 该产品类型不支持转按需。 200 CBC.99003610 The billing mode of resources in the grace or retention period cannot be converted into pay-per-use. 宽限期、保留期资源不能转按需。 400 CBC.99003611 The billing mode of pay-per-usage packages cannot be converted into pay-per-use. 按需套餐包不能设置转按需。 400 CBC.99003622 The billing mode of solutions cannot be converted into pay-per-use. 解决方案产品不能设置转按需。 400 CBC.99003623 Cannot be converted into the pay-per-use billing mode because there are transactions being processed. 存在其他处理中交易不能转按需。 400 CBC.99003624 Cannot be converted into the pay-per-use billing mode because the resource has been frozen due to security reasons. 违规冻结资源不允许设置转按需。 400 CBC.99003625 Freeze resources cannot be changed to pay-per-use. 公安冻结资源不允许设置转按需。 400 CBC.99003626 Cannot be converted into the pay-per-use billing mode because this account has been frozen. 账号已经被冻结,不允许设置转按需。 400 CBC.99003631 Unsubscribed,deleted, and released resources cannot be renewed. 退订/删除/释放的资源不能续费。 400 CBC.99003634 Resources in discount packages must be renewed as a whole and cannot be renewed together with other resources. 参与优惠套餐活动的资源需要整体续费,不能和其他资源一起续费。 400 CBC.99003638 Subscription to bandwidth add-on packages cannot be renewed. 带宽加油包资源不能续费。 400 CBC.99003643 Unsubscriptionis not allowed for cloud services that have been invoiced. 已开发票的云服务不允许退订 400 CBC.99003645 Unsubscription not supported for the service type of the resource. 该类型的云服务不支持退订。 400 CBC.99003647 Unsubscription not supported for this pay-per-use package. 该按需套餐包不支持退订。 400 CBC.99003649 Unsubscription not supported for cloud services in trial use. 试用云服务不支持退订。 400 CBC.99003650 Unsubscription not supported for this cloud service from the KooGallery. 云市场中的该云服务不允许退订。 400 CBC.99003651 Unsubscription not supported. An operation associated with this instance is in progress. 交易正在进行中,不可以退订。 400 CBC.99003652 Unsubscription is not supported for DevCloud packages. 软开云套餐不能退订。 400 CBC.99003654 This renewal period cannot be canceled because it includes an add-on bandwidthpackage. 存在带宽加油包,不允许退订续费周期。 400 CBC.99003656 Unsubscription not supported for resources frozen due to security reasons. 已经被公安冻结的云服务不支持退订。 400 CBC.99004001 The template does not exist. 模板不存在。 400 CBC.99004002 Failed to generate the verification code. 生成验证码失败。 400 CBC.99004003 The verification code is successfully generated but fails to be sent. 验证码生成成功但发送失败。 400 CBC.99004004 Empty email address./Invalid format. 邮箱为空/格式不合法。 400 CBC.99004005 Empty mobile number./Invalid format. 手机号为空/格式不合法。 400 CBC.99004006 Failed to verify the mobile number. 手机号校验失败。 400 CBC.99004008 Invalid verification code. 有验证码,但是已经失效。 400 CBC.99004009 The verification code is available, but the number of verification failures is greater than 3. 有验证码,但是校验失败次数已经大于3。 400 CBC.99004010 The verification code entered is incorrect. 校验客户端输入的验证码错误。 400 CBC.99004015 The number of verification code sending times has reached the upper limit (15 times per hour, 60 times per day). 发送验证码次数已达到上限(15次/小时,60次/天)。 400 CBC.99005001 You has not been a partner. 非合作伙伴。 400 CBC.99005003 Your balance is insufficient. 余额不足。 400 CBC.99005010 Orders in this state cannot be canceled. 订单状态不允许取消。 400 CBC.99005036 The customer does not support payment via interface. 该客户不支持使用接口支付。 400 CBC.99005026 The order is not a degrade or unsubscription order. 该订单不是降配或者退订订单。 400 CBC.99005030 The partner did not complete real-name authentication or bucket authentication. 伙伴未开通实名认证功能或者桶鉴权失败。 400 CBC.99005035 This API cannot be used by a sandbox account. 测试伙伴账号不能使用该接口。 400 CBC.99005042 The resource cannot be found or unsubscribed from. 资源无法找到或者不能退订。 400 CBC.99006006 Product not found. 产品未发现。 400 CBC.99006016 Failed to query coupon information. 查询优惠券信息失败。 400 CBC.99006017 Failed to query customer details. 查询客户信息失败。 400 CBC.99006024 Failed to query product information. 查询产品信息失败。 400 CBC.99006050 Incorrect usage measurement unit. 使用量单位错误。 400 CBC.99006055 The queried amount exceeds the upper limit. 询价结果超过金额最大限制。 400 CBC.99006066 An error occurred during the query of the fee information. 查询费用信息错误。 400 CBC.99006073 项目不存在。 Project not found. 400 CBC.99006074 The billing item does not exist. 计费因子不存在。 400 CBC.99006093 Failed to obtain tax rate information. 获取不到税率信息。 400 CBC.99007000 Can not find customer. 客户不存在。 400 CBC.99007004 The initiated service operation does not meet the service check item requirement. 发起的业务操作存在不满足的业务检查项。 400 CBC.99007009 The transaction ID is duplicated. 交易事务ID重复。 400 CBC.99007181 The validity period of the transferred or recovered credit line has expired. 划拨或回收的信用额度的有效期已过期。 400 CBC.99007188 The customer has passed real-name authentication or is being reviewed. 该客户已经实名认证或者实名认证在审核中。 400 CBC.99007189 The number of users who used the certificate ID for real-name authentication has reached the maximum limit. 使用该证件号进行实名认证的客户数已经超过系统规定。 400 CBC.99007191 The number of real-name authentication times of the customer exceeds the upper limit. 客户实名认证次数超过最大配置值。 400 CBC.99007193 The certificate ID is from an invalid certificate and cannot be used for real-name authentication. 该证件号属于违规证件号,不允许进行实名认证。 400 CBC.99007197 Your IP has been throttled. 您的IP已经被限流。 400 CBC.99007202 Real-name authentication valid fail. 实名认证校验失败。 400 CBC.99007219 Real-name authentication information does not match face. 实名认证信息与人脸不匹配。 400 CBC.99007253 The picture of the ID card is invalid or blurred. 无效的证件照或者证件照模糊。 400 CBC.99007255 Cardholder's identity information or mobile phone number incorrect. 持卡人身份信息或手机号输入不正确。 400 CBC.99007256 The legal entity information is incorrect. 法人信息不正确。 400 CBC.99007257 The enterprise information is incorrect. 企业信息不正确。 400 CBC.99007258 Bank card status is incorrect. 银行卡状态不正确(可能是冻结或过期的银行卡)。 400 CBC.99007259 Bank card certified payment is unopened. 银行卡未开通认证支付(若您使用交通银行 、北京银行、上海银行、广发银行、浦发银行或平安银行的银行卡进行个人实名认证,需要先开通此银行卡的银联在线支付)。 400 CBC.99007260 Failed to invoke the UnionPay interface with the card issuing bank. Try again later or use another bank card. 银联与发卡行之间调用失败,请稍后重试或使用其它银行卡。 400 CBC.99007261 Access denied. 访问拒绝。 400 CBC.99007262 A network exception of the bank system occurs. 银行系统异常,网络异常。 400 CBC.99007265 Other errors. 其他错误。 400 CBC.99007267 The member account is being associated with a master account and cannot perform real-name authentication again. 企业子账号正在被邀请关联,不允许重新实名认证。 400 CBC.99007490 You are not allowed to develop customers or create enterprise member accounts because you are now withdrawing from the Distribution Partner Program. 您的账号关联的是退出中的云经销商,禁止创建企业子。 400 CBC.99008040 Too many attempts. 操作频繁。 400 CBC.50000010 Coupon issuance not supported. Your coupon quota has been converted. 您已是伙伴用券模式,无法发放代金券。 401 CBC.0154 Invalid or expired token. token非法/过期。 403 CBC.0150 Invalid operation. 非法操作。 403 CBC.0151 Access denied. 访问拒绝。 403 CBC.0155 The request was a valid request, but the server is refusing to respond to it. 不允许执行当前请求。 404 CBC.0160 This user is not allowed to perform this request. 请求的资源没有找到。 403 CBC.8225 Billing by received amount can only be initiated by CBC (reserved). 按到款开票只允许从CBC发起(预留)。 429 CBC.0250 Connection request control triggered. 消息流量控制。 500 CBC.0999 Other errors. 其他错误。 500 CBC.4001 The template does not exist. 模板不存在。 500 CBC.4002 Failed to generate the verification code. 生成验证码失败。 500 CBC.4003 The verification code is successfully generated but fails to be sent. 验证码生成成功但发送失败。 500 CBC.4005 Empty mobile number./Invalid format. 手机号为空/格式不合法。 500 CBC.4006 Failed to verify the mobile number. 手机号校验失败。 500 CBC.4008 Invalid verification code. 有验证码,但是已经失效。 500 CBC.4009 The verification code is available, but the number of verification failures is greater than 3. 有验证码,但是校验失败次数已经大于3。 500 CBC.4015 The number of verification code sending times has reached the upper limit. 发送验证码次数已达到上限。 500 CBC.5012 The account name already exists. 客户登录名已经存在。 500 CBC.5014 The mobile number already exists. 客户手机号已经存在。 500 CBC.5015 Invalid account name. 客户登录名格式不合法。 400 CBC.5017 Invalid mobile number. 客户手机号格式不合法。 500 CBC.5018 Duplicate xAccountId. xAccountId重复。 500 CBC.5019 The number of customers exceeds the license limit. 客户数量超过license限制。 500 CBC.5025 An exception occurred when the customer authorized rights to the partner. 客户向伙伴授权时发生异常。 500 CBC.7001 Failed to allocate money to the member account because the primary account is not associated with the sub-account. 企业主账号与子账号不存在关联,不能直接向企业子账号拨款。 500 CBC.7004 The initiated service operation does not meet the service check item requirement. 发起的业务操作存在不满足的业务检查项。 500 CBC.7181 the validity period of the credit line allocated or recovered has expired. 划拨或回收的信用额度的有效期已过期。 500 CBC.7189 The number of users who used the certificate ID for real-name authentication has reached the maximum limit. 使用该证件号进行实名认证的客户数已经超过系统规定。 500 CBC.7193 The certificate ID is from an invalid certificate and cannot be used for real-name authentication. 该证件号属于违规证件号,不允许进行实名认证。 500 CBC.7209 The number of registered mobile numbers exceeds the upper limit. 手机号注册数量超过上限。 500 CBC.7228 Invalid password. 客户密码格式不合法。 500 CBC.7260 Failed to invoke the UnionPay interface with the card issuing bank. Try again later or use another bank card. 银联与发卡行之间调用失败,请稍后重试或使用其它银行卡。 500 CBC.7262 A network exception of the bank system occurs. 银行系统异常,网络异常。 500 CBC.8005 No report data. 消费子表数据为空。 500 CBC.8006 Failed to obtain the subscription entity of the subscriber. 获取用户所在签约主体失败。 500 CBC.8203 Value added tax (VAT) special invoices cannot be issued for E-invoices. 电子发票不可开具增值税专用发票。 500 CBC.8209 The bill cycle list is empty or the number of bill cycles exceeds the maximum. 按账期开票,账期列表为空或者超过最大条数。 500 CBC.8231 Outstanding amount. 欠费金额错误。 500 CBC.99000050 Query for the result of associating partner and its sub-customer timed out. Use the API for querying customers to check the association result. 伙伴和子客户关联结果查询超时,请使用查询客户列表确认最终关联结果。
  • Web UI 客户可在费用中心退订已购买的包年/包月资源。 进入“退订管理”页面。 开通了企业组织多级管理服务的客户可以在“退订管理”的下拉选项框中筛选该客户下各个子组织的名称,查询各子组织的可退订记录。 单击“创建成功资源退订”页签。 单个资源退订与批量退订可使用不同的操作方式: 退订单个资源:单击待退订资源所在行的“退订资源”。 批量退订:在退订列表中勾选需要退订的资源,单击列表左上角的“退订资源”。 查看退订信息,退订资源。 5天无理由全额退订:确认退订信息,单击“退订”。 非5天无理由退订:勾选“我已确认本次退订将收取手续费”后,单击“退订”。
  • REST API 客户在伙伴销售平台完成包年/包月资源的退订。 首先要成功支付包年/包月产品,产生一条开通成功的包年/包月资源,才能进行退订。 该接口只允许使用客户AK/SK或者Token调用,不允许使用合作伙伴AK/SK或者Token调用。因为目前合作伙伴不能自己买产品,所以没有自己的包年/包月产品。 调用接口后,如果某个主资源ID有对应的从资源ID,系统会将主资源ID和从资源ID一起退订,存在主从资源关系的资源为: 云主机为主资源,对应的从资源为云硬盘 共享带宽的情况下,带宽为主资源,对应的从资源为弹性IP(可能包含多个IP) 独享带宽的情况下,弹性IP为主资源,对应的从资源为带宽 调用该接口后,您还可以调用“查询退款订单的金额详情”接口查询退订订单对应的金额来自哪些订单。 该接口支持5天无理由全额退订,具体规则请参见“退订规则说明”。
  • 请求消息 请求参数 无。 请求示例 GET https://bss.myhuaweicloud.com/v2/orders/customer-orders?order_id=CS1905251035OA1AF&customer_id=c9e731c4663646988ef4cdb3122837b6&create_time_begin=2020-05-06T08:05:01Z&create_time_end=2020-05-07T08:05:01Z&service_type_code=hws.service.type.obs&status=5&order_type=1&limit=10&offset=0&order_by=-createTime&payment_time_begin=2020-05-06T08:05:01Z&payment_time_end=2020-05-07T08:05:01Z&indirect_partner_id=646988ef4cdb3122834feswrygfd HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 描述 400 CBC.0100 参数错误。 400 CBC.0101 参数无效。 400 CBC.99000037 您没有操作该云经销商的权限。 403 CBC.0155 不允许执行当前请求。 原因可能为账号鉴权信息不正确、账号或子账号没有接口调用权限。 500 CBC.0999 其他错误。
  • URI GET /v2/orders/customer-orders 表1 查询参数 参数 是否必选 参数类型 取值范围 描述 order_id 否 String 最大长度:64 订单ID。大小写不敏感。 此参数不携带或携带值为空时,不作为筛选条件;携带值为null时,作为筛选条件;不支持携带值为空串。 说明: 使用特殊字符进行查询的时候,请注意进行URL编码转换,如“%”的转码应为“%25”。 customer_id 否 String 最大长度:64 客户账号ID。您可以调用查询客户列表接口获取customer_id。 此参数不携带时,不作为筛选条件;携带值为null时,作为筛选条件;不支持携带值为空或携带值为空串。 create_time_begin 否 String 最大长度:20 订单创建开始时间。 UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',如“2019-05-06T08:05:01Z”。 其中,HH范围是0~23,mm和ss范围是0~59。 订单创建开始时间与订单创建结束时间间隔不能超过1年。 此参数不携带或携带值为空时,不作为筛选条件;不支持携带值为空串或携带值为null。 create_time_end 否 String 最大长度:20 订单创建结束时间。 UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',如“2019-05-06T08:05:01Z”。 其中,HH范围是0~23,mm和ss范围是0~59。 订单创建开始时间与订单创建结束时间间隔不能超过1年。 此参数不携带或携带值为空时,不作为筛选条件;不支持携带值为空串或携带值为null。 service_type_code 否 String 最大长度:64 云服务类型编码,例如OBS的云服务类型编码为"hws.service.type.obs"。大小写不敏感。 您可以调用查询云服务类型列表接口获取。 此参数不携带或携带值为空时,不作为筛选条件;携带值为空串或携带值为null时,作为筛选条件。 status 否 Integer - 订单状态: 1:待审核 3:处理中 4:已取消 5:已完成 6:待支付 9:待确认 此参数不携带或携带值为空或携带值为null时,不作为筛选条件;不支持携带值为空串。 order_type 否 String 最大长度:64 订单类型: 1:开通 2:续订 3:变更 4:退订 10:包年/包月转按需 11:按需转包年/包月 13:试用 14:转商用 15:费用调整 此参数不携带或携带值为空时,不作为筛选条件;不支持携带值为空串或携带值为null。 limit 否 Integer [1-100] 每次查询的订单数量,默认值为10。 此参数不携带或携带值为空或携带值为null时,取默认值10;不支持携带值为空串。 offset 否 Integer [0-最大整数] 偏移量,从0开始。默认值为0。 此参数不携带或携带值为空或携带值为null时,取默认值0;不支持携带值为空串。 说明: offset用于分页处理,如不涉及分页,请使用默认值0。offset表示相对于满足条件的第一个数据的偏移量。如offset = 1,则返回满足条件的第二个数据至最后一个数据。 示例1,满足查询条件的结果共10条数据,limit取值为10,offset取值为1,则返回的数据为2~10,第一条数据不返回。 示例2,查询总数20条,期望每页返回10条数据,则获取第一页数据,入参offset填写0,limit填写10;获取第二页数据,入参offset填写10,limit填写10。 order_by 否 String 最大长度:36 查询的订单列表排序。大小写不敏感。 支持按照创建时间进行排序,带-表示倒序。 创建时间:升序为createTime,倒序为-createTime。 此参数不携带或携带值为空或携带值为空串或携带值为null时,按照创建时间倒序排列。 payment_time_begin 否 String 最大长度:20 订单支付开始时间。 UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',如“2019-05-06T08:05:01Z”。 其中,HH范围是0~23,mm和ss范围是0~59。 订单支付开始时间与订单支付结束时间间隔不能超过1年。 此参数不携带或携带值为空时,不作为筛选条件;不支持携带值为空串或携带值为null。 payment_time_end 否 String 最大长度:20 订单支付结束时间。 UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',如“2019-05-06T08:05:01Z”。 其中,HH范围是0~23,mm和ss范围是0~59。 订单支付开始时间与订单支付结束时间间隔不能超过1年。 此参数不携带或携带值为空时,不作为筛选条件;不支持携带值为空串或携带值为null。 indirect_partner_id 否 String 最大长度:64 云经销商ID。获取方法请参见查询云经销商列表。 华为云总经销商(一级经销商)查询云经销商的客户订单列表时,需要携带该参数,否则只能查询自己客户的订单列表。 此参数不携带或携带值为空时,不作为筛选条件;携带值为空串或携带值为null时,作为筛选条件。 method 否 String 最大长度:64 查询方式。 oneself:客户自己订单 sub_customer:客户给企业子代付订单 此参数不携带或携带值为空串或携带值为null时,默认值为“oneself”。
  • 请求消息 请求参数 无 请求示例 GET https://bss.myhuaweicloud.com/v2/products/incentive-discount-policies?time=2021-10&service_type_code=hws.service.type.workplace&offset=0&limit=10 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
  • URI GET /v2/products/incentive-discount-policies 参数说明请参见表 查询参数。 表1 查询参数 参数 是否必选 参数类型 取值范围 描述 time 是 String 最大长度:20 查询策略的指定时间。东八区时间,格式:YYYY-MM。 说明: 实际查询结果为指定时间所在月最后一天23:59:59的策略情况。 service_type_code 否 String 最大长度:64 云服务类型编码,例如OBS的云服务类型编码为“hws.service.type.obs”。您可以调用查询云服务类型列表接口获取。 此参数不携带或携带值为空或携带值为null时,不作为筛选条件;携带值为空串,作为筛选条件。 offset 否 Integer [0-最大整数] 偏移量,从0开始。默认值为0。 此参数不携带或携带值为空或携带值为null时,取默认值0;不支持携带值为空串。 说明: offset用于分页处理,如不涉及分页,请使用默认值0。offset表示相对于满足条件的第一个数据的偏移量。如offset = 1,则返回满足条件的第二个数据至最后一个数据。 示例1,满足查询条件的结果共10条数据,limit取值为10,offset取值为1,则返回的数据为2~10,第一条数据不返回。 示例2,查询总数20条,期望每页返回10条数据,则获取第一页数据,入参offset填写0,limit填写10;获取第二页数据,入参offset填写10,limit填写10。 limit 否 Integer [1-100] 每次查询的数量,默认值为10。 此参数不携带或携带值为空或携带值为null时,取默认值10;不支持携带值为空串。
  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 错误描述 400 CBC.0100 参数错误。 400 CBC.50000045 不能对同一个代金券额度进行频繁操作。上一次的代金券额度划拨正在进行中,不允许并行划拨,待结束后再进行下一次操作。 400 CBC.50010105 无法给退出中的云经销商发放代金券额度。 400 CBC.99000013 优惠券额度不足。 400 CBC.99000015 此状态的额度不支持发放。 400 CBC.99000017 额度未生效或者已过期。 400 CBC.99000037 您没有操作该云经销商的权限。 400 CBC.50000021 该代金券额度指定客户非云经销商子客户,不支持发放给云经销商。 403 CBC.0151 访问拒绝。 500 CBC.0999 其他错误。
  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 描述 400 CBC.0100 参数错误 400 CBC.99000000 无对该客户的操作权限。 400 CBC.99000035 非合作伙伴子客户。 400 CBC.99000037 您没有操作该云经销商的权限。 403 CBC.0151 访问拒绝。 500 CBC.0999 其他错误。
  • 功能介绍 客户在伙伴销售平台完成包年/包月资源的续订。 客户的包年/包月资源即将到期时,可进行包年/包月资源的续订。 客户在费用中心执行续订操作请参见这里。 调用接口后,如果某个主资源有对应的从资源,系统会将主资源和从资源一起续订,主资源的从资源信息可以通过调用查询客户包年/包月资源列表接口获取。 注意:如ECS主机挂载新购的云硬盘,但此硬盘不是该ECS主资源的从资源,主从资源信息必须以调用查询客户包年/包月资源列表接口获取的信息为准。 本接口支持自动支付,支付时使用折扣或优惠券的说明,请参见支付使用折扣或优惠券说明。
  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 描述 400 CBC.0100 参数错误。 400 CBC.30010036 续费的资源非主资源,不允许续费。 400 CBC.30010069 不存在的续费周期。 400 CBC.30050006 订单自动支付失败。 400 CBC.99000092 订购周期校验失败。 400 CBC.99003100 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 400 CBC.99003016 资源已过期删除或不存在。 400 CBC.99003144 资源正在退订或者变更。 400 CBC.99003154 资源已购买时长加本次续费时长已超过最大值,请重新选择续费时长。 400 CBC.99003634 参与优惠套餐活动的资源需要整体续费,不能和其他资源一起续费。 403 CBC.0151 访问拒绝。 500 CBC.0999 其他错误。
  • 状态码 状态码4xx:由于明显的客户端错误(例如,格式错误的请求语法、参数错误等),华为云会返回4xx错误码,请及时检查请求消息的正确性,重新发起请求。 状态码5xx:由于华为云系统原因,导致无法完成明显有效请求的处理,可及时联系华为云客服处理。 HTTP状态码 错误码 描述 400 CBC.0100 参数错误。 400 CBC.0101 参数无效。 400 CBC.99000037 您没有操作该云经销商的权限。 403 CBC.0155 不允许执行当前请求。 原因可能为账号鉴权信息不正确、账号或子账号没有接口调用权限。 500 CBC.0999 其他错误。
  • URI GET /v2/orders/customer-orders/details/{order_id} 参数说明请参见下表。 表1 路径参数 参数 是否必选 取值范围 描述 order_id 是 最大长度:64 订单ID。 查询订单列表时系统会返回订单ID。 表2 查询参数 参数 是否必选 取值范围 描述 offset 否 [0-最大整数] 偏移量,从0开始。默认值为0。 此参数不携带或携带值为空或携带值为null,取默认值0。 说明: offset用于分页处理,如不涉及分页,请使用默认值0。offset表示相对于满足条件的第一个数据的偏移量。如offset = 1,则返回满足条件的第二个数据至最后一个数据。 示例1,满足查询条件的结果共10条数据,limit取值为10,offset取值为1,则返回的数据为2~10,第一条数据不返回。 示例2,查询总数20条,期望每页返回10条数据,则获取第一页数据,入参offset填写0,limit填写10;获取第二页数据,入参offset填写10,limit填写10。 limit 否 [1-100] 每页大小。默认值为10。 此参数不携带或携带值为空或携带值为null,取默认值10。 indirect_partner_id 否 最大长度:64 云经销商ID。获取方法请参见查询云经销商列表。 华为云总经销商(一级经销商)查询云经销商的客户订单详情时,需要携带该参数;除此之外,此参数不做处理。否则只能查询自己客户的订单详情。 表3 消息头参数 参数 是否必选 参数类型 取值范围 描述 X-Language 否 String 最大长度:10 语言。 zh_CN:中文 en_US:英文 缺省为zh_CN。
  • 请求消息 请求参数 无 请求示例 GET https://bss.myhuaweicloud.com/v2/orders/customer-orders/details/CS19040119281JMYC?limit=10&offset=0&indirect_partner_id=c9e731c4663646988ef4cdb3122837b6 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
  • REST API 客户在伙伴销售平台完成包年/包月资源的续订。 该接口只允许使用客户AK/SK或者Token调用,不允许使用合作伙伴AK/SK或者Token调用。因为目前合作伙伴不能自己买产品,所以没有自己的包年/包月产品。 调用接口后,如果某个主资源ID有对应的从资源ID,系统会将主资源ID和从资源ID一起续订,存在主从资源关系的资源为: 云主机为主资源,对应的从资源为云硬盘 共享带宽的情况下,带宽为主资源,对应的从资源为弹性IP(可能包含多个IP) 独享带宽的情况下,弹性IP为主资源,对应的从资源为带宽 本接口支持自动支付,自动支付时支持使用折扣,不支持使用优惠券。支付时使用折扣或优惠券的说明,请参见支付使用折扣或优惠券说明。
  • Web UI 资源即将到期时,已经购买包年/包月产品的客户,可以在费用中心执行续订操作。 进入“ 续费管理”页面。 如需对域名续费,可点击页面右上角“域名续费”快捷入口,进入控制台进行续费操作。请参见“如何域名续费”。 设置查询条件。 开通了企业项目管理的客户可以设置查询条件筛选该客户下各企业项目的名称,查询各企业项目待续费的资源。 单击“设置统一到期日”,可以设置资源的统一到期日,设置资源统一到期日的步骤请参见如何设置统一到期日。 可在“手动续费项”、“自动续费项”、“到期转按需项”“到期不续费项”页签查询全部待续费资源。 可对“手动续费项”、“自动续费项”、“到期转按需项”、“到期不续费项”页签的资源进行手动续费的操作。 所有需手动续费的资源都可归置到“手动续费项”页签。请参见如何恢复为手动续费。 单个续费与批量续费可使用不同的操作方式: 单个续费:在资源页面找到需要续费的资源,单击操作列的“续费”。 批量续费:在资源页面勾选需要续费的资源,单击列表左上角的“批量续费”。 进入续费管理页面,默认隐藏有待支付订单的资源,可取消勾选页面中间“隐藏有待支付订单的资源”展示出来。 若资源有续费待支付订单,对该资源进行续费时弹出提示:资源有待支付订单,完成支付或取消订单后才能续费订单。可点击提示框的订单号进入订单页面,完成支付或取消该订单后,该资源恢复可续费状态。 确认需要续费的资源信息,并设置续费时长,单击“去支付”。 选择优惠和支付方式,单击“确认付款”。 获取并输入手机验证码,单击“确认付款”。 操作成功即可完成续费。 如暂时不支付,可直接关闭支付页面。后续可以在左侧菜单中选择“我的订单”并单击“待支付”页签,支付刚才生成的续费订单,即可完成续费。
  • 请求消息 请求参数 无 请求示例 GET https://bss.myhuaweicloud.com/v2/products/usage-types?offset=0&limit=3 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ X-Language: zh_CN
  • URI GET /v2/products/usage-types 表1 Header参数 参数 是否必选 取值范围 描述 X-Language 否 最大长度:8 语言。 中文:zh_CN 英文:en_US 缺省为zh_CN。 表2 查询参数 参数 是否必选 参数类型 取值范围 描述 resource_type_code 否 String 最大长度:64 资源类型编码,例如ECS的VM为“hws.resource.type.vm”。您可以调用查询资源类型列表接口获取。 此参数不携带或携带值为空时,不作为筛选条件;携带值为空串或携带值为null时,作为筛选条件。 offset 否 Integer [0-100000000] 偏移量,从0开始。默认值为0。 此参数不携带或携带值为空或携带值为null时,取默认值0;不支持携带值为空串。 说明: offset用于分页处理,如不涉及分页,请使用默认值0。offset表示相对于满足条件的第一个数据的偏移量。如offset = 1,则返回满足条件的第二个数据至最后一个数据。 示例1,满足查询条件的结果共10条数据,limit取值为10,offset取值为1,则返回的数据为2~10,第一条数据不返回。 示例2,查询总数20条,期望每页返回10条数据,则获取第一页数据,入参offset填写0,limit填写10;获取第二页数据,入参offset填写10,limit填写10。 limit 否 Integer [1-100] 每次查询的数量,默认值为10。 此参数不携带或携带值为空或携带值为null时,取默认值10;不支持携带值为空串。
共100000条