public interface SitecatalystWebservice
Modifier and Type | Field and Description |
---|---|
static String |
PN_COMPANY
Property name for company
|
static String |
PN_PASSWORD
Property name for password
|
static String |
PN_REPORTSUITE
Property name for report suite
|
static String |
PN_REPORTSUITES
Property name for report suites
|
static String |
PN_SECRET
Property name for secret
|
static String |
PN_SERVER
Property name for server
|
static String |
PN_USERNAME
Property name for username
|
Modifier and Type | Method and Description |
---|---|
void |
checkCredentials(String company,
String username,
String password)
Deprecated.
|
boolean |
deleteClassifications(Configuration configuration,
String classificationView,
String[] reportSuites,
int divNum,
int parentDivNum)
Deletes a classification from one or more
reportSuites . |
JSONArray |
getClassifications(Configuration configuration,
String classificationView,
String[] reportSuites,
int relationId)
Retrieves a list of classifications (associated with the specified
element) for each of the specified
reportSuites . |
String |
getEvars(Configuration configuration,
String rsid)
Returns a JSON representation of conversion variables (eVar's) for a
report suite
rsid . |
String |
getEvars(SitecatalystAccount account,
String rsid)
Deprecated.
|
String |
getLoginKey(String company,
String username,
String password)
Deprecated.
|
String |
getLoginKey(String server,
String company,
String username,
String password)
Returns the login key (shared secret) for the provided
company ,username and password
combination. |
String |
getMetrics(Configuration configuration,
String rsID)
Retrieves a list of possible valid elements for a report.
|
String |
getPages(Configuration configuration,
Integer limit,
String pagename,
String rsid,
Integer start)
Returns a JSON representation of pages matching the page name
pagename for the report suite rsid . |
String |
getPages(SitecatalystAccount account,
Integer limit,
String pagename,
String rsid,
Integer start)
Deprecated.
|
String |
getReport(Configuration configuration,
String reportID)
Returns a report with report identifier
reportID . |
String |
getReport(SitecatalystAccount account,
String rsid)
Deprecated.
|
String |
getReportStatus(Configuration configuration,
String reportID)
Deprecated.
Use
getReport(Configuration, String) instead. |
String |
getReportStatus(SitecatalystAccount account,
String rsid)
Deprecated.
Use
getReport(Configuration, String) instead. |
String |
getReportSuites(Configuration configuration)
Returns a JSON representation of report suites for a
Configuration . |
String |
getReportSuites(SitecatalystAccount account)
Deprecated.
|
String |
getSuccessEvents(Configuration configuration,
String rsid)
Returns a JSON representation of success events (event's) for the report
suite
rsid . |
String |
getSuccessEvents(SitecatalystAccount account,
String rsid)
Deprecated.
|
String |
getSynchronousReport(Configuration configuration,
String reportType,
JSONObject reportDescription)
Returns a report of type
reportType and report description
reportDescription . |
String |
getTrackingServer(Configuration configuration,
String rsid)
Returns the tracking server URI for a specified ReportSuiteID (
rsid ). |
String |
getTrackingServer(SitecatalystAccount account,
String rsid)
Deprecated.
|
String |
getTrafficVars(Configuration configuration,
String rsid)
Returns a JSON representation of traffic variables (prop's) for a report
suite
rsid . |
String |
getTrafficVars(SitecatalystAccount account,
String rsid)
Deprecated.
|
String |
queuePageViewReport(Configuration configuration,
String rsid,
String date)
Queues a report of type
pageView for a report suite
rsid and the report date date |
String |
queuePageViewReport(SitecatalystAccount account,
String rsid,
String date)
Deprecated.
|
String |
queueReport(Configuration configuration,
String reportType,
JSONObject reportDescription)
Queues a report of type
reportType |
boolean |
saveClassifications(Configuration configuration,
String classificationView,
boolean campaignView,
String name,
int parentDivNum,
String[] reportSuites,
boolean update)
Saves a classification for each of the specified
reportSuites . |
static final String PN_COMPANY
static final String PN_USERNAME
static final String PN_SECRET
static final String PN_SERVER
static final String PN_PASSWORD
static final String PN_REPORTSUITE
static final String PN_REPORTSUITES
@Deprecated void checkCredentials(String company, String username, String password) throws SitecatalystException
company
- username
- password
- SitecatalystException
- - if an error occurs, authentication or
authorization fails.@Deprecated String getLoginKey(String company, String username, String password) throws SitecatalystException
company
,username
and password
combination.company
- Companyusername
- Usernamepassword
- PasswordSitecatalystException
String getLoginKey(String server, String company, String username, String password) throws SitecatalystException
company
,username
and password
combination.server
- Server end point URLcompany
- Companyusername
- Usernamepassword
- PasswordSitecatalystException
@Deprecated String getReportSuites(SitecatalystAccount account) throws SitecatalystException
account
- SitecatalystAccount
SitecatalystException
getReportSuites(Configuration)
String getReportSuites(Configuration configuration) throws SitecatalystException
Configuration
.configuration
- Web service support configurationSitecatalystException
@Deprecated String getTrackingServer(SitecatalystAccount account, String rsid) throws SitecatalystException
account
- SitecatalystAccount
rsid
- Report suite IDSitecatalystException
getTrackingServer(Configuration, String)
String getTrackingServer(Configuration configuration, String rsid) throws SitecatalystException
rsid
).configuration
- Web service support configurationrsid
- SitecatalystException
@Deprecated String getEvars(SitecatalystAccount account, String rsid) throws SitecatalystException
account
- SitecatalystAccount
rsid
- Report suite IDSitecatalystException
getEvars(Configuration, String)
String getEvars(Configuration configuration, String rsid) throws SitecatalystException
rsid
.configuration
- Web service support configurationrsid
- SitecatalystException
@Deprecated String getTrafficVars(SitecatalystAccount account, String rsid) throws SitecatalystException
account
- SitecatalystAccount
rsid
- Report suite IDSitecatalystException
getTrackingServer(Configuration, String)
String getTrafficVars(Configuration configuration, String rsid) throws SitecatalystException
rsid
.configuration
- Web service support configurationrsid
- SitecatalystException
String queueReport(Configuration configuration, String reportType, JSONObject reportDescription) throws SitecatalystException
reportType with the reportDescription
.
configuration
- Web service support configurationreportType
- The type of report to queuereportDescription
- The reportDescription JSON to useSitecatalystException
@Deprecated String queuePageViewReport(SitecatalystAccount account, String rsid, String date) throws SitecatalystException
account
- SitecatalystAccount
rsid
- Report suite IDdate
- SitecatalystException
queuePageViewReport(Configuration, String, String)
String queuePageViewReport(Configuration configuration, String rsid, String date) throws SitecatalystException
pageView
for a report suite
rsid
and the report date date
configuration
- Web service support configurationrsid
- date
- SitecatalystException
@Deprecated String getReportStatus(SitecatalystAccount account, String rsid) throws SitecatalystException
getReport(Configuration, String)
instead.account
- SitecatalystAccount
rsid
- Report suite IDSitecatalystException
getReportStatus(Configuration, String)
@Deprecated String getReportStatus(Configuration configuration, String reportID) throws SitecatalystException
getReport(Configuration, String)
instead.reportID
.configuration
- Web service support configurationreportID
- SitecatalystException
@Deprecated String getReport(SitecatalystAccount account, String rsid) throws SitecatalystException
account
- SitecatalystAccount
rsid
- Report suite IDSitecatalystException
getReport(Configuration, String)
String getReport(Configuration configuration, String reportID) throws SitecatalystException
reportID
.configuration
- Web service support configurationreportID
- SitecatalystException
String getSynchronousReport(Configuration configuration, String reportType, JSONObject reportDescription) throws SitecatalystException
reportType
and report description
reportDescription
.configuration
- Web service support configurationreportType
- the type of report to queuereportDescription
- the reportDescription json to useSitecatalystException
String getMetrics(Configuration configuration, String rsID) throws SitecatalystException
configuration
- Web service support configurationrsID
- The reporting suite idString
SitecatalystException
@Deprecated String getSuccessEvents(SitecatalystAccount account, String rsid) throws SitecatalystException
account
- SitecatalystAccount
rsid
- Report suite IDSitecatalystException
getSuccessEvents(Configuration, String)
String getSuccessEvents(Configuration configuration, String rsid) throws SitecatalystException
rsid
.configuration
- Web service support configurationrsid
- SitecatalystException
@Deprecated String getPages(SitecatalystAccount account, Integer limit, String pagename, String rsid, Integer start) throws SitecatalystException
account
- limit
- pagename
- rsid
- start
- SitecatalystException
getPages(Configuration, Integer, String, String, Integer)
String getPages(Configuration configuration, Integer limit, String pagename, String rsid, Integer start) throws SitecatalystException
pagename
for the report suite rsid
.configuration
- Web service support configurationlimit
- Max. number of pagespagename
- Name of the pagersid
- Report Suite IDstart
- Start point for pagingSitecatalystException
JSONArray getClassifications(Configuration configuration, String classificationView, String[] reportSuites, int relationId) throws SitecatalystException
reportSuites
.configuration
- Web service support configurationclassificationView
- The ID of the element whose classifications are
being retrieved. The possible type IDs include the following elements.
campaign
Classification applied to the Campaign report.days_between_buys
Classification applied to the Days Between Buys report.days_till_purchase
Classification applied to the Days Until Purchase report.domain
Classification applied to the Domain report.evar1-75
Classification applied to the specified eVar report (evar1, evar2, etc.)first_touch_marketing_channel
Classification applied to the First Touch Marketing Channel report.first_touch_marketing_channel_detail
Classification applied to the detailed First Touch Marketing Channel report.last_touch_marketing_channel
Classification applied to the Last Touch Marketing Channel report.last_touch_marketing_channel_detail
Classification applied to the detailed Last Touch Marketing Channel report.loyalty
Classification applied to the Loyalty report.media
Classification applied to the Media report.page
Classification applied to the Page report.page_type1-77
Classification applied to a specific Page Type report.page_type1
Site Sectionspage_type2
Serverspage_type3-77
Custom Insight (Props) 1 - 75.mvvar45-47
Classification applied to a List Var report, mvvar45 - mvvar47 = listvar1 - listvar3.product
Classification applied to the Product report.sitetime
Classification applied to the Site Time report.state
Classification applied to the State report.survey
Classification applied to the Survey report.tnt
Classification applied to the Adobe Target report.visitdepth
Classification applied to the Visit Depth report.visitnum
Classification applied to the VisitNum report.zipcode
Classification applied to the Zip Code report.reportSuites
- A list of report suite IDs.relationId
- (Optional) Numeric ID of the variable for which you want to retrieve associated classifications or -1.
{
rsid: (int),
site_title: (string),
classifications: [{
classifications: [{
child_nodes: [{
rel_id: (int),
userid: (int),
div_name: (string),
div_num: (int),
parent_div_num: (int),
campaign_view_flag: (int),
type: (int),
order: (int),
child_nodes: (array)
}],
div_name: (string),
div_num: (int),
rel_id: (int)
}],
in_queue: (int),
status: (int)
}]
}
SitecatalystException
boolean saveClassifications(Configuration configuration, String classificationView, boolean campaignView, String name, int parentDivNum, String[] reportSuites, boolean update) throws SitecatalystException
reportSuites
.configuration
- Web service support configurationclassificationView
- The ID of the element whose classifications are
being retrieved. The possible type IDs include the following elements.
campaign
Classification applied to the Campaign report.days_between_buys
Classification applied to the Days Between Buys report.days_till_purchase
Classification applied to the Days Until Purchase report.domain
Classification applied to the Domain report.evar1-75
Classification applied to the specified eVar report (evar1, evar2, etc.)first_touch_marketing_channel
Classification applied to the First Touch Marketing Channel report.first_touch_marketing_channel_detail
Classification applied to the detailed First Touch Marketing Channel report.last_touch_marketing_channel
Classification applied to the Last Touch Marketing Channel report.last_touch_marketing_channel_detail
Classification applied to the detailed Last Touch Marketing Channel report.loyalty
Classification applied to the Loyalty report.media
Classification applied to the Media report.page
Classification applied to the Page report.page_type1-77
Classification applied to a specific Page Type report.page_type1
Site Sectionspage_type2
Serverspage_type3-77
Custom Insight (Props) 1 - 75.mvvar45-47
Classification applied to a List Var report, mvvar45 - mvvar47 = listvar1 - listvar3.product
Classification applied to the Product report.sitetime
Classification applied to the Site Time report.state
Classification applied to the State report.survey
Classification applied to the Survey report.tnt
Classification applied to the Adobe Target report.visitdepth
Classification applied to the Visit Depth report.visitnum
Classification applied to the VisitNum report.zipcode
Classification applied to the Zip Code report.campaignView
- Determines whether to treat this classification like
a campaign.name
- Visible name of the classification.parentDivNum
- Contains the parent classification's
div_num
if this is a sub-classification;
otherwise it is 0.reportSuites
- A list of report suite IDs.update
- Enables the classification when set to true
,
disabled it otherwise.true
if the update operation is successful,
false
otherwiseSitecatalystException
boolean deleteClassifications(Configuration configuration, String classificationView, String[] reportSuites, int divNum, int parentDivNum) throws SitecatalystException
reportSuites
.configuration
- Web service support configurationclassificationView
- The ID of the element whose classifications are
being retrieved. The possible type IDs include the following elements.
campaign
Classification applied to the Campaign report.days_between_buys
Classification applied to the Days Between Buys report.days_till_purchase
Classification applied to the Days Until Purchase report.domain
Classification applied to the Domain report.evar1-75
Classification applied to the specified eVar report (evar1, evar2, etc.)first_touch_marketing_channel
Classification applied to the First Touch Marketing Channel report.first_touch_marketing_channel_detail
Classification applied to the detailed First Touch Marketing Channel report.last_touch_marketing_channel
Classification applied to the Last Touch Marketing Channel report.last_touch_marketing_channel_detail
Classification applied to the detailed Last Touch Marketing Channel report.loyalty
Classification applied to the Loyalty report.media
Classification applied to the Media report.page
Classification applied to the Page report.page_type1-77
Classification applied to a specific Page Type report.page_type1
Site Sectionspage_type2
Serverspage_type3-77
Custom Insight (Props) 1 - 75.mvvar45-47
Classification applied to a List Var report, mvvar45 - mvvar47 = listvar1 - listvar3.product
Classification applied to the Product report.sitetime
Classification applied to the Site Time report.state
Classification applied to the State report.survey
Classification applied to the Survey report.tnt
Classification applied to the Adobe Target report.visitdepth
Classification applied to the Visit Depth report.visitnum
Classification applied to the VisitNum report.zipcode
Classification applied to the Zip Code report.reportSuites
- A list of report suite IDs.divNum
- The numeric index of the classification in its group, which
can be obtained from
getClassifications(Configuration, String, String[], int)
parentDivNum
- Contains the parent classification's div_num if this
is a sub-classification; otherwise it is 0.true
if the deletion operation is
successful, false
otherwise.SitecatalystException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"