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

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

Yes, you can associate a task created through an API with an account or contact. Here is the sample XML for associating a task with an account or contact:

 

<Tasks> 

<row no='1'> 

<FL val='Subject'>test 11111111</FL> 

<FL val='Due Date'>20/2/2021</FL> 

<FL val='CONTACTID'>xxxxxxxxxx</FL> 

<FL val='SEMODULE'>Accounts</FL> 

<FL val='SEID'>xxxxxxxxx</FL> 

</row> 

</Tasks> 
    • Related Articles

    • Using Custom Buttons

      Customization is the most powerful way to build a flexible CRM system. In Zoho CRM, you can customize modules, fields, pages, links, and a lot of other elements. In addition to these elements, Zoho CRM now allows you to create new button actions with ...
    • 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 ...
    • Creating Webhooks

      Webhooks facilitates communication with third-party applications by sending instant web notifications every time an event occurs in Zoho CRM. With Webhooks, you can configure HTTP URLs and associate them in workflow rules to automate the entire ...
    • 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 ...
    • Associate Functions

      Zoho CRM Functions help you to update the data in related CRM modules or third-party applications by executing simple program scripts. When a record matches the workflow criteria, workflow engine automatically triggers the function and update the CRM ...