pem.addDomain Sample

The following XML snippet shows the structure of sample request for XML-RPC call for this method:

<?xml version="1.0"?>
<methodCall>
   <methodName>pem.addDomain</methodName>
   <params>
      <param>
         <value>
            <struct>
               <member>
                  <name>subscription_id</name>
                  <value>
                     <int>${theSubscriptionID}</int>
                  </value>
               </member>
               <member>
                  <name>domain_name</name>
                  <value>
                     <string>${theDomainName}</string>
                  </value>
               </member>
               <member>
                  <name>registrar_status</name>
                  <value>
                     <int>${theRegistrarStatus}</int>
                  </value>
               </member>
               <member>
                  <name>hosting_type</name>
                  <value>
                     <int>${theHostingType}</int>
                  </value>
               </member>
               <member>
                  <name>path</name>
                  <value>
                     <string>${thePath}</string>
                  </value>
               </member>
            </struct>
         </value>
      </param>
   </params>
</methodCall>