POST api/payroll/settings/save
Request Information
URI Parameters
None.
Body Parameters
SavePayrollSettingsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DefaultShiftId | integer |
None. |
|
| CalculationMode | string |
None. |
|
| FullDayMinHours | decimal number |
None. |
|
| HalfDayMinHours | decimal number |
None. |
|
| OTEnabled | boolean |
None. |
|
| OTMultiplier | decimal number |
None. |
|
| OTAdjustmentPolicy | string |
None. |
|
| EnablePF | boolean |
None. |
|
| PFEmployeeRatePercent | decimal number |
None. |
|
| PFWageCapMonthly | decimal number |
None. |
|
| EnableESIC | boolean |
None. |
|
| ESICEmployeeRatePercent | decimal number |
None. |
|
| ESICWageCapMonthly | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"DefaultShiftId": 1,
"CalculationMode": "sample string 2",
"FullDayMinHours": 3.0,
"HalfDayMinHours": 4.0,
"OTEnabled": true,
"OTMultiplier": 6.0,
"OTAdjustmentPolicy": "sample string 7",
"EnablePF": true,
"PFEmployeeRatePercent": 1.0,
"PFWageCapMonthly": 1.0,
"EnableESIC": true,
"ESICEmployeeRatePercent": 1.0,
"ESICWageCapMonthly": 1.0
}
application/xml, text/xml
Sample:
<SavePayrollSettingsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAttapp.Controllers"> <CalculationMode>sample string 2</CalculationMode> <DefaultShiftId>1</DefaultShiftId> <ESICEmployeeRatePercent>1</ESICEmployeeRatePercent> <ESICWageCapMonthly>1</ESICWageCapMonthly> <EnableESIC>true</EnableESIC> <EnablePF>true</EnablePF> <FullDayMinHours>3</FullDayMinHours> <HalfDayMinHours>4</HalfDayMinHours> <OTAdjustmentPolicy>sample string 7</OTAdjustmentPolicy> <OTEnabled>true</OTEnabled> <OTMultiplier>6</OTMultiplier> <PFEmployeeRatePercent>1</PFEmployeeRatePercent> <PFWageCapMonthly>1</PFWageCapMonthly> </SavePayrollSettingsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |