Results 1 to 8 of 8

Thread: How do I get appointments from a user Calendar using java soap?

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Posts
    29
    Rep Power
    3

    Default How do I get appointments from a user Calendar using java soap?

    I'd like to know how do I get all the appointments from a user Calendar that belong to a date range (from dd/mm/yyyy to dd/mm/yyyy), using Java Soap API.

  2. #2
    Join Date
    Sep 2012
    Location
    jhoncarter2030@gmail.com
    Posts
    61
    Rep Power
    3

    Default

    var vector = new AjxVector();
    for (var i = 0; i < response.size(); i++) {
    searchResultVector.add({
    "subject": response.get(i).getName(),
    "calendar": appCtxt.getFolderTree().getById(response.get(i).ge tFolderId()).getName(),
    "start_date": new AjxDateFormat(AjxDateFormat.SHORT).format(new Date(response.get(i).getStartTime())),
    "itemid": response.get(i).invId
    });
    }
    this.searchResult.set(vector);

  3. #3
    Join Date
    Apr 2012
    Posts
    29
    Rep Power
    3

    Default

    Quote Originally Posted by jhon View Post
    var vector = new AjxVector();
    for (var i = 0; i < response.size(); i++) {
    searchResultVector.add({
    "subject": response.get(i).getName(),
    "calendar": appCtxt.getFolderTree().getById(response.get(i).ge tFolderId()).getName(),
    "start_date": new AjxDateFormat(AjxDateFormat.SHORT).format(new Date(response.get(i).getStartTime())),
    "itemid": response.get(i).invId
    });
    }
    this.searchResult.set(vector);
    Thank you for replying, but could you show all the code? I don't know how did you get response, appCtxt variables... have you used SoapProvisoning?

  4. #4
    Join Date
    Sep 2012
    Location
    jhoncarter2030@gmail.com
    Posts
    61
    Rep Power
    3

    Default

    Are you a developer ?

  5. #5
    Join Date
    Apr 2012
    Posts
    29
    Rep Power
    3

    Default

    Quote Originally Posted by jhon View Post
    Are you a developer ?
    I think so.

  6. #6
    Join Date
    Sep 2012
    Location
    jhoncarter2030@gmail.com
    Posts
    61
    Rep Power
    3

    Default

    Then appCtxt is a context global variable. And this code is enough for request to get all appointments.

Similar Threads

  1. Subscribing User to Calendar through SOAP Api
    By RobTucker in forum Developers
    Replies: 1
    Last Post: 01-15-2013, 08:40 AM
  2. How to create Zimbra appointments from Java?
    By rubberballman in forum Developers
    Replies: 1
    Last Post: 03-26-2012, 01:14 PM
  3. soap to create appointments
    By sperkins in forum Developers
    Replies: 0
    Last Post: 06-18-2008, 07:01 AM
  4. How to create appointments via soap.
    By palikero in forum Developers
    Replies: 2
    Last Post: 05-22-2008, 03:16 PM
  5. Canceling appointments through SOAP
    By gdeyoung in forum General Questions
    Replies: 7
    Last Post: 04-16-2008, 08:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •