get_contract

Retrieves the text of the reseller agreement known as Exhibit A.

Request parameters for get_contract

Standard parameters

  • action = get_contract
  • object = domain attributes

Attributes

Parameters within the attributes associative array are described below.

Parameter name

Obligation

Definition / Value

type

Required

Type of query.
Allowed value is exhibit_a.

Response parameters for get_contract

Standard parameters

  • action = reply
  • object = domain
  • 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

Attributes

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

Parameter name

Obligation

Definition / Value

contract

Returned if is_success =1

The text of the reseller agreement known as Exhibit A.

Examples for get_contract

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">GET_CONTRACT</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="type">exhibit_a</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">DOMAIN</item>
                <item key="response_text">Contract data successfully retrieved</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="contract">
                            <dt_assoc>
                                <item key="text">1. AGREEMENT. In this Registration Agreement ("Agreement") "you" and "your" refer to the registrant of each domain name registration.....etc.....</item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>