I am trying to send a GET request to the Activities and Tasks modules. Due to the use case, I want to specify all the fields I want to retrieve in the “fields” parameter in the request.
I retrieve all the existing fields by previously sending a request to the /settings/fields?module=Activities endpoint to retrieve its metadata. One of the fields that this endpoint returns is BestTimeToContact. In the response, its API name is returned as “BEST_TIME” (attaching the response).
However, if I try to send a request to retrieve this fields’ data, as follows:
GET https://www.zohoapis.eu/crm/v2.1/Activities?fields=BEST_TIME%2CCall_Type&page=1&per_page=200
, a 500 Internal Server Error is returned.
The same thing happened when trying to retrieve this fields’ data for the Tasks table. It seems like the server isn’t accepting the upper-case format, despite using the same format itself, which doesn’t seem like expected behavior.
I am attaching the requests and responses for both tables, along with the requests for their metadata.
Could you take a look into this?