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": "c21d7ac1-8964-4594-ac97-37ac151b9901",
"OrgID": "6b0fff08-5fd7-4bd8-b04a-9068a2bd6947",
"DepartmentID": "a999157d-8dec-42b3-8754-dbb0641f8757",
"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": "77954244-7bc3-47fe-b37d-7eeef4780f8a"
}
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>77954244-7bc3-47fe-b37d-7eeef4780f8a</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>a999157d-8dec-42b3-8754-dbb0641f8757</DepartmentID> <DirectoryPermission>sample string 5</DirectoryPermission> <OrgID>6b0fff08-5fd7-4bd8-b04a-9068a2bd6947</OrgID> <RoleID>c21d7ac1-8964-4594-ac97-37ac151b9901</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. |