POST api/Account/AddUser

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Email

string

None.

Password

string

None.

employeeId

integer

None.

employeeNum

string

None.

firstName

string

None.

lastName

string

None.

phone

string

None.

jobTitleId

integer

None.

dob

date

None.

userRoleId

integer

None.

userRoleIds

Collection of integer

None.

profileActivated

boolean

None.

userId

string

None.

profileImage

string

None.

ReportApproved

boolean

None.

ReportReturnedforEdits

boolean

None.

SafetyMemoPolicyFaq

boolean

None.

ApplicationUpdate

boolean

None.

PerformanceCategorizationID

integer

None.

BaseID

integer

None.

RankID

integer

None.

Group

Collection of integer

None.

phoneExt

integer

None.

activeCompanyId

integer

None.

EmployeeDesignation

string

None.

NewJobTitle

string

None.

NewJobDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "employeeId": 3,
  "employeeNum": "sample string 4",
  "firstName": "sample string 5",
  "lastName": "sample string 6",
  "phone": "sample string 7",
  "jobTitleId": 1,
  "dob": "2024-11-22T21:13:39.8222198-06:00",
  "userRoleId": 8,
  "userRoleIds": [
    1,
    2
  ],
  "profileActivated": true,
  "userId": "sample string 9",
  "profileImage": "sample string 10",
  "ReportApproved": true,
  "ReportReturnedforEdits": true,
  "SafetyMemoPolicyFaq": true,
  "ApplicationUpdate": true,
  "PerformanceCategorizationID": 1,
  "BaseID": 1,
  "RankID": 1,
  "Group": [
    1,
    2
  ],
  "phoneExt": 1,
  "activeCompanyId": 1,
  "EmployeeDesignation": "sample string 15",
  "NewJobTitle": "sample string 16",
  "NewJobDescription": "sample string 17"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisterBindingModel'.

Response Information

Resource Description

ResponseMdl
NameDescriptionTypeAdditional information
Status

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Data": {},
  "Message": "sample string 3"
}