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
|
Specifies whether to return task time only for my projects or not | Bool value | true |
milestone
sent in url
|
Milestone ID
optional
|
number | 1234 |
myMilestones
sent in url
|
Specifies whether to return task time only for my milestones or not | 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
|
The earliest date of task creation
optional
|
Date and Time | Roundtrip format: 2008-04-10T06-30-00.000Z |
createdStop
sent in url
|
The latest date of 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 ("NotChargeable", "NotBilled", or "Billed")
optional
|
NotChargeable, NotBilled, Billed | NotChargeable |
GET api/2.0/project/time/filter/total?projectid=1234&myProjects=true&milestone=1234&myMilestones=true&tag=1234&departament=%229924256A-739C-462b-AF15-E652A3B1B6EB%22&participant=%229924256A-739C-462b-AF15-E652A3B1B6EB%22&createdStart=%222008-04-10T06-30-00.000Z%22&createdStop=%222008-04-10T06-30-00.000Z%22&lastId=1234&status=%22NotChargeable%22 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
Total spent time