Skip to main content
Omnitracs Knowledge Base

Create Default User - OMDFTUSR

Create Default User (OMDFTUSR) RI

Required Parameter Group:

1 User Identifier Input Char(10)
2 User Name Input Char(24)
3 Return Status Output Char(1)
4 Reason Code Output Char(4)

API Overview:
The Create Default User API (OMDFTUSR) is used to add a new user to the QTRACS User Database. This API is meant to be called in batch mode. It has no interactive display components. All fields, except the user id and name, are defaulted from the default user profile. This API provides a reliable and easy to use mechanism for external applications to add new users to the QTRACS database.

Required Parameter Group Details:
(1) User Identifier
INPUT; CHAR(10)
This parameter must contain a unique user identifier.

(2) User Name
INPUT; CHAR(24)
This parameter must contain a non-blank user description.

(3) Return Status
OUTPUT; CHAR(1)
Status value returned to the caller will be set as follows:

0 Success
1 Failure, see reason code.
A Failure, API failed when called remotely

(4) Reason Code
OUTPUT; CHAR(4)
This parameter contains a reason code. Possible values returned include;

0000 OK
0001 User or description parameter are blank
0002 User already exists
0003 I/O error occurred
  • Was this article helpful?