GET api/Tasks/Milestones

Retrieves a list of milestones and tasks for a file.

Request

Parameters

Name Description Default
file Unique file ID.

Response

Body

Content Type: application/xml
Data set containing the milestones, or an error message.

XML
<Milestones Current="string">                 <!--Array of 'Milestone'--> 
  <Milestone Number="string">                 
    <Description>string</Description>         
    <Status>string</Status>                   <!--'NotStarted', 'InProgress', 'Completed' or 'Skipped'--> 
    <Started>datetime</Started>               
    <Completed>datetime</Completed>           
    <Tasks Created="int" Completed="int">     <!--Array of 'Task'--> 
      <Task ID="long" HasCompleted="bool">    
        <Title>string</Title>                 
        <StartDate>datetime</StartDate>       
        <DueDate>datetime</DueDate>           
        <Delegation>                          
          <Member>string</Member>             <!--Member code--> 
          <Group ID="long">string</Group>     <!--Group name--> 
        </Delegation>                         
      </Task>                                 
    </Tasks>                                  
    <Summary>string</Summary>                 <!--Milestone summary (in HTML format)--> 
  </Milestone>                                
</Milestones>                                 

Status Codes

Code Condition
200 OK The operation completed successfully.
400 Bad RequestInvalid file ID.
401 Unauthorized Access token is invalid, expired or not specified.
403 ForbiddenUser does not have permission to view progress of the file.
406 Not Acceptable Content type specified in the Accept header isn't supported.
500 Internal Server Error An internal error occurred.