Wednesday, February 24, 2010

Quick primer to Amazon SOAP Api Order Download

Break your calls into 2 parts:
1.First get the document ids using GetAllPendingDocuments() and store it in an array of string or anything that you can enumerate
List pendingDocuments = yourproxy.GetAllPendingDocuments(AMAZONCODE);

2.Next iterate through the documentids and call GetDocument()
foreach (string id in pendingDocuments)
StreamReader txtReader = yourProxy.GetDocument(id);
//Pump it into XmlDocument
XmlDocument document = new XmlDocument();
Follow my on my profile for Amazon related solutions suggested by me at

No comments:

Post a Comment