This is to inform you that we are deprecating a key from the responses presented for time entry APIs. This change relates to the way agent names are returned.
Now, the details...
The owner object in responses to time entry APIs returns the name of the agent and URL of the agent's profile picture. These data points are presented through the name and photoURL key respectively.
The name key returns both the first name and the last name of the agent together. However, in APIs pertaining to other Zoho Desk modules, agents' names are presented using two different keys: firstName and lastName.
To fix this inconsistency in time entry APIs, we are deprecating the name key, and instead, going to display the firstName and lastName keys in the responses.
For more clarity, refer to the following examples.
Old Response
"owner" : {
"name" : “Britney Hamilton”
}
New Response
"owner":{
"firstName": "Britney",
"lastName": "Hamilton",
"id": "74953002001130947"
}
(The new response format does not contain the name key.)
The name key has been deprecated already, and it will be removed fully by the 21st of February, 2020. Therefore, we request you to modify the code of your API-based tools, wherever necessary, to accommodate this change.