Values for dateFormat in the REST API for creating a USER ob

Posted by Rollbase User on 02-Oct-2012 17:02

I logged into the REST API and then used the sessionId to create2 a new USER object with the minimum req'd fields. It succeeded, but when I look at the created object, dateFormat was not set. I used the values from the view-source on the normal form for creating a User, but maybe that wasn't correct? http://apps.mydomain.com/rest/api/create2?sessionId=rest-5897978349608108072&objName=USER&firstName=John&lastName=Smith&email=jsmith@mydomain.com&loginName=jsmith&role=Administrator&language=en&dateFormat=7&timeZone=America%2FLos_Angeles&emailEncoding=UTF-8 Another odd thing -- the response says "19 fields have been processed" - why is that? (And can I choose to get back JSON instead of XML?)

All Replies

Posted by Admin on 02-Oct-2012 17:41

I'll take a look and fix ASAP.

Posted by Admin on 02-Oct-2012 23:59

Hi Tim,



To elaborate, the dateFormat issue will be fixed in this weekend's 3.8.1 release. Meanwhile I am checking to see if we can add JSON as an output option for create and create2



Thanks,

Matt

This thread is closed