Events are appointments, meetings etc . An event may be repeated, eg. it may occur every friday in a month, or on the 1st of every month in a year and so on. The instance of an event on a given date is simply called an instance. The id field in an event object refers to the event, whereas the instanceid field refers to an instance.
The event object as it is in Microbizz after the update
DeleteEventByID
Delete an event in Microbizz.
Input
eventid
number
The Microbiz ID of an event
allusers
boolean
If 0 then current user will be removed from the event. If 1 then all users will be removed from the event.
Output
-
-
-
An event can only be deleted if the current user is attached to the event.
DeleteEventInstanceByInstanceID
Delete an instance (i.e. date) of a repeated event.
Input
instanceid
string
The Microbizz instance ID of an event for a date
Output
-
-
-
GetEventsByUserAndDate
Get a list of events in Microbizz.
This can be quite slow if fromdate and enddate are not the same. May return same event more than once if fromdate and enddate are not the same; the event objects will then have the same value in the id field but will have different values in the instanceid field.