Browse by Tags

Tagged Content List
  • Forum Post: Re: Permissions

    Jose, That does make sense. Where I have struggled in the past is enrolling tons of new customers in my database. Is sounds like the REST API may help me here. Is there any documentation so I can do some testing of a bulk import with the rest API, or perhaps pass variables in an encrypted string to...
  • Forum Post: Re: REST web service API

    Will it be possible to create new users via the REST Web Services API?
  • Forum Post: Re: REST web service API

    I keep getting There was an error: System.Net.WebException: Invalid Credentials at CommunityServer.WebServices.Common.BaseService.GetResponse(String url) at CommunityServer.WebServices.Common.BaseService.ValidateUserApiKey(String username, String apiKey) at CommunityServer.WebServices.Common.BaseService...
  • Forum Post: Re: Rest API - Invalid Credentials

    I can view the XML generated by browsing the the various URLs of the web service but I still can't get the API to work. I just wrote a simple console application with one method but it always fails with the error above. using CommunityServer.WebServices.Membership; using CommunityServer.WebServices;...
  • Forum Post: Re: Rest API - Invalid Credentials

    Could this be a licensing thing? Our license says that it's "currently inactive" because we have a license from 2007.1 installed. We have the ability to upgrade and I'm just waiting on Telligent to get back to me with the new key.
  • Forum Post: Re: Rest API - Invalid Credentials

    I tried to use the example in the API documentation but that didn't work either: BlogsService service = new BlogsService("http://localhost/cs/", "admin", "l7stbpjd"); Blog blog = service.GetBlog("sample_weblog"); List<BlogPost> posts = service.GetBlogPosts...
  • Forum Post: Re: REST web service API

    Martin Button I'm using the web services with an API key generated for admin. The name I believe is just for reference, you use the username in the credentials. I'm using the same code as you to instantiate the web service and it's working so I'm not sure what your doing differently...
  • Forum Post: Re: Rest API - Invalid Credentials

    afscrome confirm that you have a user with the username admin Yes, I have that and he's in the system administrator role which is set to be able to use the REST API afscrome try creating another user and seeing if you can access him via REST I tried creating a new user too and that gave...
  • Forum Post: Re: Rest API - Invalid Credentials

    Interesting note: I tried to connect to http://communityserver.org with my profile's API key and it gave me a different error: You are not authorized to use the service So, at least the connection code should be working - it's just that my install of CS 2008 RC1 is not validating it's...
  • Forum Post: REST web service API

    Am I missing something or is there any documentation on how to utilize this? I want to automate a conversion of users from a legacy system, but have seen that the recommended way is to use the REST API, but cannot find any documentation anywhere for that.
  • Forum Post: Re: Rest API - Invalid Credentials

    Yes, the API has been enabled and "SystemAdministrator" has access and my admin account exists and is in the "SystemAdministrator" role. I tried it with granting access to just "SystemAdministrator" and then I tried by granting access to every single role. Neither worked...
  • Forum Post: Re: Rest API - Invalid Credentials

    I finally got it to connect using the alias for local host: 127.0.0.1 service = new MembershipService ( "http://127.0.0.1/cs/" , "admin" , "l7stbpjd" ); Now, why wouldn't localhost work?
  • Forum Post: REST API - working with extended attributes

    How does one get or set extended attributes on users, forum posts, etc.? Thanks, Troy
  • Forum Post: REST-API 403 when connecting via webclient

    Hi, I'm trying to connect to the API via the webclient class because I need the ratings functions, but they're not in the proxy as of the RC. The proxy works, but when I connect using the same information via web client I have the 403 response. I'm trying to handle ratings for blog posts...
  • Forum Post: REST-API Updating a post rating returns HTTP 403

    Hi, I'm having trouble updating a rating for a post using the REST-API. Create worked fine, so I'm a bit confused at this point. Here's my code to do the create and update: double ? oldRating = GetUserRating(postID, userID); System.Net. WebClient client = SetupClient(username); string...
  • Forum Post: ERROR Using REST API to Create a new Group

    I am using the REST API to create a new group. Below is the code. The code always fails when I call webservice.AddGroup(group) with the following error "Object reference not set to an instance of an object." The Group is created and I can access it using the CS front end but why the error...
  • Forum Post: Catching REST API Exceptions and recording to CS?

    Anyway to record exceptions from REST API calls to the Exceptions Report?
  • Forum Post: Batch / Mass insert of new users using REST API

    I would like to know how to mass import users (and hopefully user types) by using the API and either a TXT file or XML. Any ideas? We would like to be able to mass import users from a CSV, TXT, or XML file and thought the API would allow for this, but documentation is scarece. Any help, pointers, ideas...
  • Forum Post: Rest API - Invalid Credentials

    I keep getting an Invalid Credential error when I try to connect to the REST API of my local site. System.Net.WebException: Invalid Credentials at CommunityServer.WebServices.Common.BaseService.GetResponse(String url) at CommunityServer.WebServices.Common.BaseService.ValidateUserApiKey(String username...
  • Forum Post: REST API - BlogPostType

    Why is the BlogPostType enum different than the one on the main API library? Isn't this supposed to be consistent? The one on the REST API has values like Category, Day Month... no Article, Comment, Post Also, it is not possible to create a BlogPost as an Article from the REST API...
  • Forum Post: REST API version?

    Hi there, Quick, very simple, question - what's the status of the REST API, I can't figure out if it's still in beta or not? Thanks, Toby
  • Forum Post: Re: CacheFactor for REST API

    So I ran into the problem I was noticing before with data caching and the REST API. If I add a new blog post using the API with the default cache factor setting of 5, and then get the Blog that I posted to with the API, it should return the Blog with the new post in it but it doesn't. If I set...
  • Forum Post: REST API

    So, does anyone have a working example on how to use the API or at least an example of the interface so I can figure out the various calls? Without some form of documentation, REST is much harder to figure out when compared to SOAP. With SOAP, you have the wsdl to help you out, but I can't find any...
  • Forum Post: REST API - setting a user's JoinDate or LastLogin date?

    I'm migrating users from an older forum system. I'd like to preserve "First Login" and "Last Login" from my old forums. My code looks something like this: MembershipService := MembershipService.Create('http://localhost/cs/', 'admin', 'asdfadsf')...
  • Forum Post: Single Sign On - Get User By Email

    I am trying to integrate single sign on. When user enters username and email which do not exists, it creates a new user with that username and empty profile. But when user enters a username(new) and email(of existing user) and tries to login. I create a cookie and redirect them to the site. But it gives...