Hi,

    How can  i retrieve particular Calender Id  of a calender from 
useraccount.currenty googleAPI is providing AtomId class but it only 
supplies the url not CalenderId.

-----------------------Code-------------------------------------------

  private void createEvent(AtomId atom) {
    try {
      int no = atom.Uri.Content.LastIndexOf('/');
      string str = atom.Uri.Content.Remove(0,no + 1);
      string calenderid = str.Replace("%40","@");
      Uri postUri = new 
Uri(string.Format("https://www.google.com/calendar/feeds/{0}/private/full",calenderid));
      pass = calenderid;
      GoogleCalenderEvent googleAPI = new GoogleCalenderEvent();
      googleAPI.insertEvent("FTTTTTTT 
","Haiii-Comments","MyDescription",DateTime.Now,DateTime.Now.AddDays(2),"Calicut12");
      EventEntry entrynew = googleAPI.MakeEvent();
      myService.Insert(postUri,entrynew);
    }
    catch (AuthenticationException ex) {
      Response.Write("UserNamePasswordIsNotValid");
      return;
    }
  }

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en



Reply via email to