#sixhackathon demo
http://localhost:8080/h2-console jdbc:h2:mem:testdb sa
Method: GET
Response:
{"smscode":5470,"type":"register"}
NB! sms code returned for demo purposes only
Method: POST
Response: http 200
Method: POST
Request body:
{ "firstname": "name", "lastname": "surname", "email": "[email protected]", "pin": "1234" }
Response:
{"id":999}
Method: GET
Response:
{"smscode":8780,"type":"login"}
NB! sms code returned for demo purposes only
Method: POST
Response:
{"id":999}
Method: POST
Request params:
reason String – account creation reason
manager Integer – manager id
Response: http 200
Method: POST
Request params:
account Integer – account id
member Integer – member id
Response: http 200
Method: POST
Request params:
amount Decimal - positive/negative transaction amount
member Integer - member id
group Integer - group id
Response: http 200
Method: GET
Request params:
group Integer - group id
Response: 200.99
Method: GET
Request params:
group Integer - group id
Response:
200.99
Method: POST
Request params:
group Integer - group id
Response:
[{"id":1500,"amount":100.00,"currencyCode":"CHF","member":{"id":999,"firstName":"Teine","lastName":"laps"}},{"id":1600,"amount":-50.00,"currencyCode":"CHF","member":{"id":999,"firstName":"Teine","lastName":"laps"}}]
Request params:
member Integer - member id
Response:
[{"id":777,"manager":{"id":888,"firstName":"Esimene","lastName":"Laps"},"reason":"trip to Zurich"}]
Method: GET Request params:
group Integer - group id
Response:
google map image/jpg with track transactions
Method: GET Request params:
group Integer - group id
Response:
google map link with trrack transactions