HistoryThreeElementsVerification
Verifies whether a name, phone number, and ID number belonged to the same user at a specific point in time.
Operation description
Usage notes
-
Before you use this API, ensure you understand its pricing.
-
Before you use this API, log on to the Phone Number Intelligence console and apply for the required tag on the Tag Plaza page.
-
You are charged for a call only when the response returns
Code='OK'andIsConsistent != 0. No charges are incurred for any other results. -
Verification of China Broadcasting Network numbers (numbers with the 192 prefix) is not supported. If you provide a number with the 192 prefix, an HTTP 400 error is returned.
-
Due to number portability, the actual carrier may differ from the current carrier of record. You can use the
Carrierparameter to route the query to a specific carrier. -
The queries per second (QPS) limit per user is 200. Requests that exceed this limit are throttled.
-
In the authorization information, the action is
dytns:HistoryThreeElementsVerification, the access level is Read, and the resource type is All Resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dytns:HistoryThreeElementsVerification |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AuthCode |
string |
Yes |
The authorization code. You can obtain it from the following sources:
|
example |
| InputNumber |
string |
Yes |
The phone number to query.
|
example |
| Mask |
string |
Yes |
The encryption method. Valid value:
|
example |
| Name |
string |
Yes |
The name to verify. |
example |
| CertCode |
string |
Yes |
The ID number to verify.
|
example |
| VerificationTime |
string |
Yes |
The historical point in time to verify, in |
example |
| Carrier |
string |
No |
The carrier to query. By default, the system queries the number's carrier of record. Specify this parameter to route the query to a specific carrier. Valid values:
Note
Due to number portability, a ported number's historical carrier may be unknown. Use this parameter to explicitly query a specific carrier. If omitted, the query defaults to the number's current carrier of record. Important Specifying China Broadcasting Network is not supported and results in an HTTP 400 error. |
CMCC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
Details about why access is denied. Note
This parameter is returned only when RAM authentication fails. |
- |
| RequestId |
string |
The request ID. |
CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47 |
| Message |
string |
The description of the status code. |
OK |
| Data |
object |
The query results. |
|
| IsConsistent |
integer |
The consistency of the verification result. Valid values:
|
72 |
| RequestCarrier |
string |
The carrier to which the request was routed. |
CMCC |
| Code |
string |
The status code of the request.
|
OK |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "-",
"RequestId": "CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47",
"Message": "OK",
"Data": {
"IsConsistent": 72,
"RequestCarrier": "CMCC"
},
"Code": "OK"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperatorLimit | Number is limited by the operator. | Number prohibited by the operator |
| 400 | MobileNumberIllegal | Wrong format of phone number | |
| 400 | CarrierIllegal | 运营商类型非法 | |
| 400 | CertCodeIllegal | Invalid CertCode value. | |
| 400 | InvalidParameter | 请求参数非法 | |
| 400 | AuthCodeIllegal | Illegal authCode. | |
| 500 | SystemError | 系统异常 | |
| 500 | RequestTimeout | Request supplier timed out. | Request supplier timeout |
| 500 | RequestSupplierError | Request supplier error. | Request supplier error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.