send_password (transfer)
Resends an email message for a transfer that is in 'pending owner approval' state, to the admin contact listed for the domain at the time that the transfer request was submitted. If a transfer is currently in progress, but in a different state, an error is returned.
Note:
This does not handle bulk transfers as such – if the password is requested for a domain that is part of a bulk-transfer order, the password returned in the email is only usable for the single domain.
Request parameters for send_password (transfer)
Standard Parameters
- action = send_password
- object = transfer attributes
Attributes
Parameters within the attributes associative array are described below.
Parameter name | Obligation | Definition/Value |
---|---|---|
domain_name | Required | The domain name for which the password is to be initiated. |
Response parameters for send_password (transfer)
Standard parameters
- action = reply
- object = transfer
- is_success = a Boolean is returned, indicating success or failure of the request
- response_code = response code indicating outcome of the request
- response_text = message describing the outcome of the request
Examples for send_password (transfer)
Request
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">send_password</item>
<item key="object">transfer</item>
<item key="attributes">
<dt_assoc>
<item key="domain_name">example.com</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Response
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="action">reply</item>
<item key="object">transfer</item>
<item key="response_text">Message sent.</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Updated about 2 years ago