POST api/Overtime/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
OvertimeData| Name | Description | Type | Additional information |
|---|---|---|---|
| entry_type | string |
None. |
|
| entry_date | date |
None. |
|
| empolyeeid | integer |
None. |
|
| empolyeename | string |
None. |
|
| remarks | string |
None. |
|
| startdate | date |
None. |
|
| enddate | date |
None. |
|
| starttime | string |
None. |
|
| endtime | string |
None. |
|
| division_no | integer |
None. |
|
| created_by | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"entry_type": "sample string 1",
"entry_date": "2026-01-11T04:38:06.0170908+05:30",
"empolyeeid": 3,
"empolyeename": "sample string 4",
"remarks": "sample string 5",
"startdate": "2026-01-11T04:38:06.0170908+05:30",
"enddate": "2026-01-11T04:38:06.0170908+05:30",
"starttime": "sample string 8",
"endtime": "sample string 9",
"division_no": 10,
"created_by": "sample string 11"
}
application/xml, text/xml
Sample:
<OvertimeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <created_by>sample string 11</created_by> <division_no>10</division_no> <empolyeeid>3</empolyeeid> <empolyeename>sample string 4</empolyeename> <enddate>2026-01-11T04:38:06.0170908+05:30</enddate> <endtime>sample string 9</endtime> <entry_date>2026-01-11T04:38:06.0170908+05:30</entry_date> <entry_type>sample string 1</entry_type> <remarks>sample string 5</remarks> <startdate>2026-01-11T04:38:06.0170908+05:30</startdate> <starttime>sample string 8</starttime> </OvertimeData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
rtnMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <message>sample string 2</message> <result>true</result> </rtnMessage>