POST api/Leave/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
GET_LEAVEName | Description | Type | Additional information |
---|---|---|---|
EMP_ID | string |
None. |
|
FROM_DATE | string |
None. |
|
TO_DATE | string |
None. |
|
EXTRA1 | string |
None. |
|
EXTRA2 | string |
None. |
|
EXTRA3 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EMP_ID": "sample string 1", "FROM_DATE": "sample string 2", "TO_DATE": "sample string 3", "EXTRA1": "sample string 4", "EXTRA2": "sample string 5", "EXTRA3": "sample string 6" }
application/xml, text/xml
Sample:
<GET_LEAVE 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> <FROM_DATE>sample string 2</FROM_DATE> <TO_DATE>sample string 3</TO_DATE> </GET_LEAVE>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |