Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Querying the List of Huawei Cloud Resellers

Updated on 2024-10-29 GMT+08:00

Function

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

Constraints

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

Debugging

You can debug this API API Explorer.

URI

POST /v2/partners/indirect-partners/query

Request

Request parameters

Parameter

Mandatory

Type

Maximum Length of Characters/Value Range

Description

account_name

No

String

64 characters

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

No

String

20 characters

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

No

String

20 characters

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.

indirect_partner_id

No

String

64 characters

Reseller ID. For details about how to obtain such IDs, see Querying the List of Huawei Cloud Resellers.

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

offset

No

Integer

0 to 40,000,000

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

NOTE:

This parameter is used for pagination. Retain its default value 0 if pagination is not required. offset indicates the offset relative to the first data record among all that meets the conditions configured. If you set offset to 1, the second and subsequent data records are returned.

For example, if there are 10 records that meet query conditions, when you set limit to 10 and offset to 1, the second to the tenth records are returned.

If there are 20 records that meet query conditions, when you set offset to 0 and limit to 10 for the first page and set offset to 10 and limit to 10 for the second page, then each page will respectively have 10 records.

limit

No

Integer

[1, 100]

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

Example Request
POST https://bss-intl.myhuaweicloud.com/v2/partners/indirect-partners/query HTTP/1.1
Content-Type: application/json
X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
{
  "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"
}

Response

Response Parameters

Parameter

Type

Maximum Length of Characters/Value Range

Description

error_code

String

20 characters

Status code. For details, see Status Codes. This parameter is returned only when the query failed.

error_msg

String

1000 characters

Error description. This parameter is returned only when the query failed.

count

Integer

[0, Maximum integer]

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

indirect_partners

List<IndirectPartnerInfo>

-

Reseller list. For details, see Table 1.

Table 1 IndirectPartnerInfo

Parameter

Type

Maximum Length of Characters/Value Range

Description

indirect_partner_id

String

64 characters

Reseller ID.

mobile_phone

String

20 characters

Mobile number of a reseller.

email

String

200 characters

Email address of a reseller.

account_name

String

64 characters

Account name of a reseller.

name

String

255 characters

Reseller name.

associated_on

String

20 characters

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

64 characters

Account name of an account manager for login

account_manager_name

String

255 characters

Account manager name.

Example Response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: length
Date: response time 
{
  "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"
    }
  ]
}

Status Codes

NOTE:
  • 4xx: This class of HTTP status code is intended for situations in which the error seems to have been caused by the client, for example, the request contains bad syntax or incorrect parameters. You must ensure the request is correct.
  • 5xx: This class of HTTP status code is intended for cases in which the Huawei Cloud server is aware that it has encountered an error or is otherwise incapable of performing the request. In this case, contact Huawei Cloud customer service.

HTTP Status Code

Error Code

Description

400

CBC.0100

Incorrect parameter.

403

CBC.0151

Access denied.

500

CBC.0999

Other errors.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback