Adding users in JSON-RPC API

To add users, use the AddUser method. Users are added one at a time.

Required parameters

Parameter Description Supported values
userInfo A group of parameters related to the user UserInfo (has child parameters of its own see the UserInfo child parameters table below)

Sample request

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "visa": "{{visa}}",
    "method": "AddUser",
    "params": {
	    "userInfo": {
		"Name" : "backup.test@mail.com",
		"PartnerId" : 123456,
		"Password" : "AbC123DeF!",
		"RoleId" : 1,
		"EmailAddress" : "backup.test@mail.com",
		"FirstName" : "Backup",
		"FullName" : "Test",
		"Title": "Manager"
	    }
    }
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": 876543
    },
    "visa": "{{visa}}"
}