Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edit expense link

An expense in AffinityLive belongs against an object (e.g. job, issue) record. 

TYPERESOURCEDESCRIPTION
GET/expensesReturns a list of expenses.
GET/expenses/countReturns the total number of expenses.
GET/expenses/:idReturns a specific expense identified by its id.
GET/expense/typesReturns a list of expense types
GET/expenses/types/:type_idReturns the total number of expense types
GET/expenses/types/countReturns a specific expense type identified by type id.
POST/expensesCreate a new expense and return it.
POST/expenses/:idEdit an expense identified by its id.