I am using Magento REST api into my asp.net application. I want to download all products from my magentohost server to my asp.net C# application, but attributes count return 0 into products details. My code is shown below...
var client = new MagentoApi()
.SetCustomAdminUrlPart(AdminUrlPart)
.Initialize(StoreUrl, ConsumerKey, ConsumerSerect)
.AuthenticateAdmin(AdminUserName, AdminPassword);
var filter = new Magento.RestApi.Models.Filter();
filter.PageSize = 100;
filter.Page = 0;
var sCode = Task.Run(async () => await client.GetProducts(filter));
MagentoApiResponse<IList<Magento.RestApi.Models.Product>> product = sCode.Result;
I have also done all setup into magento server. Please tell me what is the reason.