Version: | 1.03 |
Description | This API has been designed to be used by external systems. The documentation below illustrates the methods that are available in this API. You can click on the method name in the list of Available Methods below to get more details about the parameters that it needs and also a test form to try out the method against your own control panel. |
Usage |
Use
"HttpAPI.asp?action=[MethodName]&Username=[MasterAdminLoginName]&Password=[MasterAdminPassword]&{AdditionalData}" e.g."HttpAPI.asp?action=GetUsers&Username=Adminsitrator&Password=letmein" Both GET and POST methods are supported and results are returned in XML format. You can use the Microsoft HTTPXML object in your own ASP or ASP.NET applications to call methods using this HTTP API, the result will be returned in XML format. |
General | |
Name | Description |
APIVersion | Returns the current version of this API |
WebWizForumsVersion | Returns the current version of Web Wiz Forums |
Member Management | |
Name | Description |
CreateNewMember | Creates a new Web Wiz Forums Member |
GetMemberByName | Returns details on the member by Member Name |
GetMemberByID | Returns details on the member by Member ID (Author_ID in database) |
ActivateMember | Sets members account status to active |
SuspendMember | Sets members account status to suspended |
UnsubspendMember | Remove suspended status from members account |
LoginMemberCookie | Returns members login cookie data, to create your own login cookie to the forum |
LogoutMember | Forces logout of member |
ChangeMemberPassword | Changes the password for a members account |
Forum Management | |
Name | Description |
GetForums | Returns list of forums |
LockForumByID | Locks a Forum by Forum ID (Forum_ID in database) to prevent new posts being made |
UnLockForumByID | UnLocks a Forum by Forum ID (Forum_ID in database) |
Topic Management | |
Name | Description |
GetTopicNameByID | Returns details on the topic by Topic ID (Topic_ID in database) |
GetLastTopics | Gets the Last Topics (Unlike RSS Feeds this also returns results for non-public forums) |
GetLastTopicsByForumID | Gets the Last Topics by Forum ID (Forum_ID in database) |
CloseTopicByID | Closes Topic by ID |
OpenTopicByID | Opens Locked Topic By ID |
Post Management | |
Name | Description |
GetLastPosts | Gets the Last Posts across all forums (Unlike RSS Feeds this also returns results for non-public forums) |
GetLastPostsByForumID | Gets the Last Topics from a particular forum by Forum ID (Forum_ID in database) |
Returned Results |
Successful Result in XML The following is an example of data being returned if the method is successful. The ErrorCode will be 0 with a blank ErrorDescription. Depending on the method will determine how many records are returned in the ResultData. <?xml version="1.0" encoding="utf-8" standalone="yes" ?> Unsuccessful Result in XML The following is an example of data being returned if the method is unsuccessful. The ErrorCode will be a negative number (eg. -150), and the ErrorDescription will contain a description of the error. The ResultData will be blank. <?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
Returns the current version of Web Wiz Forums
Creates a new Web Wiz Forums Member
Returns details on the member
Returns details on the membefrom their member ID (Author_ID)
Sets members account status to active
Sets members account status to suspended
Remove suspended status from members account
Returns members login cookie data, to create your own login cookie to the forum
Forces logout of member
Changes the password for a members account
Returns list of forums
Locks a Forum by Forum ID (Forum_ID in database) to prevent new posts being made
Returns details on the topic by Topic ID (Topic_ID in database)
Gets the Last Topics across all forums (Unlike RSS Feeds this also returns results for non-public forums)
Gets the Last Topics from a particular forum by Forum ID (Forum_ID in database)
Closes Topic by Topic ID
Opens Locked Topic By ID
Gets the Last Posts across all forums (Unlike RSS Feeds this also returns results for non-public forums)
Gets the Lasts Posts from a particular forum by Forum ID (Forum_ID in database)
* Field is required when executing the method