I am trying to retrieve a product using the .Net client library.
The product in question has a slash in its id: online:en:GB:AKM274/IX_SS
using the Google APIs explorer, I use Fiddler to see where the request is sent:
https://content.googleapis.com/content/v2/6081032/products/online%3Aen%3AGB%3AAKM274%2FIX_SS
When I submit the request via the client library:
service.Products.Get((ulong) 6081032, "online:en:GB:AKM274/IX_SS").Execute();
It goes to:
https://www.googleapis.com/content/v2/6081032/products/online%3Aen%3AGB%3AAKM274/IX_SS
which 404s
When I try to urlencode the last slash:
service.Products.Get((ulong) 6081032, "online:en:GB:AKM274%2FIX_SS").Execute();
it sends the request to:
https://content.googleapis.com/content/v2/6081032/products/online%3Aen%3AGB%3AAKM274%252FIX_SS
as you can see, it encodes the %!
what should I use to encode my product codes with slashes in???
it also appears to happen on products.delete and inventory.set
thanks,
vince