/api/2.0/tasks/

POST https://developer.salesfusion.com/api/2.0/tasks/

Description:

Creates a new task in the Salesfusion database.

Sample Response:
{
    "task": "https://developer.salesfusion.com/api/2.0/tasks/109699/",
    "task_id": 109699,
    "account_id": null,
    "account_name": null,
    "owner_id": 2,
    "owner_email": "noreply@salesfusion.com",
    "owner_first_name": "Michael",
    "owner_last_name": "North",
    "contact_id": null,
    "contact_first_name": null,
    "contact_last_name": null,
    "contact_status": null,
    "opportunity_id": 0,
    "description_text": "",
    "comments": "",
    "due_date": null,
    "priority": "",
    "status": "",
    "subject": "this is a new task!",
    "created_by_id": 2,
    "updated_by_id": 2
}

Request Body

{"subject"=>"this is a new task!"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring