Update REST API
15
REST-API.md
15
REST-API.md
@@ -80,14 +80,15 @@ Value | Meaning
|
|||||||
<h3><code>GET /trade/list</code></h3>
|
<h3><code>GET /trade/list</code></h3>
|
||||||
<p>getting a list of trades in the db</p>
|
<p>getting a list of trades in the db</p>
|
||||||
<pre><code class="language-bash">curl -X POST http://localhost:8080/trade/list </code></pre>
|
<pre><code class="language-bash">curl -X POST http://localhost:8080/trade/list </code></pre>
|
||||||
<pre><code>return:\
|
<pre><code>return:
|
||||||
{\
|
|
||||||
"Symbol":"NOVOBc",\
|
{
|
||||||
|
"Symbol":"NOVOBc",
|
||||||
"CurrencyCode":"DKK",\
|
"CurrencyCode":"DKK",\
|
||||||
"Shares":15,\
|
"Shares":15,
|
||||||
"Product":0,\
|
"Product":0,
|
||||||
"Type":true,\
|
"Type":true,
|
||||||
"Price":505,\
|
"Price":505,
|
||||||
"Date":"2025-03-26T00:00:00Z"
|
"Date":"2025-03-26T00:00:00Z"
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user