Hi,
I want to find the leads partitionname dynamically. Is there anyway to find it dynamically. This partitionname plays a very important role in updating the leads, without that API wont allow to update. So i have to find it. If anyone knows please help me out.
i tried this way, by setting the filtervalues and fields.
filterValues = new String[] { "emiquel@sending.es" };
fields = new String[] { "id", "leadPartitionId", "leadPartitionName" };
but its not working. its giving a message like this
"{\"requestId\":\"17dc5#14fae3f6fb1\",\"success\":false,\"errors\":[{\"code\":\"1006\",\"message\":\"Field 'partitionName' not found\"}]}"
if "partitionName" is not the field name, what is the right field name for the partitionname. Is it possible to find the partitionname dynamically. if possible how..?
Hope you guys will help me on this issue.
Thanks in Advance.
Jayanth
Solved! Go to Solution.
The field is returned as leadPartitionId, there is no lead field called partitionName. To get the name of the partition, you need to call Get Lead Partions and map the id to the name.
The field is returned as leadPartitionId, there is no lead field called partitionName. To get the name of the partition, you need to call Get Lead Partions and map the id to the name.
Thank you so much. Its working