Verify Delete QTRACS User - OMVDUSR
Verify/Delete QTRACS User (OMVDUSR)
Required Parameter Group:
| 1 | User Identifier | Input | Char(10) |
| 2 | Function Code | Input | Char(1) |
| 3 | Return Status | Output | Char(1) |
API Overview:
The Verify/Delete QTRACS User API (OMVDUSR) may be used to perform one of two functions: 1) Verify if the deletion of a given user identifier is permitted, and 2) delete a user identifier.
Required Parameter Group Details:
(1) User Identifier
INPUT; CHAR(10)
This parameter must contain a user identifier to delete or verify for deletion.
(2) Function Code
INPUT; CHAR(1)
This parameter is a function code that instructs the API what action to perform. Valid values are:
| 0 | Verify if delete is permitted for the given user identifier |
| 1 | Delete the given user identifier |
(3) Return Status
OUTPUT; CHAR(1)
Status value returned to the caller will be set as follows:
| 0 | Delete permitted |
| 1 | Delete not permitted, user identifier was not found |
| 2 | Delete not permitted, user identifier is reserved |
| 3 | Delete not permitted, user identifier has assigned vehicles |
| 4 | Delete not permitted, user identifier has redirected messages |
| 5 | Delete not permitted, user identifier is the only member of an address list |
| 6 | Delete not permitted, user identifier valid macro coverage |
| 7 | Success, user identifier was deleted |