POST api/EmployeeLeaveCancel

Request Information

URI Parameters

None.

Body Parameters

EmployeeLeaveCancel
NameDescriptionTypeAdditional information
EMP_ID

string

None.

LEAVE_ID

string

None.

LEAVE_CANCEL_REMARK

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EMP_ID": "sample string 1",
  "LEAVE_ID": "sample string 2",
  "LEAVE_CANCEL_REMARK": "sample string 3",
  "EXTRA1": "sample string 4",
  "EXTRA2": "sample string 5",
  "EXTRA3": "sample string 6"
}

application/xml, text/xml

Sample:
<EmployeeLeaveCancel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models">
  <EMP_ID>sample string 1</EMP_ID>
  <EXTRA1>sample string 4</EXTRA1>
  <EXTRA2>sample string 5</EXTRA2>
  <EXTRA3>sample string 6</EXTRA3>
  <LEAVE_CANCEL_REMARK>sample string 3</LEAVE_CANCEL_REMARK>
  <LEAVE_ID>sample string 2</LEAVE_ID>
</EmployeeLeaveCancel>

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

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.