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

Note RtmNet::Rtm::NotesEdit ( string  timeline,
string  noteID,
string  noteTitle,
string  noteText 
) [inline]

Modifies an existing note.

Parameters:
timeline A System.String
noteID A System.String
noteTitle A System.String
noteText A System.String
Returns:
A Note

Definition at line 1150 of file Rtm.cs.

            {
                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.tasks.notes.edit");
                  parameters.Add("timeline", timeline);
                  parameters.Add("note_id", noteID);              
                  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