Add Announcement Comment API

To comment on an announcement using API.

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Request Parameters:

*idID of the announcement for which comment is to be added
*commentcomment to be given for the announcement

 Threshold Limit:  20 requests | Lock period: 5 minutes

Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.

Sample Request

Copiedhttps://people.zoho.com/api/announcement/addAnnouncementComment?id=448358000000257007&comment=Great

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Sample Response

Copied<response uri="/api/announcement/addAnnouncementComment">
    <status>1</status>
    <message>Success</message>
    <result>
        <code>200</code>
        <resultData>
            <commentList>
                <commat>1542094544468</commat>
                <isDelete>true</isDelete>
                <isHTML>false</isHTML>
                <empName>Spalding</empName>
                <commentId>361033000003569710</commentId>
                <comment>Great</comment>
                <type>Announcement</type>
                <commby>642094013</commby>
            </commentList>
        </resultData>
    </result>
</response>
Copied{
    "response": {
        "message": "Success",
        "uri": "/api/announcement/addAnnouncementComment"", 
        "result": {
            "code": 200,
            "resultData": {
                "commentList": {                    
                    "commat": "1542094507603",
                    "isDelete": true,
                    "isHTML": false,
                    "empName": "Spalding",
                    "commentId": "361033000003569708",
                    "comment": "Great",
                    "type": "Announcement",
                    "commby": "642094013",
                }
            }
        },
        "status": 1
    }
}

Error Response

Copied<response uri="/api/announcement/addAnnouncementComment">
    <status>0</status>
    <message>This announcement is not applicable for your location</message>
    <errors>
        <code>Permision_denied</code>
        <resultData></resultData>
    </errors>
</response>
Copied{
    "response": {
        "errors": {
            "code": "Permision_denied",
            "resultData": {}
        },
        "message": "This announcement is not applicable for your location",
        "uri": "/api/announcement/addAnnouncementComment"",
        "status": 0
    }
}