POST api/AttendanceAndTimesheet/UpdateEmployeeWorkHours

Request Information

URI Parameters

None.

Body Parameters

EmployeeWorkhours
NameDescriptionTypeAdditional information
UserID

integer

None.

ShopID

integer

None.

WorkHours

integer

None.

EmployeeID

integer

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ShopID": 2,
  "WorkHours": 3,
  "EmployeeID": 4,
  "Token": "sample string 5"
}

text/html

Sample:
{"UserID":1,"ShopID":2,"WorkHours":3,"EmployeeID":4,"Token":"sample string 5"}

application/xml, text/xml

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

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

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>