Use this to add an operator (driver) to the system.
| 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.
|
| 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. |
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
Other functions to manage operators: