POST api/Shift/Update

Request to update the Shift.

Request Information

URI Parameters

None.

Body Parameters

ShiftUpdateLayer
NameDescriptionTypeAdditional information
ShiftId

string

Required

FromDate

string

Required

ToDate

string

Required

Reason

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ShiftId": "sample string 1",
  "FromDate": "sample string 2",
  "ToDate": "sample string 3",
  "Reason": "sample string 4"
}

application/xml, text/xml

Sample:
<ShiftUpdateLayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRiSAPI.Models">
  <FromDate>sample string 2</FromDate>
  <Reason>sample string 4</Reason>
  <ShiftId>sample string 1</ShiftId>
  <ToDate>sample string 3</ToDate>
</ShiftUpdateLayer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.