Home

Results 1 to 4 of 4

Thread: PHP configureEventsRequest

Threaded View

  1. #1
    Join Date
    Oct 2015
    Posts
    2

    PHP configureEventsRequest

    Hello,

    I am trying to create a notification for a user when anything regarding their calendar changes or modifies

    I am referring to this

    https://www.novell.com/documentation.../b713j3w.html#


    here is the code


    PHP Code:
     $acc = new configureEventsRequest();
                                    
    $acc->events->key="AACMX1";
                                    
    $acc->events->enabled="True";
                                    
    $acc->events->persistence="2";
                                    
    $ee $gw->configureEventsRequest($acc);
                                    
    print_r($ee); 

    Here is the output and also an output from getEventConfigurationRequest

    PHP Code:
    configureEventsResponse Object
    (
        [
    status] => Status Object
            
    (
                [
    code] => 0
                
    [description] => 
                [
    info] => 
                [
    problems] => 
            )

    )
    getEventConfigurationResponse Object
    (
        [
    events] => EventsList Object
            
    (
                [
    event] => Events Object
                    
    (
                        [
    key] => AACMX1
                        
    [persistence] => 2
                        
    [ipAddress] => 
                        [
    port] => 
                        [
    http] => 
                        [
    ignoreAfter] => 
                        [
    definition] => EventDefinition Object
                            
    (
                                [
    events] => EventTypeList Object
                                    
    (
                                        [
    event] => 
                                    )

                                [
    type] => 
                                [
    field] => 
                                [
    containers] => 
                                [
    subType] => 
                            )

                        [
    enabled] => 
                    )

            )

        [
    status] => Status Object
            
    (
                [
    code] => 0
                
    [description] => 
                [
    info] => 
                [
    problems] => 
            )


    Now i have 2 problems:

    1) How to enable the event : I cant seem to set the enabled to true
    2) I am not able to add events to my event. https://www.novell.com/documentation...a/b713j3k.html
    I want add an event like ItemAccept, ItemDelete etc

    Please help me

    thanks and regards
    Ishmeet
    Last edited by ishmeetahuja; 13-Oct-2015 at 11:08 PM. Reason: formatting

Posting Permissions

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