35. Add an Operator

Use this to add an operator (driver) to the system.

35.1 Request Data

Required Information
Name Description
action adminoperators
operation add
format xml
fname Operator's first name. An arbitrary text string of up to 32 characters in length.
lname Operator's last name. An arbitrary text string of up to 32 characters in length.
location The location that the operator is assigned to.
Important! Either a tag number or an exsid must be supplied when adding an operator.
Optional Information
logvers logvers 2 includes the operator database id in the reply XML.
  • 1 This is the standard output.
  • 2 This includes the operator dbid in the XML reply.
Note If no logvers is supplied logvers=1 will be assumed.
tag Zonar Systems™ RFID tag number of the operator. A non zero 32 bit integer quantity. Important: If not specified then an exsid must be supplied.
empnum Operator's employee number. An arbitrary text string of up to 20 characters in length. If specified this must be unique.
cdl Operator's Commercial Drivers License number. An arbitrary text string of up to 20 characters in length. If specified this must be unique.
exsid External System Identifier. An arbitrary text string of up to 40 characters in length. This must be unique per operator.
Important: If not specified then an tag must be supplied.

35.2 Data Returned

Returned information:
A success or error message.

Example Request:

http://development.zonarsystems.net/interface.php?action=adminoperators&operation=add&format=xml&fname=John&lname=Smith&tag=1234567&location=Seattle

Example Success Reply,
Example Error Reply

35.3 Related Functions

Other functions to manage operators: