AbodeONE

<back to all web services

FindLeaves

Requires Authentication
Required role:Admin
The following routes are available for this service:
All Verbs/student/{StudentId}/leaves
All Verbs/leaves
FindLeaves Parameters:
NameParameterData TypeRequiredDescription
StudentIdpathint?No
ApprovalStatusquerystringNo
ApprovalTypequerystringNo
Within90Daysquerybool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	studentId: 0,
	approvalStatus: String,
	approvalType: String,
	within90Days: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		leaveId: 0,
		studentId: 0,
		schoolId: String,
		firstName: String,
		lastName: String,
		age: 0,
		requestDate: 0001-01-01,
		leaveDepart: 0001-01-01,
		leaveReturn: 0001-01-01,
		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-01,
		approvalStatus: String,
		approvalType: String,
		approvalUserId: 0,
		approvedBy: String,
		commDt: 0001-01-01,
		buildingId: 0
	}
]