edit-icon download-icon

SaveRegistrantProfile

Last Updated: Feb 05, 2018

Description

Create or save a domain registrant information template.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes API of the action. System required parameter. Set it to SaveRegistrantProfile.
RegistrantProfileId Long Required in template update and empty in template creation ID of the domain name information template
Telephone String Required in template update and empty in template creation Phone number
DefaultRegistrantProfile Boolean Required in template update and empty in template creation Whether it is the default template
Country String Required in template update and empty in template creation Country code, such as CN or US
Province String Required in template update and empty in template creation Province
TelArea String Required in template update and empty in template creation Country dialing code
City String Required in template update and empty in template creation City
PostalCode String Required in template update and empty in template creation Zip code
Email String Required in template update and empty in template creation Email address
Address String Required in template update and empty in template creation Specific address
RegistrantName String Required in template update and empty in template creation Contact name
RegistrantOrganization String Required in template update and empty in template creation Owner name
TelExt String No Extension number

Response parameters

Parameter Type Description
RequestId String Unique request identifier
RegistrantProfileId Long ID of the contact information template

Error codes

Error code Error message HTTP status code Meaning
ParameterIllegal Parameter illegal. 400 Parameter error
NetworkIOError Network I/O Error. 400 Network I/O exception

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=SaveRegistrantProfile
  2. &DefaultRegistrantProfile=false
  3. &Email=a%40a.com
  4. &Address=test+a
  5. &Telephone=18800000000
  6. &PostalCode=000000
  7. &City=testc
  8. &Province=test+p
  9. &RegistrantName=test+rn
  10. &Country=CN
  11. &RegistrantOrganization=test+ro
  12. &TelArea=86
  13. &<Public request parameters>

Response example

XML format

  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <SaveRegistrantProfileResponse>
  3. <RegistrantProfileId>3600000</RegistrantProfileId>
  4. <RequestId>D09B153B-294D-42F1-BB61-F1C72136DFD3</RequestId>
  5. </SaveRegistrantProfileResponse>

JSON format

  1. {
  2. "RegistrantProfileId": "3696573",
  3. "RequestId": "ECB708B9-A82E-45D7-A230-58231E532A57"
  4. }
Thank you! We've received your feedback.