| Line 3... |
Line 3... |
| 3 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
3 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
| 4 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
4 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
| 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, Login,\
|
7 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, Login,\
|
| 8 |
AddContactToRetailer
|
8 |
AddContactToRetailer, RetailerActivation
|
| 9 |
|
9 |
|
| 10 |
import falcon
|
10 |
import falcon
|
| 11 |
|
11 |
|
| 12 |
wsgi_app = api = falcon.API()
|
12 |
wsgi_app = api = falcon.API()
|
| 13 |
|
13 |
|
| Line 97... |
Line 97... |
| 97 |
api.add_route('/updateDisposition/{agentId}/{callType}', reatiler)
|
97 |
api.add_route('/updateDisposition/{agentId}/{callType}', reatiler)
|
| 98 |
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
|
98 |
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
|
| 99 |
api.add_route('/deals/getRank/', dealRank)
|
99 |
api.add_route('/deals/getRank/', dealRank)
|
| 100 |
api.add_route('/agent/logout/{agentId}/{role}',login)
|
100 |
api.add_route('/agent/logout/{agentId}/{role}',login)
|
| 101 |
api.add_route('/agent/login',login)
|
101 |
api.add_route('/agent/login',login)
|
| 102 |
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
|
- |
|
| 103 |
|
102 |
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
|
| - |
|
103 |
api.add_route('/retailerActivated/{userId}', RetailerActivation)
|
| - |
|
104 |
|
| 104 |
|
105 |
|