|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.kassenterprises.soapserver.AplReportService
Overview
The AplReportService class offers service methods to request core portfolio
accounting data in XML format. The primary method is
getReportStream()
. The getReportStream()
method
can be used to retrieve various types of data, often as XML documents. For
example, you can request holdings (position and tax lots), transactions,
gain/loss, and performace data using this method. PDF reports are also
available via the getPDFStream()
method.
The data set you retrieve is controlled by the value of the
parameters you supply to the getReportStream()
method.
While the meaning of these parameters is documented in the API
section below, this document
provides the specifics about what reports are available and how to
use the parameters to retrieve the specific data set of interest
to you.
Note: A getVersion()
service method is also supplied. This
method may be used to retrieve the current name and version of the APL
Navigator SOAP AplReportService. Note that this service can also be
used as a simple test to check whether you can reach the AplReportService.
Constructor Summary | |
AplReportService()
Constructor is not used or needed to make requests on AplReportService |
Method Summary | |
byte[] |
getPDFStream(java.lang.String transId,
java.lang.String customerCode,
java.lang.String userId,
java.lang.String reportName,
java.lang.String startDate,
java.lang.String endDate,
java.lang.String filter,
java.lang.String model,
java.lang.String selectedAccount,
java.lang.String allowableAccounts)
For returning (binary) PDF data as the SOAP-ENC:Base64 subtype (instead * of as a string as the getReportStream() does). |
java.lang.String |
getPortfolio(java.lang.String transId,
java.lang.String customerCode,
java.lang.String userId,
java.lang.String reportName,
java.lang.String endDate,
java.lang.String selectedAccount,
java.lang.String allowableAccounts)
Equivalent to making the call: getReportStream(transId, customerCode, userId, "AODTAXLOTSXML",
null, endDate, selectedAccount, allowableAccounts) . |
java.lang.String |
getReportStream(java.lang.String transId,
java.lang.String customerCode,
java.lang.String userId,
java.lang.String reportName,
java.lang.String startDate,
java.lang.String endDate,
java.lang.String selectedAccount,
java.lang.String allowableAccounts)
|
java.lang.String |
getReportStream(java.lang.String transId,
java.lang.String customerCode,
java.lang.String userId,
java.lang.String reportName,
java.lang.String startDate,
java.lang.String endDate,
java.lang.String filter,
java.lang.String model,
java.lang.String selectedAccount,
java.lang.String allowableAccounts)
Request a report stream (data set) from APL SOAP server |
java.lang.String |
getVersion(java.lang.String transId,
java.lang.String customerCode)
Request AplReportService Version #. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AplReportService()
Method Detail |
public java.lang.String getVersion(java.lang.String transId, java.lang.String customerCode)
transId
- ignored; reserved for future use of async messagingcustomerCode
- The APL Navigator acronym of customer making requestpublic java.lang.String getReportStream(java.lang.String transId, java.lang.String customerCode, java.lang.String userId, java.lang.String reportName, java.lang.String startDate, java.lang.String endDate, java.lang.String filter, java.lang.String model, java.lang.String selectedAccount, java.lang.String allowableAccounts) throws org.apache.soap.SOAPException
transId
- ignored; reserved for future use of async messagingcustomerCode
- The APL Navigator acronym of customer making requestuserId
- The APL Navigator user id request is on behalf ofreportName
- The desired reportstartDate
- The start date for the report, if any; otherwise nullendDate
- The end date for the reportfilter
- Filter criterion, if any; otherwise nullmodel
- Model selection, if any; otherwise nullselectedAccount
- Account selection to run report forallowableAccounts
- Temp override of user default for this fieldorg.apache.soap.SOAPException
- public java.lang.String getReportStream(java.lang.String transId, java.lang.String customerCode, java.lang.String userId, java.lang.String reportName, java.lang.String startDate, java.lang.String endDate, java.lang.String selectedAccount, java.lang.String allowableAccounts) throws org.apache.soap.SOAPException
getReportStream(String, String, String, String, String, String,
String, String, String, String)
public byte[] getPDFStream(java.lang.String transId, java.lang.String customerCode, java.lang.String userId, java.lang.String reportName, java.lang.String startDate, java.lang.String endDate, java.lang.String filter, java.lang.String model, java.lang.String selectedAccount, java.lang.String allowableAccounts) throws org.apache.soap.SOAPException
getReportStream(String, String, String, String, String, String,
String, String, String, String).
public java.lang.String getPortfolio(java.lang.String transId, java.lang.String customerCode, java.lang.String userId, java.lang.String reportName, java.lang.String endDate, java.lang.String selectedAccount, java.lang.String allowableAccounts) throws org.apache.soap.SOAPException
getReportStream(transId, customerCode, userId, "AODTAXLOTSXML",
null, endDate, selectedAccount, allowableAccounts)
. Note that
the call to getReportStream()
is preferred.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |