GET api/AbsenceExt/{employeeNo}
Get a list of all absences for an employee
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeNo |
Employee Number |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
All Absence Details
Collection of AbsenceExtDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate |
Start date of the absence. |
date |
Required |
| EndDate |
Must be after StartDate if present. |
date |
None. |
| AbsenceType |
SSP,HOL,SMP,SAP,SPPA,SPPB,SHPPA,SHPPB,SPBP,SNCP. |
string |
None. |
| DueDate |
Used with SMP, SPPB, SHPPB |
date |
None. |
| BirthDate |
Used with SMP, SPPB, SHPPB |
date |
None. |
| Stillborn |
Used with SMP, SPPB, SHPPB, SPBP |
boolean |
Nullable |
| MatchDate |
Used with SAP, SPPA, SHPPA |
date |
None. |
| PlacedDate |
Used with SAP, SPPA, SHPPA |
date |
None. |
| DeathDate |
Used with SPBP |
date |
None. |
| StopPayment |
Indicates that you want payments to stop for this absence. |
boolean |
None. |
| StopPaymentDate |
The date you want payments to stop for this absence if this is earlier than the End Date. |
date |
None. |
| AWEOverride |
Average Weekly Earning Override |
decimal number |
Nullable |
| BabyBornOrMatchedDate |
Used with SNCP |
date |
None. |
| SNCPStartDate |
Used with SNCP |
date |
None. |
| SNCPEndDate |
Used with SNCP |
date |
None. |
| Eligible |
Used with SMP, SPPA, SPPB |
string |
None. |
| NonEligibleReason |
Used with SMP, SPPA, SPPB |
string |
None. |
Response Formats
application/json, text/json
[
{
"StartDate": "2022-02-08T00:00:00",
"EndDate": "2022-02-09T00:00:00",
"AbsenceType": "SSP",
"DueDate": null,
"BirthDate": null,
"Stillborn": null,
"MatchDate": null,
"PlacedDate": null,
"DeathDate": null,
"StopPayment": false,
"StopPaymentDate": "2022-02-08T00:00:00",
"AWEOverride": 5.0
},
{
"StartDate": "2022-02-10T00:00:00",
"EndDate": null,
"AbsenceType": "SMP",
"DueDate": "2022-02-12T00:00:00",
"BirthDate": "2022-02-12T00:00:00",
"Stillborn": true,
"MatchDate": null,
"PlacedDate": null,
"DeathDate": null,
"StopPayment": false,
"StopPaymentDate": null,
"AWEOverride": null
}
]
application/xml, text/xml
<ArrayOfAbsenceExtDetail>
<AbsenceExtDetail>
<AWEOverride>5.0</AWEOverride>
<AbsenceType>SSP</AbsenceType>
<BirthDate>null</BirthDate>
<DeathDate>null</DeathDate>
<DueDate>null</DueDate>
<EndDate>2022-02-09T00:00:00</EndDate>
<MatchDate>null</MatchDate>
<PlacedDate>null</PlacedDate>
<StartDate>2022-02-08T00:00:00</StartDate>
<Stillborn>null</Stillborn>
<StopPayment>true</StopPayment>
<StopPaymentDate>2022-02-08T00:00:00</StopPaymentDate>
</AbsenceExtDetail>
<AbsenceExtDetail>
<AWEOverride>null</AWEOverride>
<AbsenceType>SMP</AbsenceType>
<BirthDate>2022-02-12T00:00:00</BirthDate>
<DeathDate>null</DeathDate>
<DueDate>2022-02-12T00:00:00</DueDate>
<EndDate>null</EndDate>
<MatchDate>null</MatchDate>
<PlacedDate>null</PlacedDate>
<StartDate>2022-02-10T00:00:00</StartDate>
<Stillborn>true</Stillborn>
<StopPayment>false</StopPayment>
<StopPaymentDate>null</StopPaymentDate>
</AbsenceExtDetail>
</ArrayOfAbsenceExtDetail>