POST api/tblEmps
Request Information
URI Parameters
None.
Body Parameters
tblEmp| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| eName | string |
None. |
|
| Addr | string |
None. |
|
| Phone | string |
None. |
|
| VecId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"eName": "sample string 2",
"Addr": "sample string 3",
"Phone": "sample string 4",
"VecId": 5
}
application/xml, text/xml
Sample:
<tblEmp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes"> <Addr>sample string 3</Addr> <Phone>sample string 4</Phone> <VecId>5</VecId> <eName>sample string 2</eName> <id>1</id> </tblEmp>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
tblEmp| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| eName | string |
None. |
|
| Addr | string |
None. |
|
| Phone | string |
None. |
|
| VecId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"eName": "sample string 2",
"Addr": "sample string 3",
"Phone": "sample string 4",
"VecId": 5
}
application/xml, text/xml
Sample:
<tblEmp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes"> <Addr>sample string 3</Addr> <Phone>sample string 4</Phone> <VecId>5</VecId> <eName>sample string 2</eName> <id>1</id> </tblEmp>