POST api/Configuration/LeaveApprovalConfiguration

Request Information

URI Parameters

None.

Body Parameters

LeaveApprovalViewModel
NameDescriptionTypeAdditional information
LeaveApprovalConfigurationId

integer

None.

LeaveRuleConfigurationId

integer

None.

ApprovalAuthority

string

None.

ApprovalAuthorityName

string

None.

IsApprovalRequired

boolean

None.

ApprovalLevel

byte

None.

ApprovalPriority

byte

None.

HRPriority

byte

None.

MgrPriority

byte

None.

PayrollPriority

byte

None.

IsAutoApprovalApplicable

boolean

None.

AutoApprovalAfterNoOfDays

byte

None.

IsReminderApplicable

boolean

None.

ReminderAfterNoOfDays

byte

None.

IsDisplayToMultipalLevel

boolean

None.

IsSkipLevelApplicable

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifyDate

date

None.

ModifyBy

integer

None.

IpAddress

string

None.

LocalIpAddress

string

None.

DbUserAccount

string

None.

CreatedByName

string

None.

ModifyByName

string

None.

RequestType

RequestTypeEnum

None.

IsManagerApproval

boolean

None.

IsHRApproval

boolean

None.

IsApyrollApproval

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LeaveApprovalConfigurationId": 1,
  "LeaveRuleConfigurationId": 2,
  "ApprovalAuthority": "sample string 3",
  "ApprovalAuthorityName": "sample string 4",
  "IsApprovalRequired": true,
  "ApprovalLevel": 64,
  "ApprovalPriority": 64,
  "HRPriority": 64,
  "MgrPriority": 64,
  "PayrollPriority": 64,
  "IsAutoApprovalApplicable": true,
  "AutoApprovalAfterNoOfDays": 64,
  "IsReminderApplicable": true,
  "ReminderAfterNoOfDays": 64,
  "IsDisplayToMultipalLevel": true,
  "IsSkipLevelApplicable": true,
  "CreatedDate": "2026-01-07T07:13:04.2613061+05:30",
  "CreatedBy": 6,
  "ModifyDate": "2026-01-07T07:13:04.2613061+05:30",
  "ModifyBy": 1,
  "IpAddress": "sample string 7",
  "LocalIpAddress": "sample string 8",
  "DbUserAccount": "sample string 9",
  "CreatedByName": "sample string 10",
  "ModifyByName": "sample string 11",
  "RequestType": 0,
  "IsManagerApproval": true,
  "IsHRApproval": true,
  "IsApyrollApproval": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.