Re: Fwd: New Version Notification for draft-brown-epp-fees-01.txt

Jens Wagner <[email protected]> Thu, 08 May 2014 17:42:10 +0200
Newsgroups gmane.ietf.provreg
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============2144044884348368404==
Content-Type: multipart/alternative;
 boundary="------------090109070106030207020408"

This is a multi-part message in MIME format.
--------------090109070106030207020408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Thank you Gavin!

Got a couple of questions regarding the fee extension:

1. Is there are reason, that a client provides the <fee:currency> 
element when sending a query command, e.g. <check>?

2. Do the <fee:domain> elements in <fee:check> need to match the 
<domain:name> elements in <domain:check>?

3. May a <fee:domain> element for a single domain get repeated in 
<domain:check>, e.g. for different periods?
E.g. useful, when providing a [period => price] dropdown in a shoppingcart:

C:         <fee:domain>
C:           <fee:name>example.com</fee:name>
C:           <fee:currency>USD</fee:currency>
C: <fee:command>create</fee:command>
C:           <fee:period unit="y">1</fee:period>
C:         </fee:domain>
C:         <fee:domain>
C:           <fee:name>example.com</fee:name>
C:           <fee:currency>USD</fee:currency>
C: <fee:command>create</fee:command>
C:           <fee:period unit="y">2</fee:period>
C:         </fee:domain>
...
C:         <fee:domain>
C:           <fee:name>example.com</fee:name>
C:           <fee:currency>USD</fee:currency>
C: <fee:command>create</fee:command>
C:           <fee:period unit="y">10</fee:period>
C:         </fee:domain>

Btw, this would not be needed, if supporting price classes.

4. Some registries return an error on <domain:info>, if a different 
registrar manages the domain, so <fee:infData> wouldn't get returned 
either, correct? Does <fee:info> have any advantage over <fee:check>?

5. The EPP <renew> command example should use <fee:renew> instead of 
<fee:create>?

Best,
- jens


