Subversion Repositories SmartDukaan

Rev

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

Rev 16727 Rev 16739
Line 6... Line 6...
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, AppUserBatchRefund, AppUserBatchDrillDown, \
10
    AffiliatePayout, OrderedOffers, AppOffers, AppUserBatchRefund, AppUserBatchDrillDown, \
11
    AppUserBatchDateDrillDown
11
    AppUserBatchDateDrillDown, AppUserApprovedCashBack
12
import falcon
12
import falcon
13
    
13
    
14
 
14
 
15
wsgi_app = api = falcon.API()
15
wsgi_app = api = falcon.API()
16
 
16
 
Line 61... Line 61...
61
affiliatePayout = AffiliatePayout()
61
affiliatePayout = AffiliatePayout()
62
appOffers = AppOffers()
62
appOffers = AppOffers()
63
appUserBatchRefund = AppUserBatchRefund()
63
appUserBatchRefund = AppUserBatchRefund()
64
appUserBatchDrillDown = AppUserBatchDrillDown()
64
appUserBatchDrillDown = AppUserBatchDrillDown()
65
appUserBatchDateDrillDown = AppUserBatchDateDrillDown()
65
appUserBatchDateDrillDown = AppUserBatchDateDrillDown()
-
 
66
appUserApprovedCashBack = AppUserApprovedCashBack()
66
 
67
 
67
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
68
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
68
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
69
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
69
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
70
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
70
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
71
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
Line 127... Line 128...
127
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
128
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
128
api.add_route('/affiliatePayout/',affiliatePayout)
129
api.add_route('/affiliatePayout/',affiliatePayout)
129
api.add_route('/appOffers/{retailerId}',appOffers)
130
api.add_route('/appOffers/{retailerId}',appOffers)
130
api.add_route('/appUserBatchRefund/{batchId}/{userId}',appUserBatchRefund)
131
api.add_route('/appUserBatchRefund/{batchId}/{userId}',appUserBatchRefund)
131
api.add_route('/appUserBatchDrillDown/{batchId}/{userId}', appUserBatchDrillDown)
132
api.add_route('/appUserBatchDrillDown/{batchId}/{userId}', appUserBatchDrillDown)
132
api.add_route('/appUserBatchDateDrillDown/{userId}/{date}', appUserBatchDateDrillDown)
-
 
133
133
api.add_route('/appUserBatchDateDrillDown/{userId}/{date}', appUserBatchDateDrillDown)
-
 
134
api.add_route('/appUserApprovedCashBack/{userId}', appUserApprovedCashBack)
-
 
135
134
136