The following macros are not currently supported in the header:
  • style

Expense

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.