POST api/EmployeeLeave/PostEmpPolicyAcceptance

Request Information

URI Parameters

None.

Body Parameters

EmployeePolicy
NameDescriptionTypeAdditional information
EPA_ID

integer

None.

EPA_EMP_ID

integer

None.

EPA_POH_ID

integer

None.

EPA_STATUS

string

None.

EPA_CP_ID

integer

None.

EPA_NOTES

string

None.

EPA_ACCEPTED_ON

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EPA_ID": 1,
  "EPA_EMP_ID": 1,
  "EPA_POH_ID": 1,
  "EPA_STATUS": "sample string 1",
  "EPA_CP_ID": 1,
  "EPA_NOTES": "sample string 2",
  "EPA_ACCEPTED_ON": "2024-05-19T14:34:40.0672255+05:30"
}

application/xml, text/xml

Sample:
<EmployeePolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <EPA_ACCEPTED_ON>2024-05-19T14:34:40.0672255+05:30</EPA_ACCEPTED_ON>
  <EPA_CP_ID>1</EPA_CP_ID>
  <EPA_EMP_ID>1</EPA_EMP_ID>
  <EPA_ID>1</EPA_ID>
  <EPA_NOTES>sample string 2</EPA_NOTES>
  <EPA_POH_ID>1</EPA_POH_ID>
  <EPA_STATUS>sample string 1</EPA_STATUS>
</EmployeePolicy>

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.