
| Overview | Methods | Sample Code |
The Brightidea Application Programming Interface (API) allows you to access your data that was created using Brightidea On Demand Products. The API can be used for creating advanced reports to creating and updating user profiles.
Our API uses a method known as Representational State Transfer (REST). It is a simple protocol based on requesting data in the form of an HTTP request, and receiving the data back in an XML format.
All sensitive information including your key is encrypted using SSL during transmission between your network and Brightidea’s. Access is protected through the use of a key we issue to you. Please contact your Account Services representative for a key.
To ensure good response time for all requests, API accounts will be limited to the amount of data they can access in a given request and hour. There is a limit on the number of rows returned from each List call and the number of calls which can be made per hour. An API call using the method bi.api.get will return the number for both of these limits. If you need to access more data from a List call than the maximum rows allowed per call from your account, be sure to use the SQL query and perform multiple calls to ensure all data is retrieved.
All API calls will return data using UTF-8 encoding. Additionally, all user entered data (i.e. screen names, idea descriptions, etc..) will be wrapped in CDATA tags to ensure that no user entered data will disrupt the XML formatting.
If the API has encountered an error, it will return the error message in XML format. Here is an example of a possible error:
< ?xml version = "1.0" encoding="UTF-8"?>
<ERROR>
<ID>12345678</ID>
<CODE>1</CODE>
<DESCRIPTION>Invalid or expired BI API key.</DESCRIPTION>
</ERROR>
|
bi.api
bi.api.getbi.api.getAffiliateList bi.api.getAPICallList bi.api.getPermissionList bi.affiliate
bi.affiliate.createbi.affiliate.get bi.affiliate.getBlogList bi.affiliate.getBlogCommentList bi.affiliate.getBlogTagList bi.affiliate.getCampaignList bi.affiliate.getCampaignStatusList bi.affiliate.getCategoryList bi.affiliate.getIdeaList bi.affiliate.getIdeaCommentList bi.affiliate.getIdeaTagList bi.affiliate.getIdeaViewList bi.affiliate.getIdeaVoteList bi.affiliate.getMemberList bi.affiliate.getMemberLoginList bi.affiliate.getMemberTransactionList bi.affiliate.getProjectList bi.affiliate.getStatusList bi.affiliate.getTworkList bi.affiliate.member
bi.affiliate.member.authenticatebi.affiliate.member.create bi.affiliate.member.createSession bi.affiliate.member.getByEmail bi.affiliate.member.getByID bi.affiliate.member.getByScreenName bi.affiliate.member.getAccessibleCampaignList bi.affiliate.member.getBlogList bi.affiliate.member.getBlogCommentList bi.affiliate.member.getBlogTagList bi.affiliate.member.getIdeaList bi.affiliate.member.getIdeaCommentList bi.affiliate.member.getIdeaTagList bi.affiliate.member.getIdeaViewList bi.affiliate.member.getIdeaVoteList bi.affiliate.member.getLoginList bi.affiliate.member.getTransactionList bi.affiliate.member.getTworkList bi.affiliate.member.update bi.affiliate.member.transaction
bi.affiliate.member.transaction.getbi.affiliate.campaign
bi.affiliate.campaign.create.basicbi.affiliate.campaign.create.advanced bi.affiliate.campaign.get bi.affiliate.campaign.getBlogList bi.affiliate.campaign.getBlogCommentList bi.affiliate.campaign.getBlogTagList bi.affiliate.campaign.getCategoryList bi.affiliate.campaign.getIdeaList bi.affiliate.campaign.getIdeaCommentList bi.affiliate.campaign.getIdeaTagList bi.affiliate.campaign.getIdeaViewList bi.affiliate.campaign.getIdeaVoteList bi.affiliate.campaign.getMemberTransactionList bi.affiliate.campaign.getStatusList bi.affiliate.campaign.category
bi.affiliate.campaign.category.createbi.affiliate.campaign.category.get bi.affiliate.status
bi.affiliate.status.createbi.affiliate.status.get bi.affiliate.twork
bi.affiliate.twork.createbi.affiliate.twork.get bi.affiliate.blogtopic
bi.affiliate.blogtopic.createbi.affiliate.blogtopic.get bi.affiliate.blogtopic.getBlogList bi.affiliate.blogtopic.blog
bi.affiliate.blogtopic.blog.createbi.affiliate.blogtopic.blog.get bi.affiliate.blogtopic.blog.getCommentList bi.affiliate.blogtopic.blog.getTagList bi.affiliate.campaign.idea
bi.affiliate.campaign.idea.createbi.affiliate.campaign.idea.get bi.affiliate.campaign.idea.getCommentList bi.affiliate.campaign.idea.getTagList bi.affiliate.campaign.idea.getViewList bi.affiliate.campaign.idea.getVoteList bi.affiliate.campaign.idea.updateStatus bi.affiliate.blogtopic.blog.comment
bi.affiliate.blogtopic.blog.comment.createbi.affiliate.blogtopic.blog.comment.get bi.affiliate.campaign.idea.comment
bi.affiliate.campaign.idea.comment.createbi.affiliate.campaign.idea.comment.get bi.affiliate.blogtopic.blog.tag
bi.affiliate.blogtopic.blog.tag.createbi.affiliate.blogtopic.blog.tag.get bi.affiliate.campaign.idea.tag
bi.affiliate.campaign.idea.tag.createbi.affiliate.campaign.idea.tag.get bi.affiliate.campaign.idea.view
bi.affiliate.campaign.idea.view.createbi.affiliate.campaign.idea.vote
bi.affiliate.campaign.idea.vote.createbi.affiliate.project
bi.affiliate.project.getbi.affiliate.project.phase
bi.affiliate.project.phase.get |
bi.api.get
Description
Returns all data for this BI API Key.
HTTP Request Method: GET
Required Permission: bi.api - Get
Arguments
none
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<API> <KEY>11111111</KEY> <STATUS>Active</STATUS> <EXPIRATION_DATE>11/12/2008 9:21:47 AM</EXPIRATION_DATE> <COMPANY_NAME><![CDATA[Brightidea]]></COMPANY_NAME> <ROW_LIMIT>1000</ROW_LIMIT> <CALL_LIMIT>300</CALL_LIMIT> </API> Errors
Invalid or expired BI API key.
API call limit exceeded.
Permission denied.
bi.api.getAffiliateList
Description
Returns a list of existing affiliates accessible with your BI API Key.
HTTP Request Method: GET
Required Permission: bi.affiliate - Get
Arguments
none
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<AFFILIATES> <AFFILIATE> <ID>OD111</ID> <NAME><![CDATA[Test Affiliate]]></NAME> <LOGIN_URL><![CDATA[http://www.brightidea.com/ondemand/welcome.asp?a=OD111]]></LOGIN_URL> </AFFILIATE> </AFFILIATES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Permission denied.
bi.api.getAPICallList
Description
Returns a list of API calls made from your BI API account.
HTTP Request Method: GET
Required Permission: bi.api - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<API_CALLS> <API_CALL> <FUNCTION>bi.api.get</FUNCTION> <RETURN_STATUS>success</RETURN_STATUS> <DATE>11/12/2008 9:21:47 AM</DATE> </API_CALL> </API_CALLS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Permission denied.
Invalid SQL query.
bi.api.getPermissionList
Description
Returns a list of permissions available to your BI API account.
HTTP Request Method: GET
Required Permission: bi.api.permission - Get
Arguments
none
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<PERMISSIONS> <PERMISSION> <NAME>bi.api - Get</NAME> </PERMISSION> </PERMISSIONS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Permission denied.
bi.affiliate.create
Description
Creates a new affiliate.
HTTP Request Method: POST
Required Permission: bi.affiliate - Create
Arguments
n (System Name): Required
This will be the name of the new affiliate.
e (Admin Email): Required
This will be the email of the Admin account for the affiliate.
sn (Admin Screen Name): Required
This will be the screen name of the Admin account for the affiliate.
p (Admin Password): Required
This will be the password of the Admin account for the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<AFFILIATE> <ID>OD111</ID> <NAME><![CDATA[Test Affiliate]]></NAME> <LOGIN_URL><![CDATA[http://www.brightidea.com/ondemand/welcome.asp?a=OD111]]></LOGIN_URL> </AFFILIATE> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Affiliate licenses exceeded.
Required data not supplied.
bi.affiliate.get
Description
Returns an existing affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate - Get
Arguments
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<AFFILIATE> <ID>OD111</ID> <NAME><![CDATA[Test Affiliate]]></NAME> <LOGIN_URL><![CDATA[http://www.brightidea.com/ondemand/welcome.asp?a=OD111]]></LOGIN_URL> </AFFILIATE> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
bi.affiliate.getBlogList
Description
Gets a list of existing blogs under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOGS> <BLOG> <ID>11111111-1111-1111-1111-111111111111</ID> <TOPIC_ID>11111111-1111-1111-1111-111111111111</TOPIC_ID> <TITLE><![CDATA[Title of the new blog.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new blog.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </BLOG> </BLOGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getBlogCommentList
Description
Get a list of existing blog comments under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getBlogTagList
Description
Get a list of exising blog tags under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getCampaignList
Description
Returns a list of existing campaigns belonging to an affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CAMPAIGNS> <CAMPAIGN> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Test Campaign]]></NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <END_DATE>11/12/2008 9:21:47 AM</END_DATE> <ACTIVE>1</ACTIVE> <LOGIN_URL><![CDATA[http://www.brightidea.com/ct/ct_login.bix?c=11111111-1111-1111-1111-111111111111]]></LOGIN_URL> </CAMPAIGN> </CAMPAIGNS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getCampaignStatusList
Description
Returns a list of campaign level statuses under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.status - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<STATUSES> <STATUS> <ID>11111111-1111-1111-1111-111111111111</ID> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <NAME>Test Status</NAME> </STATUS> </STATUSES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getCategoryList
Description
Returns a list of existing categories under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.category - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CATEGORIES> <CATEGORY> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Category</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> </CATEGORY> </CATEGORIES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getIdeaList
Description
Gets a list of existing ideas under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<IDEAS> <IDEA> <ID>11111111-1111-1111-1111-111111111111</ID> <CODE>D101</CODE> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <SCORE>3</SCORE> <TITLE><![CDATA[Title of the new idea.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new idea.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <DATE_MODIFIED>11/12/2008 9:21:47 AM</DATE_MODIFIED> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <CATEGORY_ID>11111111-1111-1111-1111-111111111111</CATEGORY_ID> <STATUS_ID>11111111-1111-1111-1111-111111111111</STATUS_ID> <ANONYMOUS>False</ANONYMOUS> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </IDEA> </IDEAS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getIdeaCommentList
Description
Get a list of existing idea comments under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <BODY><![CDATA[Test Comment]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getIdeaTagList
Description
Get a list of exising idea tags under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getIdeaViewList
Description
Get a list of exising idea views under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.view - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VIEWS> <VIEW> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VIEW> </VIEWS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getIdeaVoteList
Description
Get a list of exising idea votes under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.vote - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VOTES> <VOTE> <TYPE>Promote</TYPE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VOTE> </VOTES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getMemberList
Description
Returns a list of member accounts belonging to an affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.member - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBERS> <MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> </MEMBERS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getMemberLoginList
Description
Returns a list of member logins under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.member.login - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<LOGINS> <LOGIN> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>11/12/2008 9:21:47 AM</DATE> </LOGIN> </LOGINS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getMemberTransactionList
Description
Returns a list of member transactions under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.member.transaction - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TRANSACTIONS> <TRANSACTION> <ID>11111111-1111-1111-1111-111111111111</ID> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <MEMBER_ID_GIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_GIVER> <MEMBER_ID_RECEIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_RECEIVER> <TYPE>PROMOTE_IDEA</TYPE> <DATE>11/12/2008 9:21:47 AM</DATE> <REFERENCE_ID>11111111-1111-1111-1111-111111111111</REFERENCE_ID> <POINTS>3</POINTS> </TRANSACTION> </TRANSACTIONS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getProjectList
Description
Returns a list of projects under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.project - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<PROJECTS> <PROJECT> <ID>11111111-1111-1111-1111-111111111111</ID> <PROCESS_ID>11111111-1111-1111-1111-111111111111</PROCESS_ID> <TITLE><![CDATA[Title of the project.]]></TITLE> <DESCRIPTION><![CDATA[Description of the project.]]></DESCRIPTION> <DATE>8/29/2008 12:05:29 PM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </PROJECT> </PROJECTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getStatusList
Description
Returns a list of affiliate level statuses under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.status - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<STATUSES> <STATUS> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Status</NAME> </STATUS> </STATUSES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.getTworkList
Description
Returns a list of tworks under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.twork - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TWORKS> <TWORK> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Twork]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </TWORK> </TWORKS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.authenticate
Description
Verifies a member's login credentials.
HTTP Request Method: POST
Required Permission: bi.affiliate.member - Authenticate
Arguments
affiliate_id (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
email (Email): Required
This is the email of the member account.
password (Password): Required
This is the password of the member account.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Authentication failed.
Required data not supplied.
bi.affiliate.member.create
Description
Creates a new member under a given affiliate.
HTTP Request Method: POST
Required Permission: bi.affiliate.member - Create
Arguments
affiliate_id (Affiliate ID): Required
This is the affiliate ID under which the new member account will be created.
email (Email): Required
This is the email for the new member account.
password (Password): Required
This is the password for the new member account.
screen_name (Screen Name): Required
This is the screen name for the new member account.
first_name (First Name): Optional
This is the first name of the new member.
last_name (Last Name): Optional
This is the last name of the new member.
photo (Photo): Optional
This is a file object which will be uploaded and used as the photo for the new member account.
employee_id (External Employee ID): Optional
This is the external employee ID for the new member account if you have an existing member system. (Typically used only for SSO accounts.)
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Requested email or screen name is not avaliable or is invalid.
Member licenses exceeded.
Required data not supplied.
bi.affiliate.member.createSession
Description
Creates a validated session token for use with custom SSO.
HTTP Request Method: POST
Required Permission: bi.affiliate.member - Create Session
Arguments
affiliate_id (Affiliate ID): Required
This is the affiliate ID under which the member account exists.
campaign_id (Campaign ID): Optional
This is the campaign ID the member will be logging into.
email (Email): Required
This is the email for the member account.
screen_name (Screen Name): Optional
This is the screen name for the member account.
first_name (First Name): Optional
This is the first name of the member.
last_name (Last Name): Optional
This is the last name of the member.
employee_id (External Employee ID): Optional
This is the external employee ID for the member account if you have an existing member system.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<SESSION_TOKEN>11111111-1111-1111-1111-111111111111</SESSION_TOKEN> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Required data not supplied.
bi.affiliate.member.getByEmail
Description
Returns a member account given an email.
HTTP Request Method: GET
Required Permission: bi.affiliate.member - Get
Arguments
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
e (Email): Required
This is the email address of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member email.
Required data not supplied.
bi.affiliate.member.getByID
Description
Returns a member account given a member ID.
HTTP Request Method: GET
Required Permission: bi.affiliate.member - Get
Arguments
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
bi.affiliate.member.getByScreenName
Description
Returns a member account given a screen name.
HTTP Request Method: GET
Required Permission: bi.affiliate.member - Get
Arguments
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
n (Screen Name): Required
This is the screen name of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member screen name.
Required data not supplied.
bi.affiliate.member.getAccessibleCampaignList
Description
Gets a list of existing campaigns that a member has access to.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CAMPAIGNS> <CAMPAIGN> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Test Campaign]]></NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <END_DATE>11/12/2008 9:21:47 AM</END_DATE> <ACTIVE>1</ACTIVE> <LOGIN_URL><![CDATA[http://www.brightidea.com/ct/ct_login.bix?c=11111111-1111-1111-1111-111111111111]]></LOGIN_URL> </CAMPAIGN> </CAMPAIGNS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getBlogList
Description
Gets a list of existing blogs submitted by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOGS> <BLOG> <ID>11111111-1111-1111-1111-111111111111</ID> <TOPIC_ID>11111111-1111-1111-1111-111111111111</TOPIC_ID> <TITLE><![CDATA[Title of the new blog.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new blog.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </BLOG> </BLOGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getBlogCommentList
Description
Returns a list of existing blog comments submitted by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> <BODY><![CDATA[Test Comment]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getBlogTagList
Description
Get a list of exising blog tags submitted by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getIdeaList
Description
Gets a list of existing ideas submitted by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<IDEAS> <IDEA> <ID>11111111-1111-1111-1111-111111111111</ID> <CODE>D101</CODE> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <SCORE>3</SCORE> <TITLE><![CDATA[Title of the new idea.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new idea.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <DATE_MODIFIED>11/12/2008 9:21:47 AM</DATE_MODIFIED> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <CATEGORY_ID>11111111-1111-1111-1111-111111111111</CATEGORY_ID> <STATUS_ID>11111111-1111-1111-1111-111111111111</STATUS_ID> <ANONYMOUS>False</ANONYMOUS> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </IDEA> </IDEAS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getIdeaCommentList
Description
Get a list of existing idea comments under a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getIdeaTagList
Description
Get a list of exising idea tags submitted by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getIdeaViewList
Description
Get a list of idea views by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.view - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VIEWS> <VIEW> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VIEW> </VIEWS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getIdeaVoteList
Description
Get a list of exising idea votes submitted by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.vote - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VOTES> <VOTE> <TYPE>Promote</TYPE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VOTE> </VOTES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getLoginList
Description
Get a list of successful logins by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.member.login - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<LOGINS> <LOGIN> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </LOGIN> </LOGINS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getTransactionList
Description
Get a list of transactions given and received by a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.member.transaction - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TRANSACTIONS> <TRANSACTION> <ID>11111111-1111-1111-1111-111111111111</ID> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <MEMBER_ID_GIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_GIVER> <MEMBER_ID_RECEIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_RECEIVER> <TYPE>PROMOTE_IDEA</TYPE> <DATE>11/12/2008 9:21:47 AM</DATE> <REFERENCE_ID>11111111-1111-1111-1111-111111111111</REFERENCE_ID> <POINTS>3</POINTS> </TRANSACTION> </TRANSACTIONS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.getTworkList
Description
Returns a list of tworks under a given member.
HTTP Request Method: GET
Required Permission: bi.affiliate.twork - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TWORKS> <TWORK> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Twork]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </TWORK> </TWORKS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.member.update
Description
Returns a member account given a member.
HTTP Request Method: POST
Required Permission: bi.affiliate.member - Update
Arguments
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member.
password (Password): Optional
This is the password for the member account.
first_name (First Name): Optional
This is the first name of the member.
last_name (Last Name): Optional
This is the last name of the member.
employee_id (External Employee ID): Optional
This is the external employee ID for the member account if you have an existing member system. (Typically used only for SSO accounts.)
job_title (Job Title): Optional
This is the job title of the member.
address (Address): Optional
This is the home address of the member.
phone (Primary Phone): Optional
This is the primary phone number of the member.
mobile_phone (Mobile Phone): Optional
This is the mobile phone number of the member.
work_history (Work History): Optional
This is a brief work histoy of the member.
skills (Skills): Optional
This is a list of job skills of the member.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<MEMBER> <ID>11111111-1111-1111-1111-111111111111</ID> <AFFILIATE_ID>OD111</AFFILIATE_ID> <EMAIL>testuser@brightidea.com</EMAIL> <SCREEN_NAME><![CDATA[Test User]]></SCREEN_NAME> <FIRST_NAME><![CDATA[John]]></FIRST_NAME> <LAST_NAME><![CDATA[Doe]]></LAST_NAME> <PHOTO_URL><![CDATA[http://www.brightidea.com/ct/attachment.asp?a=OD111&attachment_id=11111111-1111-1111-1111-111111111111]]></PHOTO_URL> <JOB_TITLE><![CDATA[Job title goes here.]]></JOB_TITLE> <SKILLS><![CDATA[Job skills go here.]]></SKILLS> <WORK_HISTORY><![CDATA[Work history goes here.]]></WORK_HISTORY> <PHONE><![CDATA[555-555-5555]]></PHONE> <MOBILE_PHONE><![CDATA[555-555-5555]]></MOBILE_PHONE> <ADDRESS><![CDATA[111 Anydrive]]></ADDRESS> <EMAIL_NOTIFICATION>Yes</EMAIL_NOTIFICATION> <DATE>8/29/2008 12:05:29 PM</DATE> <DATE_MODIFIED>8/29/2008 12:05:29 PM</DATE_MODIFIED> </MEMBER> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
bi.affiliate.member.transaction.get
Description
Returns a member's transaction.
HTTP Request Method: GET
Required Permission: bi.affiliate.member.transaction - Get
Arguments
t (Transaction ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the transaction.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TRANSACTION> <ID>11111111-1111-1111-1111-111111111111</ID> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <MEMBER_ID_GIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_GIVER> <MEMBER_ID_RECEIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_RECEIVER> <TYPE>PROMOTE_IDEA</TYPE> <DATE>11/12/2008 9:21:47 AM</DATE> <REFERENCE_ID>11111111-1111-1111-1111-111111111111</REFERENCE_ID> <POINTS>3</POINTS> </TRANSACTION> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid transaction id.
Required data not supplied.
bi.affiliate.campaign.create.basic
Description
Creates a new campaign under a given affiliate.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign - Create
Arguments
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
n (Campaign Name): Required
This is the name of the new campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CAMPAIGN> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Test Campaign]]></NAME> <LOGIN_URL><![CDATA[http://www.brightidea.com/ct/ct_login.bix?c=11111111-1111-1111-1111-111111111111]]></LOGIN_URL> </CAMPAIGN> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
bi.affiliate.campaign.create.advanced
Description
Creates a new campaign under a given affiliate.
HTTP Request Method: POST
Required Permission: bi.affiliate.campaign - Create
Arguments
affiliate_id (Affiliate ID): Optional
This is the ID (i.e. OD111) of the affiliate (Leave blank if you wish to create a new affiliate).
demo_code (Demo Code): Optional
This is the demo code given to you by Brightidea (Leave blank if you do not have one).
admin_email (Administrator Email): Optional
This is the email of the administrator account (Leave blank if you are using an existing affiliate).
admin_screen_name (Administrator Screen Name): Optional
This is the screen name of the administrator account (Leave blank if you are using an existing affiliate).
admin_password (Administrator Password): Optional
This is the password of the administrator account (Leave blank if you are using an existing affiliate).
affiliate_name (Affiliate Name): Optional
This is the name of the affiliate (Leave blank if you are using an existing affiliate).
campaign_name (Campaign Name): Required
This is the name of the new campaign.
campaign_description (Campaign Description): Optional
This is the description of the new campaign.
campaign_url (Campaign URL): Required
This is the vanity URL for the new campaign (e.g. testcampaign).
privacy (Public or Private Campaign?): Optional
This variable should be sent as either "Private" or "Public". By default, this option will be set to Private.
registration (Open or Closed Registration?): Optional
This variable should be sent as either "Open" or "Closed". By default, this option will be set to Open.
category_1 - category_25 (Category Titles): Optional
These are the category titles if you wish to create categories.
status_1 - status_15 (Status Titles): Optional
These are the status titles if you wish to create statuses (Leave blank if you are using an existing affiliate).
banner (Banner Image): Optional
This is a file object which will be uploaded and used as the banner for the campaign. (Recommended width is 950 pixels.)
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CAMPAIGN> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Test Campaign]]></NAME> <LOGIN_URL><![CDATA[http://www.brightidea.com/ct/ct_login.bix?c=11111111-1111-1111-1111-111111111111]]></LOGIN_URL> </CAMPAIGN> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid demo code.
Invalid affiliate id.
Required data not supplied.
bi.affiliate.campaign.get
Description
Returns an existing campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign - Get
Arguments
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CAMPAIGN> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Test Campaign]]></NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <END_DATE>11/12/2008 9:21:47 AM</END_DATE> <ACTIVE>1</ACTIVE> <LOGIN_URL><![CDATA[http://www.brightidea.com/ct/ct_login.bix?c=11111111-1111-1111-1111-111111111111]]></LOGIN_URL> </CAMPAIGN> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
bi.affiliate.campaign.getBlogList
Description
Returns a list of existing blogs under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOGS> <BLOG> <ID>11111111-1111-1111-1111-111111111111</ID> <TOPIC_ID>11111111-1111-1111-1111-111111111111</TOPIC_ID> <TITLE><![CDATA[Title of the new blog.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new blog.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </BLOG> </BLOGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getBlogCommentList
Description
Get a list of existing blog comments under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getBlogTagList
Description
Get a list of exising blog tags under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getCategoryList
Description
Returns a list of existing categories under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.category - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CATEGORIES> <CATEGORY> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Category</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> </CATEGORY> </CATEGORIES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getIdeaList
Description
Returns a list of existing ideas under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<IDEAS> <IDEA> <ID>11111111-1111-1111-1111-111111111111</ID> <CODE>D101</CODE> <SCORE>3</SCORE> <TITLE><![CDATA[Title of the new idea.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new idea.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <DATE_MODIFIED>11/12/2008 9:21:47 AM</DATE_MODIFIED> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <CATEGORY_ID>11111111-1111-1111-1111-111111111111</CATEGORY_ID> <STATUS_ID>11111111-1111-1111-1111-111111111111</STATUS_ID> <ANONYMOUS>False</ANONYMOUS> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </IDEA> </IDEAS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getIdeaCommentList
Description
Get a list of existing idea comments under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getIdeaTagList
Description
Returns a list of existing idea tags under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getIdeaViewList
Description
Returns a list of idea views under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.view - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VIEWS> <VIEW> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VIEW> </VIEWS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getIdeaVoteList
Description
Returns a list of idea votes under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.vote - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VOTES> <VOTE> <TYPE>Promote</TYPE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VOTE> </VOTES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getMemberTransactionList
Description
Returns a list of member transactions under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.member.transaction - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TRANSACTIONS> <TRANSACTION> <ID>11111111-1111-1111-1111-111111111111</ID> <CAMPAIGN_ID>11111111-1111-1111-1111-111111111111</CAMPAIGN_ID> <MEMBER_ID_GIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_GIVER> <MEMBER_ID_RECEIVER>11111111-1111-1111-1111-111111111111</MEMBER_ID_RECEIVER> <TYPE>PROMOTE_IDEA</TYPE> <DATE>11/12/2008 9:21:47 AM</DATE> <REFERENCE_ID>11111111-1111-1111-1111-111111111111</REFERENCE_ID> <POINTS>3</POINTS> </TRANSACTION> </TRANSACTIONS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.getStatusList
Description
Returns a list of campaign level statuses under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.status - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<STATUSES> <STATUS> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Status</NAME> </STATUS> </STATUSES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.category.create
Description
Creates a new category under a given campaign.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.category - Create
Arguments
c (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
t (Category Title): Required
This is the title of the new category.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CATEGORY> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Category</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> </CATEGORY> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
bi.affiliate.campaign.category.get
Description
Returns an existing category.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.category - Get
Arguments
c (Category ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the category.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<CATEGORY> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Category</NAME> <DATE>11/12/2008 9:21:47 AM</DATE> </CATEGORY> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid category id.
Required data not supplied.
bi.affiliate.status.create
Description
Creates a new status under a given affiliate.
HTTP Request Method: POST
Required Permission: bi.affiliate.status - Create
Arguments
a (Affiliate ID): Required
This is the ID (i.e. OD111) of the affiliate.
t (Status Title): Required
This is the title of the new status.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<STATUS> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Status</NAME> </STATUS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
bi.affiliate.status.get
Description
Returns an existing status.
HTTP Request Method: GET
Required Permission: bi.affiliate.status - Get
Arguments
s (Status ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the status.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<STATUS> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>Test Status</NAME> </STATUS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid status id.
Required data not supplied.
bi.affiliate.twork.create
Description
Creates a new twork under a given affiliate.
HTTP Request Method: POST
Required Permission: bi.affiliate.twork - Create
Arguments
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member posting the twork.
body (Twork Body): Required
This is the body of the new twork.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TWORK> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Twork]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </TWORK> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid member id.
Required data not supplied.
bi.affiliate.twork.get
Description
Returns an existing status.
HTTP Request Method: GET
Required Permission: bi.affiliate.twork - Get
Arguments
t (Twork ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the twork.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TWORK> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Twork]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </TWORK> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid twork id.
Required data not supplied.
bi.affiliate.blogtopic.create
Description
Creates a new blog topic under a given affiliate.
HTTP Request Method: POST
Required Permission: bi.affiliate.blogtopic - Create
Arguments
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the blog topic.
name (Name): Required
This is the name of the new blog topic.
description (Description): Required
This is the description of the new blog topic.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOG_TOPIC> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Name of the new blog topic.]]></NAME> <DESCRIPTION><![CDATA[Description of the new blog topic.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </BLOG_TOPIC> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid affiliate id.
Required data not supplied.
bi.affiliate.blogtopic.get
Description
Returns an existing blog topic.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic - Get
Arguments
t (Blog Topic ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog topic (campaign ID if for campaign admin blog).
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOG_TOPIC> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME><![CDATA[Name of the new blog topic.]]></NAME> <DESCRIPTION><![CDATA[Description of the new blog topic.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </BLOG_TOPIC> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog topic id.
Required data not supplied.
bi.affiliate.blogtopic.getBlogList
Description
Returns a list of existing blogs under a given blog topic.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
t (Blog Topic ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog topic (campaign ID if for campaign admin blog).
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOGS> <BLOG> <ID>11111111-1111-1111-1111-111111111111</ID> <TOPIC_ID>11111111-1111-1111-1111-111111111111</TOPIC_ID> <TITLE><![CDATA[Title of the new blog.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new blog.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </BLOG> </BLOGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog topic id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.blogtopic.blog.create
Description
Creates a new blog under a given campaign.
HTTP Request Method: POST
Required Permission: bi.affiliate.blogtopic.blog - Create
Arguments
topic_id (Topic ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog topic (campaign ID if for campaign admin blog).
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the blog.
title (Title): Required
This is the title of the new blog.
body (Body): Required
This is the body of the new blog.
tag_1 - tag_5 (Tags): Optional
These are optional tags which can be attached to the blog.
attachment (File Attachment): Optional
This is an optional file which will be uploaded and attached to the blog.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOG> <ID>11111111-1111-1111-1111-111111111111</ID> <TOPIC_ID>11111111-1111-1111-1111-111111111111</TOPIC_ID> <TITLE><![CDATA[Title of the new blog.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new blog.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </BLOG> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
bi.affiliate.blogtopic.blog.get
Description
Gets an existing blog.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog - Get
Arguments
b (Blog ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<BLOG> <ID>11111111-1111-1111-1111-111111111111</ID> <TOPIC_ID>11111111-1111-1111-1111-111111111111</TOPIC_ID> <TITLE><![CDATA[Title of the new blog.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new blog.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </BLOG> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog id.
Required data not supplied.
bi.affiliate.blogtopic.blog.getCommentList
Description
Get a list of existing blog comments under a given blog.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
b (Blog ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.blogtopic.blog.getTagList
Description
Get a list of exising blog tags under a given blog.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
b (Blog ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.idea.create
Description
Creates a new idea under a given campaign.
HTTP Request Method: POST
Required Permission: bi.affiliate.campaign.idea - Create
Arguments
campaign_id (Campaign ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the campaign.
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the idea.
category_id (Category ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the category the idea should be added to.
title (Title): Required
This is the title of the new idea.
body (Body): Required
This is the body of the new idea.
tag_1 - tag_5 (Tags): Optional
These are optional tags which can be attached to the idea.
attachment (File Attachment): Optional
This is an optional file which will be uploaded and attached to the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<IDEA> <ID>11111111-1111-1111-1111-111111111111</ID> <SCORE>3</SCORE> <TITLE><![CDATA[Title of the new idea.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new idea.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <CATEGORY_ID>11111111-1111-1111-1111-111111111111</CATEGORY_ID> <STATUS_ID>11111111-1111-1111-1111-111111111111</STATUS_ID> <ANONYMOUS>False</ANONYMOUS> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </IDEA> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid campaign id.
Required data not supplied.
bi.affiliate.campaign.idea.get
Description
Gets an existing idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea - Get
Arguments
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<IDEA> <ID>11111111-1111-1111-1111-111111111111</ID> <CODE>D101</CODE> <SCORE>3</SCORE> <TITLE><![CDATA[Title of the new idea.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new idea.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <DATE_MODIFIED>11/12/2008 9:21:47 AM</DATE_MODIFIED> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <CATEGORY_ID>11111111-1111-1111-1111-111111111111</CATEGORY_ID> <STATUS_ID>11111111-1111-1111-1111-111111111111</STATUS_ID> <ANONYMOUS>False</ANONYMOUS> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </IDEA> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Required data not supplied.
bi.affiliate.campaign.idea.getCommentList
Description
Get a list of existing idea comments under a given idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.comment - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENTS> <COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Comment]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <VISIBLE>True</VISIBLE> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> </COMMENTS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.idea.getTagList
Description
Get a list of exising idea tags under a given idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.tag - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAGS> <TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> </TAG> </TAGS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.idea.getViewList
Description
Get a list of exising idea views for a given idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.view - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VIEWS> <VIEW> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VIEW> </VIEWS> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.idea.getVoteList
Description
Get a list of exising idea votes under a given idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.vote - Get
Arguments
q (SQL query): Optional
An SQL style query which accepts the WHERE, ORDER BY and LIMIT syntax. (WHERE date > '11/23/09' ORDER BY date DESC LIMIT 5, 10). Passing COUNT will return the total row count for this table instead of the data.
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VOTES> <VOTE> <TYPE>Promote</TYPE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VOTE> </VOTES> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Required data not supplied.
Invalid SQL query.
bi.affiliate.campaign.idea.updateStatus
Description
Updates the status of a given idea.
HTTP Request Method: GET or POST
Required Permission: bi.affiliate.campaign.idea - Update Status
Arguments
idea_id (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
status_id (Status ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the status.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<IDEA> <ID>11111111-1111-1111-1111-111111111111</ID> <TITLE><![CDATA[Title of the new idea.]]></TITLE> <DESCRIPTION><![CDATA[Description of the new idea.]]></DESCRIPTION> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <CATEGORY_ID>11111111-1111-1111-1111-111111111111</CATEGORY_ID> <STATUS_ID>11111111-1111-1111-1111-111111111111</STATUS_ID> <ANONYMOUS>False</ANONYMOUS> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </IDEA> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Required data not supplied.
bi.affiliate.blogtopic.blog.comment.create
Description
Create a new comment under a given blog.
HTTP Request Method: POST
Required Permission: bi.affiliate.blogtopic.blog.comment - Create
Arguments
blog_id (Blog ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog.
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the comment.
body (Body): Required
This is the body of the comment.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog id.
Invalid member id.
Required data not supplied.
bi.affiliate.blogtopic.blog.comment.get
Description
Get an existing blog comment.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.comment - Get
Arguments
c (Comment ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the comment.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BLOG_ID>11111111-1111-1111-1111-111111111111</BLOG_ID> <BODY><![CDATA[Test Comment]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_blog.bix?c=11111111-1111-1111-1111-111111111111&bID=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid comment id.
Required data not supplied.
bi.affiliate.campaign.idea.comment.create
Description
Create a new comment under a given idea.
HTTP Request Method: POST
Required Permission: bi.affiliate.campaign.idea.comment - Create
Arguments
idea_id (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the comment.
body (Body): Required
This is the body of the comment.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <BODY><![CDATA[Test Comment.]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Invalid member id.
Required data not supplied.
bi.affiliate.campaign.idea.comment.get
Description
Get an existing idea comment.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.comment - Get
Arguments
c (Comment ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the comment.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<COMMENT> <ID>11111111-1111-1111-1111-111111111111</ID> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <BODY><![CDATA[Test Comment]]></BODY> <DATE>11/12/2008 9:21:47 AM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> <URL><![CDATA[http://www.brightidea.com/ct/ct_a_view_idea.bix?c=11111111-1111-1111-1111-111111111111&idea_id=11111111-1111-1111-1111-111111111111]]></URL> </COMMENT> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid comment id.
Required data not supplied.
bi.affiliate.blogtopic.blog.tag.create
Description
Create a new blog tag under an existing blog.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.tag - Create
Arguments
b (Blog ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the blog.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the tag.
n (Tag Name): Required
This is the tag name.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> </TAG> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid blog id.
Invalid member id.
Required data not supplied.
bi.affiliate.blogtopic.blog.tag.get
Description
Get an existing blog tag under a given blog.
HTTP Request Method: GET
Required Permission: bi.affiliate.blogtopic.blog.tag - Get
Arguments
t (Tag ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the tag.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> </TAG> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid tag id.
Required data not supplied.
bi.affiliate.campaign.idea.tag.create
Description
Create a new idea tag under an existing idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.tag.create - Create
Arguments
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the tag.
n (Tag Name): Required
This is the tag name.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> </TAG> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Invalid member id.
Required data not supplied.
bi.affiliate.campaign.idea.tag.get
Description
Get an existing idea tag under a given idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.tag - Get
Arguments
t (Tag ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the tag.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<TAG> <ID>11111111-1111-1111-1111-111111111111</ID> <NAME>TestTag</NAME> </TAG> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid tag id.
Required data not supplied.
bi.affiliate.campaign.idea.view.create
Description
Create a new idea view under a given idea.
HTTP Request Method: GET
Required Permission: bi.affiliate.campaign.idea.view - Create
Arguments
i (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
m (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member viewing the idea.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VIEW> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VIEW> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Invalid idea id.
Invalid member id.
Required data not supplied.
bi.affiliate.campaign.idea.vote.create
Description
Create a new idea vote under a given idea.
HTTP Request Method: POST
Required Permission: bi.affiliate.campaign.idea.vote - Create
Arguments
idea_id (Idea ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the idea.
member_id (Member ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the member creating the vote.
type (Vote Type): Required
This is the type of vote to create, and should be sent as either "Promote" or "Demote".
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<VOTE> <TYPE>Promote</TYPE> <IDEA_ID>11111111-1111-1111-1111-111111111111</IDEA_ID> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <DATE>8/29/2008 12:05:29 PM</DATE> </VOTE> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Vote exists. - (only one promote/demote per idea is allowed)
Required data not supplied.
bi.affiliate.project.get
Description
Get an existing project.
HTTP Request Method: GET
Required Permission: bi.affiliate.project - Get
Arguments
p (Project ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the project.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<PROJECT> <ID>11111111-1111-1111-1111-111111111111</ID> <PROCESS_ID>11111111-1111-1111-1111-111111111111</PROCESS_ID> <TITLE><![CDATA[Title of the project.]]></TITLE> <DESCRIPTION><![CDATA[Description of the project.]]></DESCRIPTION> <DATE>8/29/2008 12:05:29 PM</DATE> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </PROJECT> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Required data not supplied.
bi.affiliate.project.phase.get
Description
Get an existing project.
HTTP Request Method: GET
Required Permission: bi.affiliate.project.phase - Get
Arguments
p (Phase ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the phase.
pj (Project ID): Required
This is the ID (i.e. 11111111-1111-1111-1111-111111111111) of the project.
Example Response
< ?xml version = "1.0" encoding="UTF-8"?>
<PHASE> <ID>11111111-1111-1111-1111-111111111111</ID> <PROJECT_ID>11111111-1111-1111-1111-111111111111</PROJECT_ID> <TITLE><![CDATA[Title of the phase.]]></TITLE> <DESCRIPTION><![CDATA[Description of the phase.]]></DESCRIPTION> <ORDER>1</ORDER> <MEMBER_ID>11111111-1111-1111-1111-111111111111</MEMBER_ID> <MEMBER_NAME><![CDATA[Test User]]></MEMBER_NAME> </PHASE> Errors
Invalid or expired BI API key.
API call limit exceeded.
Access denied.
Permission denied.
Required data not supplied.
|