AbodeONE

<back to all web services

DeleteLeave

Requires Authentication
Required role:Admin
The following routes are available for this service:
DELETE/leaves/{LeaveId}
DeleteLeave Parameters:
NameParameterData TypeRequiredDescription
LeaveIdpathintNo
LeaveResponse Parameters:
NameParameterData TypeRequiredDescription
LeaveIdformintNo
StudentIdformintNo
SchoolIdformstringNo
FirstNameformstringNo
LastNameformstringNo
AgeformintNo
RequestDateformDateTimeNo
LeaveDepartformDateTimeNo
LeaveReturnformDateTimeNo
DestinationformstringNo
HostRelationshipformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
PostalformstringNo
HostphoneformstringNo
CellphoneformstringNo
TransportformstringNo
DriverformstringNo
CompanionsformstringNo
ReasonformstringNo
ApprovalCommentformstringNo
ApprovalReasonformstringNo
ApprovalDateformDateTime?No
ApprovalStatusformstringNo
ApprovalTypeformstringNo
ApprovalUserIdformint?No
ApprovedByformstringNo
CommDtformDateTime?No
BuildingIdformintNo

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE //leaves/{LeaveId} HTTP/1.1 
Host: api.lsu.abodehms.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<LeaveResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbodeAPI.ServiceModel">
  <Address>String</Address>
  <Address2>String</Address2>
  <Age>0</Age>
  <ApprovalComment>String</ApprovalComment>
  <ApprovalDate>0001-01-01T00:00:00</ApprovalDate>
  <ApprovalReason>String</ApprovalReason>
  <ApprovalStatus>String</ApprovalStatus>
  <ApprovalType>String</ApprovalType>
  <ApprovalUserId>0</ApprovalUserId>
  <ApprovedBy>String</ApprovedBy>
  <BuildingId>0</BuildingId>
  <Cellphone>String</Cellphone>
  <City>String</City>
  <CommDt>0001-01-01T00:00:00</CommDt>
  <Companions>String</Companions>
  <Destination>String</Destination>
  <Driver>String</Driver>
  <FirstName>String</FirstName>
  <HostRelationship>String</HostRelationship>
  <Hostphone>String</Hostphone>
  <LastName>String</LastName>
  <LeaveDepart>0001-01-01T00:00:00</LeaveDepart>
  <LeaveId>0</LeaveId>
  <LeaveReturn>0001-01-01T00:00:00</LeaveReturn>
  <Postal>String</Postal>
  <Reason>String</Reason>
  <RequestDate>0001-01-01T00:00:00</RequestDate>
  <SchoolId>String</SchoolId>
  <State>String</State>
  <StudentId>0</StudentId>
  <Transport>String</Transport>
</LeaveResponse>