POST Api/Employee/InsertEmployee
Request Information
URI Parameters
None.
Body Parameters
InsertEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleID | globally unique identifier |
None. |
|
| OrgID | globally unique identifier |
None. |
|
| DepartmentID | globally unique identifier |
None. |
|
| AddedBy | string |
None. |
|
| DirectoryPermission | string |
None. |
|
| SNo | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Contact | string |
None. |
|
| RoleName | string |
None. |
|
| OrgName | string |
None. |
|
| DepartmentName | string |
None. |
|
| EmployeeID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleID": "4682a0bf-52ec-42ae-b471-160df7797a89",
"OrgID": "fdfac31e-0e5c-408b-abc3-7f207e5375bf",
"DepartmentID": "b8d2389b-c6fc-4dbc-a077-d77302c665e5",
"AddedBy": "sample string 4",
"DirectoryPermission": "sample string 5",
"SNo": 6,
"Name": "sample string 7",
"Email": "sample string 8",
"Contact": "sample string 9",
"RoleName": "sample string 10",
"OrgName": "sample string 11",
"DepartmentName": "sample string 12",
"EmployeeID": "c291c887-3200-4caa-99d6-5b4d8c69f4a5"
}
application/xml, text/xml
Sample:
<InsertEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevelAPI.Models"> <Contact>sample string 9</Contact> <DepartmentName>sample string 12</DepartmentName> <Email>sample string 8</Email> <EmployeeID>c291c887-3200-4caa-99d6-5b4d8c69f4a5</EmployeeID> <Name>sample string 7</Name> <OrgName>sample string 11</OrgName> <RoleName>sample string 10</RoleName> <SNo>6</SNo> <AddedBy>sample string 4</AddedBy> <DepartmentID>b8d2389b-c6fc-4dbc-a077-d77302c665e5</DepartmentID> <DirectoryPermission>sample string 5</DirectoryPermission> <OrgID>fdfac31e-0e5c-408b-abc3-7f207e5375bf</OrgID> <RoleID>4682a0bf-52ec-42ae-b471-160df7797a89</RoleID> </InsertEmployee>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |