I prepared a list of tasks with subject,activitydate,description,whatid,whoid filled.

Then I did a create operation using SOAP API. The records were created into system but the none of the record's Activitydate field has value.

I don't know what I missed here. Please help!

enter image description here

enter image description here

The above code builds the Task object.

  • Can you show the code where you are assigning the date values to the ActivityDate? They should be set in ISO8601 format. The timestamp on an ActivityDate should be set to midnight UTC. Commented Mar 2, 2015 at 18:25
  • @DanielBallinger Here's the modified code, still have problem after I added ".ToUniversalTime()"
    – sfdcnoob
    Commented Mar 2, 2015 at 19:09

1 Answer 1


Looks like its in C#, in which case you need to also set the additional specified flag for each property that's not a string, e.g. add

ActivityDateSpecified = true;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .