...
subject | string | Activity's subject that will appear in the title of the activity. | ||||
---|---|---|---|---|---|---|
body | string | The content of the activity. | ||||
against_id | unsigned | The id of the against_table object, the activity is linked against. This will default to the current user's id. | ||||
against_type | string | The object the activity is linked against. This can be: affiliation, annex, campaign, account_invoice, campaign_action, component, contract, contract_period, deployment, event,invoice, issue, job, membership, prospect, request or staff. This will default to staff. | ||||
owner_type | string | The activity can be owned by a staff member or an affiliation. | ||||
owner_id | unsigned | Owner's id. i.e, the staff or affiliation id of owner_table . | ||||
medium | string | Type of activity to create. This can be: note, meeting, report, email, call, postal, fax or sms. This will default to note. | ||||
visibility | string | This can be: all, confidential or private. This will default to private. | ||||
details | string | Additional details assigned to an activity. | ||||
priority_id | unsigned | |||||
class_id | unsigned | |||||
thread_id | unsigned | |||||
task_id | unsigned | |||||
parent_id | unsigned | Another activity ID | ||||
date_started | unix ts | Seconds since UTC | ||||
date_due | unix ts | Seconds since UTC | ||||
date_ended | unix ts | Seconds since UTC | ||||
message_id | string | Custom message id given to the activity. | ||||
nonbillable | unsigned | Amount of non-billable time ("Logged time") to log against the activity. Requires owner_type of "staff" and an owner_id | ||||
billable | unsigned | Amount of billable time to log against the activity. Note. This field is only for activities against an issue, job, milestone, contract or period. Please use the nonbillable ("logged time") parameter for any other against types. Requires owner_type of "staff" and an owner_id | ||||
to | associative array | An associative array of staff, affiliations and emails (Requires JSON application/js body). Status | | |||
| ||||||
cc | associative array | An associative array of staff, affiliations and emails (Requires JSON application/js body). Status | colour | Yellow | | title | Pending v0.3.43-BETA
bcc | associative array | An associative array of staff, affiliations and emails (Requires JSON application/js body). Status | colour | Yellow | | title | Pending v0.3.43-BETA
_fields | string | Allows you to specify optional fields and linked objects to include in the response, if successful. |
...
Including to, cc and bcc interactions
...
Creating an activity including interactions is a simple JSON request. It supports to, cc and bcc. Interaction owners staff, affiliations and general emails. e.g,
...