POST Users/Post

Create a new User

Request Information

URI Parameters

None.

Body Parameters

The CreateUserDTO

CreateUserEmployeeDto
NameDescriptionTypeAdditional information
Password

The User's Password

string

None.

Id

The Employee's unique identifier

integer

None.

Code

The Employee's code

integer

None.

PersonnelId

The Employee's unqiue PersonnelId

string

None.

FullName

The Employee's FullName

string

None.

ReverseName

The Employee's ReverseName

string

None.

FirstName

The Employee's FirstName

string

None.

Initials

The Employee's Initials

string

None.

Prefix

The Employee's name Prefix

string

None.

Name

The Employee's LastName

string

None.

Gender

The Employee's Gender

GenderDTO

None.

Email

The Employee's EmailAddress

string

None.

BehaviourGrade

The Employee's BehaviourGrade

integer

None.

Username

The User's Username

string

None.

UserNumber

The User's Code

integer

None.

Role

The User's Role

RoleDTO

None.

RoleName

string

None.

WorkingStatus

The Driver's activity WorkingStatus

WorkingStatusDTO

None.

DriverStatusCode

The Driver's activity DriverStatusCode

integer

None.

DriverStatus

The Driver's activity DriverStatus

string

None.

ShiftStart

The Driver's activity ShiftStart

string

None.

DrivingTime

The Driver's activity DrivingTime

integer

None.

WorkingTime

The Driver's activity WorkingTime

integer

None.

BreakOrRestTime

The Driver's activity BreakOrRestTime

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Password": "sample string 1",
  "Id": 2,
  "Code": 3,
  "PersonnelId": "sample string 4",
  "FullName": "sample string 5",
  "ReverseName": "sample string 6",
  "FirstName": "sample string 7",
  "Initials": "sample string 8",
  "Prefix": "sample string 9",
  "Name": "sample string 10",
  "Gender": "Male",
  "Email": "sample string 11",
  "BehaviourGrade": 12,
  "Username": "sample string 13",
  "UserNumber": 14,
  "Role": "Administrator",
  "RoleName": "sample string 15",
  "WorkingStatus": "Driving",
  "DriverStatusCode": 16,
  "DriverStatus": "sample string 17",
  "ShiftStart": "sample string 18",
  "DrivingTime": 19,
  "WorkingTime": 20,
  "BreakOrRestTime": 21
}

Response Information

Resource Description

EmployeeId

integer

Response Formats

application/json, text/json

Sample:
1