prosperapi-commits Mailing List for Prosper Marketplace API
Brought to you by:
jonrssll
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <pro...@li...> - 2008-02-24 18:10:19
|
Revision: 18
http://prosperapi.svn.sourceforge.net/prosperapi/?rev=18&view=rev
Author: rateladder
Date: 2008-02-24 10:10:21 -0800 (Sun, 24 Feb 2008)
Log Message:
-----------
QuickCnipe added to SourceForge
Added Paths:
-----------
trunk/api/src/main/java/
trunk/api/src/main/java/src/
trunk/api/src/main/java/src/prosper/
trunk/api/src/main/java/src/prosper/api/
trunk/api/src/main/java/src/prosper/api/QuickSnipe.java
Added: trunk/api/src/main/java/src/prosper/api/QuickSnipe.java
===================================================================
--- trunk/api/src/main/java/src/prosper/api/QuickSnipe.java (rev 0)
+++ trunk/api/src/main/java/src/prosper/api/QuickSnipe.java 2008-02-24 18:10:21 UTC (rev 18)
@@ -0,0 +1,126 @@
+package prosper.api;
+
+import java.math.BigDecimal;
+import java.math.MathContext;
+import java.rmi.RemoteException;
+import java.sql.Timestamp;
+import java.util.Calendar;
+import java.util.Iterator;
+import java.util.TreeMap;
+
+import javax.xml.rpc.ServiceException;
+
+import com.prosper.services.ProsperAPI.DefinitionResult;
+import com.prosper.services.ProsperAPI.Field;
+import com.prosper.services.ProsperAPI.Listing;
+import com.prosper.services.ProsperAPI.ProsperAPILocator;
+import com.prosper.services.ProsperAPI.ProsperAPISoap;
+import com.prosper.services.ProsperAPI.ProsperObject;
+import com.prosper.services.ProsperAPI.ProsperObjectResult;
+
+public class QuickSnipe
+{
+ private String m_Username;
+ private String m_Password;
+ private double m_MinROI;
+ private int m_HoursToGo;
+ private boolean m_PlaceBids;
+ private ProsperAPISoap m_APISoap;
+
+ public QuickSnipe(String username, String password, double minROI, int hoursToGo, boolean placeBids) throws ServiceException
+ {
+ m_Username = username;
+ m_Password = password;
+ m_MinROI = minROI;
+ m_PlaceBids = placeBids;
+ m_HoursToGo = hoursToGo;
+ m_APISoap = (new ProsperAPILocator()).getProsperAPISoap();
+ }
+ /**
+ * @param args
+ */
+ public static void main(String[] args)
+ {
+ if (args.length!=5)
+ {
+ System.err.println("Usage: QuickSnipe username password minROI hoursToGo PlaceBids");
+ return;
+ }
+ try
+ {
+ QuickSnipe qs = new QuickSnipe(args[0], args[1], Double.parseDouble(args[2]), Integer.parseInt(args[3]), Boolean.parseBoolean(args[4]));
+ qs.snipe();
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace(System.err);
+ }
+ }
+
+ private void snipe() throws Exception
+ {
+ DefinitionResult res = m_APISoap.login(m_Username,m_Password);
+ String token = res.getMessage();
+ ProsperObjectResult por = m_APISoap.query(token, "listing", getFieldsString("listing",true), "status=2 and (creditgrade=7 or creditgrade=6 or creditgrade=5 or creditgrade=4)");
+ ProsperObject[] pos = por.getProsperObjects();
+ TreeMap<Calendar,Listing> timeLeftListings = new TreeMap<Calendar,Listing>();
+ for (int i=0; i<pos.length; i++)
+ {
+ Listing l = (Listing)pos[i];
+ Calendar end = (Calendar)l.getStartDate().clone();
+ end.add(Calendar.HOUR, (l.getDuration()*24));
+ long millisToGo = end.getTimeInMillis() - System.currentTimeMillis();
+ if (l.getNowDelinquent()==0 //my required extended credit and ROI
+ && (millisToGo/1000/60/60)<=m_HoursToGo
+ && l.getInquiriesLast6Months()<2
+ && l.getPublicRecordsLast10Years()==0
+ && l.getDelinquenciesLast7Years()==0
+ && l.getBankcardUtilization().doubleValue()<=.8
+ && l.getBankcardUtilization().doubleValue()>=.03
+ && ((l.getBidMaximumRate().doubleValue()+l.getROINetDefaultRate().doubleValue()+l.getROIInterestAndFeesRate().doubleValue()+l.getROIServicingFeeRate().doubleValue())>=m_MinROI)
+ )
+ {
+ timeLeftListings.put(end, l);
+ }
+ }
+ boolean pause = false;
+ for (Iterator<Listing> i = timeLeftListings.values().iterator(); i.hasNext(); )
+ {
+ if (pause) // you have to pause to avoid bid throttling
+ {try {Thread.sleep(6000);}catch (Exception ignore){}}
+ Listing l = i.next();
+ Timestamp startts = new Timestamp(l.getStartDate().getTimeInMillis());
+ Calendar end = (Calendar)l.getStartDate().clone();
+ end.add(Calendar.HOUR, (l.getDuration()*24));
+ Timestamp endts = new Timestamp(end.getTimeInMillis());
+ long hoursToGo = (end.getTimeInMillis() - System.currentTimeMillis())/1000/60/60;
+ System.err.println("\n"+startts+" + "+l.getDuration()+" days = "+endts+" | Hours To Go: "+hoursToGo);
+ System.err.println("Bid on Listing: "+l.getListingNumber()+"\nAt Rate: "+(m_MinROI-l.getROINetDefaultRate().doubleValue()-l.getROIInterestAndFeesRate().doubleValue()-l.getROIServicingFeeRate().doubleValue()));
+ res = m_APISoap.bid(token, l.getListingNumber(), new BigDecimal(50,new MathContext(4)), new BigDecimal(m_MinROI-l.getROINetDefaultRate().doubleValue()-l.getROIInterestAndFeesRate().doubleValue()-l.getROIServicingFeeRate().doubleValue(),new MathContext(4)), m_PlaceBids);
+ pause = true;
+ System.err.println("Bid Message: "+res.getMessage());
+ }
+ m_APISoap.logout(token);
+ }
+
+ private String getFieldsString(String type, boolean authenticated) throws RemoteException
+ {
+ DefinitionResult res = m_APISoap.describe(null, type);
+ Field[] fields = res.getDefinition().getFields();
+ int count = 0;
+ String s="";
+ for (int i=0; i<fields.length; i++)
+ {
+ if (authenticated || !fields[i].isAuthenticated())
+ {
+ if (count!=0)
+ {
+ s+= ",";
+ }
+ s+= fields[i].getName();
+ count++;
+ }
+ }
+ return s;
+ }
+}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pro...@li...> - 2008-02-22 19:21:43
|
Revision: 17
http://prosperapi.svn.sourceforge.net/prosperapi/?rev=17&view=rev
Author: rateladder
Date: 2008-02-22 11:21:46 -0800 (Fri, 22 Feb 2008)
Log Message:
-----------
Refactored parser and made an XML to CSV utility
Modified Paths:
--------------
trunk/data/src/main/java/src/prosper/data/DataObject.java
trunk/data/src/main/java/src/prosper/data/Database.java
Added Paths:
-----------
trunk/data/src/main/java/src/prosper/data/ProsperXMLtoCSV.java
trunk/data/src/main/java/src/prosper/data/XMLHandler.java
trunk/data/src/main/java/src/prosper/data/XMLParser.java
Modified: trunk/data/src/main/java/src/prosper/data/DataObject.java
===================================================================
--- trunk/data/src/main/java/src/prosper/data/DataObject.java 2007-12-08 20:15:39 UTC (rev 16)
+++ trunk/data/src/main/java/src/prosper/data/DataObject.java 2008-02-22 19:21:46 UTC (rev 17)
@@ -1,6 +1,7 @@
package prosper.data;
-import java.util.HashMap;
+import java.util.Iterator;
+import java.util.TreeMap;
/**
* Bean for holding Type and Data of a single row
@@ -16,14 +17,14 @@
/**
* Data: Name/Value pairs
*/
- private HashMap<String, String> m_Data;
+ private TreeMap<String, String> m_Data;
/**
* Bean for holding Type and Data of a single row
*/
public DataObject()
{
- m_Data = new HashMap<String, String>();
+ m_Data = new TreeMap<String, String>();
}
/**
@@ -61,4 +62,9 @@
{
return m_Data.get(key);
}
+
+ public Iterator<String> keys()
+ {
+ return m_Data.keySet().iterator();
+ }
}
Modified: trunk/data/src/main/java/src/prosper/data/Database.java
===================================================================
--- trunk/data/src/main/java/src/prosper/data/Database.java 2007-12-08 20:15:39 UTC (rev 16)
+++ trunk/data/src/main/java/src/prosper/data/Database.java 2008-02-22 19:21:46 UTC (rev 17)
@@ -28,7 +28,7 @@
* @author unit
*
*/
-public class Database
+public class Database implements XMLHandler
{
/**
* Database Type i.e. SqlServer2005
@@ -149,9 +149,9 @@
{
m_Connection = DriverManager.getConnection(dest);
m_Connection.setAutoCommit(true);
-
- //digest XML file and insert data into database
- digestData(data);
+
+ XMLParser parser = new XMLParser(this);
+ parser.digestData(data);
}
finally
{
Added: trunk/data/src/main/java/src/prosper/data/ProsperXMLtoCSV.java
===================================================================
--- trunk/data/src/main/java/src/prosper/data/ProsperXMLtoCSV.java (rev 0)
+++ trunk/data/src/main/java/src/prosper/data/ProsperXMLtoCSV.java 2008-02-22 19:21:46 UTC (rev 17)
@@ -0,0 +1,146 @@
+package prosper.data;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.util.Iterator;
+
+public class ProsperXMLtoCSV implements XMLHandler
+{
+ private File m_XmlLocation;
+ private File m_DestDir;
+ private boolean m_InObject;
+ private BufferedWriter m_CSVFile;
+ private int m_RowsConverted;
+
+ public ProsperXMLtoCSV(File xmlLocation, File destDir)
+ {
+ m_XmlLocation = xmlLocation;
+ m_DestDir = destDir;
+ }
+
+ /**
+ * @param args
+ */
+ public static void main(String[] args)
+ {
+ if (args.length!=1 && args.length!=2)
+ {
+ System.err.println("The XmlFilePath must exist and be a readable Prosper XML File");
+ System.err.println("The optional CSV destination directory must exist and a writable folder");
+ System.err.println("Usage: ProsperXMLtoCSV XMLFilePath [CSV Destination Directory]");
+ return;
+ }
+ File xmlLocation = new File(args[0]);
+ File destDir = new File((args.length==1) ? "." : args[1]);
+ if (!xmlLocation.exists() || !xmlLocation.isFile() || !xmlLocation.canRead())
+ {
+ System.err.println("The XmlFilePath must exist and be a readable Prosper XML File");
+ System.err.println("The optional CSV destination directory must exist and a writable folder");
+ System.err.println("Usage: ProsperXMLtoCSV XMLFilePath [CSV Destination Directory]");
+ return;
+ }
+ if (!destDir.exists() || !destDir.isDirectory())
+ {
+ System.err.println("The XmlFilePath must exist and be a readable Prosper XML File");
+ System.err.println("The optional CSV destination directory must exist and a writable folder");
+ System.err.println("Usage: ProsperXMLtoCSV XMLFilePath [CSV Destination Directory]");
+ return;
+ }
+ try
+ {
+ ProsperXMLtoCSV pxtc = new ProsperXMLtoCSV(xmlLocation,destDir);
+ pxtc.parseXMLtoCSV();
+ }
+ catch (Exception e)
+ {
+ System.err.println("An Error occured parsing the XML file or writing the CSV files");
+ e.printStackTrace(System.err);
+ System.err.println();
+ System.err.println("The XmlFilePath must exist and be a readable Prosper XML File");
+ System.err.println("The optional CSV destination directory must exist and a writable folder");
+ System.err.println("Usage: ProsperXMLtoCSV XMLFilePath [CSV Destination Directory]");
+ }
+ }
+
+ public void parseXMLtoCSV() throws Exception
+ {
+ m_InObject = false;
+ XMLParser xmlParser = new XMLParser(this);
+ xmlParser.digestData(m_XmlLocation);
+ }
+
+ public void preData() throws Exception
+ {
+ //do Nothing
+ }
+
+ public void preNewDataObject(String name) throws Exception
+ {
+ //do Nothing
+ }
+
+ public void addDataObject(DataObject dataObject) throws Exception
+ {
+ if (!m_InObject)
+ {
+ System.err.println("Starting conversion of "+dataObject.getName().substring(0,dataObject.getName().indexOf("/")));
+ m_CSVFile = new BufferedWriter(new FileWriter(new File(m_DestDir,dataObject.getName().substring(0,dataObject.getName().indexOf("/"))+".CSV")));
+ boolean comma = false;
+ for (Iterator<String> i = dataObject.keys(); i.hasNext(); )
+ {
+ String key = i.next();
+ if (!comma)
+ {
+ comma = true;
+ }
+ else
+ {
+ m_CSVFile.write(",");
+ }
+ m_CSVFile.write(delineateString(key));
+ }
+ m_CSVFile.write("\n");
+ m_InObject = true;
+ m_RowsConverted = 0;
+ }
+ boolean comma = false;
+ for (Iterator<String> i = dataObject.keys(); i.hasNext(); )
+ {
+ String key = i.next();
+ if (!comma)
+ {
+ comma = true;
+ }
+ else
+ {
+ m_CSVFile.write(",");
+ }
+ m_CSVFile.write(delineateString(dataObject.getValue(key)));
+ }
+ m_CSVFile.write("\n");
+ if ((++m_RowsConverted)%10000==0)
+ {
+ System.err.println(dataObject.getName().substring(0,dataObject.getName().indexOf("/"))+ " rows converted: "+m_RowsConverted);
+ }
+
+ }
+
+ private String delineateString(String value)
+ {
+ return "\""+value.replaceAll("\"", "\"\"")+"\"";
+ }
+
+ public void postDataObject(String path) throws Exception
+ {
+ System.err.println(path.substring(0,path.indexOf("/"))+ " rows converted: "+m_RowsConverted+"\n");
+ m_CSVFile.close();
+ m_InObject = false;
+ }
+
+ public void postData() throws Exception
+ {
+ //do Nothing
+ }
+
+}
Added: trunk/data/src/main/java/src/prosper/data/XMLHandler.java
===================================================================
--- trunk/data/src/main/java/src/prosper/data/XMLHandler.java (rev 0)
+++ trunk/data/src/main/java/src/prosper/data/XMLHandler.java 2008-02-22 19:21:46 UTC (rev 17)
@@ -0,0 +1,37 @@
+package prosper.data;
+
+public interface XMLHandler
+{
+ /**
+ * Pre Data.
+ * @throws Exception
+ */
+ public void preData() throws Exception;
+
+ /**
+ * Pre New Data Object Type
+ * @param name DataObject Name in the pattern 'Objects/Object'
+ * @throws Exception when error
+ */
+ public void preNewDataObject(String name) throws Exception;
+
+ /**
+ * Complete New Data Object
+ * @param dataObject the DataObject to insert
+ * @throws Exception when errors
+ */
+ public void addDataObject(DataObject dataObject) throws Exception;
+
+ /**
+ * After all Data Objects of a type
+ * @param path full xml path: ProsperDataExport/\\p{Alnum}+
+ * @throws Exception when sql errors
+ */
+ public void postDataObject(String path) throws Exception;
+
+ /**
+ * After XML Parsing
+ * @throws Exception when errors
+ */
+ public void postData() throws Exception;
+}
Added: trunk/data/src/main/java/src/prosper/data/XMLParser.java
===================================================================
--- trunk/data/src/main/java/src/prosper/data/XMLParser.java (rev 0)
+++ trunk/data/src/main/java/src/prosper/data/XMLParser.java 2008-02-22 19:21:46 UTC (rev 17)
@@ -0,0 +1,48 @@
+package prosper.data;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.apache.commons.digester.Digester;
+import org.apache.commons.digester.PathCallParamRule;
+import org.apache.commons.digester.RegexRules;
+import org.xml.sax.SAXException;
+
+public class XMLParser
+{
+ private XMLHandler m_Handler;
+ public XMLParser(XMLHandler handler)
+ {
+ m_Handler = handler;
+ }
+
+ public void digestData(File data) throws IOException, SAXException
+ {
+ Digester digester = new Digester();
+ digester.setRules(new RegexRules(new JavaMatcher()));
+ digester.push(m_Handler);
+
+ //create a DataObject, call setName with the xml path, call addDataObject on this Database
+ digester.addObjectCreate("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+","prosper.data.DataObject");
+ digester.addSetNext("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+", "addDataObject");
+ digester.addCallMethod("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+", "setName", 1);
+ PathCallParamRule pathRule = new PathCallParamRule(0);
+ digester.addRule("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+", pathRule);
+
+ //call addData on DataObject with the xmlPath to the datakey and the datavalue
+ digester.addCallMethod("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+/\\p{Alnum}+", "addData", 2);
+ pathRule = new PathCallParamRule(0);
+ digester.addRule("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+/\\p{Alnum}+", pathRule);
+ digester.addCallParam("ProsperDataExport/\\p{Alnum}+/\\p{Alnum}+/\\p{Alnum}+",1);
+
+ //call postDataObject with full xml path on close of data type tag
+ digester.addCallMethod("ProsperDataExport/\\p{Alnum}+", "postDataObject", 1);
+ pathRule = new PathCallParamRule(0);
+ digester.addRule("ProsperDataExport/\\p{Alnum}+", pathRule);
+
+ //call postData on close of ProsperDataExportTag
+ digester.addCallMethod("ProsperDataExport", "postData");
+
+ digester.parse(data);
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pro...@li...> - 2007-05-29 17:43:27
|
Revision: 7
http://prosperapi.svn.sourceforge.net/prosperapi/?rev=7&view=rev
Author: jonrssll
Date: 2007-05-29 10:43:28 -0700 (Tue, 29 May 2007)
Log Message:
-----------
CreditGrade enum added
Modified Paths:
--------------
trunk/api/src/main/c#/API.csproj
trunk/api/src/main/c#/api/common/model/IListing.cs
Added Paths:
-----------
trunk/api/src/main/c#/api/common/model/CreditGrade.cs
Modified: trunk/api/src/main/c#/API.csproj
===================================================================
--- trunk/api/src/main/c#/API.csproj 2007-04-13 00:23:17 UTC (rev 6)
+++ trunk/api/src/main/c#/API.csproj 2007-05-29 17:43:28 UTC (rev 7)
@@ -35,6 +35,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="api\common\model\CreditGrade.cs" />
<Compile Include="api\common\model\IBid.cs" />
<Compile Include="api\common\model\IGroup.cs">
<SubType>Code</SubType>
Added: trunk/api/src/main/c#/api/common/model/CreditGrade.cs
===================================================================
--- trunk/api/src/main/c#/api/common/model/CreditGrade.cs (rev 0)
+++ trunk/api/src/main/c#/api/common/model/CreditGrade.cs 2007-05-29 17:43:28 UTC (rev 7)
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Prosper.api.common.model
+{
+ public enum CreditGrade
+ {
+ NC = 0,
+ HR = 1,
+ E = 2,
+ D = 3,
+ C = 4,
+ B = 5,
+ A = 6,
+ AA = 7
+ };
+}
Modified: trunk/api/src/main/c#/api/common/model/IListing.cs
===================================================================
--- trunk/api/src/main/c#/api/common/model/IListing.cs 2007-04-13 00:23:17 UTC (rev 6)
+++ trunk/api/src/main/c#/api/common/model/IListing.cs 2007-05-29 17:43:28 UTC (rev 7)
@@ -6,5 +6,9 @@
{
public interface IListing
{
+ CreditGrade CreditGrade
+ {
+ get;
+ }
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pro...@li...> - 2007-04-13 00:23:16
|
Revision: 6
http://prosperapi.svn.sourceforge.net/prosperapi/?rev=6&view=rev
Author: jonrssll
Date: 2007-04-12 17:23:17 -0700 (Thu, 12 Apr 2007)
Log Message:
-----------
Adding basic project layout and a basic code library
Added Paths:
-----------
trunk/api/ProsperAPI.wsdl
trunk/api/src/
trunk/api/src/main/
trunk/api/src/main/c#/
trunk/api/src/main/c#/API.csproj
trunk/api/src/main/c#/API.sln
trunk/api/src/main/c#/Properties/
trunk/api/src/main/c#/Properties/AssemblyInfo.cs
trunk/api/src/main/c#/Properties/Settings.Designer.cs
trunk/api/src/main/c#/Properties/Settings.settings
trunk/api/src/main/c#/Web References/
trunk/api/src/main/c#/Web References/api.services/
trunk/api/src/main/c#/Web References/api.services/DefinitionResult.datasource
trunk/api/src/main/c#/Web References/api.services/ProsperAPI.disco
trunk/api/src/main/c#/Web References/api.services/ProsperAPI.wsdl
trunk/api/src/main/c#/Web References/api.services/ProsperObjectResult.datasource
trunk/api/src/main/c#/Web References/api.services/Reference.cs
trunk/api/src/main/c#/Web References/api.services/Reference.map
trunk/api/src/main/c#/api/
trunk/api/src/main/c#/api/client/
trunk/api/src/main/c#/api/common/
trunk/api/src/main/c#/api/common/model/
trunk/api/src/main/c#/api/common/model/IBid.cs
trunk/api/src/main/c#/api/common/model/IGroup.cs
trunk/api/src/main/c#/api/common/model/IListing.cs
trunk/api/src/main/c#/api/common/model/IMember.cs
trunk/api/src/main/c#/api/poql/
trunk/api/src/main/c#/api/poql/All.cs
trunk/api/src/main/c#/api/poql/Any.cs
trunk/api/src/main/c#/api/poql/BinaryExpression.cs
trunk/api/src/main/c#/api/poql/ConstantExpression.cs
trunk/api/src/main/c#/api/poql/Equals.cs
trunk/api/src/main/c#/api/poql/Expression.cs
trunk/api/src/main/c#/api/poql/GreaterThan.cs
trunk/api/src/main/c#/api/poql/GreaterThanOrEquals.cs
trunk/api/src/main/c#/api/poql/IBinaryExpression.cs
trunk/api/src/main/c#/api/poql/IConstantExpression.cs
trunk/api/src/main/c#/api/poql/IExpression.cs
trunk/api/src/main/c#/api/poql/IParameterExpression.cs
trunk/api/src/main/c#/api/poql/IUnaryExpression.cs
trunk/api/src/main/c#/api/poql/LessThan.cs
trunk/api/src/main/c#/api/poql/LessThanOrEqual.cs
trunk/api/src/main/c#/api/poql/LogicalNegation.cs
trunk/api/src/main/c#/api/poql/Matches.cs
trunk/api/src/main/c#/api/poql/NotEquals.cs
trunk/api/src/main/c#/api/poql/ParameterExpression.cs
trunk/api/src/main/c#/api/poql/UnaryExpression.cs
trunk/api/src/main/c#/app.config
trunk/api/src/main/c#/lib/
trunk/api/src/main/c#/lib/datatypes/
trunk/api/src/main/c#/lib/datatypes/IDString.cs
trunk/api/src/main/c#/lib/datatypes/IIdentifier.cs
trunk/api/src/main/c#/lib/datatypes/Identifier.cs
trunk/api/src/main/c#/lib/datatypes/ValueType.cs
trunk/api/src/main/c#/lib/math/
trunk/api/src/main/c#/lib/math/Money.cs
trunk/api/src/main/c#/lib/math/Percentage.cs
trunk/api/src/main/c#/lib/time/
trunk/api/src/main/c#/lib/time/Date.cs
trunk/api/src/main/c#/lib/time/DateTimeUtils.cs
trunk/api/src/main/c#/lib/time/Timestamp.cs
trunk/api/src/test/
Added: trunk/api/ProsperAPI.wsdl
===================================================================
--- trunk/api/ProsperAPI.wsdl (rev 0)
+++ trunk/api/ProsperAPI.wsdl 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,435 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.prosper.com/ProsperAPI/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://services.prosper.com/ProsperAPI/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <s:schema elementFormDefault="qualified" targetNamespace="http://services.prosper.com/ProsperAPI/">
+ <s:element name="Describe">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="authenticationToken" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="objectType" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="DescribeResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="DescribeResult" type="tns:DefinitionResult" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:complexType name="DefinitionResult">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="Success" type="s:boolean" />
+ <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Definition" type="tns:Definition" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="Definition">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="Object" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Fields" type="tns:ArrayOfField" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="ArrayOfField">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Field" nillable="true" type="tns:Field" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="Field">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Label" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ <s:element name="Query">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="authenticationToken" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="objectType" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="fields" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="conditionExpression" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="QueryResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="QueryResult" type="tns:ProsperObjectResult" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:complexType name="ProsperObjectResult">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="Success" type="s:boolean" />
+ <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="ProsperObjects" type="tns:ArrayOfProsperObject" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="ArrayOfProsperObject">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ProsperObject" nillable="true" type="tns:ProsperObject" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="ProsperObject" abstract="true" />
+ <s:complexType name="Bid">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="Amount" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="LastModifiedDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="ListingKey" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="MemberKey" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="MinimumRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="ParticipationAmount" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="Status" nillable="true" type="s:int" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:complexType name="Group">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="ApprovalDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="GroupLeaderRewardPercentageOfBase" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="GroupRating" nillable="true" type="s:int" />
+ <s:element minOccurs="1" maxOccurs="1" name="IsAcceptingNewMembers" nillable="true" type="s:boolean" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="ListingReviewRequirement" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="MemberKey" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="ShortDescription" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="ShortName" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="Status" nillable="true" type="s:int" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:complexType name="Listing">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="AmountRequested" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="BidMaximumRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="BorrowerMaximumRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="BorrowerRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="0" maxOccurs="1" name="BorrowerState" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreditGrade" nillable="true" type="s:int" />
+ <s:element minOccurs="1" maxOccurs="1" name="DebtToIncomeRatio" nillable="true" type="s:decimal" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="Duration" nillable="true" type="s:int" />
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="FundingOption" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="GroupKey" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="GroupLeaderRewardRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="LastModifiedDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="ListingNumber" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="MemberKey" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="Status" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:complexType name="Member">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="GroupKey" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="Roles" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="ScreenName" type="s:string" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:element name="Retrieve">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="authenticationToken" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="objectType" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="fields" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="keys" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="RetrieveResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="RetrieveResult" type="tns:ProsperObjectResult" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="DefinitionResult" nillable="true" type="tns:DefinitionResult" />
+ <s:element name="ProsperObjectResult" nillable="true" type="tns:ProsperObjectResult" />
+ </s:schema>
+ </wsdl:types>
+ <wsdl:message name="DescribeSoapIn">
+ <wsdl:part name="parameters" element="tns:Describe" />
+ </wsdl:message>
+ <wsdl:message name="DescribeSoapOut">
+ <wsdl:part name="parameters" element="tns:DescribeResponse" />
+ </wsdl:message>
+ <wsdl:message name="QuerySoapIn">
+ <wsdl:part name="parameters" element="tns:Query" />
+ </wsdl:message>
+ <wsdl:message name="QuerySoapOut">
+ <wsdl:part name="parameters" element="tns:QueryResponse" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveSoapIn">
+ <wsdl:part name="parameters" element="tns:Retrieve" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveSoapOut">
+ <wsdl:part name="parameters" element="tns:RetrieveResponse" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpGetIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpGetOut">
+ <wsdl:part name="Body" element="tns:DefinitionResult" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpGetIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="conditionExpression" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpGetOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpGetIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="keys" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpGetOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpPostIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpPostOut">
+ <wsdl:part name="Body" element="tns:DefinitionResult" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpPostIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="conditionExpression" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpPostOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpPostIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="keys" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpPostOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:portType name="ProsperAPISoap">
+ <wsdl:operation name="Describe">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the definition details for the given object.</wsdl:documentation>
+ <wsdl:input message="tns:DescribeSoapIn" />
+ <wsdl:output message="tns:DescribeSoapOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type that match the conditional expression.</wsdl:documentation>
+ <wsdl:input message="tns:QuerySoapIn" />
+ <wsdl:output message="tns:QuerySoapOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type for the given Keys.</wsdl:documentation>
+ <wsdl:input message="tns:RetrieveSoapIn" />
+ <wsdl:output message="tns:RetrieveSoapOut" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:portType name="ProsperAPIHttpGet">
+ <wsdl:operation name="Describe">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the definition details for the given object.</wsdl:documentation>
+ <wsdl:input message="tns:DescribeHttpGetIn" />
+ <wsdl:output message="tns:DescribeHttpGetOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type that match the conditional expression.</wsdl:documentation>
+ <wsdl:input message="tns:QueryHttpGetIn" />
+ <wsdl:output message="tns:QueryHttpGetOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type for the given Keys.</wsdl:documentation>
+ <wsdl:input message="tns:RetrieveHttpGetIn" />
+ <wsdl:output message="tns:RetrieveHttpGetOut" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:portType name="ProsperAPIHttpPost">
+ <wsdl:operation name="Describe">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the definition details for the given object.</wsdl:documentation>
+ <wsdl:input message="tns:DescribeHttpPostIn" />
+ <wsdl:output message="tns:DescribeHttpPostOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type that match the conditional expression.</wsdl:documentation>
+ <wsdl:input message="tns:QueryHttpPostIn" />
+ <wsdl:output message="tns:QueryHttpPostOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type for the given Keys.</wsdl:documentation>
+ <wsdl:input message="tns:RetrieveHttpPostIn" />
+ <wsdl:output message="tns:RetrieveHttpPostOut" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="ProsperAPISoap" type="tns:ProsperAPISoap">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Describe">
+ <soap:operation soapAction="http://services.prosper.com/ProsperAPI/Describe" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <soap:operation soapAction="http://services.prosper.com/ProsperAPI/Query" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <soap:operation soapAction="http://services.prosper.com/ProsperAPI/Retrieve" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ProsperAPISoap12" type="tns:ProsperAPISoap">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Describe">
+ <soap12:operation soapAction="http://services.prosper.com/ProsperAPI/Describe" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <soap12:operation soapAction="http://services.prosper.com/ProsperAPI/Query" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <soap12:operation soapAction="http://services.prosper.com/ProsperAPI/Retrieve" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ProsperAPIHttpGet" type="tns:ProsperAPIHttpGet">
+ <http:binding verb="GET" />
+ <wsdl:operation name="Describe">
+ <http:operation location="/Describe" />
+ <wsdl:input>
+ <http:urlEncoded />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:mimeXml part="Body" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <http:operation location="/Query" />
+ <wsdl:input>
+ <http:urlEncoded />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:mimeXml part="Body" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <http:operation location="/Retrieve" />
+ <wsdl:input>
+ <http:urlEncoded />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:mimeXml part="Body" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ProsperAPIHttpPost" type="tns:ProsperAPIHttpPost">
+ <http:binding verb="POST" />
+ <wsdl:operation name="Describe">
+ <http:operation location="/Describe" />
+ <wsdl:input>
+ <mime:content type="application/x-www-form-urlencoded" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:mimeXml part="Body" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <http:operation location="/Query" />
+ <wsdl:input>
+ <mime:content type="application/x-www-form-urlencoded" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:mimeXml part="Body" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <http:operation location="/Retrieve" />
+ <wsdl:input>
+ <mime:content type="application/x-www-form-urlencoded" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:mimeXml part="Body" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ProsperAPI">
+ <wsdl:port name="ProsperAPISoap" binding="tns:ProsperAPISoap">
+ <soap:address location="http://services.prosper.com/ProsperAPI.asmx" />
+ </wsdl:port>
+ <wsdl:port name="ProsperAPISoap12" binding="tns:ProsperAPISoap12">
+ <soap12:address location="http://services.prosper.com/ProsperAPI.asmx" />
+ </wsdl:port>
+ <wsdl:port name="ProsperAPIHttpGet" binding="tns:ProsperAPIHttpGet">
+ <http:address location="http://services.prosper.com/ProsperAPI.asmx" />
+ </wsdl:port>
+ <wsdl:port name="ProsperAPIHttpPost" binding="tns:ProsperAPIHttpPost">
+ <http:address location="http://services.prosper.com/ProsperAPI.asmx" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added: trunk/api/src/main/c#/API.csproj
===================================================================
--- trunk/api/src/main/c#/API.csproj (rev 0)
+++ trunk/api/src/main/c#/API.csproj 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,131 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{8B4F4B9C-9662-4AB9-984E-A3779AC859C7}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Prosper</RootNamespace>
+ <AssemblyName>API</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.EnterpriseServices" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="api\common\model\IBid.cs" />
+ <Compile Include="api\common\model\IGroup.cs">
+ <SubType>Code</SubType>
+ </Compile>
+ <Compile Include="api\common\model\IListing.cs">
+ <SubType>Code</SubType>
+ </Compile>
+ <Compile Include="api\common\model\IMember.cs" />
+ <Compile Include="api\poql\All.cs" />
+ <Compile Include="api\poql\Any.cs" />
+ <Compile Include="api\poql\BinaryExpression.cs" />
+ <Compile Include="api\poql\ConstantExpression.cs" />
+ <Compile Include="api\poql\Equals.cs" />
+ <Compile Include="api\poql\Expression.cs" />
+ <Compile Include="api\poql\GreaterThan.cs" />
+ <Compile Include="api\poql\GreaterThanOrEquals.cs" />
+ <Compile Include="api\poql\IBinaryExpression.cs" />
+ <Compile Include="api\poql\IConstantExpression.cs" />
+ <Compile Include="api\poql\IExpression.cs" />
+ <Compile Include="api\poql\IParameterExpression.cs" />
+ <Compile Include="api\poql\IUnaryExpression.cs" />
+ <Compile Include="api\poql\LessThan.cs" />
+ <Compile Include="api\poql\LessThanOrEqual.cs" />
+ <Compile Include="api\poql\LogicalNegation.cs" />
+ <Compile Include="api\poql\NotEquals.cs" />
+ <Compile Include="api\poql\ParameterExpression.cs" />
+ <Compile Include="api\poql\UnaryExpression.cs" />
+ <Compile Include="lib\datatypes\Identifier.cs" />
+ <Compile Include="lib\datatypes\IIdentifier.cs" />
+ <Compile Include="lib\datatypes\IDString.cs" />
+ <Compile Include="lib\datatypes\ValueType.cs" />
+ <Compile Include="lib\math\Money.cs" />
+ <Compile Include="lib\math\Percentage.cs" />
+ <Compile Include="lib\time\Date.cs" />
+ <Compile Include="lib\time\DateTimeUtils.cs" />
+ <Compile Include="lib\time\Timestamp.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Properties\Settings.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
+ <DependentUpon>Settings.settings</DependentUpon>
+ </Compile>
+ <Compile Include="Web References\api.services\Reference.cs">
+ <AutoGen>True</AutoGen>
+ <DesignTime>True</DesignTime>
+ <DependentUpon>Reference.map</DependentUpon>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <WebReferences Include="Web References\" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="app.config" />
+ <None Include="Properties\Settings.settings">
+ <Generator>SettingsSingleFileGenerator</Generator>
+ <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+ </None>
+ </ItemGroup>
+ <ItemGroup>
+ <WebReferenceUrl Include="http://services.prosper.com/ProsperAPI/ProsperAPI.asmx">
+ <UrlBehavior>Dynamic</UrlBehavior>
+ <RelPath>Web References\api.services\</RelPath>
+ <UpdateFromURL>http://services.prosper.com/ProsperAPI/ProsperAPI.asmx</UpdateFromURL>
+ <ServiceLocationURL>
+ </ServiceLocationURL>
+ <CachedDynamicPropName>
+ </CachedDynamicPropName>
+ <CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
+ <CachedSettingsPropName>API_api_services_ProsperAPI</CachedSettingsPropName>
+ </WebReferenceUrl>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Web References\api.services\DefinitionResult.datasource">
+ <DependentUpon>Reference.map</DependentUpon>
+ </None>
+ <None Include="Web References\api.services\ProsperAPI.disco" />
+ <None Include="Web References\api.services\ProsperAPI.wsdl" />
+ <None Include="Web References\api.services\ProsperObjectResult.datasource">
+ <DependentUpon>Reference.map</DependentUpon>
+ </None>
+ <None Include="Web References\api.services\Reference.map">
+ <Generator>MSDiscoCodeGenerator</Generator>
+ <LastGenOutput>Reference.cs</LastGenOutput>
+ </None>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
Added: trunk/api/src/main/c#/API.sln
===================================================================
--- trunk/api/src/main/c#/API.sln (rev 0)
+++ trunk/api/src/main/c#/API.sln 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "API", "API.csproj", "{8B4F4B9C-9662-4AB9-984E-A3779AC859C7}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {8B4F4B9C-9662-4AB9-984E-A3779AC859C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8B4F4B9C-9662-4AB9-984E-A3779AC859C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8B4F4B9C-9662-4AB9-984E-A3779AC859C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8B4F4B9C-9662-4AB9-984E-A3779AC859C7}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: trunk/api/src/main/c#/Properties/AssemblyInfo.cs
===================================================================
--- trunk/api/src/main/c#/Properties/AssemblyInfo.cs (rev 0)
+++ trunk/api/src/main/c#/Properties/AssemblyInfo.cs 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("API")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("API")]
+[assembly: AssemblyCopyright("Copyright © 2007")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("e7fa39ba-fde7-4c20-87a4-23754cd14bb4")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Added: trunk/api/src/main/c#/Properties/Settings.Designer.cs
===================================================================
--- trunk/api/src/main/c#/Properties/Settings.Designer.cs (rev 0)
+++ trunk/api/src/main/c#/Properties/Settings.Designer.cs 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,36 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Prosper.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
+ [global::System.Configuration.DefaultSettingValueAttribute("http://services.prosper.com/ProsperAPI.asmx")]
+ public string API_api_services_ProsperAPI {
+ get {
+ return ((string)(this["API_api_services_ProsperAPI"]));
+ }
+ }
+ }
+}
Added: trunk/api/src/main/c#/Properties/Settings.settings
===================================================================
--- trunk/api/src/main/c#/Properties/Settings.settings (rev 0)
+++ trunk/api/src/main/c#/Properties/Settings.settings 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Prosper.Properties" GeneratedClassName="Settings">
+ <Profiles />
+ <Settings>
+ <Setting Name="API_api_services_ProsperAPI" Type="(Web Service URL)" Scope="Application">
+ <Value Profile="(Default)">http://services.prosper.com/ProsperAPI.asmx</Value>
+ </Setting>
+ </Settings>
+</SettingsFile>
\ No newline at end of file
Added: trunk/api/src/main/c#/Web References/api.services/DefinitionResult.datasource
===================================================================
--- trunk/api/src/main/c#/Web References/api.services/DefinitionResult.datasource (rev 0)
+++ trunk/api/src/main/c#/Web References/api.services/DefinitionResult.datasource 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ This file is automatically generated by Visual Studio .Net. It is
+ used to store generic object data source configuration information.
+ Renaming the file extension or editing the content of this file may
+ cause the file to be unrecognizable by the program.
+-->
+<GenericObjectDataSource DisplayName="DefinitionResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
+ <TypeInfo>Prosper.api.services.DefinitionResult, Web References.api.services.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
+</GenericObjectDataSource>
\ No newline at end of file
Added: trunk/api/src/main/c#/Web References/api.services/ProsperAPI.disco
===================================================================
--- trunk/api/src/main/c#/Web References/api.services/ProsperAPI.disco (rev 0)
+++ trunk/api/src/main/c#/Web References/api.services/ProsperAPI.disco 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
+ <contractRef ref="http://services.prosper.com/ProsperAPI.asmx?wsdl" docRef="http://services.prosper.com/ProsperAPI.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
+ <soap address="http://services.prosper.com/ProsperAPI.asmx" xmlns:q1="http://services.prosper.com/ProsperAPI/" binding="q1:ProsperAPISoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
+ <soap address="http://services.prosper.com/ProsperAPI.asmx" xmlns:q2="http://services.prosper.com/ProsperAPI/" binding="q2:ProsperAPISoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
+</discovery>
\ No newline at end of file
Added: trunk/api/src/main/c#/Web References/api.services/ProsperAPI.wsdl
===================================================================
--- trunk/api/src/main/c#/Web References/api.services/ProsperAPI.wsdl (rev 0)
+++ trunk/api/src/main/c#/Web References/api.services/ProsperAPI.wsdl 2007-04-13 00:23:17 UTC (rev 6)
@@ -0,0 +1,435 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.prosper.com/ProsperAPI/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://services.prosper.com/ProsperAPI/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <s:schema elementFormDefault="qualified" targetNamespace="http://services.prosper.com/ProsperAPI/">
+ <s:element name="Describe">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="authenticationToken" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="objectType" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="DescribeResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="DescribeResult" type="tns:DefinitionResult" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:complexType name="DefinitionResult">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="Success" type="s:boolean" />
+ <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Definition" type="tns:Definition" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="Definition">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="Object" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Fields" type="tns:ArrayOfField" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="ArrayOfField">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Field" nillable="true" type="tns:Field" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="Field">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Label" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ <s:element name="Query">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="authenticationToken" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="objectType" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="fields" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="conditionExpression" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="QueryResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="QueryResult" type="tns:ProsperObjectResult" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:complexType name="ProsperObjectResult">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="Success" type="s:boolean" />
+ <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="ProsperObjects" type="tns:ArrayOfProsperObject" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="ArrayOfProsperObject">
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ProsperObject" nillable="true" type="tns:ProsperObject" />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="ProsperObject" abstract="true" />
+ <s:complexType name="Bid">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="Amount" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="LastModifiedDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="ListingKey" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="MemberKey" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="MinimumRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="ParticipationAmount" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="Status" nillable="true" type="s:int" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:complexType name="Group">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="ApprovalDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="GroupLeaderRewardPercentageOfBase" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="GroupRating" nillable="true" type="s:int" />
+ <s:element minOccurs="1" maxOccurs="1" name="IsAcceptingNewMembers" nillable="true" type="s:boolean" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="ListingReviewRequirement" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="MemberKey" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="ShortDescription" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="ShortName" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="Status" nillable="true" type="s:int" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:complexType name="Listing">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="AmountRequested" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="BidMaximumRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="BorrowerMaximumRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="1" maxOccurs="1" name="BorrowerRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="0" maxOccurs="1" name="BorrowerState" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="CreditGrade" nillable="true" type="s:int" />
+ <s:element minOccurs="1" maxOccurs="1" name="DebtToIncomeRatio" nillable="true" type="s:decimal" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="Duration" nillable="true" type="s:int" />
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="FundingOption" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="GroupKey" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="GroupLeaderRewardRate" nillable="true" type="s:decimal" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="LastModifiedDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="ListingNumber" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="MemberKey" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="1" maxOccurs="1" name="Status" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:complexType name="Member">
+ <s:complexContent mixed="false">
+ <s:extension base="tns:ProsperObject">
+ <s:sequence>
+ <s:element minOccurs="1" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="GroupKey" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" />
+ <s:element minOccurs="1" maxOccurs="1" name="Roles" nillable="true" type="s:int" />
+ <s:element minOccurs="0" maxOccurs="1" name="ScreenName" type="s:string" />
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:element name="Retrieve">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="authenticationToken" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="objectType" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="fields" type="s:string" />
+ <s:element minOccurs="0" maxOccurs="1" name="keys" type="s:string" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="RetrieveResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="RetrieveResult" type="tns:ProsperObjectResult" />
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="DefinitionResult" nillable="true" type="tns:DefinitionResult" />
+ <s:element name="ProsperObjectResult" nillable="true" type="tns:ProsperObjectResult" />
+ </s:schema>
+ </wsdl:types>
+ <wsdl:message name="DescribeSoapIn">
+ <wsdl:part name="parameters" element="tns:Describe" />
+ </wsdl:message>
+ <wsdl:message name="DescribeSoapOut">
+ <wsdl:part name="parameters" element="tns:DescribeResponse" />
+ </wsdl:message>
+ <wsdl:message name="QuerySoapIn">
+ <wsdl:part name="parameters" element="tns:Query" />
+ </wsdl:message>
+ <wsdl:message name="QuerySoapOut">
+ <wsdl:part name="parameters" element="tns:QueryResponse" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveSoapIn">
+ <wsdl:part name="parameters" element="tns:Retrieve" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveSoapOut">
+ <wsdl:part name="parameters" element="tns:RetrieveResponse" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpGetIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpGetOut">
+ <wsdl:part name="Body" element="tns:DefinitionResult" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpGetIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="conditionExpression" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpGetOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpGetIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="keys" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpGetOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpPostIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="DescribeHttpPostOut">
+ <wsdl:part name="Body" element="tns:DefinitionResult" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpPostIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="conditionExpression" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="QueryHttpPostOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpPostIn">
+ <wsdl:part name="authenticationToken" type="s:string" />
+ <wsdl:part name="objectType" type="s:string" />
+ <wsdl:part name="fields" type="s:string" />
+ <wsdl:part name="keys" type="s:string" />
+ </wsdl:message>
+ <wsdl:message name="RetrieveHttpPostOut">
+ <wsdl:part name="Body" element="tns:ProsperObjectResult" />
+ </wsdl:message>
+ <wsdl:portType name="ProsperAPISoap">
+ <wsdl:operation name="Describe">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the definition details for the given object.</wsdl:documentation>
+ <wsdl:input message="tns:DescribeSoapIn" />
+ <wsdl:output message="tns:DescribeSoapOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type that match the conditional expression.</wsdl:documentation>
+ <wsdl:input message="tns:QuerySoapIn" />
+ <wsdl:output message="tns:QuerySoapOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type for the given Keys.</wsdl:documentation>
+ <wsdl:input message="tns:RetrieveSoapIn" />
+ <wsdl:output message="tns:RetrieveSoapOut" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:portType name="ProsperAPIHttpGet">
+ <wsdl:operation name="Describe">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the definition details for the given object.</wsdl:documentation>
+ <wsdl:input message="tns:DescribeHttpGetIn" />
+ <wsdl:output message="tns:DescribeHttpGetOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type that match the conditional expression.</wsdl:documentation>
+ <wsdl:input message="tns:QueryHttpGetIn" />
+ <wsdl:output message="tns:QueryHttpGetOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type for the given Keys.</wsdl:documentation>
+ <wsdl:input message="tns:RetrieveHttpGetIn" />
+ <wsdl:output message="tns:RetrieveHttpGetOut" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:portType name="ProsperAPIHttpPost">
+ <wsdl:operation name="Describe">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the definition details for the given object.</wsdl:documentation>
+ <wsdl:input message="tns:DescribeHttpPostIn" />
+ <wsdl:output message="tns:DescribeHttpPostOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type that match the conditional expression.</wsdl:documentation>
+ <wsdl:input message="tns:QueryHttpPostIn" />
+ <wsdl:output message="tns:QueryHttpPostOut" />
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides the requested fields for all the objects of the given type for the given Keys.</wsdl:documentation>
+ <wsdl:input message="tns:RetrieveHttpPostIn" />
+ <wsdl:output message="tns:RetrieveHttpPostOut" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="ProsperAPISoap" type="tns:ProsperAPISoap">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Describe">
+ <soap:operation soapAction="http://services.prosper.com/ProsperAPI/Describe" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <soap:operation soapAction="http://services.prosper.com/ProsperAPI/Query" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <soap:operation soapAction="http://services.prosper.com/ProsperAPI/Retrieve" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ProsperAPISoap12" type="tns:ProsperAPISoap">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Describe">
+ <soap12:operation soapAction="http://services.prosper.com/ProsperAPI/Describe" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Query">
+ <soap12:operation soapAction="http://services.prosper.com/ProsperAPI/Query" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Retrieve">
+ <soap12:operation soapAction="http://services.prosper.com/ProsperAPI/Retrieve" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ProsperAPIHttpGet" type="tns:ProsperAPIHttpGet">
+ <http:binding verb="GET" />
+ <wsdl:operation name="Describe">
+ <http:operation location="/Describe" /...
[truncated message content] |
|
From: <pro...@li...> - 2007-03-30 22:42:40
|
Revision: 5
http://prosperapi.svn.sourceforge.net/prosperapi/?rev=5&view=rev
Author: jonrssll
Date: 2007-03-30 15:42:37 -0700 (Fri, 30 Mar 2007)
Log Message:
-----------
Added Paths:
-----------
branches/
tags/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pro...@li...> - 2007-03-30 22:23:56
|
Revision: 4
http://prosperapi.svn.sourceforge.net/prosperapi/?rev=4&view=rev
Author: jonrssll
Date: 2007-03-30 15:23:54 -0700 (Fri, 30 Mar 2007)
Log Message:
-----------
Added Paths:
-----------
trunk/api/README.txt
Added: trunk/api/README.txt
===================================================================
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|