REST API specifications - Weavebytesipl/FutureERP GitHub Wiki
1. Login
http://business-futureerp.rhcloud.com/api/login/
Fields:-
- username
- password
response:- { "message": "login successfull", "user_id": 2, "email": "", "error": 0 }
error response:- { "message": "invalid username or password", "error": 1 }
Type: POST
2. Get Notes Categories
http://business-futureerp.rhcloud.com/notes/categories/2/
http://business-futureerp.rhcloud.com/notes/categories/<user_id>/
Request Type: GET
response: [{"id":1,"name":"Work","user":2},{"id":3,"name":"Shopping","user":2},{"id":4,"name":"Dance","user":2}]
3. Register
http://business-futureerp.rhcloud.com/api/register/
Fields:-
- username
- password
Request Type: POST