Contribute
The Contribute forms and workflow process are used to create rooms.
Create an API Key
Contribute uses the iCM API to create content. If you are already using Contribute (for example for Events) you could use the same key for Room Bookings.
If you'd like to use a separate key for each instance of Contribute, there's more information in Setting up Contribute - iCM user and API key.
Copy the Example
Copy the example
Update your Copy
The following should be set as a minimum. Many of the usual properties needed for contribute (root articles etc) are taken from the Room Bookings config end point instead.
| Property | Description | Example |
|---|---|---|
| apiKey | An API Key which supplies default user iCM credentials with the ability to create/edit articles and media items, see above. The user will need access to the rootMediaGroupID (below) and the Buildings root articles set in the Room Booking configuration end point | "10FC1546-xxxx-xxxx-xxxx-BFC2B3D30348" |
| rootContributeGroupID | The ID of the user group allowed to create rooms (ie the Contribute user group) | 20 |
| templateID | The ID of the Slot Book template definition | 46 |
| rootMediaGroupID | The ID of a media group where any media uploaded when a room is created (eg floor plans) will be stored. Make sure the iCM user identified by your API Key has full access to this group | 70 |
