POST api/TimeOffRequests/{id}?date={date}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
date | date |
Required |
Body Parameters
DirectorySearcherName | Description | Type | Additional information |
---|---|---|---|
CacheResults | boolean |
None. |
|
ClientTimeout | time interval |
None. |
|
PropertyNamesOnly | boolean |
None. |
|
Filter | string |
None. |
|
PageSize | integer |
None. |
|
PropertiesToLoad | Collection of Object |
None. |
|
ReferralChasing | ReferralChasingOption |
None. |
|
SearchScope | SearchScope |
None. |
|
ServerPageTimeLimit | time interval |
None. |
|
ServerTimeLimit | time interval |
None. |
|
SizeLimit | integer |
None. |
|
SearchRoot | DirectoryEntry |
None. |
|
Sort | SortOption |
None. |
|
Asynchronous | boolean |
None. |
|
Tombstone | boolean |
None. |
|
AttributeScopeQuery | string |
None. |
|
DerefAlias | DereferenceAlias |
None. |
|
SecurityMasks | SecurityMasks |
None. |
|
ExtendedDN | ExtendedDN |
None. |
|
DirectorySynchronization | DirectorySynchronization |
None. |
|
VirtualListView | DirectoryVirtualListView |
None. |
|
Site | ISite |
None. |
|
Container | IContainer |
None. |
Request Formats
application/json, text/json, text/html, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |
Response 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": "61f152ef-4bc7-4a49-8c1a-e5d18f1fe0c2", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "c1699623-a738-44dd-b499-63af70d267d4", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "753fca81-9a64-4ef6-9456-033b8171eeb5", "LeaveStartTime": "2025-04-03T18:18:47.6795499-04:00", "LeaveEndTime": "2025-04-03T18:18:47.6795499-04:00", "PayPeriodEndDate": "2025-04-03T18:18:47.6795499-04:00", "TimeOffDate": "2025-04-03T18:18:47.6795499-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:18:47.6795499-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:18:47.6795499-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:18:47.6795499-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": "61f152ef-4bc7-4a49-8c1a-e5d18f1fe0c2", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "c1699623-a738-44dd-b499-63af70d267d4", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "753fca81-9a64-4ef6-9456-033b8171eeb5", "LeaveStartTime": "2025-04-03T18:18:47.6795499-04:00", "LeaveEndTime": "2025-04-03T18:18:47.6795499-04:00", "PayPeriodEndDate": "2025-04-03T18:18:47.6795499-04:00", "TimeOffDate": "2025-04-03T18:18:47.6795499-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:18:47.6795499-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:18:47.6795499-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:18:47.6795499-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": "83e95184-2bc8-4842-a63a-85ff0a15bffa", "AuditManagerFullName": "sample string 11", "ReportsToEmail": "sample string 12", "ReportsToObjGUIDId": "936f5908-64a0-462e-ad7c-b55917fbe6b8", "ExtraAuditManagerFullName": "sample string 13", "ExtraReportsToEmail": "sample string 14", "ExtraReportsToObjGUIDId": "1023ea85-39d1-460a-ad70-626eb959da62", "LeaveStartTime": "2025-04-03T18:18:47.6795499-04:00", "LeaveEndTime": "2025-04-03T18:18:47.6795499-04:00", "PayPeriodEndDate": "2025-04-03T18:18:47.6795499-04:00", "TimeOffDate": "2025-04-03T18:18:47.6795499-04:00", "DateRequested": "2025-04-03T18:18:47.6795499-04:00", "Status": "sample string 15", "CreateDate": "2025-04-03T18:18:47.6795499-04:00", "CreateUser": "sample string 16", "ModifyDate": "2025-04-03T18:18:47.6795499-04:00", "ModifyUser": "sample string 17", "DeleteDate": "2025-04-03T18:18:47.6795499-04:00", "DeleteUser": "sample string 18", "LeaveRequest": { "Id": 1, "RequesterSignature": 1, "RequestDate": "2025-04-03T18:18:47.6795499-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:18:47.6795499-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":"61f152ef-4bc7-4a49-8c1a-e5d18f1fe0c2","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"c1699623-a738-44dd-b499-63af70d267d4","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"753fca81-9a64-4ef6-9456-033b8171eeb5","LeaveStartTime":"2025-04-03T18:18:47.6795499-04:00","LeaveEndTime":"2025-04-03T18:18:47.6795499-04:00","PayPeriodEndDate":"2025-04-03T18:18:47.6795499-04:00","TimeOffDate":"2025-04-03T18:18:47.6795499-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:18:47.6795499-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:18:47.6795499-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:18:47.6795499-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":"61f152ef-4bc7-4a49-8c1a-e5d18f1fe0c2","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"c1699623-a738-44dd-b499-63af70d267d4","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"753fca81-9a64-4ef6-9456-033b8171eeb5","LeaveStartTime":"2025-04-03T18:18:47.6795499-04:00","LeaveEndTime":"2025-04-03T18:18:47.6795499-04:00","PayPeriodEndDate":"2025-04-03T18:18:47.6795499-04:00","TimeOffDate":"2025-04-03T18:18:47.6795499-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:18:47.6795499-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:18:47.6795499-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:18:47.6795499-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":"83e95184-2bc8-4842-a63a-85ff0a15bffa","AuditManagerFullName":"sample string 11","ReportsToEmail":"sample string 12","ReportsToObjGUIDId":"936f5908-64a0-462e-ad7c-b55917fbe6b8","ExtraAuditManagerFullName":"sample string 13","ExtraReportsToEmail":"sample string 14","ExtraReportsToObjGUIDId":"1023ea85-39d1-460a-ad70-626eb959da62","LeaveStartTime":"2025-04-03T18:18:47.6795499-04:00","LeaveEndTime":"2025-04-03T18:18:47.6795499-04:00","PayPeriodEndDate":"2025-04-03T18:18:47.6795499-04:00","TimeOffDate":"2025-04-03T18:18:47.6795499-04:00","DateRequested":"2025-04-03T18:18:47.6795499-04:00","Status":"sample string 15","CreateDate":"2025-04-03T18:18:47.6795499-04:00","CreateUser":"sample string 16","ModifyDate":"2025-04-03T18:18:47.6795499-04:00","ModifyUser":"sample string 17","DeleteDate":"2025-04-03T18:18:47.6795499-04:00","DeleteUser":"sample string 18","LeaveRequest":{"Id":1,"RequesterSignature":1,"RequestDate":"2025-04-03T18:18:47.6795499-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:18:47.6795499-04:00"}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.