J0N3S3Y
11-09-08, 13:39
Hi,
Well, i've been battling for a while now with this api, its not the most straightforward and I have now managed to get the categories back and I can search however, how do I get the products for a category back?
eg:
getProductList affGetProds = new getProductList();
getProductListResponse affProdResponse = new getProductListResponse();
affGetProds.oActiveRefineByGroup ?????????
affProdResponse = affWebService.getProductList(affGetProds);
foreach (Product Prod in affProdResponse.oProduct)
{
Response.Write("<strong>Description:</strong> " + Prod.sDescription.ToString() + "<strong>Price: £</strong>" + Prod.fPrice);
}
I think I'm along the right lines but oActiveRefineByGroup accepts iID except I cant see how to get it.
Any ideas? even better, if someone has some useful documentation or examples for ASP.net C# would you be willing to share? as AffiliateWindow have told me they have none and cannot assist with ASP.net queries.
Well, i've been battling for a while now with this api, its not the most straightforward and I have now managed to get the categories back and I can search however, how do I get the products for a category back?
eg:
getProductList affGetProds = new getProductList();
getProductListResponse affProdResponse = new getProductListResponse();
affGetProds.oActiveRefineByGroup ?????????
affProdResponse = affWebService.getProductList(affGetProds);
foreach (Product Prod in affProdResponse.oProduct)
{
Response.Write("<strong>Description:</strong> " + Prod.sDescription.ToString() + "<strong>Price: £</strong>" + Prod.fPrice);
}
I think I'm along the right lines but oActiveRefineByGroup accepts iID except I cant see how to get it.
Any ideas? even better, if someone has some useful documentation or examples for ASP.net C# would you be willing to share? as AffiliateWindow have told me they have none and cannot assist with ASP.net queries.