Teamwork CRM API

Getting access, Developing, Testing

Back to Teamwork CRM

Create an activity type

Creates an activity type and returns it.

Input

type: object properties: data: type: object title: Data properties: activityType: type: object properties: color: type: string description: Color of the icon in a hex triplet icon: type: string description: Icon of the activity type. enum: - clock - phone - suitcase - email - event - to-do - |- lightning lightbulb - sun - paper - notebook - alarm - camera - coffee - video - compass - smile - box - wallet - dim name: type: string orderIndex: type: integer description: >- Position of the activity type in the set of all enabled types. Lower numbers come first when retrieving multiple elements at once.

Output

type: object title: activityTypeResponse properties: activityType: type: object title: ActivityType properties: color: type: string description: Color of the icon in hex createdAt: type: string description: When the item was created, as a datetime format: date-time createdBy: type: object properties: id: type: integer type: type: string enum: - users deletedAt: type: string description: When the item was deleted, as a datetime format: date-time deletedBy: type: object properties: id: type: integer type: type: string enum: - users icon: type: string description: Icon of the activity type. enum: - clock - phone - suitcase - email - event - to-do id: type: integer name: type: string orderIndex: type: integer description: |- Position of the activity type in the set of all enabled types. Lower numbers come first when retrieving multiple elements at once. updatedAt: type: string description: When the item was last updated, as a datetime format: date-time updatedBy: type: object properties: id: type: integer type: type: string enum: - users updatedSourceId: type: integer description: Source ID of the latest request made (API / Web app) usedByCount: type: integer description: UsedByCount number of uncompleted activities that use activity type