POST api/UserManagement/InsertUserData
Request Information
URI Parameters
None.
Body Parameters
UserView| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| UserName | string |
None. |
|
| FirstName | string |
None. |
|
| MiddleName | string |
None. |
|
| LastName | string |
None. |
|
| FullName | string |
None. |
|
| UserCode | string |
None. |
|
| Role | Collection of integer |
None. |
|
| EmailValidate | boolean |
None. |
|
| AlternetEmailID | string |
None. |
|
| EmailStatus | boolean |
None. |
|
| MobileNo | string |
None. |
|
| MobileStatus | boolean |
None. |
|
| Password | string |
None. |
|
| PasswordSalt | string |
None. |
|
| Alias | string |
None. |
|
| InvalidAttempts | integer |
None. |
|
| Language_Code | integer |
None. |
|
| Organization_Code | integer |
None. |
|
| Company_Code | integer |
None. |
|
| Plant_Code | integer |
None. |
|
| Department_Code | integer |
None. |
|
| Designation_Code | integer |
None. |
|
| Role_Code | integer |
None. |
|
| TimeZone_Code | integer |
None. |
|
| IsLocked | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreateBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
|
| IsSync | boolean |
None. |
|
| IsOrganizationUser | boolean |
None. |
|
| OTP | integer |
None. |
|
| AadharNo | string |
None. |
|
| DateOfBirth | date |
None. |
|
| Gender | string |
None. |
|
| Salute | string |
None. |
|
| Address | string |
None. |
|
| Country | integer |
None. |
|
| State | integer |
None. |
|
| District | integer |
None. |
|
| Taluka | integer |
None. |
|
| City | integer |
None. |
|
| Pincode | integer |
None. |
|
| ElectionCardNo | string |
None. |
|
| PanCardNo | string |
None. |
|
| WorkOrders | Collection of integer |
None. |
|
| Plants | Collection of integer |
None. |
|
| UserDepartmentSections | Collection of UserDepartmentSectionViewModal |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"UserName": "sample string 2",
"FirstName": "sample string 3",
"MiddleName": "sample string 4",
"LastName": "sample string 5",
"FullName": "sample string 3 sample string 4 sample string 5",
"UserCode": "sample string 6",
"Role": [
1,
1
],
"EmailValidate": true,
"AlternetEmailID": "sample string 7",
"EmailStatus": true,
"MobileNo": "sample string 8",
"MobileStatus": true,
"Password": "sample string 9",
"PasswordSalt": "sample string 10",
"Alias": "sample string 11",
"InvalidAttempts": 1,
"Language_Code": 1,
"Organization_Code": 1,
"Company_Code": 1,
"Plant_Code": 1,
"Department_Code": 1,
"Designation_Code": 1,
"Role_Code": 1,
"TimeZone_Code": 1,
"IsLocked": true,
"CreatedDate": "2025-12-28T06:18:55.9266206+00:00",
"CreateBy": 1,
"ModifiedDate": "2025-12-28T06:18:55.9266206+00:00",
"ModifiedBy": 1,
"IsActive": true,
"IsDelete": true,
"IsSync": true,
"IsOrganizationUser": true,
"OTP": 1,
"AadharNo": "sample string 12",
"DateOfBirth": "2025-12-28T06:18:55.9266206+00:00",
"Gender": "sample string 13",
"Salute": "sample string 14",
"Address": "sample string 15",
"Country": 1,
"State": 1,
"District": 1,
"Taluka": 1,
"City": 1,
"Pincode": 1,
"ElectionCardNo": "sample string 16",
"PanCardNo": "sample string 17",
"WorkOrders": [
1,
2
],
"Plants": [
1,
1
],
"UserDepartmentSections": [
{
"ID": 1,
"Sys_Code": "sample string 2",
"Organization_Code": 1,
"Company_Code": 1,
"Plant_Code": 1,
"Department_Code": 1,
"UserId": 1,
"Role_Code": 1,
"Section_Code": 1
},
{
"ID": 1,
"Sys_Code": "sample string 2",
"Organization_Code": 1,
"Company_Code": 1,
"Plant_Code": 1,
"Department_Code": 1,
"UserId": 1,
"Role_Code": 1,
"Section_Code": 1
}
]
}
application/xml, text/xml
Sample:
<UserView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
<AadharNo>sample string 12</AadharNo>
<Address>sample string 15</Address>
<Alias>sample string 11</Alias>
<AlternetEmailID>sample string 7</AlternetEmailID>
<City>1</City>
<Company_Code>1</Company_Code>
<Country>1</Country>
<CreateBy>1</CreateBy>
<CreatedDate>2025-12-28T06:18:55.9266206+00:00</CreatedDate>
<DateOfBirth>2025-12-28T06:18:55.9266206+00:00</DateOfBirth>
<Department_Code>1</Department_Code>
<Designation_Code>1</Designation_Code>
<District>1</District>
<ElectionCardNo>sample string 16</ElectionCardNo>
<EmailStatus>true</EmailStatus>
<EmailValidate>true</EmailValidate>
<FirstName>sample string 3</FirstName>
<Gender>sample string 13</Gender>
<InvalidAttempts>1</InvalidAttempts>
<IsActive>true</IsActive>
<IsDelete>true</IsDelete>
<IsLocked>true</IsLocked>
<IsOrganizationUser>true</IsOrganizationUser>
<IsSync>true</IsSync>
<Language_Code>1</Language_Code>
<LastName>sample string 5</LastName>
<MiddleName>sample string 4</MiddleName>
<MobileNo>sample string 8</MobileNo>
<MobileStatus>true</MobileStatus>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-28T06:18:55.9266206+00:00</ModifiedDate>
<OTP>1</OTP>
<Organization_Code>1</Organization_Code>
<PanCardNo>sample string 17</PanCardNo>
<Password>sample string 9</Password>
<PasswordSalt>sample string 10</PasswordSalt>
<Pincode>1</Pincode>
<Plant_Code>1</Plant_Code>
<Plants xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</Plants>
<Role xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</Role>
<Role_Code>1</Role_Code>
<Salute>sample string 14</Salute>
<State>1</State>
<Taluka>1</Taluka>
<TimeZone_Code>1</TimeZone_Code>
<UserCode>sample string 6</UserCode>
<UserDepartmentSections>
<UserDepartmentSectionViewModal>
<Company_Code>1</Company_Code>
<Department_Code>1</Department_Code>
<ID>1</ID>
<Organization_Code>1</Organization_Code>
<Plant_Code>1</Plant_Code>
<Role_Code>1</Role_Code>
<Section_Code>1</Section_Code>
<Sys_Code>sample string 2</Sys_Code>
<UserId>1</UserId>
</UserDepartmentSectionViewModal>
<UserDepartmentSectionViewModal>
<Company_Code>1</Company_Code>
<Department_Code>1</Department_Code>
<ID>1</ID>
<Organization_Code>1</Organization_Code>
<Plant_Code>1</Plant_Code>
<Role_Code>1</Role_Code>
<Section_Code>1</Section_Code>
<Sys_Code>sample string 2</Sys_Code>
<UserId>1</UserId>
</UserDepartmentSectionViewModal>
</UserDepartmentSections>
<UserID>1</UserID>
<UserName>sample string 2</UserName>
<WorkOrders xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</WorkOrders>
</UserView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>