Zoho API V2 Subscription Response ID Issue
Hey there,
I'm using the v2 API and working with the Subscription API and am running into an issue.
The API docs state that a specified endpoint will be hit with this data:
{ "query_params": ▼{ "key1": "val1", "ke2": "val2" }, "resource_uri": "https://www.zohoapis.com/crm/v2/Contacts", "module": "Contacts", "ids": ▼[ "1000000033163" ], "operation": "update", "channel_id": "1000000000045", "token": "TOKEN_FOR_VERIFICATION_OF_1000000000045" }
This is mostly true except for this section:
- "ids" : ["1000000033163"]
Instead of "ids" returning an array as this states, it is returning the following:
- "ids" : "[1000000033163]"
So whereas in the provided examples ids[0] would return the proper ID, in the
actual response ids[0] returns "[" because it is being interpreted as a string and hence grabbing the first character index.
Let me know if there is anything else I can say to help get this fixed. For reference I'm using just the normal REST endpoints, not using any of the SDKs.