Subversion Repositories SmartDukaan

Rev

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

Rev 11095 Rev 11531
Line 483... Line 483...
483
    21:i64 lastUpdatedInventoryTimestamp,
483
    21:i64 lastUpdatedInventoryTimestamp,
484
    22:string flipkartSerialNumber,
484
    22:string flipkartSerialNumber,
485
    23:i64 category
485
    23:i64 category
486
}
486
}
487
 
487
 
-
 
488
struct PrivateDeal{
-
 
489
	1:i64 item_id,
-
 
490
	2:double dealPrice,
-
 
491
	3:i64 dealFreebieItemId,
-
 
492
    4:i64 startDate,
-
 
493
    5:i64 endDate,
-
 
494
    6:bool isDealTextIdentical,
-
 
495
    7:string dealText,
-
 
496
    8:bool isCod,
-
 
497
    9:i64 rank
-
 
498
}
-
 
499
 
488
struct MarketplaceHistory{
500
struct MarketplaceHistory{
489
	1:i64 item_id,
501
	1:i64 item_id,
490
	2:i64 source,
502
	2:i64 source,
491
	3:i64 timestamp,
503
	3:i64 timestamp,
492
	4:i64 lowest_possible_tp,
504
	4:i64 lowest_possible_tp,
Line 521... Line 533...
521
	33:bool toGroup,
533
	33:bool toGroup,
522
	34:Decision decision,
534
	34:Decision decision,
523
	35:string reason
535
	35:string reason
524
}
536
}
525
 
537
 
526
 
-
 
527
service CatalogService extends GenericService.GenericService{
538
service CatalogService extends GenericService.GenericService{
528
 
539
 
529
/**
540
/**
530
	Availability and inventory attributes	
541
	Availability and inventory attributes	
531
*/
542
*/
Line 909... Line 920...
909
	
920
	
910
	i64 getCountForFlipkartItems(),
921
	i64 getCountForFlipkartItems(),
911
	
922
	
912
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
923
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
913
	
924
	
914
	list<FlipkartItemDetails> getAllFkItems(),
925
	list<FlipkartItemDetails> getAllFkItems()
915
	
926
	
916
	FlipkartItem getFlipkartItemBySkyAtFlipkart(1:string sku),
927
	FlipkartItem getFlipkartItemBySkyAtFlipkart(string sku)
917
	
928
	
918
	list<MarketplaceHistory> getMarketplaceHistory(1:i64 source,2:i64 offset,3:i64 itemId),
929
	list<MarketplaceHistory> getMarketplaceHistory(1:i64 source,2:i64 offset,3:i64 itemId),
919
	
930
	
920
	list<Amazonlisted> getAllFbbListedItems()
931
	list<Amazonlisted> getAllFbbListedItems()
921
	
932
	
Line 923... Line 934...
923
	
934
	
924
	i64 getCountForMarketplaceHistory(1:i64 source,2:i64 itemId)
935
	i64 getCountForMarketplaceHistory(1:i64 source,2:i64 itemId)
925
	
936
	
926
	list<MarketplaceHistory> getMarketplaceHistoryByDate(1:i64 source,2:i64 startDate,3:i64 endDate,4:i64 offset,5:i64 limit,6:i64 itemId)
937
	list<MarketplaceHistory> getMarketplaceHistoryByDate(1:i64 source,2:i64 startDate,3:i64 endDate,4:i64 offset,5:i64 limit,6:i64 itemId)
927
	
938
	
-
 
939
	PrivateDeal getPrivateDealDetails(1:i64 item_id)
-
 
940
	
-
 
941
	list<Item> getPrivateDealItems(1:i64 offset,2:i64 limit)
-
 
942
	
-
 
943
	bool addOrUpdatePrivateDeal(1:PrivateDeal privateDeal)
-
 
944
	
928
}
945
}