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.
|
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 |
|
uplimit |
String |
A maximum of 1 character |
Whether 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.
HTTP Status Code |
Error Code |
Description |
---|---|---|
200 |
CBC.0000 |
Success. |
200 |
CBC.0100 |
Invalid input parameter. |
400 |
CBC.5001 |
You are not a partner yet. |
500 |
CBC.0999 |
Other errors. |
403 |
CBC.0151 |
Access denied. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot