| 15081 |
amit.gupta |
1 |
from dtr.api.Order import StoreOrder, Track, Refunds, PendingRefunds, \
|
| 17307 |
amit.gupta |
2 |
PendingCashBacks, Orders, Transactions, RawHtml, SnapShot, Rejects, OrderFilters, \
|
|
|
3 |
AmazonSummary
|
| 13582 |
amit.gupta |
4 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
| 13927 |
amit.gupta |
5 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
| 15081 |
amit.gupta |
6 |
DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
|
|
|
7 |
NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
|
| 15677 |
amit.gupta |
8 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
|
|
|
9 |
Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
|
| 16560 |
amit.gupta |
10 |
AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
|
| 16789 |
amit.gupta |
11 |
AffiliatePayout, OrderedOffers, AppOffers, AppUserBatchRefund, \
|
| 17303 |
kshitij.so |
12 |
AppUserBatchDrillDown, AppUserBatchDateDrillDown, AppUserCashBack,GetSaleDetail, \
|
| 17300 |
kshitij.so |
13 |
DummyDeals
|
| 17307 |
amit.gupta |
14 |
|
|
|
15 |
import falcon
|
| 13572 |
kshitij.so |
16 |
|
| 17279 |
naman |
17 |
|
| 13572 |
kshitij.so |
18 |
wsgi_app = api = falcon.API()
|
|
|
19 |
|
| 15340 |
amit.gupta |
20 |
retailerActivation = RetailerActivation()
|
| 17307 |
amit.gupta |
21 |
amazonSummary = AmazonSummary()
|
| 17277 |
amit.gupta |
22 |
orderFilters = OrderFilters()
|
| 13572 |
kshitij.so |
23 |
categoryDiscountInfo = CategoryDiscountInfo()
|
|
|
24 |
skuSchemeDetails = SkuSchemeDetails()
|
|
|
25 |
skuDiscountInfo = SkuDiscountInfo()
|
|
|
26 |
exceptionalNlc = ExceptionalNlc()
|
| 13582 |
amit.gupta |
27 |
storeorder = StoreOrder()
|
| 16560 |
amit.gupta |
28 |
orderedOffers = OrderedOffers()
|
| 15081 |
amit.gupta |
29 |
reatiler = RetailerDetail()
|
| 13773 |
kshitij.so |
30 |
deals = Deals()
|
| 13786 |
kshitij.so |
31 |
masterData = MasterData()
|
| 13826 |
kshitij.so |
32 |
liveData = LiveData()
|
| 13835 |
kshitij.so |
33 |
cashBack = CashBack()
|
| 14398 |
amit.gupta |
34 |
imgSrc = ImgSrc()
|
| 13891 |
kshitij.so |
35 |
dealSheet = DealSheet()
|
| 13870 |
amit.gupta |
36 |
track = Track()
|
| 13927 |
amit.gupta |
37 |
refunds = Refunds()
|
| 14427 |
amit.gupta |
38 |
transactions = Transactions()
|
| 15081 |
amit.gupta |
39 |
snapShot = SnapShot()
|
| 14427 |
amit.gupta |
40 |
rawHtml = RawHtml()
|
| 13927 |
amit.gupta |
41 |
pendingRefunds = PendingRefunds()
|
| 14671 |
amit.gupta |
42 |
pendingCashbacks = PendingCashBacks()
|
| 13970 |
kshitij.so |
43 |
dealerPrice = DealerPrice()
|
| 14041 |
kshitij.so |
44 |
resetCache = ResetCache()
|
| 14045 |
kshitij.so |
45 |
userDeals = UserDeals()
|
| 14077 |
kshitij.so |
46 |
commonUpdate = CommonUpdate()
|
| 14353 |
amit.gupta |
47 |
orders = Orders()
|
| 14481 |
kshitij.so |
48 |
negativeDeals = NegativeDeals()
|
|
|
49 |
manualDeals = ManualDeals()
|
|
|
50 |
commonDelete = CommonDelete()
|
| 14482 |
kshitij.so |
51 |
searchProduct = SearchProduct()
|
| 14497 |
kshitij.so |
52 |
featuredDeals = FeaturedDeals()
|
|
|
53 |
commonSearch = CommonSearch()
|
| 14619 |
kshitij.so |
54 |
cricScore = CricScore()
|
| 14853 |
kshitij.so |
55 |
notification = Notification()
|
| 15000 |
kshitij.so |
56 |
dealBrands = DealBrands()
|
| 15160 |
kshitij.so |
57 |
dealRank = DealRank()
|
| 15189 |
manas |
58 |
login = Login()
|
| 15254 |
amit.gupta |
59 |
addContactToRetailer= AddContactToRetailer()
|
| 15676 |
amit.gupta |
60 |
addAddressToRetailer= AddAddressToRetailer()
|
| 15284 |
manas |
61 |
searchUser = SearchUser()
|
| 15373 |
kshitij.so |
62 |
staticDeals = StaticDeals()
|
| 16365 |
kshitij.so |
63 |
dealNotification = DealNotification()
|
| 16486 |
kshitij.so |
64 |
dealPoints = DealPoints()
|
| 16544 |
kshitij.so |
65 |
appAffiliates = AppAffiliates()
|
| 16558 |
kshitij.so |
66 |
affiliatePayout = AffiliatePayout()
|
| 16581 |
manish.sha |
67 |
appOffers = AppOffers()
|
| 16727 |
manish.sha |
68 |
appUserBatchRefund = AppUserBatchRefund()
|
|
|
69 |
appUserBatchDrillDown = AppUserBatchDrillDown()
|
|
|
70 |
appUserBatchDateDrillDown = AppUserBatchDateDrillDown()
|
| 16756 |
manish.sha |
71 |
appUserCashBack = AppUserCashBack()
|
| 16789 |
amit.gupta |
72 |
rejects = Rejects()
|
| 17279 |
naman |
73 |
getSaleDetail = GetSaleDetail()
|
| 17300 |
kshitij.so |
74 |
dummyDeals = DummyDeals()
|
| 13572 |
kshitij.so |
75 |
|
| 17300 |
kshitij.so |
76 |
|
| 17279 |
naman |
77 |
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
|
| 13628 |
kshitij.so |
78 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
|
|
79 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
|
|
80 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
|
|
81 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
|
|
82 |
api.add_route('/discountInfo/addExceptionalSkuDiscount',skuDiscountInfo)
|
|
|
83 |
api.add_route('/discountInfo/getAllExceptionalSkuDiscount',skuDiscountInfo)
|
|
|
84 |
api.add_route('/exceptionalNlc/addExceptionalNlc',exceptionalNlc)
|
|
|
85 |
api.add_route('/exceptionalNlc/getExceptionalNlc',exceptionalNlc)
|
| 13582 |
amit.gupta |
86 |
api.add_route('/storeorder', storeorder)
|
| 14353 |
amit.gupta |
87 |
api.add_route('/orders', orders)
|
| 16560 |
amit.gupta |
88 |
api.add_route('/ordered-offers/{storeId}/{storeSku}', orderedOffers)
|
| 13603 |
amit.gupta |
89 |
api.add_route('/storeorder/{id}', storeorder)
|
|
|
90 |
api.add_route('/storeorder/user/{userId}', storeorder)
|
| 13780 |
kshitij.so |
91 |
api.add_route('/deals/{userId}',deals)
|
| 13788 |
kshitij.so |
92 |
api.add_route('/masterData/getSkuById/{skuId}', masterData)
|
| 14586 |
kshitij.so |
93 |
api.add_route('/masterData/addOrUpdateMaster/', masterData)
|
| 13835 |
kshitij.so |
94 |
api.add_route('/Catalog/fetchLivePrices/', liveData)
|
|
|
95 |
api.add_route('/Catalog/cashBack/', cashBack)
|
| 14398 |
amit.gupta |
96 |
api.add_route('/Catalog/imgSrc/', imgSrc)
|
| 13939 |
amit.gupta |
97 |
api.add_route('/track/user/{userId}', track)
|
| 13927 |
amit.gupta |
98 |
api.add_route('/refund/user/{userId}', refunds)
|
| 13967 |
kshitij.so |
99 |
api.add_route('/pending-refunds/user/{userId}', pendingRefunds)
|
| 14671 |
amit.gupta |
100 |
api.add_route('/pending-cashbacks/user/{userId}', pendingCashbacks)
|
| 13968 |
kshitij.so |
101 |
api.add_route('/Catalog/generateDealSheet/', dealSheet)
|
| 13970 |
kshitij.so |
102 |
api.add_route('/discountInfo/updateCategoryDiscount/{_id}', categoryDiscountInfo)
|
|
|
103 |
api.add_route('/discountInfo/updateSkuDiscount/{_id}', skuDiscountInfo)
|
|
|
104 |
api.add_route('/dealerPrices/addDealerPrice', dealerPrice)
|
|
|
105 |
api.add_route('/dealerPrices/getAllDealerPrice', dealerPrice)
|
| 14041 |
kshitij.so |
106 |
api.add_route('/dealerPrices/updateDealerPrice/{_id}', dealerPrice)
|
| 14045 |
kshitij.so |
107 |
api.add_route('/resetCache/{userId}',resetCache)
|
| 14077 |
kshitij.so |
108 |
api.add_route('/Catalog/generateDealSheetForUser/{userId}',userDeals)
|
| 14427 |
amit.gupta |
109 |
api.add_route('/Catalog/updateCollection', commonUpdate)
|
|
|
110 |
api.add_route('/transactions/', transactions)
|
| 14481 |
kshitij.so |
111 |
api.add_route('/rawhtml/{orderId}', rawHtml)
|
|
|
112 |
api.add_route('/negativeDeals/addNegativeDeals', negativeDeals)
|
|
|
113 |
api.add_route('/negativeDeals/getNegativeDeals', negativeDeals)
|
|
|
114 |
api.add_route('/manualDeals/addManualDeals', manualDeals)
|
|
|
115 |
api.add_route('/manualDeals/getManualDeals', manualDeals)
|
| 14482 |
kshitij.so |
116 |
api.add_route('/Catalog/deleteDocument', commonDelete)
|
|
|
117 |
api.add_route('/Catalog/searchMaster',searchProduct)
|
| 14495 |
kshitij.so |
118 |
api.add_route('/featuredDeals/addFeaturedDeals', featuredDeals)
|
|
|
119 |
api.add_route('/featuredDeals/getFeaturedDeals', featuredDeals)
|
| 14497 |
kshitij.so |
120 |
api.add_route('/Catalog/searchProducts/',commonSearch)
|
| 14619 |
kshitij.so |
121 |
api.add_route('/liveCricketScore/',cricScore)
|
| 14853 |
kshitij.so |
122 |
api.add_route('/Catalog/notification/', notification)
|
| 15000 |
kshitij.so |
123 |
api.add_route('/deals/brands/', dealBrands)
|
| 15081 |
amit.gupta |
124 |
api.add_route('/getRetailerToCall/{agentId}/{callType}', reatiler)
|
| 15137 |
amit.gupta |
125 |
api.add_route('/updateDisposition/{agentId}/{callType}', reatiler)
|
| 15160 |
kshitij.so |
126 |
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
|
|
|
127 |
api.add_route('/deals/getRank/', dealRank)
|
| 15189 |
manas |
128 |
api.add_route('/agent/logout/{agentId}/{role}',login)
|
| 15254 |
amit.gupta |
129 |
api.add_route('/agent/login',login)
|
| 15275 |
amit.gupta |
130 |
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
|
| 15676 |
amit.gupta |
131 |
api.add_route('/addAddressToRetailer/{agentId}',addAddressToRetailer)
|
| 15339 |
amit.gupta |
132 |
api.add_route('/retailerActivated/{userId}', retailerActivation)
|
| 15373 |
kshitij.so |
133 |
api.add_route('/searchRetailer/{agentId}/{searchType}', searchUser)
|
| 16365 |
kshitij.so |
134 |
api.add_route('/getStaticDeals/',staticDeals)
|
| 16486 |
kshitij.so |
135 |
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
|
|
|
136 |
api.add_route('/dealPoints/addDealPoints', dealPoints)
|
|
|
137 |
api.add_route('/dealPoints/getDealPoints', dealPoints)
|
| 16558 |
kshitij.so |
138 |
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
|
| 16581 |
manish.sha |
139 |
api.add_route('/affiliatePayout/',affiliatePayout)
|
| 16727 |
manish.sha |
140 |
api.add_route('/appOffers/{retailerId}',appOffers)
|
|
|
141 |
api.add_route('/appUserBatchRefund/{batchId}/{userId}',appUserBatchRefund)
|
| 16776 |
manish.sha |
142 |
api.add_route('/appUserBatchDrillDown/{userId}/{fortNightOfYear}/{yearVal}', appUserBatchDrillDown)
|
| 16739 |
manish.sha |
143 |
api.add_route('/appUserBatchDateDrillDown/{userId}/{date}', appUserBatchDateDrillDown)
|
| 16789 |
amit.gupta |
144 |
api.add_route('/appUserCashBack/{userId}/{status}', appUserCashBack)
|
| 17277 |
amit.gupta |
145 |
api.add_route('/rejects/', rejects)
|
| 17300 |
kshitij.so |
146 |
api.add_route('/orderfilters/', orderFilters)
|
| 17307 |
amit.gupta |
147 |
api.add_route('/getDummyDeals/',dummyDeals)
|
|
|
148 |
api.add_route('/amazonsummaryfile/{userId}', amazonSummary)
|