PUT api/EmployeeTimeOffs/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
EmployeeTimeOffDetailDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EmpName | string |
None. |
|
Reason | string |
None. |
|
From | date |
None. |
|
To | date |
None. |
|
Approved | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "EmpName": "sample string 2", "Reason": "sample string 3", "From": "2025-09-07T03:01:31.9949497+00:00", "To": "2025-09-07T03:01:31.9949497+00:00", "Approved": true }
application/xml, text/xml
Sample:
<EmployeeTimeOffDetailDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTOs.Models"> <Approved>true</Approved> <EmpName>sample string 2</EmpName> <From>2025-09-07T03:01:31.9949497+00:00</From> <Id>1</Id> <Reason>sample string 3</Reason> <To>2025-09-07T03:01:31.9949497+00:00</To> </EmployeeTimeOffDetailDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.