GetHistoricAbsences
Met deze method kunnen de historische absenties worden opgehaald.
Let op: Gebruik geen GET-requests. Deze worden in plaintext verstuurd, en zijn dus niet veilig.
POST /service/apiservice.asmx/GetHistoricAbsences HTTP/1.1
Host: domein.pynter.nl
Content-Type: application/x-www-form-urlencoded
Content-Length: length
username=string&password=string
Bij het succesvol aanroepen ziet een respons er als volgt uit:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ApiResponseOfListOfHistoricAbsenceReasonDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
<Success>true</Success>
<Contents></Contents>
</ApiResponseOfListOfHistoricAbsenceReasonDTO>
De Contents zal een collectie van HistoricAbsenceReasonDTO bevatten. HistoricAbsenceReasonDTO is als volgt gestructureerd:
<HistoricAbsenceReasonDTO>
<PersonExternalIdentifier>string</PersonExternalIdentifier>
<PersonFirstName>string</PersonFirstName>
<PersonNameInsertion>string</PersonNameInsertion>
<PersonFamilyName>string</PersonFamilyName>
<Location>string</Location>
<Division>string</Division>
<GroupClassTitle>string</GroupClassTitle>
<GroupClassLocations>string</GroupClassLocations>
<GroupClassDates>string</GroupClassDates>
<TrainingCode>string</TrainingCode>
<TrainingType>string</TrainingType>
<TrainingTitle>string</TrainingTitle>
<TaskTitle>string</TaskTitle>
<AbsenceReason>string</AbsenceReason>
<CreationDate>datetime</CreationDate>
<PublicCosts>number</PublicCosts>
<HiddenCosts>number</HiddenCosts>
<KostenPlaats>string</KostenPlaats>
</HistoricAbsenceReasonDTO>