POST api/Configuration/IsOTRExists
Request Information
URI Parameters
None.
Body Parameters
OverTimeRuleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OverTimeRuleConfigurationId | integer |
None. |
|
| Name | string |
None. |
|
| ClientId | integer |
None. |
|
| CountryId | integer |
None. |
|
| IsCountryConfigurationApplicable | boolean |
None. |
|
| IsStateConfigurationApplicable | boolean |
None. |
|
| StateId | integer |
None. |
|
| IsGenderConfigurationApplicable | boolean |
None. |
|
| GenderId | integer |
None. |
|
| IsEmployeeTypeApplicable | boolean |
None. |
|
| EmployeeTypeId | integer |
None. |
|
| IsDesignationConfigurationApplicable | boolean |
None. |
|
| DesginationId | integer |
None. |
|
| IsShiftConfigurationApplicable | boolean |
None. |
|
| ShiftId | integer |
None. |
|
| IsHireDateConfigurationApplicable | boolean |
None. |
|
| MinimumHireDays | decimal number |
None. |
|
| MaximumHireDays | decimal number |
None. |
|
| IsSeniorityConfigurationApplicable | boolean |
None. |
|
| MinimumSeniorityDays | integer |
None. |
|
| MaximumSeniorityDays | integer |
None. |
|
| IsAgeConfigurationApplicable | boolean |
None. |
|
| MinimumAge | byte |
None. |
|
| MaximumAge | byte |
None. |
|
| WorkingDaysTypeId | integer |
None. |
|
| MinOverTimeWorkingMin | integer |
None. |
|
| MaxOverTimeWorkingMin | integer |
None. |
|
| IsPreShiftHoursApplicable | boolean |
None. |
|
| IsOverTimeAmountFixed | boolean |
None. |
|
| OverTimeAmount | decimal number |
None. |
|
| OverTimeAmountRatioOfSalry | decimal number |
None. |
|
| IsOverTimeApplicableOnAssignCalls | boolean |
None. |
|
| OverTimeAmountOnCalls | decimal number |
None. |
|
| EffectiveDateFrom | date |
None. |
|
| EffectiveDateTo | date |
None. |
|
| IsActive | 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. |
|
| lstState | Collection of integer |
None. |
|
| lstGender | Collection of integer |
None. |
|
| lstEmployeeType | Collection of integer |
None. |
|
| lstDesignation | Collection of integer |
None. |
|
| RequestType | RequestTypeEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"OverTimeRuleConfigurationId": 1,
"Name": "sample string 2",
"ClientId": 1,
"CountryId": 1,
"IsCountryConfigurationApplicable": true,
"IsStateConfigurationApplicable": true,
"StateId": 1,
"IsGenderConfigurationApplicable": true,
"GenderId": 1,
"IsEmployeeTypeApplicable": true,
"EmployeeTypeId": 1,
"IsDesignationConfigurationApplicable": true,
"DesginationId": 1,
"IsShiftConfigurationApplicable": true,
"ShiftId": 1,
"IsHireDateConfigurationApplicable": true,
"MinimumHireDays": 1.1,
"MaximumHireDays": 1.1,
"IsSeniorityConfigurationApplicable": true,
"MinimumSeniorityDays": 1,
"MaximumSeniorityDays": 1,
"IsAgeConfigurationApplicable": true,
"MinimumAge": 64,
"MaximumAge": 64,
"WorkingDaysTypeId": 1,
"MinOverTimeWorkingMin": 1,
"MaxOverTimeWorkingMin": 1,
"IsPreShiftHoursApplicable": true,
"IsOverTimeAmountFixed": true,
"OverTimeAmount": 1.1,
"OverTimeAmountRatioOfSalry": 1.1,
"IsOverTimeApplicableOnAssignCalls": true,
"OverTimeAmountOnCalls": 1.1,
"EffectiveDateFrom": "2026-01-07T07:14:40.4871953+05:30",
"EffectiveDateTo": "2026-01-07T07:14:40.4871953+05:30",
"IsActive": true,
"CreatedDate": "2026-01-07T07:14:40.4871953+05:30",
"CreatedBy": 1,
"ModifyDate": "2026-01-07T07:14:40.4871953+05:30",
"ModifyBy": 1,
"IpAddress": "sample string 3",
"LocalIpAddress": "sample string 4",
"DbUserAccount": "sample string 5",
"CreatedByName": "sample string 6",
"ModifyByName": "sample string 7",
"lstState": [
1,
2
],
"lstGender": [
1,
1
],
"lstEmployeeType": [
1,
1
],
"lstDesignation": [
1,
1
],
"RequestType": 0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.