Subscriber Management API
The Subscriber Management API is available to customers of Collective2's White Label product. C2's White Label allows companies to build their own customized version of Collective2, entirely without Collective2 branding. Please contact us to learn more about our Private Platform product.
Table of Contents
getListSystems
http://api.collective2.com/cgi-perl/api.mpl?cmd=getListSystems&apikey=yourAPIkeyValue
<c2xml> <status> <ok>1</ok> <errorType></errorType> <errorDetail></errorDetail> </status> <response> <system> <systemid>19400168</systemid> <systemname>Midway Futures</systemname> </system> <system> <systemid>19400648</systemid> <systemname>Trident Options Alerts</systemname> </system> <system> <systemid>10118627</systemid> <systemname>Cicero Stocks</systemname> </system> </response> </c2xml>
getListSubscribers
http://api.collective2.com/cgi-perl/api.mpl?cmd=getListSubscribers&systemid=1736096&apikey=yourAPIkeyValue
<c2xml> <status> <ok>1</ok> <errorType></errorType> <errorDetail></errorDetail> </status> <response> <subscriber> <subscriberid>11881207</subscriberid> <currentStatus>current</currentStatus> <dateStarted>07/07/2013</dateStarted> <dateStopped></dateStopped> <nextChargeWhen></nextChargeWhen> <geo>usa</geo> <person> <personid>11157289</personid> <firstname>Pritep</firstname> <lastname>Jones</lastname> <email>[email protected]</email> </person> <autoTradeStatus> <trading_status></trading_status> <brokerName></brokerName> <accountnum></accountnum> <scaling></scaling> </autoTradeStatus> </subscriber> <subscriber> <subscriberid>11881206</subscriberid> <currentStatus>current</currentStatus> <dateStarted>07/07/2013</dateStarted> <dateStopped></dateStopped> <nextChargeWhen></nextChargeWhen> <geo>usa</geo> <person> <personid>10823850</personid> <firstname>Greg</firstname> <lastname>Johnson</lastname> <email>[email protected]</email> </person> <autoTradeStatus> <trading_status></trading_status> <brokerName></brokerName> <accountnum></accountnum> <scaling></scaling> </autoTradeStatus> </subscriber> </response> </c2xml>
getListUsers
Returns an XML list of all users associated with your private platform. Users may or may not be subscribers. (A subscriber to a trading system must be a user, but a user does not necessarily need to be a subscriber.)
http://api.collective2.com/cgi-perl/api.mpl?cmd=getListUsers&platformid=299&apikey=yourAPIkeyValue
<c2xml> <status> <ok>1</ok> <errorType></errorType> <errorDetail></errorDetail> </status> <response> <person> <personid>16879123</personid> <firstname>Milly</firstname> <lastname>Ranna</lastname> <email>[email protected]</email> <alias></alias> <dateRecordCreated_ET>2014-04-06 14:51</dateRecordCreated_ET> <customFlavors> </customFlavors> </person> <person> <personid>17183622</personid> <firstname>Ghol</firstname> <lastname>Gedrosian</lastname> <email>[email protected]</email> <alias>screenName22</alias> <dateRecordCreated_ET>2014-04-21 14:13</dateRecordCreated_ET> <customFlavors> <flavor>investor</flavor> <flavor>monster</flavor> <flavor>goldClubMember</flavor> </customFlavors> </person> </response> </c2xml>