Customer Operation Capabilities
| Details
  • Registering a Customer (Partner)
    • CheckUserIdentity
    • CreateSubCustomer
    • SendVerificationMessageCode
  • Managing Customers (Partner)
    • FreezeSubCustomers
    • ListSubCustomers
    • UnfreezeSubCustomers
  • Real-Name Authentication (Partner)
    • ChangeEnterpriseRealnameAuthentication
    • CreateEnterpriseRealnameAuthentication
    • CreatePersonalRealnameAuth
    • ShowRealnameAuthenticationReviewResult
  • Managing Coupons (Public)
    • ListSubCustomerCoupons
  • Managing Customer Budgets (Partner)
    • ListSubCustomerBudget
    • ShowSubCustomerBudget
    • UpdateSubCustomerBudget
  • Managing Accounts (Customer)
    • ShowCustomerAccountBalances
  • Purchasing a Cloud Service (Public)
    • ListFreeResourceUsages
    • ListOnDemandResourceRatings
    • ListRateOnPeriodDetail
    • ListRenewRateOnPeriod
  • Managing Yearly/Monthly Orders (Public)
    • ListCustomerOrders
    • ShowCustomerOrderDetails
    • ShowRefundOrderDetails
  • Managing Yearly/Monthly Orders (Customer)
    • AutoRenewalResources
    • CancelAutoRenewalResources
    • CancelCustomerOrder
    • CancelResourcesSubscription
    • ListOrderDiscounts
    • ListPayPerUseCustomerResources
    • PayOrders
    • RenewalResources
    • UpdatePeriodToOnDemand
  • Managing Pay-Per-Use Resources (Partner)
    • ListCustomerOnDemandResources
  • Managing Bills (Partner)
    • ListPostpaidBillSum
  • Managing Bills (Customer)
    • ListCustomerselfResourceRecordDetails
    • ListCustomerselfResourceRecords
    • ListMonthlyExpenditures
  • Managing Enterprise Projects (Customer)
    • CreateEnterpriseProjectAuth
  • Managing Enterprise Accounts (Customer)
    • ListEnterpriseSubCustomers
  • Managing Products (Public)
    • ListConversions
    • ListMeasureUnits
    • ListResourceTypes
    • ListServiceResources
    • ListServiceTypes
    • ListUsageTypes
  • Managing Resource Packages (Customer)
    • ListFreeResourceInfos
    • ListFreeResourcesUsageRecords
  • Managing Huawei Cloud Resellers (Partner)
    • ListIndirectPartners
  • Cost Management (Customer)
    • ListCosts
  • Managing Credits(Partner)
    • ShowPartnerConsumptionQuota
  • Managing Invoices (Public)
    • ListInvoices

ListIndirectPartners

POST
https://bss-intl.myhuaweicloud.com/v2/partners/indirect-partners/query
Advanced
Required parameters only
Default
Encrypt sensitive parameters
*
Region
Headers
*
Authorization
Body
*{
*
account_name
:
*
associated_on_begin
:
*
associated_on_end
:
*
offset
:
*
limit
:
*
indirect_partner_id
:
}
API Description

A Huawei Cloud distributor can query its associated Huawei Cloud resellers.

For details, visit here.

Constraints

This API can only be invoked using the AK/SK or token of Huawei Cloud distributors.

URL
POST  https://bss-intl.myhuaweicloud.com/v2/partners/indirect-partners/query
Request Parameters
NameTypeINMandatoryDescription
X-Auth-Token
stringheader Yes

Call with partner token

Body Parameters
NameTypeMandatoryDescription
account_name
string No

Account name of a reseller.If this parameter is not included in the request parameters, is set to "", or is set to null, it cannot be used as a filter criterion.

associated_on_begin
string No

Start time of the association between a reseller and a distributor.The time is in the UTC format (time zone is required), for example, 2016-03-28T00:00:00Z.If this parameter is not included in the request parameters or is set to null, it cannot be used as a filter criterion.

associated_on_end
string No

End time of the association between a reseller and a distributor.The time is in the UTC format (time zone is required), for example, 2016-03-28T00:00:00Z.If this parameter is not included in the request parameters or is set to null, it cannot be used as a filter criterion.

offset
integer No

Offset, starting from 0. The default value is 0.

limit
integer No

Maximum number of records in each query. The default value is 10.

indirect_partner_id
string No

Reseller ID.This parameter is mandatory if you want to query a specific reseller.

Response Parameters
Status code: 200

Querying the List of Huawei Cloud Resellers Response

NameTypeDescription
count
integer

Number of records that meet the search conditions. This parameter is returned only when the operation is successful.

indirect_partners
Array of IndirectPartnerInfo objects

Reseller list.

200 indirect_partners
NameTypeDescription
indirect_partner_id
string

Reseller ID.

mobile_phone
string

Mobile number of a reseller.

email
string

Email address of a reseller.

account_name
string

Account name of a reseller.

name
string

Reseller name.

associated_on
string

Time when a reseller is associated with a Huawei Cloud distributor.The time is in the UTC format (time zone is required), for example, 2016-03-28T00:00:00Z.

account_manager_id
string

Account name of an account manager for login

account_manager_name
string

Account manager name.

Status code: 400

Invalid parameter.

Example Request
Example 1
"POST https://bss-intl.myhuaweicloud.com/v2/partners/indirect-partners/query"
{ "account_name": "account_name", "associated_on_begin": "2017-12-17T10:32:02Z", "associated_on_end": "2017-12-17T10:32:02Z", "offset": 0, "limit": 10, "indirect_partner_id": "c9e731c4663646988ef4cdb3122837b6" }
Example Response
Status code: 200

Querying the List of Huawei Cloud Resellers Response

Example 1
{
"count": 1,
"indirect_partners": [
{
"indirect_partner_id": "c9e731c4663646988ef4cdb3122837b6",
"mobile_phone": "186xxxxxxxxx",
"email": "xxx@huawei.com",
"account_name": "account_name",
"name": "account_name2",
"associated_on": "2017-12-17T10:32:02Z",
"account_manager_id": "manager_id",
"account_manager_name": "manager_name"
}
]
}
SDK
Click Customer Operation Capabilities (BSSINTL) SDK to download the SDK in your programming language or view the SDK documentation. To learn how to install an SDK and perform authentication, read Usage.
Error Code

Outline

API Description
Constraints
URL
Request Parameters
Response Parameters
Example Request
Example Response
SDK
Error Code