v1

latestOpenAPI 3.0.12026-08-0621301.7 MB
ActivityTypes

Add new activity type

Adds a new activity type.

post/activityTypes

Request body

namestring required

The name of the activity type

icon_key'task' | 'email' | 'meeting' | 'deadline' | 'call' | 'lunch' | 'calendar' | 'downarrow' | 'document' | 'smartphone' | 'camera' | 'scissors' | 'cogs' | 'bubble' | 'uparrow' | 'checkbox' | 'signpost' | 'shuffle' | 'addressbook' | 'linegraph' | 'picture' | 'car' | 'world' | 'search' | 'clip' | 'sound' | 'brush' | 'key' | 'padlock' | 'pricetag' | 'suitcase' | 'finish' | 'plane' | 'loop' | 'wifi' | 'truck' | 'cart' | 'bulb' | 'bell' | 'presentation' required

Icon graphic to use for representing this activity type

colorstring

A designated color for the activity type in 6-character HEX format (e.g. FFFFFF for white, 000000 for black)

Example request

{
  "name": "call",
  "color": "FFFFFF"
}

Response

The activity type was successfully created

successboolean

If the response is successful or not