CompanyFourElementsVerification
Verifies the enterprise name, enterprise certificate number, enterprise legal person name, and enterprise legal person ID card number. All four items must be consistent and the enterprise's operating status must be active for verification to pass.
Operation description
Before you use this API, make sure that you fully understand the billing method and prices of the Enterprise Four-Element Verification product. For billing details, see Product Billing.
Billing applies when VerifyResult returns true/false and ReasonCode is 0, 1, or 2 in the response. Billing does not apply in other cases.
Before you use this API, log on to the Cell Phone Number Service console, go to the Tag Square page, find the corresponding tag, click Apply to Activate, and submit your application. You can use the API after the application is approved.
QPS limit
The per-user QPS limit for this API is 200 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call the API appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dytns:CompanyFourElementsVerification |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EpCertNo |
string |
Yes |
The enterprise certificate number. |
9242032*******J627 |
| EpCertName |
string |
No |
The enterprise name (required). |
A company |
| LegalPersonCertName |
string |
Yes |
The name of the enterprise legal person. Note
If the enterprise has multiple legal persons, separate them with a Chinese enumeration comma ("、"). |
Zhang San |
| LegalPersonCertNo |
string |
Yes |
The ID card number of the enterprise legal person. Note
If the enterprise has multiple ID card numbers, separate them with a Chinese enumeration comma ("、"). |
610321********0011、510180********0022 |
| AuthCode |
string |
Yes |
The authorization code. Note
Log on to the Cell Phone Number Service console and go to the My Applications page to obtain the authorization ID, which is the authorization code. |
Dd1r***4id |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
- |
| RequestId |
string |
The common parameter. The ID returned for each request is unique and can be used to troubleshoot and locate issues. |
CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47 |
| Message |
string |
The description of the returned status code. |
OK |
| Data |
object |
The structure. |
|
| DetailInfo |
object |
The enterprise details. |
{ "enterpriseStatus": "In operation (open)", "openTime": "2023-05-25/2053-05-24" } |
| OpenTime |
string |
The business term of the enterprise. |
2023-05-25/2053-05-24 |
| EnterpriseStatus |
string |
The operating status of the enterprise. |
In operation (open) |
| InconsistentData |
array |
The fields that failed verification. |
|
|
string |
|
CertName |
|
| VerifyResult |
string |
The verification result. Valid values:
|
true |
| ReasonCode |
integer |
The verification result code. Valid values:
|
0 |
| Code |
string |
The request status code. |
OK |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "-",
"RequestId": "CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47",
"Message": "OK",
"Data": {
"DetailInfo": {
"OpenTime": "2023-05-25/2053-05-24",
"EnterpriseStatus": "在营(开业)"
},
"InconsistentData": [
"CertName"
],
"VerifyResult": "true",
"ReasonCode": 0
},
"Code": "OK"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | AuthCodeIllegal | Illegal authCode. | |
| 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.