POST api/AttendanceAndTimesheet/UpdateEmployeeShift

Request Information

URI Parameters

None.

Body Parameters

UpdateEmpShift
NameDescriptionTypeAdditional information
UserID

integer

None.

ShopID

integer

None.

ShiftID

integer

None.

EmployeeID

integer

None.

Token

string

None.

Date

string

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ShopID": 2,
  "ShiftID": 3,
  "EmployeeID": 4,
  "Token": "sample string 5",
  "Date": "sample string 6",
  "Type": 7
}

text/html

Sample:
{"UserID":1,"ShopID":2,"ShiftID":3,"EmployeeID":4,"Token":"sample string 5","Date":"sample string 6","Type":7}

application/xml, text/xml

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

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

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>