POST api/AttendanceAndTimesheet/InsertLocumEntry
Request Information
URI Parameters
None.
Body Parameters
InsertLocumEntrysName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
Token | string |
None. |
|
EmployeeName | string |
None. |
|
Date | date |
None. |
|
TimeIn | date |
None. |
|
TimeOut | date |
None. |
|
Hours | decimal number |
None. |
|
Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "Token": "sample string 2", "EmployeeName": "sample string 3", "Date": "2025-08-07T00:49:44.3865473+08:00", "TimeIn": "2025-08-07T00:49:44.3865473+08:00", "TimeOut": "2025-08-07T00:49:44.3865473+08:00", "Hours": 7.0, "Amount": 8.0 }
text/html
Sample:
{"UserId":1,"Token":"sample string 2","EmployeeName":"sample string 3","Date":"2025-08-07T00:49:44.3865473+08:00","TimeIn":"2025-08-07T00:49:44.3865473+08:00","TimeOut":"2025-08-07T00:49:44.3865473+08:00","Hours":7.0,"Amount":8.0}
application/xml, text/xml
Sample:
<AttendanceAndTimesheetController.InsertLocumEntrys xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <Amount>8</Amount> <Date>2025-08-07T00:49:44.3865473+08:00</Date> <EmployeeName>sample string 3</EmployeeName> <Hours>7</Hours> <TimeIn>2025-08-07T00:49:44.3865473+08:00</TimeIn> <TimeOut>2025-08-07T00:49:44.3865473+08:00</TimeOut> <Token>sample string 2</Token> <UserId>1</UserId> </AttendanceAndTimesheetController.InsertLocumEntrys>
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>