Pular para o conteúdo

Update Activity

PATCH
/api/v1/activities/{activity_id}

Update an activity (supports both PUT and PATCH for partial updates).

activity_id
required
Activity Id
integer
x-tenant-id
Any of:
integer
ActivityUpdate

Schema for updating an activity.

object
type
Any of:
ActivityType

Activity type enum.

string
Allowed values: note task call meeting email whatsapp
status
Any of:
ActivityStatus

Activity status enum.

string
Allowed values: pending in_progress completed cancelled
title
Any of:
string
description
Any of:
string
contact_id
Any of:
integer
company_id
Any of:
integer
user_id
Any of:
integer
due_date
Any of:
string format: date-time
duration_minutes
Any of:
integer
outcome
Any of:
string
completed_at
Any of:
string format: date-time

Successful Response

ActivityResponse

Schema for activity response.

object
type
required
ActivityType

Activity type enum.

string
Allowed values: note task call meeting email whatsapp
title
required
Title
string
description
Any of:
string
contact_id
Any of:
integer
company_id
Any of:
integer
user_id
required
User Id
integer
due_date
Any of:
string format: date-time
duration_minutes
Any of:
integer
outcome
Any of:
string
id
required
Id
integer
status
required
ActivityStatus

Activity status enum.

string
Allowed values: pending in_progress completed cancelled
completed_at
Any of:
string format: date-time
created_at
required
Created At
string format: date-time
updated_at
Any of:
string format: date-time
contact_name
Any of:
string
company_name
Any of:
string
user_name
Any of:
string
custom_fields
Any of:
object

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string