181 lines
5.1 KiB
HTML
181 lines
5.1 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}eacoin{% endblock %}
|
|
{% block body %}
|
|
<h1><code>eacoin</code></h1>
|
|
<h2 id="checkin"><code>eacoin.checkin</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="checkin">
|
|
<cardtype __type="str" />
|
|
<cardid __type="str" />
|
|
<passwd __type="str" />
|
|
<ectype __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<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>
|
|
|
|
<h2 id="checkout"><code>eacoin.checkout</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="checkout">
|
|
<sessid __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status" />
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="consume"><code>eacoin.consume</code></h2>
|
|
<h3>Request:</h3>
|
|
<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>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status">
|
|
<acstatus __type="u8" />
|
|
<autocharge __type="u8" />
|
|
<balance __type="s32" />
|
|
</eacoin>
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="getbalance"><code>eacoin.getbalance</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="getbalance">
|
|
<sessid __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status">
|
|
<acstatus __type="u8" />
|
|
<balance __type="s32" />
|
|
</eacoin>
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="getecstatus"><code>eacoin.getecstatus</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="getecstatus" />
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status">
|
|
<ectype __type="str" />
|
|
<ecstatus __type="u8" />
|
|
</eacoin>
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="touch"><code>eacoin.touch</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="touch">
|
|
<sessid __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status" />
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="opchpass"><code>eacoin.opchpass</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="opchpass">
|
|
<passwd __type="str" />
|
|
<newpasswd __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status" />
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="opcheckin"><code>eacoin.opcheckin</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="opcheckin">
|
|
<passwd __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status">
|
|
<sessid __type="str" />
|
|
</eacoin>
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="opcheckout"><code>eacoin.opcheckout</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<eacoin method="opcheckout">
|
|
<sessid __type="str" />
|
|
</eacoin>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status" />
|
|
</response>{% endhighlight %}</pre>
|
|
|
|
<h2 id="getlog"><code>eacoin.getlog</code></h2>
|
|
<h3>Request:</h3>
|
|
<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>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eacoin status="??status">
|
|
<processing __type="u8" />
|
|
<topic>
|
|
<sumdate __type="str" />
|
|
<sumfrom __type="str" />
|
|
<sumto __type="str" />
|
|
|
|
<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>
|
|
{% endblock %} |