Delete Comment for Timer API

This API is used to delete existing comments of a timer.

Request URL:

https://people.zoho.com/people/api/timetracker/deletecomment?commentId=<commentId>

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Scope:

ZOHOPEOPLE.timetracker.ALL
OR
ZOHOPEOPLE.timetracker.DELETE 

Possible Operation Types:

ALL - Complete access to data
DELETE - Only to delete data

Error Codes & Messages:

ParametersValues AllowedDefault ValueDescription
*commentId<commentId><Mandatory>Specify the commentId to delete

 

Error CodeError Message
8000No <param_name> specified
8001Wrong value for <param_name>

Success Response Format

{
    "response": {
        "message": "Timer Comments deleted successfully",
        "uri": "/api/timetracker/deletecomment",
        "status": 0
    }
}

Error Response Format

{
    "response": {
        "message": "Error in deleting comment",
        "uri": "/api/timetracker/deletecomment",
        "errors": [
            {
                "code": < error code >,
                "message": < error message >
            }
        ],
        "status": 1
    }
}

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/people/api/timetracker/deletecomment?commentId=293141000000144053

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Sample Response

Copied{
    "response": {
        "message": "Timer Comments deleted successfully",
        "uri": "/api/timetracker/deletecomment",
        "status": 0
    }
}
Copied<?xml version="1.0" encoding="UTF-8"?>
<response uri="/api/timetracker/deletecomment">
<status>0</status>
<message>Timer Comments deleted successfully</message>
</response>