Using SalesForce's Web Service to create and set the type of a Task

Posted by Alan Williamson on Stack Overflow See other posts from Stack Overflow or by Alan Williamson
Published on 2010-06-18T04:29:08Z Indexed on 2010/06/18 4:33 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

I am successfully creating a Task using the SalesForce API SOAP API through Java.

However, my problem is that I can't seem to set the Type of it. They all default to "Call" but I really want them to be "Email".

Can someone point me in the direction of where I can do this? I think it is to do with RecordTypeMapping, but i am somewhat confused as to how to use this in my Java code to look up the particular one for Task type.

I feel I have got so close with this. I have the correct WSDL that is giving me the extra method on the Task.java class, but no matter what I pass in, it dies.

This doesn't seem to be a huge ask, yet i am perplexed as to which dots to join to get it to work

Any help would be appreciated. thanks

© Stack Overflow or respective owner

Related posts about api

Related posts about webservices