Times

API Methods ››
Parent Previous Next

Get time profiles by filter

GET ./api/times?[TimeFilter]

       TimeFilter parameters:

ProjectId (optional)

TaskId (optional)

UserId (optional)

DepartmentId (optional)

TimeId (optional)

ActivityId (optional)

DatesInUtc

EarliestStartTime (optional)

LatestStartTime (optional)

EarliestEndTime (optional)

LatestEndTime (optional)

IncludeBooked (default = false)

IncludeUnsubmitted (default = true)

IncludeSubmitted (default = true)

IncludeApproved (default = true)

IncludeRejected (default = false)

IncludeInvoiced (default = true)

PageSize (optional)

Page (optional)

Order - options are:

       ByStartTime

       ByStartTimeDescending

       ByTimeWriterDisplayName

       ByTaskName

       ByActivityName


Get time profiles by ID

GET ./api/times/{id}


Count time entries

GET ./api/times/count


Add time entry

POST ./api/times (new time entity in HTTP body)

(You can GET an example object to see what the POSTed object should look like.)


Update time entry

PUT ./api/times/{id} (time entity in HTTP body)

(You can GET an example object to see what the object should look like.)


Delete time entry

DELETE ./api/times/{id}


Submit time entry

POST ./api/sales/{id}/submit (time entity in HTTP body)

(You can GET an example object to see what the POSTed object should look like.)


Reset time entry to unsubmitted

POST ./api/sales/{id}/unsubmit


Reject time entry

POST ./api/sales/{id}/reject


Approve time entry

POST ./api/sales/{id}/approve