POST api/Leave/Cancel

Request to cancel leave.

Request Information

URI Parameters

None.

Body Parameters

mLeaveCancelRequest
NameDescriptionTypeAdditional information
LeaveCancellationReqDate

string

Required

LvDiscription

string

Required

LeaveLineID

string

Required

LeaveAppID

string

Required

LvStatus

string

Required

Request Formats

application/json, text/json

Sample:
{
  "LeaveCancellationReqDate": "sample string 1",
  "LvDiscription": "sample string 2",
  "LeaveLineID": "sample string 3",
  "LeaveAppID": "sample string 4",
  "LvStatus": "sample string 5"
}

application/xml, text/xml

Sample:
<mLeaveCancelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRiSAPI.Models">
  <LeaveAppID>sample string 4</LeaveAppID>
  <LeaveCancellationReqDate>sample string 1</LeaveCancellationReqDate>
  <LeaveLineID>sample string 3</LeaveLineID>
  <LvDiscription>sample string 2</LvDiscription>
  <LvStatus>sample string 5</LvStatus>
</mLeaveCancelRequest>

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.