POST api/PermissionAndOvertime/InsertExtraTime
Request Information
URI Parameters
None.
Body Parameters
InsertExtraTimeDataName | Description | Type | Additional information |
---|---|---|---|
userId | integer |
None. |
|
applyingDate | date |
None. |
|
startTime | string |
None. |
|
endTime | string |
None. |
|
reason | string |
None. |
|
fileName | string |
None. |
|
file | string |
None. |
|
ApplyingUserEmailId | string |
None. |
|
ApplyingUserFullName | string |
None. |
|
Token | string |
None. |
|
SourceType | string |
None. |
|
AppointmentId | integer |
None. |
|
ToDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "userId": 1, "applyingDate": "2025-08-07T06:52:45.5066751+08:00", "startTime": "sample string 3", "endTime": "sample string 4", "reason": "sample string 5", "fileName": "sample string 6", "file": "sample string 7", "ApplyingUserEmailId": "sample string 8", "ApplyingUserFullName": "sample string 9", "Token": "sample string 10", "SourceType": "sample string 11", "AppointmentId": 12, "ToDate": "2025-08-07T06:52:45.5066751+08:00" }
text/html
Sample:
{"userId":1,"applyingDate":"2025-08-07T06:52:45.5066751+08:00","startTime":"sample string 3","endTime":"sample string 4","reason":"sample string 5","fileName":"sample string 6","file":"sample string 7","ApplyingUserEmailId":"sample string 8","ApplyingUserFullName":"sample string 9","Token":"sample string 10","SourceType":"sample string 11","AppointmentId":12,"ToDate":"2025-08-07T06:52:45.5066751+08:00"}
application/xml, text/xml
Sample:
<PermissionAndOvertimeController.InsertExtraTimeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <ApplyingUserEmailId>sample string 8</ApplyingUserEmailId> <ApplyingUserFullName>sample string 9</ApplyingUserFullName> <AppointmentId>12</AppointmentId> <SourceType>sample string 11</SourceType> <ToDate>2025-08-07T06:52:45.5066751+08:00</ToDate> <Token>sample string 10</Token> <applyingDate>2025-08-07T06:52:45.5066751+08:00</applyingDate> <endTime>sample string 4</endTime> <file>sample string 7</file> <fileName>sample string 6</fileName> <reason>sample string 5</reason> <startTime>sample string 3</startTime> <userId>1</userId> </PermissionAndOvertimeController.InsertExtraTimeData>
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>