Subversion Repositories SmartDukaan

Rev

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

Rev 20078 Rev 20148
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, AutoComplete
19
    SendTransactionalSms,GetItemCashback, FilterDealsByType , GetDtrLinks , AutoComplete
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 102... Line 102...
102
getDetailsByBatchId = DetailsBatchId()
102
getDetailsByBatchId = DetailsBatchId()
103
headerLinks = HeaderLinks()
103
headerLinks = HeaderLinks()
104
sendTransSms = SendTransactionalSms()
104
sendTransSms = SendTransactionalSms()
105
getItemCashback = GetItemCashback()
105
getItemCashback = GetItemCashback()
106
filterDealsByType = FilterDealsByType()
106
filterDealsByType = FilterDealsByType()
-
 
107
getDtrLinks = GetDtrLinks()
107
autoSuggest = AutoComplete()
108
autoSuggest = AutoComplete()
108
 
109
 
109
api.add_route('/getItemCashback', getItemCashback)
110
api.add_route('/getItemCashback', getItemCashback)
110
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
111
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
111
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
112
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
Line 154... Line 155...
154
api.add_route('/Catalog/notification/', notification)
155
api.add_route('/Catalog/notification/', notification)
155
api.add_route('/deals/brands/', dealBrands)
156
api.add_route('/deals/brands/', dealBrands)
156
api.add_route('/getRetailerToCall/{agentId}/{callType}', reatiler)
157
api.add_route('/getRetailerToCall/{agentId}/{callType}', reatiler)
157
api.add_route('/updateDisposition/{agentId}/{callType}', reatiler)
158
api.add_route('/updateDisposition/{agentId}/{callType}', reatiler)
158
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
159
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
-
 
160
api.add_route('/getDtrLinkInactiveUsers/{agentId}/{callType}/{userId}', getDtrLinks)
159
api.add_route('/deals/getRank/', dealRank)
161
api.add_route('/deals/getRank/', dealRank)
160
api.add_route('/agent/logout/{agentId}/{role}',login)
162
api.add_route('/agent/logout/{agentId}/{role}',login)
161
api.add_route('/agent/login',login)
163
api.add_route('/agent/login',login)
162
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
164
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
163
api.add_route('/addAddressToRetailer/{agentId}',addAddressToRetailer)
165
api.add_route('/addAddressToRetailer/{agentId}',addAddressToRetailer)