POST api/AttendanceAndTimesheet/EmployeeIdleCount

Request Information

URI Parameters

None.

Body Parameters

EmployeeIdleCountEntity
NameDescriptionTypeAdditional information
UserID

integer

None.

EmployeeID

integer

None.

ReportingTo

integer

None.

Count

integer

None.

LoginDate

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "EmployeeID": 2,
  "ReportingTo": 3,
  "Count": 4,
  "LoginDate": "sample string 5",
  "Token": "sample string 6"
}

text/html

Sample:
{"UserID":1,"EmployeeID":2,"ReportingTo":3,"Count":4,"LoginDate":"sample string 5","Token":"sample string 6"}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.EmployeeIdleCountEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Count>4</Count>
  <EmployeeID>2</EmployeeID>
  <LoginDate>sample string 5</LoginDate>
  <ReportingTo>3</ReportingTo>
  <Token>sample string 6</Token>
  <UserID>1</UserID>
</AttendanceAndTimesheetController.EmployeeIdleCountEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeIdleCountEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>