this.ds.getSerchIds(this.searchTemplateText).subscribe((x) => {
if (x.length > 0) {
this.data = new DataManager({
url: this.odataEndpoint + 'FolderGrid/?' + this.generateQueryString(x),
adaptor: new ODataV4Adaptor(),
headers: [this.userService.entireToken]
});
} else {
this.documentList.localData = [];
this.data = new DataManager({});
this.notifyOnError('No Contract Templates are found matching the condition');
}
});
I am Passing List of ids in Querystring to API using DataManager . But I need to Pass this List of ids as an Request Body to API. 1. How to Pass the List of Ids in Request Body to API using DataManager in Angular ? 2. Do we need to use this as an POST request ? Please reply ASAP Thanks Nambi R