POST api/EMP/SaveEmp
Request Information
URI Parameters
None.
Body Parameters
Emppost| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| SITE | string |
None. |
|
| Bay | string |
None. |
|
| Group1 | decimal number |
None. |
|
| Jop_Title | string |
None. |
|
| Site_Name | string |
None. |
|
| empID | integer |
None. |
|
| Salary | decimal number |
None. |
|
| OverTime | decimal number |
None. |
|
| Type | decimal number |
None. |
|
| Holiday | decimal number |
None. |
|
| company | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"SITE": "sample string 2",
"Bay": "sample string 3",
"Group1": 1.0,
"Jop_Title": "sample string 4",
"Site_Name": "sample string 5",
"empID": 6,
"Salary": 1.0,
"OverTime": 1.0,
"Type": 1.0,
"Holiday": 1.0,
"company": "sample string 7"
}
application/xml, text/xml
Sample:
<Emppost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZamzamAPI.Models"> <Bay>sample string 3</Bay> <Group1>1</Group1> <Holiday>1</Holiday> <Jop_Title>sample string 4</Jop_Title> <Name>sample string 1</Name> <OverTime>1</OverTime> <SITE>sample string 2</SITE> <Salary>1</Salary> <Site_Name>sample string 5</Site_Name> <Type>1</Type> <company>sample string 7</company> <empID>6</empID> </Emppost>
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. |