Am 01.05.2014 19:12, schrieb Gavin Brown:
> Thanks to all for the feedback. I am working on a revised draft that
> will use a single <fee:check> element in commands and a single
> <fee:chkData> element in responses.
>
> Here are some example commands and responses: let me know what you think.
>
> Thanks,
>
> C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
> C:   <command>
> C:     <check>
> C:       <domain:check
> C:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
> C:         <domain:name>example.com</domain:name>
> C:         <domain:name>example.net</domain:name>
> C:         <domain:name>example.org</domain:name>
> C:       </domain:check>
> C:     </check>
> C:     <extension>
> C:       <fee:check
> C:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> C:         <fee:domain>
> C:           <fee:name>example.com</fee:name>
> C:           <fee:currency>USD</fee:currency>
> C:           <fee:command phase="sunrise">create</fee:command>
> C:           <fee:period unit="y">1</fee:period>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.net</fee:name>
> C:           <fee:currency>EUR</fee:currency>
> C:           <fee:command phase="claims" subphase="landrush">
> C:           create</fee:command>
> C:           <fee:period unit="y">2</fee:name>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.org</fee:name>
> C:           <fee:currency>EUR</fee:currency>
> C:           <fee:command>transfer</fee:command>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.xyz</fee:name>
> C:           <fee:command>restore</fee:command>
> C:           <fee:period unit="y">1</fee:period>
> C:         </fee:domain>
> C:       </fee:check>
> C:     </extension>
> C:     <clTRID>ABC-12345</clTRID>
> C:   </command>
> C: </epp>
>
> S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
> S:   <response>
> S:     <result code="1000">
> S:       <msg>Command completed successfully</msg>
> S:     </result>
> S:     <resData>
> S:       <domain:chkData
> S:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
> S:         <domain:cd>
> S:           <domain:name avail="1">example.com</domain:name>
> S:         </domain:cd>
> S:         <domain:cd>
> S:           <domain:name avail="0">example.net</domain:name>
> S:           <domain:reason>In use</domain:reason>
> S:         </domain:cd>
> S:         <domain:cd>
> S:           <domain:name avail="0">example.org</domain:name>
> S:           <domain:reason>In use</domain:reason>
> S:         </domain:cd>
> S:       </domain:chkData>
> S:     </resData>
> S:     <extension>
> S:       <fee:chkData
> S:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.com</fee:name>
> S:           <fee:currency>USD</fee:currency>
> S:           <fee:command phase="sunrise">create</fee:command>
> S:           <fee:period unit="y">1</fee:period>
> S:           <fee:fee description="Application Fee">5.00</fee:fee>
> S:           <fee:fee description="Registration Fee">5.00</fee:fee>
> S:         </fee:cd>
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.net</fee:name>
> S:           <fee:currency>EUR</fee:currency>
> S:           <fee:command phase="claims" subphase="landrush">
> S:           create</fee:command>
> S:           <fee:period unit="y">2</fee:period>
> S:           <fee:fee>5.00</fee:fee>
> S:         </fee:cd>
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.org</fee:name>
> S:           <fee:currency>EUR</fee:currency>
> S:           <fee:command>transfer</fee:command>
> S:           <fee:period unit="y">2</fee:period>
> S:           <fee:fee description="Transfer Fee">2.50</fee:fee>
> S:           <fee:fee description="Renewal Fee">10.00</fee:fee>
> S:         </fee:cd>
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.xyz</fee:name>
> S:           <fee:currency>GBP</fee:currency>
> S:           <fee:command>restore</fee:command>
> S:           <fee:period unit="y">1</fee:period>
> S:           <fee:fee description="Restore Fee">25</fee:fee>
> S:           <fee:fee description="Renewal Fee">5.00</fee:fee>
> S:         </fee:cd>
> S:       </fee:chkData>
> S:     </extension>
> S:     <trID>
> S:       <clTRID>ABC-12345</clTRID>
> S:       <svTRID>54322-XYZ</svTRID>
> S:     </trID>
> S:   </response>
> S: </epp>
>
>
>
> _______________________________________________
> provreg mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/provreg

--------------090109070106030207020408
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thank you Gavin!<br>
      <br>
      Got a couple of questions regarding the fee extension:<br>
      <br>
      1. Is there are reason, that a client provides the
      &lt;fee:currency&gt; element when sending a query command, e.g.
      &lt;check&gt;?<br>
      <br>
      2. Do the &lt;fee:domain&gt; elements in &lt;fee:check&gt; need to
      match the &lt;domain:name&gt; elements in &lt;domain:check&gt;?<br>
      <br>
      3. May a &lt;fee:domain&gt; element for a single domain get
      repeated in &lt;domain:check&gt;, e.g. for different periods?<br>
      E.g. useful, when providing a [period =&gt; price] dropdown in a
      shoppingcart:<br>
      <br>
      <tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:domain&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:name&gt;example.com&lt;/fee:name&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:currency&gt;USD&lt;/fee:currency&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &lt;fee:command&gt;create&lt;/fee:command&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:period
        unit="y"&gt;1&lt;/fee:period&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fee:domain&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:domain&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:name&gt;example.com&lt;/fee:name&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:currency&gt;USD&lt;/fee:currency&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &lt;fee:command&gt;create&lt;/fee:command&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:period
        unit="y"&gt;2&lt;/fee:period&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fee:domain&gt;</tt><tt><br>
      </tt><tt>...</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:domain&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:name&gt;example.com&lt;/fee:name&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:currency&gt;USD&lt;/fee:currency&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &lt;fee:command&gt;create&lt;/fee:command&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fee:period
        unit="y"&gt;10&lt;/fee:period&gt;</tt><tt><br>
      </tt><tt>C:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fee:domain&gt;</tt><br>
      <br>
      Btw, this would not be needed, if supporting price classes.<br>
      <br>
      4. Some registries return an error on &lt;domain:info&gt;, if a
      different registrar manages the domain, so &lt;fee:infData&gt;
      wouldn't get returned either, correct? Does &lt;fee:info&gt; have
      any advantage over &lt;fee:check&gt;?<br>
      <br>
      5. The EPP &lt;renew&gt; command example should use
      &lt;fee:renew&gt; instead of &lt;fee:create&gt;?<br>
      <br>
      Best,<br>
      - jens<br>
      <br>
      <br>
      Am 01.05.2014 19:12, schrieb Gavin Brown:<br>
    </div>
    <blockquote cite="mid:[email protected]" type="cite">
      <pre wrap="">Thanks to all for the feedback. I am working on a revised draft that
