private static void TrySubmitProductFeedAsImageFeed()
 {
     try {
         var fileName = string.Format( FeedFileTemplate, AmazonSettings.BasePath, MwsFeedType.Product );
         var feed = new MwsFeedDescriptor( MwsFeedType.Image ) {
             Content = File.ReadAllText( fileName )
         };
         var response = MwsConnector.Api.SubmitFeed( feed );
         Ignore_Mws_Throttling( response );
         Console.WriteLine( response );
         Assert.That( response.IsSuccessful, "SubmitProductFeedAsImageFeed" );
     }
     catch {
         Console.WriteLine( "TrySubmitProductFeedAsImageFeed: Failed" );
     }
 }
Beispiel #2
0
 public virtual Response<MwsSubmitFeedResult> SubmitFeed( MwsFeedDescriptor feedDescriptor )
 {
     return _SubmitFeed( feedDescriptor );
 }