POST api/User/AddUser

Request Information

URI Parameters

None.

Body Parameters

UserInfo
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

UserType

string

None.

Gender

string

None.

MotherName

string

None.

DOB

date

None.

Religion

string

None.

JoiningDate

date

None.

Email

string

None.

DepartmentId

integer

None.

Mobile

string

None.

IdNo

integer

None.

Address

string

None.

Photo

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "UserType": "sample string 5",
  "Gender": "sample string 6",
  "MotherName": "sample string 7",
  "DOB": "2024-12-01T08:00:40.1046255+05:30",
  "Religion": "sample string 9",
  "JoiningDate": "2024-12-01T08:00:40.1046255+05:30",
  "Email": "sample string 11",
  "DepartmentId": 12,
  "Mobile": "sample string 13",
  "IdNo": 14,
  "Address": "sample string 15",
  "Photo": "sample string 16",
  "CreatedBy": "sample string 17",
  "CreatedDate": "2024-12-01T08:00:40.1046255+05:30",
  "UpdatedBy": "sample string 19",
  "UpdatedDate": "2024-12-01T08:00:40.1046255+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"FirstName":"sample string 2","MiddleName":"sample string 3","LastName":"sample string 4","UserType":"sample string 5","Gender":"sample string 6","MotherName":"sample string 7","DOB":"2024-12-01T08:00:40.1046255+05:30","Religion":"sample string 9","JoiningDate":"2024-12-01T08:00:40.1046255+05:30","Email":"sample string 11","DepartmentId":12,"Mobile":"sample string 13","IdNo":14,"Address":"sample string 15","Photo":"sample string 16","CreatedBy":"sample string 17","CreatedDate":"2024-12-01T08:00:40.1046255+05:30","UpdatedBy":"sample string 19","UpdatedDate":"2024-12-01T08:00:40.1046255+05:30"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.