ListAgents

From The Contingency Market

Jump to: navigation, search

Contents

ListAgents(ulSessionID,uSequenceID,sIntegrity,sSince,uLimit)

List agents registered after a particular date (not exceeding a certain count).

PARAMETERS

ulong ulSessionID 
ID of authenticated session.
uint uSequenceID 
Sequence number.
string sIntegrity 
md5("ipaddr(sid,seq)->ListAgents(yyyy-mm-dd hh:mm:ss,uLimit)/secret").
string sSince 
Earliest registration date to count from. NB Not a TimeInstant or DateTime. The timezone is UTC.
uint uLimit 
Maximum number of agents to return (0=all).

RETURNS

[ {sID,sDisplayName,sRegistered,sPublicDetails,uVerificationLevel,sPrivateDetails} ]

string sID 
32 digit hex representing Agent's globally unique id.
string sDisplayName 
Agent's display name.
string sRegistered 
yyyy-mm-dd HH:mm:ss (date Agent registered).
string sPublicDetails 
PHP assoc array (list of name/value pairs) of miscellaneous Agent info.
string uVerificationLevel 
0 if unverified, 1 if agent's e-mail verified.
string sPrivateDetails 
PHP assoc array of private info (only if UID is this session's authenticated agent).

FAULTS

Session. Time format.

TEST

ListAgents(2008-01-01,100) according to the respective template currently returns

Views
Personal tools