will use a single &lt;fee:check&gt; element in commands and a single
&lt;fee:chkData&gt; element in responses.

Here are some example commands and responses: let me know what you think.

Thanks,

C: &lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;
C: &lt;epp xmlns="urn:ietf:params:xml:ns:epp-1.0"&gt;
C:   &lt;command&gt;
C:     &lt;check&gt;
C:       &lt;domain:check
C:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"&gt;
C:         &lt;domain:name&gt;example.com&lt;/domain:name&gt;
C:         &lt;domain:name&gt;example.net&lt;/domain:name&gt;
C:         &lt;domain:name&gt;example.org&lt;/domain:name&gt;
C:       &lt;/domain:check&gt;
C:     &lt;/check&gt;
C:     &lt;extension&gt;
C:       &lt;fee:check
C:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"&gt;
C:         &lt;fee:domain&gt;
C:           &lt;fee:name&gt;example.com&lt;/fee:name&gt;
C:           &lt;fee:currency&gt;USD&lt;/fee:currency&gt;
C:           &lt;fee:command phase="sunrise"&gt;create&lt;/fee:command&gt;
C:           &lt;fee:period unit="y"&gt;1&lt;/fee:period&gt;
C:         &lt;/fee:domain&gt;
C:         &lt;fee:domain&gt;
C:           &lt;fee:name&gt;example.net&lt;/fee:name&gt;
C:           &lt;fee:currency&gt;EUR&lt;/fee:currency&gt;
C:           &lt;fee:command phase="claims" subphase="landrush"&gt;
C:           create&lt;/fee:command&gt;
C:           &lt;fee:period unit="y"&gt;2&lt;/fee:name&gt;
C:         &lt;/fee:domain&gt;
C:         &lt;fee:domain&gt;
C:           &lt;fee:name&gt;example.org&lt;/fee:name&gt;
C:           &lt;fee:currency&gt;EUR&lt;/fee:currency&gt;
C:           &lt;fee:command&gt;transfer&lt;/fee:command&gt;
C:         &lt;/fee:domain&gt;
C:         &lt;fee:domain&gt;
C:           &lt;fee:name&gt;example.xyz&lt;/fee:name&gt;
C:           &lt;fee:command&gt;restore&lt;/fee:command&gt;
C:           &lt;fee:period unit="y"&gt;1&lt;/fee:period&gt;
C:         &lt;/fee:domain&gt;
C:       &lt;/fee:check&gt;
C:     &lt;/extension&gt;
C:     &lt;clTRID&gt;ABC-12345&lt;/clTRID&gt;
C:   &lt;/command&gt;
C: &lt;/epp&gt;

