Returns a list of all the milestones matching the parameters specified in the request.
Name | Description | Type | Example |
projectid
sent in url
|
Project ID
optional
|
number | 1234 |
tag
sent in url
|
Milestone tag
optional
|
number | 1234 |
status
sent in url
|
Milestone status ("Open" or "Closed")
optional
|
Open, Closed | Open |
deadlineStart
sent in url
|
Minimum value of milestone deadline
optional
|
Date and Time | Roundtrip format: 2008-04-10T06-30-00.000Z |
deadlineStop
sent in url
|
Maximum value of milestone deadline
optional
|
Date and Time | Roundtrip format: 2008-04-10T06-30-00.000Z |
taskResponsible
sent in url
|
Milestone responsible GUID
optional
|
guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
lastId
sent in url
|
Last milestone ID | number | 1234 |
myProjects
sent in url
|
Specifies whether to return milestones only from my projects or not | Bool value | true |
milestoneResponsible
sent in url
|
Milestone responsible GUID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
GET api/2.0/project/milestone/filter?projectid=1234&tag=1234&status=%22Open%22&deadlineStart=%222008-04-10T06-30-00.000Z%22&deadlineStop=%222008-04-10T06-30-00.000Z%22&taskResponsible=%229924256A-739C-462b-AF15-E652A3B1B6EB%22&lastId=1234&myProjects=true&milestoneResponsible=%229924256A-739C-462b-AF15-E652A3B1B6EB%22 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
List of milestones
application/json
{ "status": 0, "response": [ { "ProjectOwner": { "Id": "123", "Title": "Sample project", "Status": 0, "IsPrivate": false }, "Deadline": "2020-12-22T04:11:56.4458522Z", "IsKey": false, "IsNotify": false, "ActiveTaskCount": 15, "ClosedTaskCount": 5, "CanEdit": false, "CanDelete": false } ] }
text/xml
<result> <status>0</status> <response> <ProjectOwner> <Id>123</Id> <Title>Sample project</Title> <Status>0</Status> <IsPrivate>False</IsPrivate> </ProjectOwner> <Deadline>2020-12-22T04:11:56.4458522Z</Deadline> <IsKey>False</IsKey> <IsNotify>False</IsNotify> <ActiveTaskCount>15</ActiveTaskCount> <ClosedTaskCount>5</ClosedTaskCount> <CanEdit>False</CanEdit> <CanDelete>False</CanDelete> </response> </result>