Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

GetEventTypes

Get a list of the event types.

Input

Output


typescollection[ eventtype ]A collection of all event types
defaultnumberThe MB ID of the default event type


CreateUpdateEvent

Creates or updates an event in Microbizz.

If an event with the given event id already exists, then the event will be overwritten.

If the event provided has an event id of 0, a new event will be created and a new event id will be provided.

Input


eventeventThe event to create/update

Output


eventeventThe event object as it is in Microbizz after the update

DeleteEventByID

Delete an event in Microbizz.

Input


eventidnumberThe Microbiz ID of an event
allusersbooleanIf 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.

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.

Input


fromdatedate
todatedate
useridnumber

Output


calendarentriescollection[ event ]A collection of events

GetMyStodos

Read a list of relevant reminders (“stodos”).

Input


None--

Output


stodoscollection [ stodo ]List of reminders

StodoAccept

Accept or postpone a reminder (“stodo”).

Input


stodoidnumberThe ID of a reminder
useridnumberNot used but required for historic reasons, just set to 0
postponenumberNumber of minutes to postpone the reminder; if not included, or if 0, then the reminder is accepted.
  • No labels