Edge / Staff Interface |
Used to create or update a record for the specified table.
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 |
|
table | String | Name of a supported table in BillMax | The following tables are supported:
|
form | String | Associated Form value from RAE Portal data. | By default the following are supported but may be locally customized:
|
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 |
|
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 |
See result of staffGetRecord.