POST api/AttendanceAndTimesheet/EmployeeTimeTracker

Request Information

URI Parameters

None.

Body Parameters

EmployeeTimeTrackerEntity
NameDescriptionTypeAdditional information
UserID

integer

None.

LoginDate

string

None.

Project

string

None.

Description

string

None.

StartedAt

string

None.

Idlehrs

string

None.

EndAt

string

None.

LoginSystemIP

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "LoginDate": "sample string 2",
  "Project": "sample string 3",
  "Description": "sample string 4",
  "StartedAt": "sample string 5",
  "Idlehrs": "sample string 6",
  "EndAt": "sample string 7",
  "LoginSystemIP": "sample string 8",
  "Token": "sample string 9"
}

text/html

Sample:
{"UserID":1,"LoginDate":"sample string 2","Project":"sample string 3","Description":"sample string 4","StartedAt":"sample string 5","Idlehrs":"sample string 6","EndAt":"sample string 7","LoginSystemIP":"sample string 8","Token":"sample string 9"}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.EmployeeTimeTrackerEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Description>sample string 4</Description>
  <EndAt>sample string 7</EndAt>
  <Idlehrs>sample string 6</Idlehrs>
  <LoginDate>sample string 2</LoginDate>
  <LoginSystemIP>sample string 8</LoginSystemIP>
  <Project>sample string 3</Project>
  <StartedAt>sample string 5</StartedAt>
  <Token>sample string 9</Token>
  <UserID>1</UserID>
</AttendanceAndTimesheetController.EmployeeTimeTrackerEntity>

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 'EmployeeTimeTrackerEntity'.

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>