We have what you need - check out our features! - Contact us - Follow us in Twitter


Skip to end of metadata
Go to start of metadata

Work schedules is for resource planning. It shows data according to planned and remaining hours allocated to projects and also tasks and assignments (performers of the tasks).

To get data shown in Work schedules through PlanMill REST API use method "forecast.get week"

Example query:

https://online.planmill.com/yourinstance/services/rest?method=forecast.get week&format=rest&userid=1234&authkey=abcesdaerag&
viewby=5&Person.Id=-1&Team.Id=-1&PersonHasCompetence.CompetenceId=-1&
AccountHasPerson.AccountId=-1&PMVProject.ParentId=-1&PMVProject.Id=-1&
TaskHasTeamMember.PersonId=-1&cweek=10&cyear=2013

Remember to set filter values for the query. You will only get the data which is shown to you in the user interface. I.e. if your user account has "My active tasks" selected in the Work schedules view, you will only see your active tasks. It shows no tasks, if your API -user doesn't have any assignments.

Example results:

<forecast>
  <FIELD Name="Id">1516</FIELD>
  <FIELD Name="project_id">473</FIELD>
  <FIELD Name="person_id"/>
  <FIELD Name="task_id">474</FIELD>
  <FIELD Name="request_id"/>
  <FIELD Name="days">
    <day date="04.03.2013" planned_work="0,47" daily_work_hours="135000000"/>
    <day date="11.03.2013" planned_work="0,47" daily_work_hours="135000000"/>
    <day date="18.03.2013" planned_work="0,47" daily_work_hours="135000000"/>
    <day date="25.03.2013" planned_work="0,37" daily_work_hours="108000000"/>
    <day date="01.04.2013" planned_work="0,37" daily_work_hours="108000000"/>
    <day date="08.04.2013" planned_work="0,47" daily_work_hours="135000000"/>
    <day date="15.04.2013" planned_work="0,47" daily_work_hours="135000000"/>
    <day date="22.04.2013" planned_work="0,37" daily_work_hours="135000000"/>
   </FIELD>
   <FIELD Name="forecast_start_date">20.04.2010</FIELD>
   <FIELD Name="forecast_end_date">25.04.2013</FIELD>
 </forecast>
0,47 h0,47 h0,47 h0,37 h0,37 h0,47 h0,47 h0,37 h0,00 h0,00 h0,00 h0,00 h0,00 h0,00 h
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.