Examples for contact set
Rather than including the entire contact set in every command example in this guide, where it is required, contact details are listed in a separate topic. Every command that requires contact details contains an ellipsis (...) that links to the topic where the contact_set parameter is defined.
This example shows a portion of the sw_register command with a link to the contact_set example:
<?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="object">DOMAIN</item> <item key="attributes">
<dt_assoc>
<item key="auto_renew"/>
<item key="link_domains">0</item>
<item key="custom_tech_contact">0</item>
<item key="contact_set">
... see "Contact Set"
</item>
...
...
<item key='contact_set'>
<dt_assoc>
<item key="owner">
<dt_assoc>
<item key="first_name">Owen</item>
<item key="last_name">Ottway</item>
<item key="phone">+1.4165550123x1902</item> <item key="fax">+1.4165550124</item>
<item key="email">[email protected]</item> <item key="org_name">Example Inc.</item>
<item key="address1">32 Oak Street</item> <item key="address2">Suite 500</item>
<item key="address3">Owner</item>
<item key="city">SomeCity</item>
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc> </item>
<item key="admin">
<dt_assoc>
<item key="first_name">Adler</item>
<item key="last_name">Adams</item>
<item key="phone">+1.4165550123x1812</item> <item key="fax">+1.4165550125</item>
<item key="email">[email protected]</item> <item key="org_name">Example Inc.</item>
<item key="address1">32 Oak Street</item> <item key="address2">Suite 100</item>
<item key="address3">Admin</item>
<item key="city">Santa Clara</item>
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc>
</item>
<item key="billing">
<dt_assoc>
<item key="first_name">Bill</item>
<item key="last_name">Burton</item>
<item key="phone">+1.4165550123x1248</item> <item key="fax">+1.4165550136</item>
<item key="email">[email protected]</item> <item key="org_name">Example Inc.</item>
<item key="address1">32 Oak Street</item> <item key="address2">Suite 200</item>
<item key="address3">Billing</item>
<item key="city">Santa Clara</item>
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc>
</item>
<item key="tech">
<dt_assoc>
<item key="first_name">Tim</item>
<item key="last_name">Tucker</item>
<item key="phone">+1.4165550123x1243</item> <item key="fax">+1.4165550125</item>
<item key="email">[email protected]</item> <item key="org_name">Example Inc.</item>
<item key="address1">32 Oak Street</item> <item key="address2">Suite 100</item>
<item key="address3">Tech</item>
<item key="city">Santa Clara</item>
<item key="state">CA</item>
<item key="country">US</item>
<item key="postal_code">90210</item>
</dt_assoc>
</item>
</dt_assoc>
</item>
...
Updated about 2 years ago