How to update comment and how to get comment records for existing ticket ?

How to update comment and how to get comment records for existing ticket ?

Hello,

how to update or get single comment for ticket.

https://support.zoho.com/api/xml/comments/updatecomments?authtoken=#AUTHTOKEN&xml=#XMLData&portal=#PORTAL&department=#DEPARTMENT&id=CASEID

https://support.zoho.com/api/json/comments/getcommentsbyid?authtoken=#AUTHTOKEN&portal=#PORTAL&department=#DEPARTMENT&id=CASEID

api response : {"response":{"error":{"code":"1001","message":"Unable to process your request. Please verify whether you have entered proper method name,parameter and parameter values."}}}