POST api/user/CreateUser

Create User

Request Information

URI Parameters

None.

Body Parameters

CreateUserRequestModel
NameDescriptionTypeAdditional information
UserName

UserName of the User

string

Required

Email

Email of the User

string

Required

FirstName

First Name of the User

string

Required

LastName

Last Name of the User

string

Required

Role

Role of the User

string

Required

UserType

User Type Possible Values: Standard/Billing Admin

string

Required

GroupID

(Optional)GroupID to be passed if want to make user part of that Group

integer

None.

APIKey

string

Required

Request Formats

text/json, application/json

Sample:
{
     "APIKey": "12ae8a55-22ee-4761-ac59-d8e6d182ef78",
     "UserName" : "devTestUser",
     "Email": "testuser@xyz.com",
     "FirstName":"dev",
     "LastName":"user",
     "Role":"Support Admin",
     "UserType":"Standard",
     "GroupID":"100"     
}

Response Information

Resource Description

UserID integer

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.