API: OpenSRS

OpenSRS API Guide: Domains and SSL

Welcome to the OpenSRS API guide. Here you will find comprehensive documentation regarding our domain and SSL services. We hope this guide will help you start working with OpenSRS as quickly as possible. If you have any questions or concerns, please do not hesitate to contact help@opensrs.com

Get Started

icann_trade_status_change

Response Parameters for icann_trade_status_change

If the request is successful, the attributes associative array may include the
following:

Parameter name
Obligation
Definition/Value

trade_status

Always returned

The updated status of the trade.

Possible values include:

  • initiated

  • pending_current_registrant

  • current_registrant_approved

  • current_registrant_approved_by_da

  • pending_new_registrant

  • new_registrant_approved

  • new_registrant_approved_by_da

  • cancelled_by_new_change

  • cancelled_by_current_registrant

  • cancelled_by_new_registrant

  • cancelled_by_reseller

  • timeout

  • completed

Example Response for icann_trade_status_change


<?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="object">EVENT</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Command successful</item>
                <item key="transaction_id">2016-09-23 16:30:11 31690 101</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="events">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="object_data">
                                            <dt_assoc>
                                                <item key="domain_name">testing-icann-trades.org</item>
                                                <item key="domain_id">310477</item>
                                                <item key="trade_status">cancelled_by_new_registrant</item>
                                            </dt_assoc>
                                        </item>
                                        <item key="object">DOMAIN</item>
                                        <item key="event_id">e197776ce1270f0fab27da6836a22617</item>
                                        <item key="event">ICANN_TRADE_STATUS_CHANGE</item>
                                        <item key="event_date">2016-09-23T19:56:38Z</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="total">1</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

icann_trade_status_change