Pular para o conteúdo principal
POST
Create a task type

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

Corpo

application/json
activity_type
object
obrigatório

Resposta

Task type created successfully.

id
integer
obrigatório

Unique task type identifier.

Exemplo:

7

name
string
obrigatório

Display name of the task type.

Exemplo:

"Follow-up call"

color
enum<string>
obrigatório

Google Calendar palette color identifier used to identify tasks of this type.

Opções disponíveis:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22
Exemplo:

"12"

active
boolean
obrigatório

Whether the task type is available when creating tasks.

Exemplo:

true