POST api/ImpersonateTimeOffRequests/{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": "77236706-528b-4235-8804-d9b131a32268", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "409981d5-94f9-47d3-8d34-4049b6c1d8f7", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "f12fe331-ef3e-4a6f-8409-e5b86887ba94", "LeaveStartTime": "2025-04-03T18:33:42.6281127-04:00", "LeaveEndTime": "2025-04-03T18:33:42.6281127-04:00", "PayPeriodEndDate": "2025-04-03T18:33:42.6281127-04:00", "TimeOffDate": "2025-04-03T18:33:42.6281127-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:33:42.6281127-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:33:42.6281127-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:33:42.6281127-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": "77236706-528b-4235-8804-d9b131a32268", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "409981d5-94f9-47d3-8d34-4049b6c1d8f7", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "f12fe331-ef3e-4a6f-8409-e5b86887ba94", "LeaveStartTime": "2025-04-03T18:33:42.6281127-04:00", "LeaveEndTime": "2025-04-03T18:33:42.6281127-04:00", "PayPeriodEndDate": "2025-04-03T18:33:42.6281127-04:00", "TimeOffDate": "2025-04-03T18:33:42.6281127-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:33:42.6281127-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:33:42.6281127-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:33:42.6281127-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": "bee17d0d-23bb-4deb-9989-972a63950f3d", "AuditManagerFullName": "sample string 11", "ReportsToEmail": "sample string 12", "ReportsToObjGUIDId": "2428b0c1-b01d-495c-9f29-c73aaaba1e06", "ExtraAuditManagerFullName": "sample string 13", "ExtraReportsToEmail": "sample string 14", "ExtraReportsToObjGUIDId": "9fc5e3ab-58d2-4bbb-b9c3-456cae5eb4b8", "LeaveStartTime": "2025-04-03T18:33:42.6281127-04:00", "LeaveEndTime": "2025-04-03T18:33:42.6281127-04:00", "PayPeriodEndDate": "2025-04-03T18:33:42.6281127-04:00", "TimeOffDate": "2025-04-03T18:33:42.6281127-04:00", "DateRequested": "2025-04-03T18:33:42.6281127-04:00", "Status": "sample string 15", "CreateDate": "2025-04-03T18:33:42.6281127-04:00", "CreateUser": "sample string 16", "ModifyDate": "2025-04-03T18:33:42.6281127-04:00", "ModifyUser": "sample string 17", "DeleteDate": "2025-04-03T18:33:42.6281127-04:00", "DeleteUser": "sample string 18", "LeaveRequest": { "Id": 1, "RequesterSignature": 1, "RequestDate": "2025-04-03T18:33:42.6281127-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:33:42.6281127-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":"77236706-528b-4235-8804-d9b131a32268","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"409981d5-94f9-47d3-8d34-4049b6c1d8f7","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"f12fe331-ef3e-4a6f-8409-e5b86887ba94","LeaveStartTime":"2025-04-03T18:33:42.6281127-04:00","LeaveEndTime":"2025-04-03T18:33:42.6281127-04:00","PayPeriodEndDate":"2025-04-03T18:33:42.6281127-04:00","TimeOffDate":"2025-04-03T18:33:42.6281127-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:33:42.6281127-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:33:42.6281127-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:33:42.6281127-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":"77236706-528b-4235-8804-d9b131a32268","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"409981d5-94f9-47d3-8d34-4049b6c1d8f7","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"f12fe331-ef3e-4a6f-8409-e5b86887ba94","LeaveStartTime":"2025-04-03T18:33:42.6281127-04:00","LeaveEndTime":"2025-04-03T18:33:42.6281127-04:00","PayPeriodEndDate":"2025-04-03T18:33:42.6281127-04:00","TimeOffDate":"2025-04-03T18:33:42.6281127-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:33:42.6281127-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:33:42.6281127-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:33:42.6281127-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":"bee17d0d-23bb-4deb-9989-972a63950f3d","AuditManagerFullName":"sample string 11","ReportsToEmail":"sample string 12","ReportsToObjGUIDId":"2428b0c1-b01d-495c-9f29-c73aaaba1e06","ExtraAuditManagerFullName":"sample string 13","ExtraReportsToEmail":"sample string 14","ExtraReportsToObjGUIDId":"9fc5e3ab-58d2-4bbb-b9c3-456cae5eb4b8","LeaveStartTime":"2025-04-03T18:33:42.6281127-04:00","LeaveEndTime":"2025-04-03T18:33:42.6281127-04:00","PayPeriodEndDate":"2025-04-03T18:33:42.6281127-04:00","TimeOffDate":"2025-04-03T18:33:42.6281127-04:00","DateRequested":"2025-04-03T18:33:42.6281127-04:00","Status":"sample string 15","CreateDate":"2025-04-03T18:33:42.6281127-04:00","CreateUser":"sample string 16","ModifyDate":"2025-04-03T18:33:42.6281127-04:00","ModifyUser":"sample string 17","DeleteDate":"2025-04-03T18:33:42.6281127-04:00","DeleteUser":"sample string 18","LeaveRequest":{"Id":1,"RequesterSignature":1,"RequestDate":"2025-04-03T18:33:42.6281127-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:33:42.6281127-04:00"}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.