Logo Search packages:      
Sourcecode: tasque version File versions  Download package

List RtmNet::Rtm::TasksMoveTo ( string  timeline,
string  fromListID,
string  toListID,
string  taskSeriesID,
string  taskID 
) [inline]

Moves a task from one list to another.

Parameters:
timeline A System.String
fromListID A System.String
toListID A System.String
taskSeriesID A System.String
taskID A System.String
Returns:
A List

Definition at line 880 of file Rtm.cs.

            {
                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.tasks.moveTo");
                  parameters.Add("timeline", timeline);
                  parameters.Add("from_list_id", fromListID);
                  parameters.Add("to_list_id", toListID);
                  parameters.Add("taskseries_id", taskSeriesID);
                  parameters.Add("task_id", taskID);

                  RtmNet.Response response = GetResponse(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return response.List;
                  }
                  else
                  {
                        throw new RtmApiException(response.Error);
                  }
            }     


Generated by  Doxygen 1.6.0   Back to index