POST api/Employee/SaveEmployee
Request Information
URI Parameters
None.
Body Parameters
EmployeeEditInfoName | Description | Type | Additional information |
---|---|---|---|
StaffId | integer |
None. |
|
UserID | string |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
IsChangePassword | boolean |
None. |
|
CurrentPassword | string |
None. |
|
NewPassword | string |
None. |
|
ConfirmPassword | string |
None. |
|
Domain | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StaffId": 1, "UserID": "sample string 2", "FirstName": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "IsChangePassword": true, "CurrentPassword": "sample string 7", "NewPassword": "sample string 8", "ConfirmPassword": "sample string 9", "Domain": "sample string 10" }
application/xml, text/xml
Sample:
<EmployeeEditInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.Employee"> <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 10</Domain> <ConfirmPassword>sample string 9</ConfirmPassword> <CurrentPassword>sample string 7</CurrentPassword> <FirstName>sample string 3</FirstName> <IsChangePassword>true</IsChangePassword> <LastName>sample string 5</LastName> <MiddleName>sample string 4</MiddleName> <NewPassword>sample string 8</NewPassword> <StaffId>1</StaffId> <UserID>sample string 2</UserID> </EmployeeEditInfo>
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.