POST api/Shift/AddAttendancesetting
Request Information
URI Parameters
None.
Body Parameters
clsattendancesetting| Name | Description | Type | Additional information |
|---|---|---|---|
| shiftId | integer |
None. |
|
| totalhrscalc | string |
None. |
|
| minhrforday | string |
None. |
|
| strickmaual | string |
None. |
|
| FullDayhr | integer |
None. |
|
| FullDaymin | integer |
None. |
|
| HalfDayhr | integer |
None. |
|
| HalfDaymin | integer |
None. |
|
| LenietPerDayhr | integer |
None. |
|
| LenietPerDaymin | integer |
None. |
|
| showovertime | boolean |
None. |
|
| maxhrreq | string |
None. |
|
| MaxHourPerDayhr | integer |
None. |
|
| MaxHourPerDaymin | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"shiftId": 1,
"totalhrscalc": "sample string 2",
"minhrforday": "sample string 3",
"strickmaual": "sample string 4",
"FullDayhr": 1,
"FullDaymin": 1,
"HalfDayhr": 1,
"HalfDaymin": 1,
"LenietPerDayhr": 1,
"LenietPerDaymin": 1,
"showovertime": true,
"maxhrreq": "sample string 6",
"MaxHourPerDayhr": 1,
"MaxHourPerDaymin": 1
}
application/xml, text/xml
Sample:
<clsattendancesetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <FullDayhr>1</FullDayhr> <FullDaymin>1</FullDaymin> <HalfDayhr>1</HalfDayhr> <HalfDaymin>1</HalfDaymin> <LenietPerDayhr>1</LenietPerDayhr> <LenietPerDaymin>1</LenietPerDaymin> <MaxHourPerDayhr>1</MaxHourPerDayhr> <MaxHourPerDaymin>1</MaxHourPerDaymin> <maxhrreq>sample string 6</maxhrreq> <minhrforday>sample string 3</minhrforday> <shiftId>1</shiftId> <showovertime>true</showovertime> <strickmaual>sample string 4</strickmaual> <totalhrscalc>sample string 2</totalhrscalc> </clsattendancesetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />