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

Note RtmNet::Rtm::NotesAdd ( string  timeline,
string  listID,
string  taskSeriesID,
string  taskID,
string  noteTitle,
string  noteText 
) [inline]

Adds a note to a task.

Parameters:
timeline A System.String
listID A System.String
taskSeriesID A System.String
taskID A System.String
noteTitle A System.String
noteText A System.String
Returns:
A Note

Definition at line 1083 of file Rtm.cs.

            {
                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.tasks.notes.add");
                  parameters.Add("timeline", timeline);
                  parameters.Add("list_id", listID);
                  parameters.Add("taskseries_id", taskSeriesID);
                  parameters.Add("task_id", taskID);
                  parameters.Add("note_title", noteTitle);
                  parameters.Add("note_text", noteText);

                  RtmNet.Response response = GetResponse(parameters);

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


Generated by  Doxygen 1.6.0   Back to index