function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pitaboypitaboy 

Retrieving CaseComment objects

Hi,

I'm trying to retrieve case comments for a case using C# but I'm not sure how to do it. I've gone through the SF enterprise API (v6.0) but I did not see any method(s) that I can use to retrieve the case comments in either the Case or CaseComment objects. Is there a getCaseCommentForCaseId() method in the API that I missed?

Thanks.

Message Edited by pitaboy on 07-27-2005 11:45 AM

SuperfellSuperfell
use the query call, with the query select Id, [other fields you care about] from CaseComment where CaseId='[theCaseId]'
pitaboypitaboy
Thanks Simon for the quick reply.

It was exactly what I need. I just needed to replace 'CaseId' with 'ParentId'.