+ 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'.