EPP Protocol create multiple domains in one command

Posted by yannis hristofakis on Server Fault See other posts from Server Fault or by yannis hristofakis
Published on 2013-10-30T14:00:40Z Indexed on 2013/10/30 15:57 UTC
Read the original article Hit count: 262

Filed under:

I've seen <domain:check> command can check multiple domains in one command. Is it possible to do the same for the <domain:create>?

   <?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
     <command>
       <create>
         <domain:create
          xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
           <domain:name>example.com</domain:name>
           <domain:period unit="y">2</domain:period>
           <domain:ns>
             <domain:hostObj>ns1.example.com</domain:hostObj>
             <domain:hostObj>ns1.example.net</domain:hostObj>
           </domain:ns>
           <domain:registrant>jd1234</domain:registrant>
           <domain:contact type="admin">sh8013</domain:contact>
           <domain:contact type="tech">sh8013</domain:contact>
           <domain:authInfo>
             <domain:pw>2fooBAR</domain:pw>
           </domain:authInfo>
         </domain:create>
       </create>
       <clTRID>ABC-12345</clTRID>
     </command>
   </epp>

© Server Fault or respective owner

Related posts about protocol