Project

Field guide

The following fields are available in a project object

NameTypeExampleNotes
idint43Project id
namestringMy project nameName of the project
client_idint4Client id
descriptionstringMy descriptionDescription of project
estimatefloat584.50Estimated hours in decimal format
costperhourfloat120.00Cost per hour in decimal format
statusint1See Project Statuses
startdate2013-02-25Date of project start
assignscollectionCollection 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

StatusMeaning of status
1Open
2In progress
3Closed
4Billed