ACS
Returns basic information about your account
Parameters
No Parameters
Returns
"user_id" : int - Your user ID
"first_name" : string - Your first name
"last_name" : string - Your last name
"email" : string - Your email
"company_id" : int - Your company ID
}
Companies
Get information about a company
Parameters
No Parameters
Returns
"company_id" : int - The ID of the company
"title" : string - The title of the company
}
Get a list of the users in a company
Parameters
No Parameters
Returns
"id1" :
"user_id" : int - The user ID, eg: 4
"first_name" : string - The first name
"last_name" : string - The last name
"email" : string - The email
"company_id" : int - The company ID
}
"user_id" : int - The user ID, eg: 67
"first_name" : string - The first name
"last_name" : string - The last name
"email" : string - The email
"company_id" : int - The company ID
}
}
Get a list of the projects for a company
Parameters
No Parameters
Returns
"id1" :
"project_id" : int - The project ID
"company_id" : int - The company ID
"title" : string - The project title
"num_entries" : string - The number of entries for the project
}
"project_id" : int - The project ID
"company_id" : int - The company ID
"title" : string - The project title
"num_entries" : string - The number of entries for the project
}
}
Get a list of the time entries for a company
Parameters
No Parameters
Returns
"id1" :
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
}
Projects
Create a new project for your company
Parameters
The title of this project
Returns
"project_id" : int - The new project ID
"company_id" : int - The new project company ID
"title" : string - The new project title
"num_entries" : string - The number of entries for the newly created project
}
Get information about a project
Parameters
No Parameters
Returns
"project_id" : int - The project ID
"company_id" : int - The new company ID
"title" : string - The project title
"num_entries" : string - The number of entries for the project
}
Update a project
Parameters
The title of this project
Returns
"project_id" : int - The project ID
"company_id" : int - The new company ID
"title" : string - The project title
"num_entries" : string - The number of entries for the project
}
Delete a project
Parameters
No Parameters
Returns
"deleted" : boolean – indicates if it was deleted
"project_id" : int - The ID of the item that was deleted
}
Get a list of the time entries for a project
Parameters
No Parameters
Returns
"id1" :
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
}
Create a new time entry for a project
Parameters
The note/description for this time entry
The project for this time entry
The user who created this time entry
The start time of the time entry
The end time of the time entry
Returns
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
Get information about a time entry
Parameters
No Parameters
Returns
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
Update a time entry
Parameters
The note/description for this time entry
The project for this time entry
The user who created this time entry
The start time of the time entry
The end time of the time entry
Returns
"entry_id" : int - The time entry ID
"project_id" : int - The project ID
"description" : string - The description provided for this time entry
"user_id" : int - The ID of the user who created the time entry
"start_time" : string - The start time for the time entry, YYYY-MM-DD hh:mm:ss
"end_time" : string - The end time for the time entry, YYYY-MM-DD hh:mm:ss
}
Delete a time entry
Parameters
No Parameters
Returns
"deleted" : boolean – indicates if it was deleted
"entry_id" : int - The ID of the item that was deleted
}