{
"opportunity_id": [
0
],
"assigned_to_type": "SpecificStaff",
"assigned_to_staff_id": 0,
"type": "Call",
"category_id": 0,
"title": "string",
"notes": "string",
"priority": "High",
"scheduled_date": "2019-08-24T14:15:22Z"
}
curl --location --request POST '/tenants//opportunities/tasks' \
--header 'Content-Type: application/json' \
--data-raw '{
"opportunity_id": [
0
],
"assigned_to_type": "SpecificStaff",
"assigned_to_staff_id": 0,
"type": "Call",
"category_id": 0,
"title": "string",
"notes": "string",
"priority": "High",
"scheduled_date": "2019-08-24T14:15:22Z"
}'
{
"task_id": [
0
]
}