staffPutRecord

Used to create or update a record for the specified table.

Input

When update a record, the fields number and generation must be passed and part of the data container. Only fields that are updated need be passed.

 <SOAP-ENV:Body>
  <ns:staffPutRecord>
   <appsessionid></appsessionid>
   <authsessionid></authsessionid>
   <create>0</create>
   <table></table>
   <form></form>
   <data>
    <elems>
     <name></name>
     <list></list>
     <length>0</length>
     <stype>0</stype>
     <dtype>0</dtype>
     <permission>0</permission>
     <message></message>
     <flags>0</flags>
     <cdata></cdata>
    </elems>
    <elems>
     <name></name>
     <list></list>
     <length>0</length>
     <stype>0</stype>
     <dtype>0</dtype>
     <permission>0</permission>
     <message></message>
     <flags>0</flags>
     <cdata></cdata>
    </elems>
   </data>
  </ns:staffPutRecord>
 </SOAP-ENV:Body>
Name Type Description Required
appsessionid String info.sessionid from edgeLogin Yes
authsessionid String info.sessionid from authLogin Yes
create Integer Denotes whether a new record is being created
0
Update existing record
1
Create new record
table String Name of a supported table in BillMax The following tables are supported:
  • account
  • user
  • service
  • efpdata
  • ticket
form String Associated Form value from RAE Portal data. By default the following are supported but may be locally customized:
account
account table
user
user table
service
service table
efpdata
efpdata table
data Container Contains one or more elems  
data.elems.name TABLE.field Each name is table name in caps followed by a period followed by field name.  
data.elems.stype Integer Specifies the type of data being passed
1
string
2
pointer
3
integer
4
float
5
double
6
special
data.elems.cdata String Present if elems.stype is 1,2 or 6  
data.elems.idata Integer Present if elems.stype is 3  
data.elems.fdata Float Present if elems.stype is 4  
data.elems.ddata Double Present if elems.stype is 5  
data.elems.message String Text if update or create not allowed. Returned.  
data.elems.flags Integer Internal Use Only  

Output

See result of staffGetRecord.