Results 1 to 4 of 4

Thread: searchRequest response for appointments

  1. #1
    chipmunk's Avatar
    chipmunk is offline Active Member
    Join Date
    Nov 2007
    Location
    Belgium
    Posts
    35
    Rep Power
    7

    Default searchRequest response for appointments

    Hello,
    When i get this response
    Code:
    <ns0:appt md="1215155395" dur="21600000" status="CONF" ptst="AC" d="1215155395000" 
    fba="B" fb="B" sf="1215155395000" ms="11296" id="1202" f="" t="" invId="1202-1201" 
    uid="70ed574-75a44f59-bca3493-25f38c99" compNum="69" isOrg="1" 
    name="Barbec Pat" score="1.0" cm="1" s="4933" l="1064" 
    x_uid="70ed574-75a44f59-bca3493-25f38c99" loc="Tancrmont" rev="11296" class="PUB" transp="O"/>
    Where is the start date of the appointment ( i supose it is an epoch number but which one...) I can't find one that fit the real date!

    Thanks for your help
    Last edited by chipmunk; 07-13-2008 at 11:27 PM.

  2. #2
    qkmadson is offline New Member
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    7

    Default

    any word on this?

    i would assume that d= is the epoch date that the appointment starts but, in all the xml i get returned, it looks like this is the date the appointment was created on. md= looks like the epoch date of when the appointment was last modified.

    it seems odd that you get the duration as dur= but, no start point to reference it from. any help would be much appreciated.

  3. #3
    qkmadson is offline New Member
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    7

    Default

    i found that you can get the start/end times by using GetAppointmentRequest and specifying the id (returned as the e/s attributes under comp).

    in the interest of efficiency, is there a way to get this information using SearchRequest? (in lieu of looping over the results of SearchRequest and generating a GetAppointmentRequest for each)

    thanks,

  4. #4
    chipmunk's Avatar
    chipmunk is offline Active Member
    Join Date
    Nov 2007
    Location
    Belgium
    Posts
    35
    Rep Power
    7

    Default

    Code:
       my &#37;getApptSumAttrs = (
            'types'              => 'appointment',
            'offset'             => '0',
            'calExpandInstStart' => "$start",
            'calExpandInstEnd'   => "$stop"
        );
    
        $d = new XmlDoc;
        $d->start( 'SearchRequest', $self->{mailns}, \%getApptSumAttrs );
    These are the parameters i give in perl!
    the calExpandInstStart and End give all the informations about the instaces of the appointments inside the response!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Vacation Response
    By mkswanson in forum Administrators
    Replies: 0
    Last Post: 06-12-2008, 12:15 AM
  2. How to optimize the response time of web services
    By CristinaB in forum Developers
    Replies: 0
    Last Post: 05-12-2008, 04:46 AM
  3. Replies: 1
    Last Post: 03-04-2008, 05:35 AM
  4. [SOLVED] Get Response in XML Format
    By sharma.k.lalit in forum Developers
    Replies: 3
    Last Post: 09-17-2007, 07:03 AM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

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