Subversion Repositories SmartDukaan

Rev

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

Rev 16581 Rev 16727
Line 5... Line 5...
5
    DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
5
    DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
6
    NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
6
    NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
7
    CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
7
    CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
8
    Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
8
    Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
9
    AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
9
    AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
10
    AffiliatePayout, OrderedOffers, AppOffers
10
    AffiliatePayout, OrderedOffers, AppOffers, AppUserBatchRefund, AppUserBatchDrillDown, \
-
 
11
    AppUserBatchDateDrillDown
11
import falcon
12
import falcon
12
    
13
    
13
 
14
 
14
wsgi_app = api = falcon.API()
15
wsgi_app = api = falcon.API()
15
 
16
 
Line 57... Line 58...
57
dealNotification = DealNotification()
58
dealNotification = DealNotification()
58
dealPoints = DealPoints()
59
dealPoints = DealPoints()
59
appAffiliates = AppAffiliates()
60
appAffiliates = AppAffiliates()
60
affiliatePayout = AffiliatePayout()
61
affiliatePayout = AffiliatePayout()
61
appOffers = AppOffers()
62
appOffers = AppOffers()
-
 
63
appUserBatchRefund = AppUserBatchRefund()
-
 
64
appUserBatchDrillDown = AppUserBatchDrillDown()
-
 
65
appUserBatchDateDrillDown = AppUserBatchDateDrillDown()
62
 
66
 
63
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
67
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
64
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
68
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
65
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
69
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
66
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
70
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
Line 120... Line 124...
120
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
124
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
121
api.add_route('/dealPoints/addDealPoints', dealPoints)
125
api.add_route('/dealPoints/addDealPoints', dealPoints)
122
api.add_route('/dealPoints/getDealPoints', dealPoints)
126
api.add_route('/dealPoints/getDealPoints', dealPoints)
123
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
127
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
124
api.add_route('/affiliatePayout/',affiliatePayout)
128
api.add_route('/affiliatePayout/',affiliatePayout)
125
api.add_route('/appOffers/{retailerId}',appOffers)
-
 
126
129
api.add_route('/appOffers/{retailerId}',appOffers)
-
 
130
api.add_route('/appUserBatchRefund/{batchId}/{userId}',appUserBatchRefund)
-
 
131
api.add_route('/appUserBatchDrillDown/{batchId}/{userId}', appUserBatchDrillDown)
-
 
132
api.add_route('/appUserBatchDateDrillDown/{userId}/{date}', appUserBatchDateDrillDown)
-
 
133
127
134