Can I associate an account or contact while creating a task using the API?

Can I associate an account or contact while creating a task using the API?

You can associate an account/contact to a task through API. Here is the sample XML for associating an account/contact to a task.   

 <Tasks>
<row no='1'>
<FL val='Subject'>test 11111111</FL>
<FL val='Due Date'>20/12/2008</FL>
<FL val='CONTACTID'>xxxxxxxxxx</FL>
<FL val='SEMODULE'>Accounts</FL>
<FL val='SEID'>xxxxxxxxx</FL>
</row>
</Tasks>  
    • Related Articles

    • Serverless Functions - Using API Key

      Introduction A severless function within your CRM can be invoked from any third-party application or within the CRM using a webhook. However, generally most of the webhooks do not support OAuth2, save for a few of them. In that case, you can execute ...
    • Using Gmail API

      Zoho CRM provides a variety of emailing options that users can choose based on their requirements. One such option is the Zoho Mail Add-on. With Zoho Mail Add-on, you can configure your email client within Zoho CRM using either one of the two ...
    • Using and Creating Macros

      Macros are a set of actions that can be executed for a group of records in a module. These sets of actions include sending emails, creating tasks, and updating a field in the records with a specified value. You may have a set of actions that you ...
    • Using and Creating Macros

      Macros are a set of actions that can be executed for a group of records in a module. These sets of actions include sending emails, creating tasks, and updating a field in the records with a specified value. You may have a set of actions that you ...
    • Using and Creating Macros

      Macros are a set of actions that can be executed for a group of records in a module. These sets of actions include sending emails, creating tasks, and updating a field in the records with a specified value. You may have a set of actions that you ...