POST api/ShiftManagement/UpdateShiftManagement

Request Information

URI Parameters

None.

Body Parameters

ShiftManagement
NameDescriptionTypeAdditional information
Name

string

None.

StartTime

string

None.

EndTime

string

None.

MakeDefault

boolean

None.

ID

integer

None.

LoginId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "StartTime": "sample string 2",
  "EndTime": "sample string 3",
  "MakeDefault": true,
  "ID": 5,
  "LoginId": 6
}

application/xml, text/xml

Sample:
<ShiftManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWViewModel">
  <EndTime>sample string 3</EndTime>
  <ID>5</ID>
  <LoginId>6</LoginId>
  <MakeDefault>true</MakeDefault>
  <Name>sample string 1</Name>
  <StartTime>sample string 2</StartTime>
</ShiftManagement>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />