Subject: | call('events.Get') |
When 30Boxes only returns one event when calling events.Get, the
structure of the returned hash is different than the one returned by the
function when there are more than 1 results.
Here is the dump of the hash when 1 event is returned:
DB<1> x $self
0 WebService::30Boxes::API::event=HASH(0x8965248)
'event' => HASH(0x8d78ed0)
'allDayEvent' => 0
'end' => '2007-07-13 18:00:00'
'externalUID' => HASH(0x8d80bb4)
empty hash
'id' => 31300171
'invitation' => HASH(0x8d80c80)
'isInvitation' => 0
'lastUpdate' => '2007-07-15 20:07:08'
'notes' => HASH(0x8d806f8)
empty hash
'privacy' => 'shared'
'reminder' => '-1'
'repeatEndDate' => '0000-00-00'
'repeatICal' => '
RRULE:FREQ=DAILY;INTERVAL=1'
'repeatSkipDates' => HASH(0x8d80a1c)
empty hash
'repeatType' => 'daily'
'start' => '2007-07-13 17:00:00'
'summary' => 'test'
'tags' => HASH(0x8d80b60)
empty hash
'listEnd' => '2007-07-23'
'listStart' => '2007-07-16'
'userId' => 99589
Here is the dump of the hash when 2 events are returned:
DB<1> x $self
0 WebService::30Boxes::API::event=HASH(0x8965248)
'event' => HASH(0x8dbe86c)
30906881 => HASH(0x8dd0cb0)
'allDayEvent' => 1
'end' => '2007-07-27 00:00:00'
'externalUID' => HASH(0x8d82394)
empty hash
'invitation' => HASH(0x8d82460)
'isInvitation' => 0
'lastUpdate' => '2007-07-14 19:46:36'
'notes' => 'note'
'privacy' => 'shared'
'reminder' => '-1'
'repeatEndDate' => '0000-00-00'
'repeatICal' => '
RRULE:FREQ=YEARLY;INTERVAL=1'
'repeatSkipDates' => HASH(0x8d821d8)
empty hash
'repeatType' => 'yearly'
'start' => '2007-07-27 00:00:00'
'summary' => 'test'
'tags' => 'tag'
31300171 => HASH(0x8dd0c98)
'allDayEvent' => 0
'end' => '2007-07-13 18:00:00'
'externalUID' => HASH(0x8d81b9c)
empty hash
'invitation' => HASH(0x8d81c68)
'isInvitation' => 0
'lastUpdate' => '2007-07-15 20:07:08'
'notes' => HASH(0x8d816e0)
empty hash
'privacy' => 'shared'
'reminder' => '-1'
'repeatEndDate' => '0000-00-00'
'repeatICal' => '
RRULE:FREQ=DAILY;INTERVAL=1'
'repeatSkipDates' => HASH(0x8d81a04)
empty hash
'repeatType' => 'daily'
'start' => '2007-07-13 17:00:00'
'summary' => 'test'
'tags' => HASH(0x8d81b48)
empty hash
'listEnd' => '2007-08-06'
'listStart' => '2007-07-16'
'userId' => 00000
If possible please fix this issue,
Thank you!