POST api/Attendance/PostAttendance
Request Information
URI Parameters
None.
Body Parameters
AttendanceViewModelName | Description | Type | Additional information |
---|---|---|---|
AttendanceID | integer |
None. |
|
InTime | date |
None. |
|
OutTime | date |
None. |
|
InTimeComment | string |
None. |
|
OutTimeComment | string |
None. |
|
TrackingType | string |
None. |
|
TrackingTypeID | integer |
None. |
|
PersonID | integer |
None. |
|
EmployeeID | integer |
None. |
|
TotalDuration | decimal number |
None. |
|
EffectiveDuration | decimal number |
None. |
|
StatusCode | string |
None. |
|
InTimeText | string |
None. |
|
OutTimeText | string |
None. |
|
StatusText | string |
None. |
|
ShiftStartTime | date |
None. |
|
ShitInTime | string |
None. |
|
ShitOutTime | string |
None. |
|
ShiftEndTime | date |
None. |
|
InOutTime | date |
None. |
|
Comments | string |
None. |
|
InDeviceName | string |
None. |
|
OutDeviceName | string |
None. |
|
Time | string |
None. |
|
ApprovedByID | integer |
None. |
|
DeviceID | integer |
None. |
|
Date | string |
None. |
|
FilterDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "AttendanceID": 1, "InTime": "2025-04-05T00:07:53.5392101+05:30", "OutTime": "2025-04-05T00:07:53.5392101+05:30", "InTimeComment": "sample string 2", "OutTimeComment": "sample string 3", "TrackingType": "sample string 4", "TrackingTypeID": 5, "PersonID": 6, "EmployeeID": 7, "TotalDuration": 8.1, "EffectiveDuration": 9.1, "StatusCode": "sample string 10", "InTimeText": "sample string 11", "OutTimeText": "sample string 12", "StatusText": "sample string 13", "ShiftStartTime": "2025-04-05T00:07:53.5392101+05:30", "ShitInTime": "sample string 15", "ShitOutTime": "sample string 16", "ShiftEndTime": "2025-04-05T00:07:53.5392101+05:30", "InOutTime": "2025-04-05T00:07:53.5392101+05:30", "Comments": "sample string 18", "InDeviceName": "sample string 19", "OutDeviceName": "sample string 20", "Time": "sample string 21", "ApprovedByID": 22, "DeviceID": 23, "Date": "sample string 24", "FilterDate": "2025-04-05T00:07:53.5392101+05:30" }
application/xml, text/xml
Sample:
<AttendanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Attendace"> <ApprovedByID>22</ApprovedByID> <AttendanceID>1</AttendanceID> <Comments>sample string 18</Comments> <Date>sample string 24</Date> <DeviceID>23</DeviceID> <EffectiveDuration>9.1</EffectiveDuration> <EmployeeID>7</EmployeeID> <FilterDate>2025-04-05T00:07:53.5392101+05:30</FilterDate> <InDeviceName>sample string 19</InDeviceName> <InOutTime>2025-04-05T00:07:53.5392101+05:30</InOutTime> <InTime>2025-04-05T00:07:53.5392101+05:30</InTime> <InTimeComment>sample string 2</InTimeComment> <InTimeText>sample string 11</InTimeText> <OutDeviceName>sample string 20</OutDeviceName> <OutTime>2025-04-05T00:07:53.5392101+05:30</OutTime> <OutTimeComment>sample string 3</OutTimeComment> <OutTimeText>sample string 12</OutTimeText> <PersonID>6</PersonID> <ShiftEndTime>2025-04-05T00:07:53.5392101+05:30</ShiftEndTime> <ShiftStartTime>2025-04-05T00:07:53.5392101+05:30</ShiftStartTime> <ShitInTime>sample string 15</ShitInTime> <ShitOutTime>sample string 16</ShitOutTime> <StatusCode>sample string 10</StatusCode> <StatusText>sample string 13</StatusText> <Time>sample string 21</Time> <TotalDuration>8.1</TotalDuration> <TrackingType>sample string 4</TrackingType> <TrackingTypeID>5</TrackingTypeID> </AttendanceViewModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.