POST api/MSCHRM/InsertAttendanceData
Request Information
URI Parameters
None.
Body Parameters
TimeAttendanceDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | string |
None. |
|
| AttendanceCode | string |
None. |
|
| EmployeeName | string |
None. |
|
| CheckInDate | string |
None. |
|
| CheckInTime | string |
None. |
|
| CheckOutDate | string |
None. |
|
| CheckoutTime | string |
None. |
|
| AdjustedCheckInDate | string |
None. |
|
| AdjustedCheckInTime | string |
None. |
|
| AdjustedCheckOutDate | string |
None. |
|
| AdjustedCheckOutTime | string |
None. |
|
| Hours | string |
None. |
|
| PunchNumber | string |
None. |
|
| ShopId | integer |
None. |
|
| Shop | string |
None. |
|
| MainLocation | string |
None. |
|
| ProblemFlag | boolean |
None. |
|
| AdjustedFlag | boolean |
None. |
|
| UniquID | string |
None. |
|
| AttendanceNote | string |
None. |
|
| OriginalTotalHours | string |
None. |
|
| ManagerTotalHours | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": "sample string 1",
"AttendanceCode": "sample string 2",
"EmployeeName": "sample string 3",
"CheckInDate": "sample string 4",
"CheckInTime": "sample string 5",
"CheckOutDate": "sample string 6",
"CheckoutTime": "sample string 7",
"AdjustedCheckInDate": "sample string 8",
"AdjustedCheckInTime": "sample string 9",
"AdjustedCheckOutDate": "sample string 10",
"AdjustedCheckOutTime": "sample string 11",
"Hours": "sample string 12",
"PunchNumber": "sample string 13",
"ShopId": 1,
"Shop": "sample string 14",
"MainLocation": "sample string 15",
"ProblemFlag": true,
"AdjustedFlag": true,
"UniquID": "sample string 16",
"AttendanceNote": "sample string 17",
"OriginalTotalHours": "sample string 18",
"ManagerTotalHours": "sample string 19"
}
application/xml, text/xml
Sample:
<TimeAttendanceDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PayrollAccountingAPI.Models"> <AdjustedCheckInDate>sample string 8</AdjustedCheckInDate> <AdjustedCheckInTime>sample string 9</AdjustedCheckInTime> <AdjustedCheckOutDate>sample string 10</AdjustedCheckOutDate> <AdjustedCheckOutTime>sample string 11</AdjustedCheckOutTime> <AdjustedFlag>true</AdjustedFlag> <AttendanceCode>sample string 2</AttendanceCode> <AttendanceNote>sample string 17</AttendanceNote> <CheckInDate>sample string 4</CheckInDate> <CheckInTime>sample string 5</CheckInTime> <CheckOutDate>sample string 6</CheckOutDate> <CheckoutTime>sample string 7</CheckoutTime> <EmployeeId>sample string 1</EmployeeId> <EmployeeName>sample string 3</EmployeeName> <Hours>sample string 12</Hours> <MainLocation>sample string 15</MainLocation> <ManagerTotalHours>sample string 19</ManagerTotalHours> <OriginalTotalHours>sample string 18</OriginalTotalHours> <ProblemFlag>true</ProblemFlag> <PunchNumber>sample string 13</PunchNumber> <Shop>sample string 14</Shop> <ShopId>1</ShopId> <UniquID>sample string 16</UniquID> </TimeAttendanceDataModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.