REST API customerAccountSitesLOV does not remove duplicates anymore
SummaryREST API customerAccountSitesLOV does not remove duplicates anymore. Is that expected?
It seems the logic of the API below changed in 21A, is that expected?
https://<host>/fscmRestApi/resources/11.13.18.05/customerAccountSitesLOV?q=CustomerName LIKE Рог%&fields=CustomerName,AccountNumber,PartyNumber&limit=100000&onlyData=true&orderBy=CustomerName,AccountNumber
I know it is supposed to return Customer Sites, but before 21A I noticed that if I limit data to specific fields as shown above it removes duplicates, e.g. if I only query CustomerName it removes duplicate records (assuming there are multiple sites with the same CustomerName) like below:
If fields = CustomerName,SiteName then 2 records are returned: