Tagged Content List
View more results: All Community | Developer Space
  • Forum Thread: Sample code for adding user plus roles via webservice

    Hi Is there any sample code for adding users and roles using the webservices api? I guess I am used to Microsoft giving one sample code to look and learn... I have just installed CS 2008.5 for a client (forums.encephalitis.info). The client wants to add users to specific Groups depending on payment...
  • Forum Thread: REST API Posts - Using HTTP POST

    Does anybody have any sample code how to make POST calls to the REST API using just an HTTP call? For example I can create make a call to get blog posts by using the code below. 43 string AllBlogsURL = "api/blogs.ashx/blogs/24/posts" ; 44 WebRequest request = WebRequest .Create...
  • Forum Thread: REST API for CS 2008.5 was not working: FIXED

    Hello. I have seen this before, but I'm here to remind it. The REST API of Community Server 2008.5 (the latest release) can not be connected using the proxy classes that CommuntyServer.WebServices.dll includes. However, 2008 SP1 works perfectly. The error message that I get everytime I make...
  • Forum Thread: User Extended Attributes and the rest api

    I would like to be able to access information stored as extended attributes in the user class from the rest api. Unfortunately it appears that this information is not serialized with the rest of the data. Is there any possibility of an update or extension to the rest api so that these extended attributes...
  • Forum Thread: Thread "Subject"

    Greetings, I am using API to get all the threads, I am getting an error when trying to get the subject for the threads. it is blank for all the records. can any one help me in this issue????? ForumsService service = new ForumsService(" http://localhost:100/ ", "admin", "nt584hmp"...
  • Forum Thread: RESTful API - Create User

    Hello, Using CS 2008 SP2. I am attempting to create a new user via the POST method. I am able to get data and update existing users, but I am unable to create users. I can include the requests (via fiddler) and can only think of one thing, that the url "<root>/boards/api/membership.ashx...
  • Forum Thread: Web Services SDK?

    I'm looking for the source code for the web services in the SDK. Specifically, the source code for the classes behind /API/*.ashx, which are in the namespace "CommunityServer.WebServices.Services". For context, I am looking to extend the web services to expose some custom functionality...
  • Wiki Page: How the Platform API pipeline works

    This article details how a request is handled by the new Platform API (REST Web Services) pipeline in CommunityServer.Rest . During application startup, RouteRegistrar.RegisterRoutes() is called. It registers all routes from RouteRegistrar in the routing engine. This causes a call that matches the...
  • Wiki Page: How to: Add custom controllers and actions

    Beginning with the Telligent Evolution platform REST/SDK 5.5.2 release, we've made building and adding your own custom endpoints to your Telligent Evolution site much easier. The CustomEndpoint project in the platform SDK provides a complete end-to-end example of a custom endpoint from registering...
  • Wiki Page: How to: Add custom routes

    The Telligent Evolution platform SDK 5.5.2 provides two examples of creating custom REST routes: one that uses a custom handler for performing functionality outside of the basic REST spectrum and another that uses the standard Telligent Evolution REST pipeline - RestRouteHandler and RestHttpHandler ...
  • Forum Thread: Invalid Querystrings in new API?

    I'm troubleshooting an issue for APAN and am seeking the community's help. Prior to the recent REST API upgrade, this ajax call worked fine: ---- snip---- $.ajax({ url: '/api.ashx/v2/users/someuser.json?rnd=' + Math.random(), beforeSend: function(xhr) { TelligentUtility...
  • Forum Thread: Setting the User's twitter user profile field via REST API is not working

    I am trying to update a user's Twitter field with Telligent Community 6.1, but it is not recognizing it. For example in the console I issue a PUT request to users/19925.json with: _ProfileFields_Twitter=twitter as my data. It comes back with { "Label": "Twitter", "Value"...
  • Forum Thread: REST API - View unanswered questions (Community 7.x)

    Hi there, I am using the following to query for unanswered questions. <host>/api.ashx/v2/forums/{forumid}/threads/unanswered.json This returns posts having a ThreadStatus of NotAnswered, but does not include those having ThreadStatus of AnsweredNotVerified. How can I include those in my result...
  • Forum Thread: Creating user through REST doesn't trigger welcome email

    I'm using REST to create new users to our community, but the welcome email does not get generated when I do so through REST, only when we add users directly through the Membership administration. The only difference between the two is that when I do so through REST, I'm also populating various...
  • Wiki Page: Introduction to REST

    REST is an acronym for "Representational State Transfer." It is a style of software architecture used for querying and delivering data in client/server systems. The most popular way to implement a REST architecture is by using the HTTP protocol: REST over HTTP. The best-known implementation...
  • Wiki Page: Activity messages

    Activity messages are shown in the Activity Message List widget that is typically included on the home page of a community or within a group to highlight recent activity within the community or group. We provide two endpoints that let you retrieve and add activity messages. You can: List activity...
  • Wiki Page: Create an activity message

    Endpoint POST api.ashx/v2/users/{username}/activities.xml (or .json) Endpoint POST api.ashx/v2/users/{userid}/activities.xml (or .json) Request ActivityMessageCreateRequest UserId Optional Either UserId or Username required. Username Optional Either UserId or Username required...
  • Wiki Page: Delete an activity message

    Endpoint POST (Header: DELETE) api.ashx/v2/activities/{messageid}.xml (or .json) Request ActivityMessageDeleteRequest MessageId Required MessageId Example (C#) var webClient = new WebClient(); // replace the "admin" and "Admin's API key" with your...
  • Wiki Page: List activity messages

    Endpoint GET api.ashx/v2/users/{username}/activities.xml (or .json) - Get activities for a user Endpoint GET api.ashx/v2/users/{userid}/activities.xml (or .json) - Get activities for a user Endpoint GET api.ashx/v2/groups/{groupid}/activities.xml (or .json) - Get activities for a group Endpoint...