Querying the Real-Name Authentication Review Result
Function
If the response to a real-name authentication application or real-name authentication change application indicates that manual review is required, this API can be used to query the review result.
Constraints
This API can be invoked only by the partner AK/SK or token.
Debugging
You can debug the API in API Explorer which supports automatic authentication. API Explorer can automatically generate and debug example SDK code.
URI
GET /v2/customers/realname-auths/result
The following table describes the parameters.
Parameter |
Mandatory |
Type |
Value Range |
Description |
---|---|---|---|---|
customer_id |
Yes |
String |
A maximum of 64 characters |
Customer account ID. You can call the API in Querying Customers to obtain the customer ID. |
Request
Request Parameters
None
Example Request
GET https://bss-intl.myhuaweicloud.com/v2/customers/realname-auths/result?customer_id=06a7969058802f0c0f01c00b91846780 HTTP/1.1 Content-Type: application/json X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
Response
Response Parameters
Parameter |
Type |
Value Range |
Description |
---|---|---|---|
error_code |
String |
A maximum of 16 characters |
Error code. For details, see Returned Values. This parameter is returned only when a failure occurs. |
error_msg |
String |
A maximum of 1024 characters |
Error description. This parameter is returned only when a failure occurs. |
review_result |
Integer |
- |
Real-name authentication review result. This parameter is returned only when the status code is 200 and the real-name authentication application has been submitted.
|
opinion |
String |
A maximum of 256 characters |
Review comment. This parameter is returned only when the status code is 200 and the review is not approved. |
Example Response
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "review_result": 2, "opinion": null }
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 Value |
Error Code |
Description |
---|---|---|
400 |
CBC.0100 |
Parameter error. |
403 |
CBC.0151 |
Access denied. |
500 |
CBC.0999 |
Unknown error occurred. |
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