POST api/AttendanceAndTimesheet/SaveImageAttendancDetails
Request Information
URI Parameters
None.
Body Parameters
InsertImageAttendanceName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
UserId | integer |
None. |
|
Token | string |
None. |
|
Photo | Collection of byte |
None. |
|
AttendanceDate | date |
None. |
|
SignIn | date |
None. |
|
StepIn | date |
None. |
|
StepOut | date |
None. |
|
SignOut | date |
None. |
|
CreatedBy | integer |
None. |
|
ActionType | integer |
None. |
|
AttendanceType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "UserId": 2, "Token": "sample string 3", "Photo": "QEA=", "AttendanceDate": "2025-08-06T22:52:16.0608257+08:00", "SignIn": "2025-08-06T22:52:16.0608257+08:00", "StepIn": "2025-08-06T22:52:16.0608257+08:00", "StepOut": "2025-08-06T22:52:16.0608257+08:00", "SignOut": "2025-08-06T22:52:16.0608257+08:00", "CreatedBy": 9, "ActionType": 10, "AttendanceType": 11 }
text/html
Sample:
{"ID":1,"UserId":2,"Token":"sample string 3","Photo":"QEA=","AttendanceDate":"2025-08-06T22:52:16.0608257+08:00","SignIn":"2025-08-06T22:52:16.0608257+08:00","StepIn":"2025-08-06T22:52:16.0608257+08:00","StepOut":"2025-08-06T22:52:16.0608257+08:00","SignOut":"2025-08-06T22:52:16.0608257+08:00","CreatedBy":9,"ActionType":10,"AttendanceType":11}
application/xml, text/xml
Sample:
<AttendanceAndTimesheetController.InsertImageAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <ActionType>10</ActionType> <AttendanceDate>2025-08-06T22:52:16.0608257+08:00</AttendanceDate> <AttendanceType>11</AttendanceType> <CreatedBy>9</CreatedBy> <ID>1</ID> <Photo>QEA=</Photo> <SignIn>2025-08-06T22:52:16.0608257+08:00</SignIn> <SignOut>2025-08-06T22:52:16.0608257+08:00</SignOut> <StepIn>2025-08-06T22:52:16.0608257+08:00</StepIn> <StepOut>2025-08-06T22:52:16.0608257+08:00</StepOut> <Token>sample string 3</Token> <UserId>2</UserId> </AttendanceAndTimesheetController.InsertImageAttendance>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of Object [key] and Object [value]Response Formats
application/json, text/json, text/html
Sample:
{"System.Object":{},"System.Object":{}}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> </ArrayOfKeyValueOfanyTypeanyType>