| Required role: | Admin |
| All Verbs | /student/{StudentId}/leaves | ||
|---|---|---|---|
| All Verbs | /leaves |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StudentId | path | int? | No | |
| ApprovalStatus | query | string | No | |
| ApprovalType | query | string | No | |
| Within90Days | query | bool? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //student/{StudentId}/leaves HTTP/1.1
Host: api.lsu.abodehms.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"studentId":0,"approvalStatus":"String","approvalType":"String","within90Days":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"leaveId":0,"studentId":0,"schoolId":"String","firstName":"String","lastName":"String","age":0,"requestDate":"0001-01-01T00:00:00.0000000","leaveDepart":"0001-01-01T00:00:00.0000000","leaveReturn":"0001-01-01T00:00:00.0000000","destination":"String","hostRelationship":"String","address":"String","address2":"String","city":"String","state":"String","postal":"String","hostphone":"String","cellphone":"String","transport":"String","driver":"String","companions":"String","reason":"String","approvalComment":"String","approvalReason":"String","approvalDate":"0001-01-01T00:00:00.0000000","approvalStatus":"String","approvalType":"String","approvalUserId":0,"approvedBy":"String","commDt":"0001-01-01T00:00:00.0000000","buildingId":0}]