POST api/User/insertRecord
Request Information
URI Parameters
None.
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | decimal number |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| OrganizationId | decimal number |
None. |
|
| UserType | integer |
None. |
|
| BranchId | decimal number |
None. |
|
| RoleId | decimal number |
None. |
|
| EmployeeId | decimal number |
None. |
|
| ImageUrl | string |
None. |
|
| IsAdmin | integer |
None. |
|
| EditReason | string |
None. |
|
| CreatedBy | decimal number |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | decimal number |
None. |
|
| UpdatedDate | date |
None. |
|
| Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1.0,
"UserName": "sample string 2",
"Password": "sample string 3",
"OrganizationId": 4.0,
"UserType": 5,
"BranchId": 6.0,
"RoleId": 7.0,
"EmployeeId": 8.0,
"ImageUrl": "sample string 9",
"IsAdmin": 10,
"EditReason": "sample string 11",
"CreatedBy": 12.0,
"CreatedDate": "2025-12-06T04:31:23.5171514+05:30",
"UpdatedBy": 14.0,
"UpdatedDate": "2025-12-06T04:31:23.5171514+05:30",
"Status": "sample string 16"
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions"> <BranchId>6</BranchId> <CreatedBy>12</CreatedBy> <CreatedDate>2025-12-06T04:31:23.5171514+05:30</CreatedDate> <EditReason>sample string 11</EditReason> <EmployeeId>8</EmployeeId> <ImageUrl>sample string 9</ImageUrl> <IsAdmin>10</IsAdmin> <OrganizationId>4</OrganizationId> <Password>sample string 3</Password> <RoleId>7</RoleId> <Status>sample string 16</Status> <UpdatedBy>14</UpdatedBy> <UpdatedDate>2025-12-06T04:31:23.5171514+05:30</UpdatedDate> <UserId>1</UserId> <UserName>sample string 2</UserName> <UserType>5</UserType> </User>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>