/**
  * Create a record.
  * @REST
  */
 public function postAction()
 {
     // Create record.
     $record = new NeatlineRecord();
     $post = Zend_Json::decode($this->_request->getRawBody());
     $record->saveForm($post);
     // Respond with record data.
     echo Zend_Json::encode($record->toArray());
 }