POST api/EmployeeLeave/PostPolicyHeader

Request Information

URI Parameters

None.

Body Parameters

PolicyHeader
NameDescriptionTypeAdditional information
POH_ID

integer

None.

POH_NAME

string

None.

POH_DESCRIPTION

string

None.

POH_STATUS

string

None.

POH_CP_ID

integer

None.

POH_NOTES

string

None.

POH_CREATED_BY

integer

None.

POH_VALID_FROM

date

None.

POH_VALID_TILL

date

None.

POH_NUMBER

string

None.

POH_APPLICABLE_TO

integer

None.

POH_EMP_ID

integer

None.

POH_VERSION_NO

string

None.

POH_FILE_NAMES

string

None.

POH_INPUT_MODE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "POH_ID": 1,
  "POH_NAME": "sample string 1",
  "POH_DESCRIPTION": "sample string 2",
  "POH_STATUS": "sample string 3",
  "POH_CP_ID": 1,
  "POH_NOTES": "sample string 4",
  "POH_CREATED_BY": 1,
  "POH_VALID_FROM": "2024-05-19T17:36:35.960227+05:30",
  "POH_VALID_TILL": "2024-05-19T17:36:35.960227+05:30",
  "POH_NUMBER": "sample string 5",
  "POH_APPLICABLE_TO": 1,
  "POH_EMP_ID": 1,
  "POH_VERSION_NO": "sample string 6",
  "POH_FILE_NAMES": "sample string 7",
  "POH_INPUT_MODE": "sample string 8"
}

application/xml, text/xml

Sample:
<PolicyHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <POH_APPLICABLE_TO>1</POH_APPLICABLE_TO>
  <POH_CP_ID>1</POH_CP_ID>
  <POH_CREATED_BY>1</POH_CREATED_BY>
  <POH_DESCRIPTION>sample string 2</POH_DESCRIPTION>
  <POH_EMP_ID>1</POH_EMP_ID>
  <POH_FILE_NAMES>sample string 7</POH_FILE_NAMES>
  <POH_ID>1</POH_ID>
  <POH_INPUT_MODE>sample string 8</POH_INPUT_MODE>
  <POH_NAME>sample string 1</POH_NAME>
  <POH_NOTES>sample string 4</POH_NOTES>
  <POH_NUMBER>sample string 5</POH_NUMBER>
  <POH_STATUS>sample string 3</POH_STATUS>
  <POH_VALID_FROM>2024-05-19T17:36:35.960227+05:30</POH_VALID_FROM>
  <POH_VALID_TILL>2024-05-19T17:36:35.960227+05:30</POH_VALID_TILL>
  <POH_VERSION_NO>sample string 6</POH_VERSION_NO>
</PolicyHeader>

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.