+ Start a Discussion

Retrieving CaseComment objects


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?


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

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

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