POST api/Employee
Request Information
URI Parameters
None.
Body Parameters
EmployeeDetailViewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| User | AspNetUsers_For_Employee |
None. |
|
| Config | Employee_Salary_Config |
None. |
Request Formats
application/json, text/json
Sample:
{
"User": {
"Id": "sample string 1",
"Email": "sample string 2",
"EmailConfirmed": true,
"PasswordHash": "sample string 4",
"SecurityStamp": "sample string 5",
"PhoneNumber": "sample string 6",
"PhoneNumberConfirmed": true,
"TwoFactorEnabled": true,
"LockoutEndDateUtc": "2026-02-14T08:05:46.1718125+08:00",
"LockoutEnabled": true,
"AccessFailedCount": 10,
"UserName": "sample string 11",
"StoreId": 12,
"Enable": true,
"Name": "sample string 14"
},
"Config": {
"Id": 1,
"Employee_Id": "sample string 2",
"Hire_Type": 64,
"Clock_Require_Type": 64,
"TimeStamp": "2026-02-14T08:05:46.1900418+08:00",
"Labor": 6,
"Health": 7,
"Operator": "sample string 8",
"Month_Pay": 9,
"Hour_Pay": 10,
"Uni_Id": "sample string 11",
"Address": "sample string 12",
"Phone": "sample string 13",
"Salary_Level": 14
}
}
application/xml, text/xml
Sample:
<EmployeeDetailViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.Employee">
<Config xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.Employee">
<d2p1:Address>sample string 12</d2p1:Address>
<d2p1:Clock_Require_Type>64</d2p1:Clock_Require_Type>
<d2p1:Employee_Id>sample string 2</d2p1:Employee_Id>
<d2p1:Health>7</d2p1:Health>
<d2p1:Hire_Type>64</d2p1:Hire_Type>
<d2p1:Hour_Pay>10</d2p1:Hour_Pay>
<d2p1:Id>1</d2p1:Id>
<d2p1:Labor>6</d2p1:Labor>
<d2p1:Month_Pay>9</d2p1:Month_Pay>
<d2p1:Operator>sample string 8</d2p1:Operator>
<d2p1:Phone>sample string 13</d2p1:Phone>
<d2p1:Salary_Level>14</d2p1:Salary_Level>
<d2p1:TimeStamp>2026-02-14T08:05:46.1900418+08:00</d2p1:TimeStamp>
<d2p1:Uni_Id>sample string 11</d2p1:Uni_Id>
</Config>
<User xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.Employee">
<d2p1:AccessFailedCount>10</d2p1:AccessFailedCount>
<d2p1:Email>sample string 2</d2p1:Email>
<d2p1:EmailConfirmed>true</d2p1:EmailConfirmed>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:LockoutEnabled>true</d2p1:LockoutEnabled>
<d2p1:LockoutEndDateUtc>2026-02-14T08:05:46.1718125+08:00</d2p1:LockoutEndDateUtc>
<d2p1:Name>sample string 14</d2p1:Name>
<d2p1:PasswordHash>sample string 4</d2p1:PasswordHash>
<d2p1:PhoneNumber>sample string 6</d2p1:PhoneNumber>
<d2p1:PhoneNumberConfirmed>true</d2p1:PhoneNumberConfirmed>
<d2p1:SecurityStamp>sample string 5</d2p1:SecurityStamp>
<d2p1:StoreId>12</d2p1:StoreId>
<d2p1:TwoFactorEnabled>true</d2p1:TwoFactorEnabled>
<d2p1:UserName>sample string 11</d2p1:UserName>
</User>
</EmployeeDetailViewModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.