Results 1 to 10 of 10

Thread: Delete an Appointment via SOAP ?

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Rep Power
    8

    Question Delete an Appointment via SOAP ?

    How can I delete an Appointment via SOAP API ?

  2. #2
    Join Date
    Nov 2006
    Posts
    15
    Rep Power
    8

    Question Get all Appointment ?

    How can I get all Appointment in my mail box by SOAP API ?

    I used SearchRequest with type=appointment all result is all Conversation !

  3. #3
    Join Date
    Aug 2005
    Posts
    821
    Rep Power
    11

    Default

    to delete an item:

    <ItemActionRequest op="delete" id="<appt-id>" />

    are you setting the types attribute to appointment?

    <SearchRequest types="appointment" xmlns="urn:zimbraMail">
    <query>in:calendar</query>
    </SearchRequest>
    Sam Khavari

    :: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::

  4. #4
    Join Date
    Nov 2006
    Posts
    15
    Rep Power
    8

    Default

    Thanks Sam !

    I resolved my problem, but now I have new another problem :

    How can I get fully an appointment.

    I used GetAppointmentRequest by appointment id and Zimbra response this appointment, but not include attachment files and content of this appointment.

    Is there any request to get this attachment files and content ?

  5. #5
    Join Date
    Aug 2005
    Posts
    821
    Rep Power
    11

    Default

    You must call GetMsgRequest with the <xxxx-xxxx> id format to get the attachments for an appt.
    Sam Khavari

    :: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::

  6. #6
    Join Date
    Nov 2006
    Posts
    15
    Rep Power
    8

    Default

    Yes, I understood your idea.

    GetMsgRequest useful while I create an Appointment (CreateAppointmentRequest)-with attach file- and Zimbra send invite message with this attach file.

    But in other case, when I use SOAP set an Appointment (SetAppointmentRequest) - with attach file- it mean Zimbra will not send any invite message. Zimbra only return an Id of Appointment created.
    I used GetAppointmentRequest to check id above, and response I had - an Appointment but not include attach file and appointment term.

    How can I get attach file and term ?

Similar Threads

  1. XSD/WSDL Files for the SOAP Server?
    By photoadrian in forum Developers
    Replies: 5
    Last Post: 12-23-2012, 01:32 AM
  2. PHP SOAP create appointment example
    By AddGun in forum Developers
    Replies: 13
    Last Post: 09-27-2010, 04:41 PM
  3. Jar For Soap Client
    By wcameron in forum Developers
    Replies: 19
    Last Post: 06-03-2009, 02:04 PM
  4. Bug with preauth mechanism and SOAP headers?
    By Coilcore in forum Developers
    Replies: 3
    Last Post: 07-20-2006, 10:41 AM
  5. delete appointment error
    By arozell in forum Users
    Replies: 3
    Last Post: 10-04-2005, 07:50 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
  •