Help Center> Partner Center> API Reference> API to Be Brought Offline> Managing Customers> Real-Name Authentication> Querying the Real-Name Authentication Review Result (Old)
Updated on 2023-12-13 GMT+08:00

Querying the Real-Name Authentication Review Result (Old)

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.

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 querying the real-name authentication review result, see Querying the Real-Name Authentication Review Result.

URI

GET /v1.0/{partner_id}/partner/customer-mgr/realname-auth/result

The following table describes the parameters.

Table 1 Path 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?

Table 2 Query parameters

Parameter

Mandatory

Type

Value Range

Description

customerId

Yes

String

A maximum of 64 characters

For details, see How Do I Obtain Customer's customer_id and domain_id Values?

Request

Request Parameters

None

Example Request

GET  https://bss-intl.myhuaweicloud.com/v1.0/{partner_id}/partner/customer-mgr/realname-auth/result?customerId=45******122 HTTP/1.1
Content-Type: application/json
X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ

Response

Response Parameters

Parameter

Mandatory

Type

Value Range

Description

error_code

No

String

A maximum of 16 characters

Error code. For details, see Returned Values. This parameter is returned only when a failure occurs.

error_msg

No

String

A maximum of 1024 characters

Error description. This parameter is returned only when a failure occurs.

reviewResult

No

Integer

[0-2]

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.

  • 0: Under review
  • 1: Failed
  • 2: Approved

opinion

No

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  

{
	"reviewResult": 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 Status Code

Error Code

Description

200

CBC.0000

Succeeded.

400

CBC.0100

Invalid input parameter.

403

CBC.0151

Access denied.

500

CBC.5002

The customer does not exist.

500

CBC.0999

Unknown error occurred.