POST Employees/CreateWithClocks/{name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
Body Parameters
EmployeesCreateWithClocks| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| BadgeNumber | string |
None. |
|
| Clocks | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"BadgeNumber": "sample string 2",
"Clocks": [
"sample string 1",
"sample string 2"
]
}
text/html
Sample:
{"Name":"sample string 1","BadgeNumber":"sample string 2","Clocks":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<EmployeesCreateWithClocks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pushapi.Models">
<BadgeNumber>sample string 2</BadgeNumber>
<Clocks xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Clocks>
<Name>sample string 1</Name>
</EmployeesCreateWithClocks>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>