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