POST api/Employee
Request Information
URI Parameters
None.
Body Parameters
Employee| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeNo | integer |
None. |
|
| name | string |
None. |
|
| title | string |
None. |
|
| mobilePhone | string |
None. |
|
| postalNo | string |
None. |
|
| emailAddress | string |
None. |
|
| orgUnit1 | integer |
None. |
|
| associateProcessing | integer |
None. |
|
| group2 | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"employeeNo": 1,
"name": "sample string 1",
"title": "sample string 2",
"mobilePhone": "sample string 3",
"postalNo": "sample string 4",
"emailAddress": "sample string 5",
"orgUnit1": 1,
"associateProcessing": 1,
"group2": 1
}
application/xml, text/xml
Sample:
<Employee xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <employeeNo>1</employeeNo> <name>sample string 1</name> <title>sample string 2</title> <mobilePhone>sample string 3</mobilePhone> <postalNo>sample string 4</postalNo> <emailAddress>sample string 5</emailAddress> <orgUnit1>1</orgUnit1> <associateProcessing>1</associateProcessing> <group2>1</group2> </Employee>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Employee| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeNo | integer |
None. |
|
| name | string |
None. |
|
| title | string |
None. |
|
| mobilePhone | string |
None. |
|
| postalNo | string |
None. |
|
| emailAddress | string |
None. |
|
| orgUnit1 | integer |
None. |
|
| associateProcessing | integer |
None. |
|
| group2 | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"employeeNo": 1,
"name": "sample string 1",
"title": "sample string 2",
"mobilePhone": "sample string 3",
"postalNo": "sample string 4",
"emailAddress": "sample string 5",
"orgUnit1": 1,
"associateProcessing": 1,
"group2": 1
}
application/xml, text/xml
Sample:
<Employee xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <employeeNo>1</employeeNo> <name>sample string 1</name> <title>sample string 2</title> <mobilePhone>sample string 3</mobilePhone> <postalNo>sample string 4</postalNo> <emailAddress>sample string 5</emailAddress> <orgUnit1>1</orgUnit1> <associateProcessing>1</associateProcessing> <group2>1</group2> </Employee>