View Source ActiveCampaign.Task.Type (active_campaign v0.2.3)

Documentation for ActiveCampaign.Task.Type.

Link to this section Summary

Functions

Create a task type

Delete a task type

Retrieve a task type

List all task types

Move tasks to another task type

Update a task type

Link to this section Functions

@spec create(map()) :: {:ok, map()} | {:error, any()}

Create a task type

@spec delete(integer()) :: {:ok, map()} | {:error, any()}

Delete a task type

@spec get(integer()) :: {:ok, map()} | {:error, any()}

Retrieve a task type

Link to this function

list(query_params \\ %{})

View Source
@spec list(map()) :: {:ok, map()} | {:error, any()}

List all task types

Link to this function

move(from_task_id, to_task_id)

View Source
@spec move(integer(), integer()) :: {:ok, map()} | {:error, any()}

Move tasks to another task type

Link to this function

update(id, dealTasktype)

View Source
@spec update(integer(), map()) :: {:ok, map()} | {:error, any()}

Update a task type