1.Reading the technical identifier for the absence type
Request
Code Sample
|
Copy Code
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ech="http://echange.service.open.bodet.com">
<soapenv:Header/>
<soapenv:Body>
<ech:exportGenericTypes>
<ech:exportFilter>
<ech:TypeFilter>
<ech:accountType>3</ech:accountType>
</ech:TypeFilter>
</ech:exportFilter>
</ech:exportGenericTypes>
</soapenv:Body>
</soapenv:Envelope>
|
|
Response
Code Sample
|
Copy Code
|
<<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:exportGenericTypesResponse xmlns:ns1="http://echange.service.open.bodet.com">
<ns1:exportedGenericTypes>
<ns1:GenericType>
<ns1:calculableType>2</ns1:calculableType>
<ns1:unit>0</ns1:unit>
<ns1:code xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:typeDescription>Abs sur CET</ns1:typeDescription>
<ns1:accountType>3</ns1:accountType>
<ns1:typeKey>9</ns1:typeKey>
<ns1:typeAbbreviation>AET</ns1:typeAbbreviation>
<ns1:errorMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:technicalString xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns1:GenericType>
<ns1:GenericType>
<ns1:calculableType>8</ns1:calculableType>
<ns1:unit>1</ns1:unit>
<ns1:code xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:typeDescription>Abs sur CET</ns1:typeDescription>
<ns1:accountType>3</ns1:accountType>
<ns1:typeKey>9</ns1:typeKey>
<ns1:typeAbbreviation>AET</ns1:typeAbbreviation>
<ns1:errorMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:technicalString xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns1:GenericType>
<ns1:GenericType>
<ns1:calculableType>13</ns1:calculableType>
<ns1:unit>2</ns1:unit>
<ns1:code xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:typeDescription>Abs sur CET</ns1:typeDescription>
<ns1:accountType>3</ns1:accountType>
<ns1:typeKey>9</ns1:typeKey>
<ns1:typeAbbreviation>AET</ns1:typeAbbreviation>
<ns1:errorMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:technicalString xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns1:GenericType>
<ns1:GenericType>
<ns1:calculableType>2</ns1:calculableType>
<ns1:unit>0</ns1:unit>
<ns1:code xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:typeDescription>Accident du Travail</ns1:typeDescription>
<ns1:accountType>3</ns1:accountType>
<ns1:typeKey>10</ns1:typeKey>
<ns1:typeAbbreviation>AT</ns1:typeAbbreviation>
<ns1:errorMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:technicalString xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns1:GenericType>
ETC…
|
|
2.Reading the "Maladie" (Sickness) absence results
For the Maladie (Sickness) counter, the technical ID the reads “18”.
Web service: AbsenceTotalService
Method: exportDailyAbsenceTotals
Request
Code Sample
|
Copy Code
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ech="http://echange.service.open.bodet.com">
<soapenv:Header/>
<soapenv:Body>
<ech:exportDailyAbsenceTotals>
<ech:accountFilter>
<ech:AccountFilter>
<ech:employeeIdentificationNumber>00000022</ech:employeeIdentificationNumber>
<ech:startDate>2024-06-01</ech:startDate>
<ech:endDate>2024-06-30</ech:endDate>
<ech:populationMode>1</ech:populationMode>
<ech:dateMode>0</ech:dateMode>
<ech:calculationMode>2</ech:calculationMode>
<ech:typeKey>18</ech:typeKey>
</ech:AccountFilter>
</ech:accountFilter>
</ech:exportDailyAbsenceTotals>
</soapenv:Body>
</soapenv:Envelope>
|
|
Response
Code Sample
|
Copy Code
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:exportDailyAbsenceTotalsResponse xmlns:ns1="http://echange.service.open.bodet.com">
<ns1:exportedFromDateToDateAbsenceTotals>
<ns1:FromDateToDateAbsenceTotal>
<ns1:hours>28.00</ns1:hours>
<ns1:number>7.0</ns1:number>
<ns1:days>7.0</ns1:days>
<ns1:physicalHours>35.00</ns1:physicalHours>
<ns1:startDate>2024-06-01</ns1:startDate>
<ns1:endDate>2024-06-30</ns1:endDate>
<ns1:sectionKey>12</ns1:sectionKey>
<ns1:typeDescription>Maladie</ns1:typeDescription>
<ns1:sectionAbbreviation/>
<ns1:typeAbbreviation>MAL</ns1:typeAbbreviation>
<ns1:sectionDescription>Commerce</ns1:sectionDescription>
<ns1:typeKey>18</ns1:typeKey>
<ns1:employeeKey>24</ns1:employeeKey>
<ns1:employeeIdentificationCode>A&P</ns1:employeeIdentificationCode>
<ns1:employeeBadgeCode>23456789</ns1:employeeBadgeCode>
<ns1:employeeIdentificationNumber>00000022</ns1:employeeIdentificationNumber>
<ns1:archivedEmployee xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:employeeSurname>ARIAL</ns1:employeeSurname>
<ns1:employeeFirstName>Carole</ns1:employeeFirstName>
<ns1:technicalString xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<ns1:errorMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns1:FromDateToDateAbsenceTotal>
</ns1:exportedFromDateToDateAbsenceTotals>
</ns1:exportDailyAbsenceTotalsResponse>
</soap:Body>
</soap:Envelope>
|
|