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. Below 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>