| Line 56... |
Line 56... |
| 56 |
print ' Affiliate getAffiliateByName(string name)'
|
56 |
print ' Affiliate getAffiliateByName(string name)'
|
| 57 |
print ' Tracker getTrackerById(i64 id)'
|
57 |
print ' Tracker getTrackerById(i64 id)'
|
| 58 |
print ' getAffiliatesByMasterAffiliate(i64 id)'
|
58 |
print ' getAffiliatesByMasterAffiliate(i64 id)'
|
| 59 |
print ' i64 addTrackLog(i64 affiliateId, i64 userId, string event, string url, string data, i64 addedOn)'
|
59 |
print ' i64 addTrackLog(i64 affiliateId, i64 userId, string event, string url, string data, i64 addedOn)'
|
| 60 |
print ' TrackLog getTrackLogById(i64 id)'
|
60 |
print ' TrackLog getTrackLogById(i64 id)'
|
| 61 |
print ' getTrackLogsByAffiliate(i64 affiliateId)'
|
61 |
print ' getTrackLogsByAffiliate(i64 affiliateId, i64 startDate, i64 endDate)'
|
| 62 |
print ' getTrackLogsByUser(i64 userId)'
|
62 |
print ' getTrackLogsByUser(i64 userId)'
|
| 63 |
print ' getTrackLogs(i64 userId, string event, string url)'
|
63 |
print ' getTrackLogs(i64 userId, string event, string url)'
|
| 64 |
print ' i64 createCart(i64 userId)'
|
64 |
print ' i64 createCart(i64 userId)'
|
| 65 |
print ' Cart getCurrentCart(i64 userId)'
|
65 |
print ' Cart getCurrentCart(i64 userId)'
|
| 66 |
print ' Cart getCart(i64 cartId)'
|
66 |
print ' Cart getCart(i64 cartId)'
|
| Line 358... |
Line 358... |
| 358 |
print 'getTrackLogById requires 1 args'
|
358 |
print 'getTrackLogById requires 1 args'
|
| 359 |
sys.exit(1)
|
359 |
sys.exit(1)
|
| 360 |
pp.pprint(client.getTrackLogById(eval(args[0]),))
|
360 |
pp.pprint(client.getTrackLogById(eval(args[0]),))
|
| 361 |
|
361 |
|
| 362 |
elif cmd == 'getTrackLogsByAffiliate':
|
362 |
elif cmd == 'getTrackLogsByAffiliate':
|
| 363 |
if len(args) != 1:
|
363 |
if len(args) != 3:
|
| 364 |
print 'getTrackLogsByAffiliate requires 1 args'
|
364 |
print 'getTrackLogsByAffiliate requires 3 args'
|
| 365 |
sys.exit(1)
|
365 |
sys.exit(1)
|
| 366 |
pp.pprint(client.getTrackLogsByAffiliate(eval(args[0]),))
|
366 |
pp.pprint(client.getTrackLogsByAffiliate(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| 367 |
|
367 |
|
| 368 |
elif cmd == 'getTrackLogsByUser':
|
368 |
elif cmd == 'getTrackLogsByUser':
|
| 369 |
if len(args) != 1:
|
369 |
if len(args) != 1:
|
| 370 |
print 'getTrackLogsByUser requires 1 args'
|
370 |
print 'getTrackLogsByUser requires 1 args'
|
| 371 |
sys.exit(1)
|
371 |
sys.exit(1)
|