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.
TYPE | RESOURCE | DESCRIPTION |
|---|---|---|
GET | Returns a list of expenses. | |
GET | /expenses/count | Returns the total number of expenses. |
GET | Returns a specific expense identified by its id. | |
GET | Returns a list of expense types | |
GET | /expenses/types/:type_id | Returns the total number of expense types |
GET | /expenses/types/count | Returns a specific expense type identified by type id. |
POST | Create a new expense and return it. | |
POST | Edit an expense identified by its id. |