Create note, to-do or appointment
propstack_create_taskWRITE: create a note, a to-do (with due date) or an appointment (with start and end) in Propstack, linked to contacts, properties or projects. note_type_id is the activity type id (see propstack_get_reference_data activity_types). No e-mail or SMS is sent to the contact; the only mail is the reminder to the assignee when remind_at is set. Returns the new task id. POST /tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Note text (plain text; stored as escaped HTML with line breaks). | |
| kind | Yes | note = plain note, todo = task with due_date, appointment = event with starts_at and ends_at. | |
| title | Yes | Title. | |
| ends_at | No | End (appointment only). | |
| due_date | No | Due date and time (todo only). | |
| location | No | Place (appointment only). | |
| broker_id | No | User id the task is assigned to. | |
| remind_at | No | When Propstack e-mails a reminder to the assignee, before due_date (todo only). This sends a mail to a colleague. | |
| starts_at | No | Start (appointment only). | |
| contact_ids | No | Contacts the activity is linked to (usually one). | |
| project_ids | No | Projects the activity is linked to. | |
| note_type_id | Yes | Activity type id; must match the kind (see propstack_get_reference_data activity_types). | |
| property_ids | No | Properties the activity is linked to. |