Subversion Repositories SmartDukaan

Rev

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

Rev 20442 Rev 21156
Line 14... Line 14...
14
    DeleteDealObject, FeaturedDealObject, DeleteFeaturedDealObject, \
14
    DeleteDealObject, FeaturedDealObject, DeleteFeaturedDealObject, \
15
    SubCategoryFilter, DummyLogin, DummyRegister, FetchUser, UpdateUser, \
15
    SubCategoryFilter, DummyLogin, DummyRegister, FetchUser, UpdateUser, \
16
    SearchSubCategory, SearchSubCategoryCount, MessageEncryption, \
16
    SearchSubCategory, SearchSubCategoryCount, MessageEncryption, \
17
    GetUserCrmApplication, UnitDeal, CrmTicketDtr, TinSearch, SpecialOffer, BrandSubCatFilter,\
17
    GetUserCrmApplication, UnitDeal, CrmTicketDtr, TinSearch, SpecialOffer, BrandSubCatFilter,\
18
    RefundAmountWallet, RefundWalletStatus, DetailsBatchId, HeaderLinks,\
18
    RefundAmountWallet, RefundWalletStatus, DetailsBatchId, HeaderLinks,\
19
    SendTransactionalSms,GetItemCashback, FilterDealsByType , GetDtrLinks , AutoComplete
19
    SendTransactionalSms,GetItemCashback, FilterDealsByType , GetDtrLinks , AutoComplete, UserDetails
20
 
20
 
21
import falcon
21
import falcon
22
    
22
    
23
wsgi_app = api = falcon.API()
23
wsgi_app = api = falcon.API()
24
 
24
 
Line 104... Line 104...
104
sendTransSms = SendTransactionalSms()
104
sendTransSms = SendTransactionalSms()
105
getItemCashback = GetItemCashback()
105
getItemCashback = GetItemCashback()
106
filterDealsByType = FilterDealsByType()
106
filterDealsByType = FilterDealsByType()
107
getDtrLinks = GetDtrLinks()
107
getDtrLinks = GetDtrLinks()
108
autoSuggest = AutoComplete()
108
autoSuggest = AutoComplete()
-
 
109
userDetails = UserDetails()
109
 
110
 
110
api.add_route('/getItemCashback', getItemCashback)
111
api.add_route('/getItemCashback', getItemCashback)
111
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
112
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
112
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
113
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
113
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
114
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
Line 207... Line 208...
207
api.add_route('/updateRefundStatus',refundWalletStatus)
208
api.add_route('/updateRefundStatus',refundWalletStatus)
208
api.add_route('/getDetailsByBatchId',getDetailsByBatchId)
209
api.add_route('/getDetailsByBatchId',getDetailsByBatchId)
209
api.add_route('/getHeaderLinks',headerLinks)
210
api.add_route('/getHeaderLinks',headerLinks)
210
api.add_route('/sendTransSms/{sms_type}/{identifier}/{agentId}',sendTransSms)
211
api.add_route('/sendTransSms/{sms_type}/{identifier}/{agentId}',sendTransSms)
211
api.add_route('/getDealsByType/',filterDealsByType)
212
api.add_route('/getDealsByType/',filterDealsByType)
212
api.add_route('/autoSuggest/',autoSuggest)
-
 
213
213
api.add_route('/autoSuggest/',autoSuggest)
-
 
214
api.add_route('/getUserDetails/',userDetails)
-
 
215
214
216