var data:Object = new Object();
var _fields = new Object();
_fields.status = "active";
_fields.value = 2000;
_fields.property = 1000;
_fields.start_time = "2012-11-02 17:07:37 -0700";
_fields.end_time = "2013-11-02 17:07:37 -0700";
data.fields = _fields;
sdk.sendRequest("objects/Raffle/create.json", URLRequestMethod.POST, data, false, callback);
Even though the Object I am setting is traced to be the correct format, in the callback, I am always getting the same "Missing fields" in the message returned. Am I doing anything wrong?