S: &lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;
S: &lt;epp xmlns="urn:ietf:params:xml:ns:epp-1.0"&gt;
S:   &lt;response&gt;
S:     &lt;result code="1000"&gt;
S:       &lt;msg&gt;Command completed successfully&lt;/msg&gt;
S:     &lt;/result&gt;
S:     &lt;resData&gt;
S:       &lt;domain:chkData
S:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"&gt;
S:         &lt;domain:cd&gt;
S:           &lt;domain:name avail="1"&gt;example.com&lt;/domain:name&gt;
S:         &lt;/domain:cd&gt;
S:         &lt;domain:cd&gt;
S:           &lt;domain:name avail="0"&gt;example.net&lt;/domain:name&gt;
S:           &lt;domain:reason&gt;In use&lt;/domain:reason&gt;
S:         &lt;/domain:cd&gt;
S:         &lt;domain:cd&gt;
S:           &lt;domain:name avail="0"&gt;example.org&lt;/domain:name&gt;
S:           &lt;domain:reason&gt;In use&lt;/domain:reason&gt;
S:         &lt;/domain:cd&gt;
S:       &lt;/domain:chkData&gt;
S:     &lt;/resData&gt;
S:     &lt;extension&gt;
S:       &lt;fee:chkData
S:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"&gt;
S:         &lt;fee:cd
S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"&gt;
S:           &lt;fee:name&gt;example.com&lt;/fee:name&gt;
S:           &lt;fee:currency&gt;USD&lt;/fee:currency&gt;
S:           &lt;fee:command phase="sunrise"&gt;create&lt;/fee:command&gt;
S:           &lt;fee:period unit="y"&gt;1&lt;/fee:period&gt;
S:           &lt;fee:fee description="Application Fee"&gt;5.00&lt;/fee:fee&gt;
S:           &lt;fee:fee description="Registration Fee"&gt;5.00&lt;/fee:fee&gt;
S:         &lt;/fee:cd&gt;
S:         &lt;fee:cd
S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"&gt;
S:           &lt;fee:name&gt;example.net&lt;/fee:name&gt;
S:           &lt;fee:currency&gt;EUR&lt;/fee:currency&gt;
S:           &lt;fee:command phase="claims" subphase="landrush"&gt;
S:           create&lt;/fee:command&gt;
S:           &lt;fee:period unit="y"&gt;2&lt;/fee:period&gt;
S:           &lt;fee:fee&gt;5.00&lt;/fee:fee&gt;
S:         &lt;/fee:cd&gt;
S:         &lt;fee:cd
S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"&gt;
S:           &lt;fee:name&gt;example.org&lt;/fee:name&gt;
S:           &lt;fee:currency&gt;EUR&lt;/fee:currency&gt;
S:           &lt;fee:command&gt;transfer&lt;/fee:command&gt;
S:           &lt;fee:period unit="y"&gt;2&lt;/fee:period&gt;
S:           &lt;fee:fee description="Transfer Fee"&gt;2.50&lt;/fee:fee&gt;
S:           &lt;fee:fee description="Renewal Fee"&gt;10.00&lt;/fee:fee&gt;
S:         &lt;/fee:cd&gt;
S:         &lt;fee:cd
S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"&gt;
S:           &lt;fee:name&gt;example.xyz&lt;/fee:name&gt;
S:           &lt;fee:currency&gt;GBP&lt;/fee:currency&gt;
S:           &lt;fee:command&gt;restore&lt;/fee:command&gt;
S:           &lt;fee:period unit="y"&gt;1&lt;/fee:period&gt;
S:           &lt;fee:fee description="Restore Fee"&gt;25&lt;/fee:fee&gt;
S:           &lt;fee:fee description="Renewal Fee"&gt;5.00&lt;/fee:fee&gt;
S:         &lt;/fee:cd&gt;
S:       &lt;/fee:chkData&gt;
S:     &lt;/extension&gt;
S:     &lt;trID&gt;
S:       &lt;clTRID&gt;ABC-12345&lt;/clTRID&gt;
S:       &lt;svTRID&gt;54322-XYZ&lt;/svTRID&gt;
S:     &lt;/trID&gt;
S:   &lt;/response&gt;
S: &lt;/epp&gt;

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
provreg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/provreg">https://www.ietf.org/mailman/listinfo/provreg</a>
</pre>
    </blockquote>
  </body>
</html>

--------------090109070106030207020408--


--===============2144044884348368404==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
provreg mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/provreg

--===============2144044884348368404==--