<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Freeside%3A4%3ADocumentation%3ADeveloper%2FFS%2Fclientapi_session</id>
		<title>Freeside:4:Documentation:Developer/FS/clientapi session - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Freeside%3A4%3ADocumentation%3ADeveloper%2FFS%2Fclientapi_session"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/clientapi_session&amp;action=history"/>
		<updated>2026-08-08T01:18:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/clientapi_session&amp;diff=9065&amp;oldid=prev</id>
		<title>Jeremyd: Edit via perl MediaWiki framework (1.13)</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/clientapi_session&amp;diff=9065&amp;oldid=prev"/>
				<updated>2015-11-18T15:18:19Z</updated>
		
		<summary type="html">&lt;p&gt;Edit via perl MediaWiki framework (1.13)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==NAME==&lt;br /&gt;
FS::clientapi_session - Object methods for clientapi_session records&lt;br /&gt;
&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  use FS::clientapi_session;&lt;br /&gt;
 &lt;br /&gt;
  $record = new FS::clientapi_session \%hash;&lt;br /&gt;
  $record = new FS::clientapi_session { 'column' =&amp;gt; 'value' };&lt;br /&gt;
 &lt;br /&gt;
  $error = $record-&amp;gt;insert;&lt;br /&gt;
 &lt;br /&gt;
  $error = $new_record-&amp;gt;replace($old_record);&lt;br /&gt;
 &lt;br /&gt;
  $error = $record-&amp;gt;delete;&lt;br /&gt;
 &lt;br /&gt;
  $error = $record-&amp;gt;check;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
An FS::clientapi_session object represents an FS::ClientAPI session. FS::clientapi_session inherits from FS::Record. The following fields are currently supported:&lt;br /&gt;
&lt;br /&gt;
; sessionnum - primary key; sessionid - session ID; namespace - session namespace&lt;br /&gt;
==METHODS==&lt;br /&gt;
; new HASHREF&lt;br /&gt;
:Creates a new record. To add the record to the database, see [[#insert|&amp;quot;insert&amp;quot;]].&lt;br /&gt;
&lt;br /&gt;
:Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the ''hash'' method.&lt;br /&gt;
; insert&lt;br /&gt;
:Adds this record to the database. If there is an error, returns the error, otherwise returns false.&lt;br /&gt;
; delete&lt;br /&gt;
:Delete this record from the database.&lt;br /&gt;
; replace OLD_RECORD&lt;br /&gt;
:Replaces the OLD_RECORD with this one in the database. If there is an error, returns the error, otherwise returns false.&lt;br /&gt;
; check&lt;br /&gt;
:Checks all fields to make sure this is a valid record. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.&lt;br /&gt;
&lt;br /&gt;
==BUGS==&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[Freeside:4:Documentation:Developer/FS/ClientAPI|FS::ClientAPI]], &amp;lt;FS::Record&amp;gt;, schema.html from the base documentation.&lt;/div&gt;</summary>
		<author><name>Jeremyd</name></author>	</entry>

	</feed>