Skip to content

User action tracking

Oliver Scott edited this page Mar 23, 2018 · 1 revision

Endpoint

https://ems.tradingticket.com/ad/v1/mobile/logUserAction

JSON Parameters

Parameter Value
apiKey TradeIt API key
userDeviceId DeviceID sent during other Ad service requests
userAction SEARCH, ADD_WATCHLIST, PAPER_TRADE
stockSymbol Stock related to the userAction
stockSymbolClass OPTION, EQUITY_OR_ETF, MUTUAL_FUNDS, FIXED_INCOME, FX, FUTURE, UNKNOWN

Sample Curl

curl \
  -H "Content-Type: application/json" \
  -d '{"apiKey": "tradeit-test-api-key","stockSymbol":"AAPL","stockSymbolClass":"EQUITY_OR_ETF", userAction:"SEARCH", userDeviceId:"XHIDJKLA929"  }' \
  https://ems.tradingticket.com/ad/v1/mobile/logUserAction