POST api/Employee/insertEmployee
Request Information
URI Parameters
None.
Body Parameters
Employee| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| Name | string |
None. |
|
| Mobileno | string |
None. |
|
| password | string |
None. |
|
| RoleId | integer |
None. |
|
| Image | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"Name": "sample string 2",
"Mobileno": "sample string 3",
"password": "sample string 4",
"RoleId": 1,
"Image": "sample string 5"
}
application/xml, text/xml
Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarDichachi"> <EmployeeId>1</EmployeeId> <Image>sample string 5</Image> <Mobileno>sample string 3</Mobileno> <Name>sample string 2</Name> <RoleId>1</RoleId> <password>sample string 4</password> </Employee>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>