1

can i use grouping to eliminate duplication on the returned values using REST API ?or is there any other way the remove\delete duplicated values using REST?

1

Use Search API trimduplicates

    var searchApi='/_api/search/query?querytext=%27ContentType:"CT Name"
    var selectedParameter='&trimduplicates=true&selectproperties=%27,Title,Path%27';
    var searchQuery=_spPageContextInfo.siteAbsoluteUrl+searchApi+' %27'+selectedParameter;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.