Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

creator_id (Required): The user ID or name on behalf of which the time entry is being submitted.
for_date (Required): Date. The date for this time entry.
hours_worked (Required): Float. The number of hours.
task_id (Required). Integer: The task for which this time entry is being filled.
time_code_id (Required): The time code ID or Name for this time entry.
user_comments (Optional): The comments entered by user for this time entry.
state (Optional). Integer: The state in which the time-entry needs to be imported. The state needs to be an integer and one of the following: 0 - Saved, 1 - Sent for Approval, 2 - Rejected, 3 - Approved, 6-Invoice. If no state is mentioned, the state of the imported time entry is set to Sent for Approval.
bill_rate (Optional): The rate at which the time-entry needs to be billed.
cost_rate (Optional): The rate at which the cost of the time-entry will be calculated.
is_billable (Optional): If the time-entry needs to be marked as billable. The value needs to be True or False.
is_costable (Optional): If the time-entry needs to be marked as billable. The value needs to be True or False.
approver_id: Required field if the time-entry is imported in approved (3) state. It can be an ID or the Name.
approver_comments: The comments entered while approving.
invoiced_by_id: Required field if the time-entry is imported in invoiced (6) state. It can be an ID or the Name.
rejected_by_id: Required field if the time-entry is imported in rejected (2) state. It can be an ID or the Name.
rejection_comments: The comments entered  while rejecting.

...