GET/projects/{id}/expenses.json
Get all Expenses on a single Project
Get all expenses associated with one project by passing in the project id.
Path Params
- Name
id
- Type
- integer
- required
- Description
Query Params
- Name
invoicedType
- Type
- string
- Description
Options are Invoiced or NonInvoiced.
- Name
fromDate
- Type
- string
- Description
Filter what is returned by date.
- Name
toDate
- Type
- string
- Description
Filter what is returned by date.
- Name
updatedAfterDate
- Type
- string
- Description
Invoices updated after such date.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 Response
200 Response
application/json
{
"expenses": [
{
"invoice-id": "50",
"project-id": "1149",
"name": "4 New Tyres",
"description": "New run flats for tractor",
"created-by-user-firstname": "Daniel",
"company-id": "51",
"project-name": "API Private Items",
"created-by-user-id": "414",
"created-by-user-lastname": "Mackey",
"id": "14",
"date": "20150617",
"company-name": "Apple",
"cost": "200.00"
}
]
}