Welcome to the MoneyPlus API


This API is a part of MoneyPlus application. Below you can find a list of available endpoints. Endpoints are protected and only authorized users can have access to them so don't worry if you get error after entry to selected endpoint.


Endpoint Path Method Type Description
/api/register POST Method allow to create new account. You have to send data in json format like below:
{"firstName" : string, "lastName" : string, "password" : string, "age" : int, "email" : string}
/api/login POST Method allow to login to application. You have to send data in json format like below:
{"email" : string, "password" : string}
/api/profile GET Method return informations about user. Informations are send in json format like below:
{"id" : string, "firstName" : string, "lastName" : string, "age" : int, "email" : string}
/api/refresh POST This endpoint allow to generate new access token and refresh token. You have to send your actual refresh token in json format like below:
{"refreshToken" : string}
/api/categories/{id?} GET Method return informations about all available categories. If you add category id you will get informations only about selected category. Informations are send in json format like below:
{"id" : string, "categoryName" : string, "iconName" : string, "color" : string, "typeOfCategory" : string}
/api/expenses/{id?} GET Method return informations about all expenses of selected user. If you add expense id you will get informations only about selected expense. Informations are send in json format like below:
{"category" : {"id" : string, "categoryName" : string, "iconName" : string, "color" : string, "typeOfCategory" : string}, "id" : string, "name" : string, "value" : decimal, "creationDate" : DateTime}
/api/expenses/edit POST/PUT/DELETE Methods allow to add new expense, remove expense and edit existing expense. For every method you have to send data in json format like below:
For POST method: {"categoryId" : string, "name" : string, "value" : decimal}
For PUT method: {"id" : string, "categoryId" : int, "name" : string, "value" : decimal}
For DELETE method: {"id" : string}
/api/receipts/{id?} GET Method return informations about all receipts of selected user. If you add receipt id you will get informations only about selected receipt. Informations are send in json format like below:
{"category" : {"id" : string, "categoryName" : string, "iconName" : string, "color" : string, "typeOfCategory" : string}, "id" : string, "name" : string, "value" : decimal, "creationDate" : DateTime}
/api/receipts/edit POST/PUT/DELETE Methods allow to add new receipt, remove receipt and edit existing receipt. For every method you have to send data in json format like below:
For POST method: {"categoryId" : string, "name" : string, "value" : decimal}
For PUT method: {"id" : string, "categoryId" : string, "name" : string, "value" : decimal}
For DELETE method: {"id" : string}
/api/settings POST Not implemented yet but if you really want to check what is there - no problem, you can do this ¯\_(ツ)_/¯
/api/categories/add POST This endpoint could allow to create a new category by user but unfortunately it doesn't work and if you want to know why, you have to go to this endpoint ( ͡° ͜ʖ ͡°)
/swagger/index.html GET Here you can find better documentation of the above endpoints

Created with ❤️ to money :D