Create User

Method: POST

Purpose

Create partner/company user based on information provided.

Usage:

This will be POST request.

The service URL to be used will be: http://<environment url>/ws/rest/service/v1/admin/user

Request Format

The user will be required to enter the company/partner user information.

The JSON input to create owner company or partner company users are similar. The Minimum input is:

{

"copyFromUserPreferenceTemplate": "",

"users": [

{

"uuu_user_loginname": "user010",

"uuu_user_password": "123123",

"uuu_user_firstname": "User",

"uuu_user_lastname": "010",

"uuu_user_email": "user010@oracle.com",

"uuu_user_type": "0",

"uuu_user_status": "1",

"uuu_user_dateformat": "0",

"uuu_user_timezone_pref": "50",

"uuu_user_company": "unifier"

"uuu_disableusermobileaccess": "1"

}

]

}

Sample JSON to create Partner user

{

"copyfromuserpreferencetemplate":"92Template1",

"users":

[

{

"uuu_user_workphone":"1-800-333-8989",

"uuu_user_name":"Company Administrator",

"uuu_user_status":"1",

"uuu_user_email":"userabc@oracle.com",

"empEmployeeIDTB50":"",

"uuu_user_dateformat":"0",

"uuu_user_proxy":"",

"uuu_user_type":"0",

"uuu_user_timezone_pref":"50",

"uuu_user_pager":"",

"empEmployeeRegHrsDA":"0.0",

"uuu_user_homephone":"",

"uuu_user_fax":"",

"uuu_user_lastname":"Administrator",

"ugenFlrTB120":"",

"uemSpace1DPK":"",

"uuu_user_title":"Administrator",

"uempCurrLocBldDPK":"",

"uplRoomTB250":"",

"empEmployeeManagerTB120":"",

"uuu_user_mobilephone":"1-650-323-32324",

"uuu_user_proxy_config":"1",

"usmUSAssignedDeptPD":"",

"uSiteDP":"",

"uuu_user_loginname":"coadmin",

"uuu_user_company":"unifier",

"uuu_user_firstname":"Company",

"uuu_user_password" : "123"

}

]

}

For creating company user the minimum requirement will be:

Sample JSON to create Company User

{

"user": {

"loginname":"abcuser",

"password":"123",

"firstname":"ABC",

"lastname":"User",

"mobilephone":"951-109-8347",

"homephone":"951-109-8347",

"workphone":"951-109-8347",

"email":"abc@oracle.com",

"pager":"951-109-8347",

"fax":"951-109-8347",

"title":"Lead",

"date_format":"10",

"timezone":"50",

"user_type":"Standard"

},

}

Response Format

If the service runs successfully the output is status and message.

The mandatory existing validations that exist for creating partner/company user will be applicable in REST service as well.

Validations Messages and Status Codes For Creating Partner Company Users

Status

Condition

Message

200

Success

The partner user has been created.

500

Server Error.

Server Error, contact the system administrator.

5555

One or more records contain errors.

One or more records contain errors.

Related Topics

User

Get User

Update User

Update User Shell Membership

Update User Group Membership



Last Published Tuesday, July 1, 2025