PUT api/v1/timeoffrequests/status/{id}?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
token | string |
Required |
Body Parameters
TimeOffRequestJsonName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
RequesterID | integer |
None. |
|
TypeOfLeaveID | integer |
None. |
|
LeaveRequestID | integer |
None. |
|
Hours | integer |
None. |
|
AllDay | boolean |
None. |
|
Comments | string |
None. |
|
DenialReason | string |
None. |
|
RequesterFullName | string |
None. |
|
RequesterEmail | string |
None. |
|
RequesterObjGUIDId | globally unique identifier |
None. |
|
AuditManagerFullName | string |
None. |
|
ReportsToEmail | string |
None. |
|
ReportsToObjGUIDId | globally unique identifier |
None. |
|
ExtraAuditManagerFullName | string |
None. |
|
ExtraReportsToEmail | string |
None. |
|
ExtraReportsToObjGUIDId | globally unique identifier |
None. |
|
LeaveStartTime | date |
None. |
|
LeaveEndTime | date |
None. |
|
PayPeriodEndDate | date |
None. |
|
TimeOffDate | date |
None. |
|
DateRequested | date |
None. |
|
Status | string |
None. |
|
CreateDate | date |
None. |
|
CreateUser | string |
None. |
|
ModifyDate | date |
None. |
|
ModifyUser | string |
None. |
|
DeleteDate | date |
None. |
|
DeleteUser | string |
None. |
|
LeaveRequest | LeaveRequest |
None. |
|
queryable | Collection of TimeOffRequest |
None. |
Request Formats
application/json, text/json
Sample:
{ "queryable": [ { "Id": 1, "RequesterID": 2, "LeaveRequestID": 1, "TypeOfLeaveID": 3, "TypeOfLeaveName": "sample string 4", "TypeOfLeaveDescription": "sample string 5", "Hours": 6.0, "AllDay": true, "Comments": "sample string 8", "DenialReason": "sample string 9", "RequesterFullName": "sample string 10", "RequesterEmail": "sample string 11", "RequesterObjGUIDId": "f3d8713a-9f72-4c61-8bbf-71ce59700f2c", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "882bb5ac-b3ce-4952-99c0-6f8a94d30717", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "c447123a-fc97-45a5-94f5-c08979dca262", "LeaveStartTime": "2025-04-03T18:30:22.6930369-04:00", "LeaveEndTime": "2025-04-03T18:30:22.6930369-04:00", "PayPeriodEndDate": "2025-04-03T18:30:22.6930369-04:00", "TimeOffDate": "2025-04-03T18:30:22.6930369-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:30:22.6930369-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:30:22.6930369-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:30:22.6930369-04:00", "DeleteUser": "sample string 19", "TimeOffDateToShort": "4/3/2025" }, { "Id": 1, "RequesterID": 2, "LeaveRequestID": 1, "TypeOfLeaveID": 3, "TypeOfLeaveName": "sample string 4", "TypeOfLeaveDescription": "sample string 5", "Hours": 6.0, "AllDay": true, "Comments": "sample string 8", "DenialReason": "sample string 9", "RequesterFullName": "sample string 10", "RequesterEmail": "sample string 11", "RequesterObjGUIDId": "f3d8713a-9f72-4c61-8bbf-71ce59700f2c", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "882bb5ac-b3ce-4952-99c0-6f8a94d30717", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "c447123a-fc97-45a5-94f5-c08979dca262", "LeaveStartTime": "2025-04-03T18:30:22.6930369-04:00", "LeaveEndTime": "2025-04-03T18:30:22.6930369-04:00", "PayPeriodEndDate": "2025-04-03T18:30:22.6930369-04:00", "TimeOffDate": "2025-04-03T18:30:22.6930369-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:30:22.6930369-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:30:22.6930369-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:30:22.6930369-04:00", "DeleteUser": "sample string 19", "TimeOffDateToShort": "4/3/2025" } ], "Id": 1, "RequesterID": 2, "TypeOfLeaveID": 3, "LeaveRequestID": 4, "Hours": 5, "AllDay": true, "Comments": "sample string 7", "DenialReason": "sample string 8", "RequesterFullName": "sample string 9", "RequesterEmail": "sample string 10", "RequesterObjGUIDId": "451f3e61-2c4f-4f3b-afc8-f9e97f9b2ca9", "AuditManagerFullName": "sample string 11", "ReportsToEmail": "sample string 12", "ReportsToObjGUIDId": "3c1cc51a-9605-464d-9714-16244f7c67bf", "ExtraAuditManagerFullName": "sample string 13", "ExtraReportsToEmail": "sample string 14", "ExtraReportsToObjGUIDId": "8202dbd7-f3ce-4fab-a6b0-f86d296d45e6", "LeaveStartTime": "2025-04-03T18:30:22.6930369-04:00", "LeaveEndTime": "2025-04-03T18:30:22.6930369-04:00", "PayPeriodEndDate": "2025-04-03T18:30:22.6930369-04:00", "TimeOffDate": "2025-04-03T18:30:22.6930369-04:00", "DateRequested": "2025-04-03T18:30:22.6930369-04:00", "Status": "sample string 15", "CreateDate": "2025-04-03T18:30:22.6930369-04:00", "CreateUser": "sample string 16", "ModifyDate": "2025-04-03T18:30:22.6930369-04:00", "ModifyUser": "sample string 17", "DeleteDate": "2025-04-03T18:30:22.6930369-04:00", "DeleteUser": "sample string 18", "LeaveRequest": { "Id": 1, "RequesterSignature": 1, "RequestDate": "2025-04-03T18:30:22.6930369-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:30:22.6930369-04:00" } }
text/html
Sample:
{"queryable":[{"Id":1,"RequesterID":2,"LeaveRequestID":1,"TypeOfLeaveID":3,"TypeOfLeaveName":"sample string 4","TypeOfLeaveDescription":"sample string 5","Hours":6.0,"AllDay":true,"Comments":"sample string 8","DenialReason":"sample string 9","RequesterFullName":"sample string 10","RequesterEmail":"sample string 11","RequesterObjGUIDId":"f3d8713a-9f72-4c61-8bbf-71ce59700f2c","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"882bb5ac-b3ce-4952-99c0-6f8a94d30717","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"c447123a-fc97-45a5-94f5-c08979dca262","LeaveStartTime":"2025-04-03T18:30:22.6930369-04:00","LeaveEndTime":"2025-04-03T18:30:22.6930369-04:00","PayPeriodEndDate":"2025-04-03T18:30:22.6930369-04:00","TimeOffDate":"2025-04-03T18:30:22.6930369-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:30:22.6930369-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:30:22.6930369-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:30:22.6930369-04:00","DeleteUser":"sample string 19","TimeOffDateToShort":"4/3/2025"},{"Id":1,"RequesterID":2,"LeaveRequestID":1,"TypeOfLeaveID":3,"TypeOfLeaveName":"sample string 4","TypeOfLeaveDescription":"sample string 5","Hours":6.0,"AllDay":true,"Comments":"sample string 8","DenialReason":"sample string 9","RequesterFullName":"sample string 10","RequesterEmail":"sample string 11","RequesterObjGUIDId":"f3d8713a-9f72-4c61-8bbf-71ce59700f2c","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"882bb5ac-b3ce-4952-99c0-6f8a94d30717","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"c447123a-fc97-45a5-94f5-c08979dca262","LeaveStartTime":"2025-04-03T18:30:22.6930369-04:00","LeaveEndTime":"2025-04-03T18:30:22.6930369-04:00","PayPeriodEndDate":"2025-04-03T18:30:22.6930369-04:00","TimeOffDate":"2025-04-03T18:30:22.6930369-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:30:22.6930369-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:30:22.6930369-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:30:22.6930369-04:00","DeleteUser":"sample string 19","TimeOffDateToShort":"4/3/2025"}],"Id":1,"RequesterID":2,"TypeOfLeaveID":3,"LeaveRequestID":4,"Hours":5,"AllDay":true,"Comments":"sample string 7","DenialReason":"sample string 8","RequesterFullName":"sample string 9","RequesterEmail":"sample string 10","RequesterObjGUIDId":"451f3e61-2c4f-4f3b-afc8-f9e97f9b2ca9","AuditManagerFullName":"sample string 11","ReportsToEmail":"sample string 12","ReportsToObjGUIDId":"3c1cc51a-9605-464d-9714-16244f7c67bf","ExtraAuditManagerFullName":"sample string 13","ExtraReportsToEmail":"sample string 14","ExtraReportsToObjGUIDId":"8202dbd7-f3ce-4fab-a6b0-f86d296d45e6","LeaveStartTime":"2025-04-03T18:30:22.6930369-04:00","LeaveEndTime":"2025-04-03T18:30:22.6930369-04:00","PayPeriodEndDate":"2025-04-03T18:30:22.6930369-04:00","TimeOffDate":"2025-04-03T18:30:22.6930369-04:00","DateRequested":"2025-04-03T18:30:22.6930369-04:00","Status":"sample string 15","CreateDate":"2025-04-03T18:30:22.6930369-04:00","CreateUser":"sample string 16","ModifyDate":"2025-04-03T18:30:22.6930369-04:00","ModifyUser":"sample string 17","DeleteDate":"2025-04-03T18:30:22.6930369-04:00","DeleteUser":"sample string 18","LeaveRequest":{"Id":1,"RequesterSignature":1,"RequestDate":"2025-04-03T18:30:22.6930369-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:30:22.6930369-04:00"}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.