Partner CenterPartner Center

Compute
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
Domain Name Service
VPC Endpoint
Cloud Connect
Enterprise Switch
Security & Compliance
Anti-DDoS
Web Application Firewall
Host Security Service
Data Encryption Workshop
Database Security Service
Advanced Anti-DDoS
Data Security Center
Container Guard Service
Situation Awareness
Managed Threat Detection
Compass
Cloud Certificate Manager
Anti-DDoS Service
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GaussDB NoSQL
GaussDB(for MySQL)
Distributed Database Middleware
GaussDB(for openGauss)
Developer Services
ServiceStage
Distributed Cache Service
Simple Message Notification
Application Performance Management
Application Operations Management
Blockchain Service
API Gateway
Cloud Performance Test Service
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
DevCloud
ProjectMan
CodeHub
CloudRelease
CloudPipeline
CloudBuild
CloudDeploy
Cloud Communications
Message & SMS
Cloud Ecosystem
Marketplace
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP License Service
Support Plans
Customer Operation Capabilities
Partner Support Plans
Professional Services
enterprise-collaboration
Meeting
IoT
IoT
Intelligent EdgeFabric
DeveloperTools
SDK Developer Guide
API Request Signing Guide
Terraform
HCloud CLI
Updated at: Apr 27, 2022 GMT+08:00

Verifying Customer Registration Information (Old)

Function

This API is used to check whether the account name, and mobile number or email address entered by the customer can be used for registration.

Note:

This API can be invoked only by the partner AK/SK or token.

This API will be brought offline. For details about the new API for verifying customer registration information, see Verifying Customer Registration Information.

URI

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

The following table describes the parameters.

Parameter

Mandatory

Value Range

Description

partner_id

Yes

A maximum of 64 characters

Partner ID (assigned by Huawei).

For details about how to obtain the partner ID, see How Do I Check the Partner ID?.

Request

Request parameters

Parameter

Mandatory

Type

Value Range

Description

searchType

Yes

String

[email|mobile|name]

The options are email, mobile, or name.

searchKey

Yes

String

A maximum of 64 characters

Mobile number, email address, or account name.

  • The mobile number must comply with the regular expression "^\d{4}-\d+$". The value contains the country code and starts with 00. The format is "00XX-XXXXXXXX".
  • name: The value must comply with the regular expression "^([a-zA-Z-]([a-zA-Z0-9_-]){4,31})$" and contains 5 to 32 characters. The value cannot start with op_ or shadow_ and cannot contain only digits. It must start with a letter (case-insensitive) or a hyphen (-).

Example request

POST https://bss-intl.myhuaweicloud.com/v1.0/{partner_id}/partner/customer-mgr/check-user HTTP/1.1
Content-Type: application/json
X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ

{
  "searchType": "mobile", 
  "searchKey": "0086-xxxxxxxxxxx"
}

Response

Response parameters

Parameter

Type

Value Range

Description

error_code

String

A maximum of 16 characters

Error code. For details, see Returned Values.

error_msg

String

A maximum of 1024 characters

Error description.

status

String

A maximum of 16 characters

  • 0: The account name, mobile number, or email address does not exist.
  • 1: The account name, mobile number, or email address already exists.

uplimit

String

A maximum of 1 character

Whether the upper limit has been reached.

  • 0: The upper limit has not been reached.
  • 1: The upper limit has been reached.

Example Response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: length
Date: response time  

{
  "error_code": "CBC.0000",
  "error_msg": "success",
  "status": "0",
  "uplimit": "0"
}

Returned Values

  • 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.

Returned Value

Description

CBC.0000

Success.

CBC.0100

Invalid input parameter.

CBC.5001

You are not a partner yet.

CBC.0999

Other errors.

CBC.0151

Access denied.

Did you find this page helpful?

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel