Project
Field guide
The following fields are available in a project object
Name | Type | Example | Notes |
---|---|---|---|
id | int | 43 | Project id |
name | string | My project name | Name of the project |
client_id | int | 4 | Client id |
description | string | My description | Description of project |
estimate | float | 584.50 | Estimated hours in decimal format |
costperhour | float | 120.00 | Cost per hour in decimal format |
status | int | 1 | See Project Statuses |
start | date | 2013-02-25 | Date of project start |
assigns | collection | Collection of Assign Objects |
Example content of data variable:
{ "error":false, "item":{ "id":1, "name":"Project X", "client_id":16, "description":"Repairing car", "estimate":0, "costperhour":0, "status":1, "start":"2013-02-25", "assigns":[ { "id":2, "employee":"John Doe", "comment":"My husband", "hours":1.25, "year":2013, "month":2, "day":28, "billed":0 } ] } }
Status
Status | Meaning of status |
---|---|
1 | Open |
2 | In progress |
3 | Closed |
4 | Billed |