docs/templates/pages/proto/eacoin.html

180 lines
5.5 KiB
HTML
Raw Normal View History

2021-12-28 20:54:12 +00:00
{% extends "base.html" %}
{% block body %}
<h1><code>eacoin</code></h1>
<h2 id="checkin"><code>eacoin.checkin</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="checkin"&gt;
&lt;cardtype __type="str" /&gt;
&lt;cardid __type="str" /&gt;
&lt;passwd __type="str" /&gt;
&lt;ectype __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>"&gt;
&lt;sequence __type="s16" /&gt;
&lt;acstatus __type="u8" /&gt;
&lt;acid __type="str" /&gt;
&lt;acname __type="str" /&gt;
&lt;balance __type="s32" /&gt;
&lt;sessid __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="checkout"><code>eacoin.checkout</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="checkout"&gt;
&lt;sessid __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>" /&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="consume"><code>eacoin.consume</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="consume" esid=""&gt;
&lt;sessid __type="str" /&gt;
&lt;sequence __type="s16" /&gt;
&lt;payment __type="s32" /&gt;
&lt;service __type="s16" /&gt;
&lt;itemtype __type="str" /&gt;
&lt;detail __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>"&gt;
&lt;acstatus __type="u8" /&gt;
&lt;autocharge __type="u8" /&gt;
&lt;balance __type="s32" /&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="getbalance"><code>eacoin.getbalance</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="getbalance"&gt;
&lt;sessid __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>"&gt;
&lt;acstatus __type="u8" /&gt;
&lt;balance __type="s32" /&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="getecstatus"><code>eacoin.getecstatus</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="getecstatus" /&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>"&gt;
&lt;ectype __type="str" /&gt;
&lt;ecstatus __type="u8" /&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="touch"><code>eacoin.touch</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="touch"&gt;
&lt;sessid __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>" /&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="opchpass"><code>eacoin.opchpass</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="opchpass"&gt;
&lt;passwd __type="str" /&gt;
&lt;newpasswd __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>" /&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="opcheckin"><code>eacoin.opcheckin</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="opcheckin"&gt;
&lt;passwd __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>"&gt;
&lt;sessid __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="opcheckout"><code>eacoin.opcheckout</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="opcheckout"&gt;
&lt;sessid __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>" /&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h2 id="getlog"><code>eacoin.getlog</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin method="getlog"&gt;
&lt;sessid __type="str" /&gt;
&lt;logtype __type="str" /&gt;
&lt;ectype __type="str" /&gt;
&lt;target __type="str" /&gt;
&lt;perpage __type="s16" /&gt;
&lt;page __type="s16" /&gt;
&lt;sesstype __type="str" /&gt;
&lt;/eacoin&gt;
&lt;/call&gt;</code></pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
<pre><code>&lt;response&gt;
2021-12-28 00:26:42 +00:00
&lt;eacoin status="<i>status</i>"&gt;
&lt;processing __type="u8" /&gt;
&lt;topic&gt;
&lt;sumdate __type="str" /&gt;
&lt;sumfrom __type="str" /&gt;
&lt;sumto __type="str" /&gt;
&lt;today __type="s32" /&gt;
&lt;average __type="s32" /&gt;
&lt;total __type="s32" /&gt;
&lt;/topic&gt;
&lt;summary&gt;
&lt;items __type="s32" /&gt;
&lt;/summary&gt;
&lt;history&gt;
&lt;item[]&gt;
&lt;date __type="str" /&gt;
&lt;consume __type="s32" /&gt;
&lt;service __type="s32" /&gt;
&lt;cardtype __type="str" /&gt;
&lt;cardno __type="str" /&gt;
&lt;title __type="str" /&gt;
&lt;systemid __type="str" /&gt;
&lt;/item[]&gt;
&lt;/history&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
2021-12-28 20:54:12 +00:00
{% endblock %}