Subversion Repositories SmartDukaan

Rev

Rev 9949 | Rev 10140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9949 Rev 10097
Line 199... Line 199...
199
    1:string bannerName,
199
    1:string bannerName,
200
    2:string imageName,
200
    2:string imageName,
201
    3:string link,
201
    3:string link,
202
    4:bool hasMap,
202
    4:bool hasMap,
203
    5:i64 priority,
203
    5:i64 priority,
204
    6:BannerType bannerType
204
    6:BannerType bannerType,
-
 
205
    7:bool target
205
}
206
}
206
 
207
 
207
struct BannerUriMapping{
208
struct BannerUriMapping{
208
	1:string bannerName,
209
	1:string bannerName,
209
	2:string uri,
210
	2:string uri,
210
	3:bool isActive
211
	3:bool isActive,
-
 
212
	4:bool target
211
}
213
}
212
 
214
 
213
struct BannerMap {
215
struct BannerMap {
214
    1:string bannerName,
216
    1:string bannerName,
215
    2:string mapLink,
217
    2:string mapLink,
Line 415... Line 417...
415
	5:double commission,
417
	5:double commission,
416
	6:double serviceTax
418
	6:double serviceTax
417
}
419
}
418
 
420
 
419
struct MarketPlaceItemPrice{
421
struct MarketPlaceItemPrice{
420
    1:i64 item_id
422
    1:i64 item_id,
421
	2:i64 source
423
	2:i64 source,
422
	3:double sellingPrice
424
	3:double sellingPrice,
423
	4:i64 lastUpdatedOn
425
	4:i64 lastUpdatedOn,
424
	5:i64 lastUpdatedOnMarketplace
426
	5:i64 lastUpdatedOnMarketplace,
425
	6:bool isPriceOverride
427
	6:bool isPriceOverride,
426
	7:bool isListedOnSource
428
	7:bool isListedOnSource
427
    
429
    
428
}
430
}
429
 
431
 
430
struct FlipkartItem{
432
struct FlipkartItem{
431
    1:i64 item_id
433
    1:i64 item_id,
432
    2:double exceptionPrice
434
    2:double exceptionPrice,
433
    3:i64 warehouseId
435
    3:i64 warehouseId,
434
    4:double commissionValue
436
    4:double commissionValue,
435
    5:double serviceTaxValue
437
    5:double serviceTaxValue,
436
    6:double maxNlc
438
    6:double maxNlc,
437
    7:string skuAtFlipkart
439
    7:string skuAtFlipkart,
438
    8:bool isListedOnFlipkart
440
    8:bool isListedOnFlipkart,
439
    9:bool suppressPriceFeed
441
    9:bool suppressPriceFeed,
440
    10:bool suppressInventoryFeed
442
    10:bool suppressInventoryFeed,
441
    11:i64 updatedOn
443
    11:string updatedBy,
-
 
444
    12:string flipkartSerialNumber,
-
 
445
    13:MarketplaceItems marketplaceItems,
-
 
446
}
-
 
447
 
-
 
448
struct FlipkartItemDetails{
-
 
449
	1:i64 item_id,
-
 
450
	2:i64 warehouseId,
-
 
451
	3:double exceptionPrice,
-
 
452
	4:bool isListedOnFlipkart,
-
 
453
    5:double commission,
-
 
454
    6:double serviceTax,
442
    12:string updatedBy
455
    7:string brand,
-
 
456
    8:string model_name,
-
 
457
    9:string model_number,
-
 
458
    10:string color,
-
 
459
    11:bool risky,
-
 
460
    12:status itemStatus,
-
 
461
    13:bool suppressPriceFeed,
-
 
462
    14:bool suppressInventoryFeed,
-
 
463
    15:double weight,
-
 
464
    16:double mrp,
-
 
465
    17:double websiteSellingPrice,
-
 
466
    18:double maxNlc,
-
 
467
    19:string skuAtFlipkart,
-
 
468
    20:i64 lastUpdatedInventory,
-
 
469
    21:i64 lastUpdatedInventoryTimestamp,
-
 
470
    22:string flipkartSerialNumber
443
}
471
}
444
 
472
 
445
 
473
 
446
service CatalogService extends GenericService.GenericService{
474
service CatalogService extends GenericService.GenericService{
447
 
475
 
Line 553... Line 581...
553
	
581
	
554
	/**
582
	/**
555
	Banner Related
583
	Banner Related
556
	*/
584
	*/
557
	
585
	
558
	void addBanner(1:BannerCongregate bannerCongregate),
586
	bool addBanner(1:BannerCongregate bannerCongregate),
559
	bool updateBanner(1:Banner banner),
587
	bool updateBanner(1:Banner banner),
560
	list <Banner> getAllBanners(),
588
	list <Banner> getAllBanners(),
561
	bool deleteBanner(1:string bannerName,2:BannerType bannerType),
589
	bool deleteBanner(1:string bannerName,2:BannerType bannerType),
562
	Banner getBannerDetails(1:string bannerName,2:BannerType bannerType),
590
	Banner getBannerDetails(1:string bannerName,2:BannerType bannerType),
563
	map<string,list<Banner>> getActiveBanners(),
591
	map<string,list<Banner>> getActiveBanners(),
Line 808... Line 836...
808
	
836
	
809
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
837
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
810
	
838
	
811
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp,3:i64 source),
839
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp,3:i64 source),
812
	
840
	
813
	void updateItemHoldInventory(1:map<i64,i64> itemHoldMap)	
841
	void updateItemHoldInventory(1:map<i64,i64> itemHoldMap),	
-
 
842
	
-
 
843
	void updateNlcAtMarketplaces(1:i64 item_id,2:i64 vendor_id,double nlc),
-
 
844
	
-
 
845
	list<FlipkartItem> getAllFlipkartItems(),
-
 
846
	
-
 
847
	bool addOrUpdateFlipkartItem(FlipkartItem flipkartitem),
-
 
848
	
-
 
849
	FlipkartItem getFlipkartItem(1:i64 item_id),
-
 
850
	
-
 
851
	FlipkartItemDetails getFlipkartItemDetails(1:i64 item_id),
-
 
852
	
-
 
853
	list<FlipkartItemDetails> getFlipkartItems(1:i64 offset,2:i64 limit),
-
 
854
	
-
 
855
	list<FlipkartItemDetails> searchFlipkartItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit),
-
 
856
	
-
 
857
	i64 getCountForFlipkartItems(),
814
	
858
	
815
	void updateNlcAtMarketplaces(1:i64 item_id,2:i64 vendor_id,double nlc)
859
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
816
	
860
	
817
	list<FlipkartItem> getAllFlipkartItems()
861
	list<FlipkartItemDetails> getAllFkItems()
818
	
862
	
819
}
863
}