PUT api/v1/leaverequest/{id}?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
token | string |
Required |
Body Parameters
LeaveRequestJsonName | Description | Type | Additional information |
---|---|---|---|
queryable | Collection of LeaveRequest |
None. |
|
Id | integer |
None. |
|
RequesterSigniture | integer |
None. |
|
RequestDate | date |
None. |
|
ApproverSigniture | integer |
None. |
|
ApprovedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "queryable": [ { "Id": 1, "RequesterSignature": 1, "RequestDate": "2025-04-03T18:19:40.7461148-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:19:40.7461148-04:00" }, { "Id": 1, "RequesterSignature": 1, "RequestDate": "2025-04-03T18:19:40.7461148-04:00", "ApproverSignature": 1, "ApprovedDate": "2025-04-03T18:19:40.7461148-04:00" } ], "Id": 1, "RequesterSigniture": 1, "RequestDate": "2025-04-03T18:19:40.7461148-04:00", "ApproverSigniture": 1, "ApprovedDate": "2025-04-03T18:19:40.7461148-04:00" }
text/html
Sample:
{"queryable":[{"Id":1,"RequesterSignature":1,"RequestDate":"2025-04-03T18:19:40.7461148-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:19:40.7461148-04:00"},{"Id":1,"RequesterSignature":1,"RequestDate":"2025-04-03T18:19:40.7461148-04:00","ApproverSignature":1,"ApprovedDate":"2025-04-03T18:19:40.7461148-04:00"}],"Id":1,"RequesterSigniture":1,"RequestDate":"2025-04-03T18:19:40.7461148-04:00","ApproverSigniture":1,"ApprovedDate":"2025-04-03T18:19:40.7461148-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.