Calendars

Creating a user activity

POST /api/calendar

The endpoint to create a patient activity

Headers

Name
Value

Content-Type

application/json

Authorization

<token>

Body

Name
Type
Description

title

String

Name of the activity

account_id

UUID

Id of the account where patient is located

event_type

Enum

An event type: currently supported "other"

patient_id

UUID

Patient id who we create activity for

reminder

Number

When to notify the patient about upcomming activity in minutes

repeat

String

"daily", "weekly"

repeat_by_weekday

String[]

List of week days to repeat activity: "mo", "tu", "we", "th", "fr", "sa", "su"

repeat_end_date

Date

Repeat end date

repeat_interval

Number

How many times to repeat

start_date

Date

Start date of the activity

end_date

Date

End date of the activity

Response


Last updated