PUT api/v1/timeoffrequests?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token | string |
Required |
Body Parameters
ListTimeOffRequestJsonName | Description | Type | Additional information |
---|---|---|---|
timeoffRecords | Collection of MilageRequestJson |
None. |
|
employeeSignature | EmployeeSignatureJson |
None. |
|
approverSignature | ApproverSignatureJson |
None. |
|
reportsTo | ReportsTo |
None. |
Request Formats
application/json, text/json
Sample:
{ "timeoffRecords": [ { "Id": 1, "RequesterID": 2, "TypeOfLeaveID": 3, "LeaveRequestID": 4, "Hours": 5.0, "allDay": "sample string 6", "AllDay": true, "TimeoffComments": "sample string 8", "DenialReason": "sample string 9", "RequesterFullName": "sample string 10", "RequesterEmail": "sample string 11", "RequesterObjGUIDId": "2517e435-8733-4ee5-8014-2937b5f820eb", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "8799e1cb-eb62-49f9-b289-f13a33e4581b", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "957cc804-62b0-4010-ad96-0879cc5e0d68", "LeaveStartTime": "2025-04-03T18:18:46.6773842-04:00", "LeaveEndTime": "2025-04-03T18:18:46.6773842-04:00", "PeriodEndDate": "2025-04-03T18:18:46.6773842-04:00", "TimeoffDate": "2025-04-03T18:18:46.6773842-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:18:46.6773842-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:18:46.6773842-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:18:46.6773842-04:00", "DeleteUser": "sample string 19", "RequesterSignature": 1, "RequestDate": "2025-04-03T18:18:46.6773842-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:18:46.6928772-04:00", "timeOffType": { "Id": 1, "Name": "sample string 2", "Description": "sample string 3" } }, { "Id": 1, "RequesterID": 2, "TypeOfLeaveID": 3, "LeaveRequestID": 4, "Hours": 5.0, "allDay": "sample string 6", "AllDay": true, "TimeoffComments": "sample string 8", "DenialReason": "sample string 9", "RequesterFullName": "sample string 10", "RequesterEmail": "sample string 11", "RequesterObjGUIDId": "2517e435-8733-4ee5-8014-2937b5f820eb", "AuditManagerFullName": "sample string 12", "ReportsToEmail": "sample string 13", "ReportsToObjGUIDId": "8799e1cb-eb62-49f9-b289-f13a33e4581b", "ExtraAuditManagerFullName": "sample string 14", "ExtraReportsToEmail": "sample string 15", "ExtraReportsToObjGUIDId": "957cc804-62b0-4010-ad96-0879cc5e0d68", "LeaveStartTime": "2025-04-03T18:18:46.6773842-04:00", "LeaveEndTime": "2025-04-03T18:18:46.6773842-04:00", "PeriodEndDate": "2025-04-03T18:18:46.6773842-04:00", "TimeoffDate": "2025-04-03T18:18:46.6773842-04:00", "Status": "sample string 16", "CreateDate": "2025-04-03T18:18:46.6773842-04:00", "CreateUser": "sample string 17", "ModifyDate": "2025-04-03T18:18:46.6773842-04:00", "ModifyUser": "sample string 18", "DeleteDate": "2025-04-03T18:18:46.6773842-04:00", "DeleteUser": "sample string 19", "RequesterSignature": 1, "RequestDate": "2025-04-03T18:18:46.6773842-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:18:46.6928772-04:00", "timeOffType": { "Id": 1, "Name": "sample string 2", "Description": "sample string 3" } } ], "employeeSignature": { "Ssn4": 1, "Date": "2025-04-03T18:18:46.6928772-04:00" }, "approverSignature": { "Ssn4": 1, "Date": "2025-04-03T18:18:46.6928772-04:00" }, "reportsTo": { "emailAddress": "sample string 1", "notifyEmailAddress": "sample string 2", "Impersonate_ID": 3 } }
text/html
Sample:
{"timeoffRecords":[{"Id":1,"RequesterID":2,"TypeOfLeaveID":3,"LeaveRequestID":4,"Hours":5.0,"allDay":"sample string 6","AllDay":true,"TimeoffComments":"sample string 8","DenialReason":"sample string 9","RequesterFullName":"sample string 10","RequesterEmail":"sample string 11","RequesterObjGUIDId":"2517e435-8733-4ee5-8014-2937b5f820eb","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"8799e1cb-eb62-49f9-b289-f13a33e4581b","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"957cc804-62b0-4010-ad96-0879cc5e0d68","LeaveStartTime":"2025-04-03T18:18:46.6773842-04:00","LeaveEndTime":"2025-04-03T18:18:46.6773842-04:00","PeriodEndDate":"2025-04-03T18:18:46.6773842-04:00","TimeoffDate":"2025-04-03T18:18:46.6773842-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:18:46.6773842-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:18:46.6773842-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:18:46.6773842-04:00","DeleteUser":"sample string 19","RequesterSignature":1,"RequestDate":"2025-04-03T18:18:46.6773842-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:18:46.6928772-04:00","timeOffType":{"Id":1,"Name":"sample string 2","Description":"sample string 3"}},{"Id":1,"RequesterID":2,"TypeOfLeaveID":3,"LeaveRequestID":4,"Hours":5.0,"allDay":"sample string 6","AllDay":true,"TimeoffComments":"sample string 8","DenialReason":"sample string 9","RequesterFullName":"sample string 10","RequesterEmail":"sample string 11","RequesterObjGUIDId":"2517e435-8733-4ee5-8014-2937b5f820eb","AuditManagerFullName":"sample string 12","ReportsToEmail":"sample string 13","ReportsToObjGUIDId":"8799e1cb-eb62-49f9-b289-f13a33e4581b","ExtraAuditManagerFullName":"sample string 14","ExtraReportsToEmail":"sample string 15","ExtraReportsToObjGUIDId":"957cc804-62b0-4010-ad96-0879cc5e0d68","LeaveStartTime":"2025-04-03T18:18:46.6773842-04:00","LeaveEndTime":"2025-04-03T18:18:46.6773842-04:00","PeriodEndDate":"2025-04-03T18:18:46.6773842-04:00","TimeoffDate":"2025-04-03T18:18:46.6773842-04:00","Status":"sample string 16","CreateDate":"2025-04-03T18:18:46.6773842-04:00","CreateUser":"sample string 17","ModifyDate":"2025-04-03T18:18:46.6773842-04:00","ModifyUser":"sample string 18","DeleteDate":"2025-04-03T18:18:46.6773842-04:00","DeleteUser":"sample string 19","RequesterSignature":1,"RequestDate":"2025-04-03T18:18:46.6773842-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:18:46.6928772-04:00","timeOffType":{"Id":1,"Name":"sample string 2","Description":"sample string 3"}}],"employeeSignature":{"Ssn4":1,"Date":"2025-04-03T18:18:46.6928772-04:00"},"approverSignature":{"Ssn4":1,"Date":"2025-04-03T18:18:46.6928772-04:00"},"reportsTo":{"emailAddress":"sample string 1","notifyEmailAddress":"sample string 2","Impersonate_ID":3}}
application/xml, text/xml
Sample:
<ListTimeOffRequestJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SBOA.Models.Json"> <approverSignature> <Date>2025-04-03T18:18:46.6928772-04:00</Date> <Ssn4>1</Ssn4> </approverSignature> <employeeSignature> <Date>2025-04-03T18:18:46.6928772-04:00</Date> <Ssn4>1</Ssn4> </employeeSignature> <reportsTo> <Impersonate_ID>3</Impersonate_ID> <emailAddress>sample string 1</emailAddress> <notifyEmailAddress>sample string 2</notifyEmailAddress> </reportsTo> <timeoffRecords> <MilageRequestJson> <AllDay>true</AllDay> <ApprovedDate>2025-04-03T18:18:46.6928772-04:00</ApprovedDate> <ApproverSignature>1</ApproverSignature> <AuditManagerFullName>sample string 12</AuditManagerFullName> <CreateDate>2025-04-03T18:18:46.6773842-04:00</CreateDate> <CreateUser>sample string 17</CreateUser> <DeleteDate>2025-04-03T18:18:46.6773842-04:00</DeleteDate> <DeleteUser>sample string 19</DeleteUser> <DenialReason>sample string 9</DenialReason> <ExtraAuditManagerFullName>sample string 14</ExtraAuditManagerFullName> <ExtraReportsToEmail>sample string 15</ExtraReportsToEmail> <ExtraReportsToObjGUIDId>957cc804-62b0-4010-ad96-0879cc5e0d68</ExtraReportsToObjGUIDId> <Hours>5</Hours> <Id>1</Id> <LeaveEndTime>2025-04-03T18:18:46.6773842-04:00</LeaveEndTime> <LeaveRequestID>4</LeaveRequestID> <LeaveStartTime>2025-04-03T18:18:46.6773842-04:00</LeaveStartTime> <ModifyDate>2025-04-03T18:18:46.6773842-04:00</ModifyDate> <ModifyUser>sample string 18</ModifyUser> <PeriodEndDate>2025-04-03T18:18:46.6773842-04:00</PeriodEndDate> <ReportsToEmail>sample string 13</ReportsToEmail> <ReportsToObjGUIDId>8799e1cb-eb62-49f9-b289-f13a33e4581b</ReportsToObjGUIDId> <RequestDate>2025-04-03T18:18:46.6773842-04:00</RequestDate> <RequesterEmail>sample string 11</RequesterEmail> <RequesterFullName>sample string 10</RequesterFullName> <RequesterID>2</RequesterID> <RequesterObjGUIDId>2517e435-8733-4ee5-8014-2937b5f820eb</RequesterObjGUIDId> <RequesterSignature>1</RequesterSignature> <Status>sample string 16</Status> <TimeoffComments>sample string 8</TimeoffComments> <TimeoffDate>2025-04-03T18:18:46.6773842-04:00</TimeoffDate> <TypeOfLeaveID>3</TypeOfLeaveID> <allDay>sample string 6</allDay> <timeOffType> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </timeOffType> </MilageRequestJson> <MilageRequestJson> <AllDay>true</AllDay> <ApprovedDate>2025-04-03T18:18:46.6928772-04:00</ApprovedDate> <ApproverSignature>1</ApproverSignature> <AuditManagerFullName>sample string 12</AuditManagerFullName> <CreateDate>2025-04-03T18:18:46.6773842-04:00</CreateDate> <CreateUser>sample string 17</CreateUser> <DeleteDate>2025-04-03T18:18:46.6773842-04:00</DeleteDate> <DeleteUser>sample string 19</DeleteUser> <DenialReason>sample string 9</DenialReason> <ExtraAuditManagerFullName>sample string 14</ExtraAuditManagerFullName> <ExtraReportsToEmail>sample string 15</ExtraReportsToEmail> <ExtraReportsToObjGUIDId>957cc804-62b0-4010-ad96-0879cc5e0d68</ExtraReportsToObjGUIDId> <Hours>5</Hours> <Id>1</Id> <LeaveEndTime>2025-04-03T18:18:46.6773842-04:00</LeaveEndTime> <LeaveRequestID>4</LeaveRequestID> <LeaveStartTime>2025-04-03T18:18:46.6773842-04:00</LeaveStartTime> <ModifyDate>2025-04-03T18:18:46.6773842-04:00</ModifyDate> <ModifyUser>sample string 18</ModifyUser> <PeriodEndDate>2025-04-03T18:18:46.6773842-04:00</PeriodEndDate> <ReportsToEmail>sample string 13</ReportsToEmail> <ReportsToObjGUIDId>8799e1cb-eb62-49f9-b289-f13a33e4581b</ReportsToObjGUIDId> <RequestDate>2025-04-03T18:18:46.6773842-04:00</RequestDate> <RequesterEmail>sample string 11</RequesterEmail> <RequesterFullName>sample string 10</RequesterFullName> <RequesterID>2</RequesterID> <RequesterObjGUIDId>2517e435-8733-4ee5-8014-2937b5f820eb</RequesterObjGUIDId> <RequesterSignature>1</RequesterSignature> <Status>sample string 16</Status> <TimeoffComments>sample string 8</TimeoffComments> <TimeoffDate>2025-04-03T18:18:46.6773842-04:00</TimeoffDate> <TypeOfLeaveID>3</TypeOfLeaveID> <allDay>sample string 6</allDay> <timeOffType> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </timeOffType> </MilageRequestJson> </timeoffRecords> </ListTimeOffRequestJson>
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.