| Line -... |
Line 1... |
| - |
|
1 |
import falcon
|
| - |
|
2 |
|
| 1 |
from dtr.api.Order import StoreOrder, Track, Refunds, PendingRefunds, \
|
3 |
from dtr.api.Order import StoreOrder, Track, Refunds, PendingRefunds, \
|
| 2 |
PendingCashBacks, Orders, Transactions, RawHtml, SnapShot, Rejects, OrderFilters
|
4 |
PendingCashBacks, Orders, Transactions, RawHtml, SnapShot, Rejects, OrderFilters
|
| 3 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
5 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
| 4 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
6 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
| 5 |
DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
|
7 |
DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
|
| 6 |
NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
|
8 |
NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
|
| 7 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
|
9 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
|
| 8 |
Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
|
10 |
Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
|
| 9 |
AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
|
11 |
AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
|
| 10 |
AffiliatePayout, OrderedOffers, AppOffers, AppUserBatchRefund, \
|
12 |
AffiliatePayout, OrderedOffers, AppOffers, AppUserBatchRefund, \
|
| 11 |
AppUserBatchDrillDown, AppUserBatchDateDrillDown, AppUserCashBack
|
13 |
AppUserBatchDrillDown, AppUserBatchDateDrillDown, AppUserCashBack,GetSaleDetail
|
| 12 |
import falcon
|
- |
|
| 13 |
|
14 |
|
| 14 |
|
15 |
|
| 15 |
wsgi_app = api = falcon.API()
|
16 |
wsgi_app = api = falcon.API()
|
| 16 |
|
17 |
|
| 17 |
retailerActivation = RetailerActivation()
|
18 |
retailerActivation = RetailerActivation()
|
| 18 |
orderFilters = OrderFilters()
|
19 |
orderFilters = OrderFilters()
|
| Line 64... |
Line 65... |
| 64 |
appUserBatchRefund = AppUserBatchRefund()
|
65 |
appUserBatchRefund = AppUserBatchRefund()
|
| 65 |
appUserBatchDrillDown = AppUserBatchDrillDown()
|
66 |
appUserBatchDrillDown = AppUserBatchDrillDown()
|
| 66 |
appUserBatchDateDrillDown = AppUserBatchDateDrillDown()
|
67 |
appUserBatchDateDrillDown = AppUserBatchDateDrillDown()
|
| 67 |
appUserCashBack = AppUserCashBack()
|
68 |
appUserCashBack = AppUserCashBack()
|
| 68 |
rejects = Rejects()
|
69 |
rejects = Rejects()
|
| - |
|
70 |
getSaleDetail = GetSaleDetail()
|
| 69 |
|
71 |
|
| - |
|
72 |
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
|
| 70 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
73 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
| 71 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
74 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
| 72 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
75 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
| 73 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
76 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
| 74 |
api.add_route('/discountInfo/addExceptionalSkuDiscount',skuDiscountInfo)
|
77 |
api.add_route('/discountInfo/addExceptionalSkuDiscount',skuDiscountInfo)
|