Loading ...

REST API: Get Administrators | Communifire Documentation

Home » communifire documentation » Wiki » Documentation » REST API » REST API: Users » REST API: Get Administrators

Comments (3)

   
James
James
I'm using the code sample from above but keep getting the following exception when I make my POST:

InnerXml: "<RestResponse xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><IsError>true</IsError><ResponseData i:nil=\"true\" /><ResponseMessage>ExceptionMessage:Object reference not set to an instance of an object.\r\nStackTrace: at Communifire.Common.Util.GetUserIP()\r\n at Communifire.BL.Users.UserRepository.AddNew(DyveUser user, Boolean fireNoEvents, Int32&amp; userID)\r\n at Communifire.Services.UserService.CreateUser(DyveUserDTO user)\r\nDateCreated:6/5/2012 8:29:01 PM\r\nRequestedURI:http://zttest.communifire.com/services/userservice.svc/users\r\nQueryParameters:</ResponseMessage></RestResponse>"
Any ideas of what need to change?
My post data is : "<DyveUserDTO><Email>test@test.com</Email><IP>127.0.0.1</IP><Password>password</Password><UserName>jttest</UserName></DyveUserDTO>";
6/5/2012 08:39 PM
 · 
by
   
vivek-thakur
Hi James,

Which version are you using? The latest DLLs are of this version: 3.0.4535

Make sure you have upgraded to the latest version.
6/6/2012 04:29 PM
 · 
by
   
terence
terence
The API can output data only in JSON or XML format.  If anyone wants the data in CSV format json-csv.com has an online converter you can use.
3/23/2015 12:05 PM
 · 
by

Pages

Intranet Software