文档首页 > > 开发指南> API & SDK 对应关系> Go> BSS

BSS

分享
更新时间: 2020/01/15 GMT+08:00

基于BSS v1.0 API的SDK接口如下,调用方式请参考示例代码。

如下接口的API链接有面向合作伙伴和面向客户之分,若链接为“合作伙伴运营能力”表明该链接是面向合作伙伴的API接口链接,若链接为“客户运营能力”表明该链接是面向客户的API接口链接。

Interface

Method

API

Customer Management

func CheckCustomerRegisterInfo(client *gophercloud.ServiceClient, opts CheckCustomerRegisterInfoBuilder)

POST /v1.0/{partner_id}/partner/customer-mgr/check-user

链接(合作伙伴运营能力)

func CreateCustomer(client *gophercloud.ServiceClient, opts CreateCustomerOptsBuilder)

POST /v1.0/{partner_id}/partner/customer-mgr/customer

链接(合作伙伴运营能力)

func QueryCustomer(client *gophercloud.ServiceClient, opts QueryCustomerOptsBuilder)

POST /v1.0/{partner_id}/partner/customer-mgr/query

链接(合作伙伴运营能力)

Realname Auth

func IndividualRealNameAuth(client *gophercloud.ServiceClient, opts IndividualRealNameAuthOptsBuilder)

POST /v1.0/{partner_id}/partner/customer-mgr/realname-auth/individual

链接(合作伙伴运营能力)

func EnterpriseRealNameAuth(client *gophercloud.ServiceClient, opts EnterpriseRealNameAuthOptsBuilder)

POST /v1.0/{partner_id}/partner/customer-mgr/realname-auth/enterprise

链接(合作伙伴运营能力)

func ChangeEnterpriseRealNameAuth(client *gophercloud.ServiceClient, opts ChangeEnterpriseRealNameAuthOptsBuilder)

PUT /v1.0/{partner_id}/partner/customer-mgr/realname-auth/enterprise

链接(合作伙伴运营能力)

func QueryRealNameAuth(client *gophercloud.ServiceClient, opts QueryRealNameAuthOptsBuilder)

GET /v1.0/{partner_id}/partner/customer-mgr/realname-auth/result

链接(合作伙伴运营能力)

Enquiry

func QueryRating(client *gophercloud.ServiceClient, opts QueryRatingOptsBuilder)

POST /v1.0/{domain_id}/customer/product-mgr/query-rating

链接(合作伙伴运营能力)

链接(客户运营能力)

Period Order

func QueryOrderList(client *gophercloud.ServiceClient, opts QueryOrderListBuilder)

GET /v1.0/{domain_id}/common/order-mgr/orders/detail

链接(合作伙伴运营能力)

链接(客户运营能力)

func QueryOrderDetail(client *gophercloud.ServiceClient, opts QueryOrderDetailBuilder, orderId string)

GET /v1.0/{domain_id}/common/order-mgr/orders/{order_id}

链接(合作伙伴运营能力)

链接(客户运营能力)

func PayPeriodOrder(client *gophercloud.ServiceClient, opts PayPeriodOrderBuilder)

POST /v1.0/{domain_id}/customer/order-mgr/order/pay

链接(合作伙伴运营能力)

链接(客户运营能力)

func UnsubscribePeriodOrder(client *gophercloud.ServiceClient, opts UnsubscribePeriodOrderBuilder, orderId string)

DELETE /v1.0/{domain_id}/customer/order-mgr/orders/{order_id}

链接(合作伙伴运营能力)

链接(客户运营能力)

func CancelOrder(client *gophercloud.ServiceClient, opts CancelOrderBuilder,actionId string)

PUT /v1.0/{domain_id}/customer/order-mgr/orders/actions

链接(合作伙伴运营能力)

func QueryRefundOrderAmount(client *gophercloud.ServiceClient, opts QueryRefundOrderAmountBuilder)

GET /v1.0/{domain_id}/common/order-mgr/orders/refund-order

链接(合作伙伴运营能力)

func QueryResourceStatusByOrderId(client *gophercloud.ServiceClient, opts QueryResourceStatusByOrderIdBuilder, orderId string)

GET /v1.0/{domain_id}/common/order-mgr/orders-resource/{order_id}

链接(合作伙伴运营能力)

链接(客户运营能力)

Period Resource

func QueryCustomerPeriodResourcesList(client *gophercloud.ServiceClient, opts QueryCustomerPeriodResourcesListOptsBuilder)

GET /v1.0/{domain_id}/common/order-mgr/resources/detail

链接(合作伙伴运营能力)

链接(客户运营能力)

func RenewSubscriptionByResourceId(client *gophercloud.ServiceClient, opts RenewSubscriptionByResourceIdOptsBuilder)

POST /v1.0/{domain_id}/common/order-mgr/resources/renew

链接(合作伙伴运营能力)

链接(客户运营能力)

func UnsubscribeByResourceId(client *gophercloud.ServiceClient, opts UnsubscribeByResourceIdOptsBuilder)

POST /v1.0/{domain_id}/common/order-mgr/resources/delete

链接(合作伙伴运营能力)

链接(客户运营能力)

func EnableAutoRenew(client *gophercloud.ServiceClient, opts EnableAutoRenewOptsBuilder,resourceId string)

POST /v1.0/{domain_id}/common/order-mgr/resources/{resource_id}/actions

链接(合作伙伴运营能力)

链接(客户运营能力)

func DisableAutoRenew(client *gophercloud.ServiceClient, opts DisableAutoRenewOptsBuilder,resourceId string)

DELETE /v1.0/{domain_id}/common/order-mgr/resources/{resource_id}/actions

链接(合作伙伴运营能力)

链接(客户运营能力)

Pay-Per-Use Resource

func QueryCustomerResource(client *gophercloud.ServiceClient, opts QueryCustomerResourceOptsBuilder)

POST /v1.0/{partner_id}/partner/customer-mgr/customer-resource/query-resources

链接(合作伙伴运营能力)

Bill

func QueryMonthlyExpenditureSummary(client *gophercloud.ServiceClient, opts QueryMonthlyExpenditureSummaryOptsBuilder)

GET /v1.0/{domain_id}/customer/account-mgr/bill/monthly-sum

链接(客户运营能力)

func QueryResourceUsageDetails(client *gophercloud.ServiceClient, opts QueryResourceUsageDetailsOptsBuilder)

GET /v1.0/{domain_id}/customer/account-mgr/bill/res-records

链接(客户运营能力)

func QueryResourceUsageRecord(client *gophercloud.ServiceClient, opts QueryResourceUsageRecordOptsBuilder)

GET /v1.0/{domain_id}/customer/account-mgr/bill/res-fee-records

链接(客户运营能力)

Utilities

func SendVerificationCode(client *gophercloud.ServiceClient, opts SendVerificationCodeOptsBuilder)

POST /v1.0/{partner_id}/partner/common-mgr/verificationcode

链接(合作伙伴运营能力)

分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!

非常感谢您的反馈,我们会继续努力做到更好!

反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

跳转到云社区