POST api/Leave
Request Information
URI Parameters
None.
Body Parameters
ADD_LEAVEName | Description | Type | Additional information |
---|---|---|---|
EMP_ID | string |
None. |
|
LEAVE_CATEGORY | string |
None. |
|
LEAVE_REASON | string |
None. |
|
LEAVE_TYPE | 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", "LEAVE_CATEGORY": "sample string 2", "LEAVE_REASON": "sample string 3", "LEAVE_TYPE": "sample string 4", "FROM_DATE": "sample string 5", "TO_DATE": "sample string 6", "EXTRA1": "sample string 7", "EXTRA2": "sample string 8", "EXTRA3": "sample string 9" }
application/xml, text/xml
Sample:
<ADD_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 7</EXTRA1> <EXTRA2>sample string 8</EXTRA2> <EXTRA3>sample string 9</EXTRA3> <FROM_DATE>sample string 5</FROM_DATE> <LEAVE_CATEGORY>sample string 2</LEAVE_CATEGORY> <LEAVE_REASON>sample string 3</LEAVE_REASON> <LEAVE_TYPE>sample string 4</LEAVE_TYPE> <TO_DATE>sample string 6</TO_DATE> </ADD_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. |