edit-icon download-icon

VerifyContactField

Last Updated: Apr 17, 2018

Description

The VerifyContactField API verifies domain name contact information.

Request parameters

Parameter Type Required Sample value Description
Address String No Rd. xitucheng

Address.

City String No Bei jing

City.

Country String No CN

Country code, such as CN or US.

Email String No test@test.com

Email.

Lang String No en

Language of the information returned by the API, which has the following enumerated values: zh (Chinese) and en (English). The default value is en.

PostalCode String No 10000

Postal code.

Province String No Bei jing

Province.

RegistrantName String No zhang san

Contact name.

RegistrantOrganization String No zhang san

Registrant’s name.

RegistrantType String No 1 Registrant type, with the following enumerated values:
  • 1: Individual.
  • 2: Enterprise.
TelArea String No 86

Country dialing code.

TelExt String No 01

Extension number.

Telephone String No 13800000000

Phone number.

UserClientIp String No 127.0.0.1

User IP address.

ZhAddress String No 西土城路

Chinese address.

ZhCity String No 北京市

Chinese city.

ZhProvince String No 北京

Chinese province.

ZhRegistrantName String No 张三

Chinese contact name.

ZhRegistrantOrganization String No 张三

Chinese registrant’s name.

Response parameters

Parameter Type Sample value Description
RequestId String ABAC3BAC-FCFA-4DAE-B47C-FA4105CB07C6

The unique request ID.

Examples

Request example

  1. /?Action=VerifyContactField
  2. &Address=Rd. xitucheng
  3. &City=Bei jing
  4. &Country=CN
  5. &Email=test@test.com
  6. &PostalCode=10000
  7. &Province=Bei jing
  8. &RegistrantName=zhang san
  9. &RegistrantOrganization=zhang san
  10. &RegistrantType=1
  11. &TelArea=86
  12. &Telephone=13800000000
  13. &TelExt=01
  14. &<Public request parameter>

Normal response example

  • XML format
  1. <VerifyContactFieldResponse>
  2. <RequestId>30EEA1A7-3C86-471B-BFD8-5AF13CBE0CD3</RequestId>
  3. </VerifyContactFieldResponse>
  • JSON format
  1. {
  2. "RequestId":"ABAC3BAC-FCFA-4DAE-B47C-FA4105CB07C6"
  3. }

Abnormal response example

  • XML format
  1. <Error>
  2. <RequestId>EA6A415C-01CE-480E-82D1-BE90AF0DC8A8</RequestId>
  3. <HostId>domain.aliyuncs.com</HostId>
  4. <Code>ParameterIllegall</Code>
  5. <Message>Incorrect format. Make sure that the city is correct</Message>
  6. </Error>
  • JSON format
  1. {
  2. "Code":"ParameterIllegall",
  3. "HostId":"domain.aliyuncs.com",
  4. "Message":"Format error, make sure the city is correct",
  5. "RequestId":"FCC08834-C2D3-4F2E-BE58-45E96A64298C"
  6. }

Error code

See error codes of this product.

Thank you! We've received your feedback.