POST api/TimeOffRequests
Request Information
URI Parameters
None.
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": "b9b4c06e-66ba-416f-bb27-ea224907841a", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "6bc1a0c9-3054-4013-9554-cee365a782d4", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "40a97a18-7481-4c9e-bdf8-e53ab514fe38", "LeaveStartTime": "2025-04-03T18:11:20.6308567-04:00", "LeaveEndTime": "2025-04-03T18:11:20.6308567-04:00", "PayPeriodEndDate": "2025-04-03T18:11:20.6308567-04:00", "TimeOffDate": "2025-04-03T18:11:20.6308567-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:11:20.6308567-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:11:20.6308567-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:11:20.6308567-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": "b9b4c06e-66ba-416f-bb27-ea224907841a", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "6bc1a0c9-3054-4013-9554-cee365a782d4", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "40a97a18-7481-4c9e-bdf8-e53ab514fe38", "LeaveStartTime": "2025-04-03T18:11:20.6308567-04:00", "LeaveEndTime": "2025-04-03T18:11:20.6308567-04:00", "PayPeriodEndDate": "2025-04-03T18:11:20.6308567-04:00", "TimeOffDate": "2025-04-03T18:11:20.6308567-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:11:20.6308567-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:11:20.6308567-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:11:20.6308567-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": "2c1ab591-448a-4c32-8d5d-53d79be9d28b", "AuditManagerFullName": "sample string 11", "ReportsToEmail": "sample string 12", "ReportsToObjGUIDId": "0dc6195f-79c7-42ce-9af6-ced967740c7b", "ExtraAuditManagerFullName": "sample string 13", "ExtraReportsToEmail": "sample string 14", "ExtraReportsToObjGUIDId": "4d28c45a-dd8a-4aac-9336-e4ab42f7f325", "LeaveStartTime": "2025-04-03T18:11:20.6308567-04:00", "LeaveEndTime": "2025-04-03T18:11:20.6308567-04:00", "PayPeriodEndDate": "2025-04-03T18:11:20.6308567-04:00", "TimeOffDate": "2025-04-03T18:11:20.6308567-04:00", "DateRequested": "2025-04-03T18:11:20.6308567-04:00", "Status": "sample string 15", "CreateDate": "2025-04-03T18:11:20.6308567-04:00", "CreateUser": "sample string 16", "ModifyDate": "2025-04-03T18:11:20.6308567-04:00", "ModifyUser": "sample string 17", "DeleteDate": "2025-04-03T18:11:20.6308567-04:00", "DeleteUser": "sample string 18", "LeaveRequest": { "Id": 1, "RequesterSignature": 1, "RequestDate": "2025-04-03T18:11:20.6308567-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:11:20.6308567-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":"b9b4c06e-66ba-416f-bb27-ea224907841a","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"6bc1a0c9-3054-4013-9554-cee365a782d4","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"40a97a18-7481-4c9e-bdf8-e53ab514fe38","LeaveStartTime":"2025-04-03T18:11:20.6308567-04:00","LeaveEndTime":"2025-04-03T18:11:20.6308567-04:00","PayPeriodEndDate":"2025-04-03T18:11:20.6308567-04:00","TimeOffDate":"2025-04-03T18:11:20.6308567-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:11:20.6308567-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:11:20.6308567-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:11:20.6308567-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":"b9b4c06e-66ba-416f-bb27-ea224907841a","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"6bc1a0c9-3054-4013-9554-cee365a782d4","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"40a97a18-7481-4c9e-bdf8-e53ab514fe38","LeaveStartTime":"2025-04-03T18:11:20.6308567-04:00","LeaveEndTime":"2025-04-03T18:11:20.6308567-04:00","PayPeriodEndDate":"2025-04-03T18:11:20.6308567-04:00","TimeOffDate":"2025-04-03T18:11:20.6308567-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:11:20.6308567-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:11:20.6308567-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:11:20.6308567-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":"2c1ab591-448a-4c32-8d5d-53d79be9d28b","AuditManagerFullName":"sample string 11","ReportsToEmail":"sample string 12","ReportsToObjGUIDId":"0dc6195f-79c7-42ce-9af6-ced967740c7b","ExtraAuditManagerFullName":"sample string 13","ExtraReportsToEmail":"sample string 14","ExtraReportsToObjGUIDId":"4d28c45a-dd8a-4aac-9336-e4ab42f7f325","LeaveStartTime":"2025-04-03T18:11:20.6308567-04:00","LeaveEndTime":"2025-04-03T18:11:20.6308567-04:00","PayPeriodEndDate":"2025-04-03T18:11:20.6308567-04:00","TimeOffDate":"2025-04-03T18:11:20.6308567-04:00","DateRequested":"2025-04-03T18:11:20.6308567-04:00","Status":"sample string 15","CreateDate":"2025-04-03T18:11:20.6308567-04:00","CreateUser":"sample string 16","ModifyDate":"2025-04-03T18:11:20.6308567-04:00","ModifyUser":"sample string 17","DeleteDate":"2025-04-03T18:11:20.6308567-04:00","DeleteUser":"sample string 18","LeaveRequest":{"Id":1,"RequesterSignature":1,"RequestDate":"2025-04-03T18:11:20.6308567-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:11:20.6308567-04:00"}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.