GET api/2.0/project/time/filter/total
Returns the total time spent matching the filter parameters specified in the request.
Name |
Description |
Type |
Example |
projectid
sent in url
|
Project ID
optional
|
number
|
1234
|
myProjects
sent in url
|
Returns task time only for my projects
|
Bool value
|
true
|
milestone
sent in url
|
Milestone ID
optional
|
number
|
1234
|
myMilestones
sent in url
|
Returns task time only for my milestones
|
Bool value
|
true
|
tag
sent in url
|
Project tag
optional
|
number
|
1234
|
departament
sent in url
|
Departament GUID
optional
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
participant
sent in url
|
Participant GUID
optional
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
createdStart
sent in url
|
Starting task creation
optional
|
Date and Time
|
Roundtrip format: 2008-04-10T06-30-00.000Z
|
createdStop
sent in url
|
Finishing task creation
optional
|
Date and Time
|
Roundtrip format: 2008-04-10T06-30-00.000Z
|
lastId
sent in url
|
Last spent time ID
|
number
|
1234
|
status
sent in url
|
Payment status
optional
|
ASC.Projects.Core.Domain.PaymentStatus
|
|
GET api/2.0/project/time/filter/total?projectid=1234&myProjects=True&myMilestones=True&tag=1234&departament=9924256A-739C-462b-AF15-E652A3B1B6EB&participant=9924256A-739C-462b-AF15-E652A3B1B6EB&createdStart=2008-04-10T06-30-00.000Z&createdStop=2008-04-10T06-30-00.000Z&lastId=1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json