GET api/Employees/{employeeId}/BenefitPeriods
Get all benefit periods for an employee
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeeBenefitPeriod| Name | Description | Type | Additional information |
|---|---|---|---|
| BenefitPeriodId | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BenefitPeriodId": 1,
"StartDate": "2026-06-28T16:38:51.863171+07:00",
"EndDate": "2026-06-28T16:38:51.863171+07:00"
},
{
"BenefitPeriodId": 1,
"StartDate": "2026-06-28T16:38:51.863171+07:00",
"EndDate": "2026-06-28T16:38:51.863171+07:00"
}
]
text/html
Sample:
[{"BenefitPeriodId":1,"StartDate":"2026-06-28T16:38:51.863171+07:00","EndDate":"2026-06-28T16:38:51.863171+07:00"},{"BenefitPeriodId":1,"StartDate":"2026-06-28T16:38:51.863171+07:00","EndDate":"2026-06-28T16:38:51.863171+07:00"}]
application/xml, text/xml
Sample:
<ArrayOfEmployeeBenefitPeriod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
<EmployeeBenefitPeriod>
<BenefitPeriodId>1</BenefitPeriodId>
<EndDate>2026-06-28T16:38:51.863171+07:00</EndDate>
<StartDate>2026-06-28T16:38:51.863171+07:00</StartDate>
</EmployeeBenefitPeriod>
<EmployeeBenefitPeriod>
<BenefitPeriodId>1</BenefitPeriodId>
<EndDate>2026-06-28T16:38:51.863171+07:00</EndDate>
<StartDate>2026-06-28T16:38:51.863171+07:00</StartDate>
</EmployeeBenefitPeriod>
</ArrayOfEmployeeBenefitPeriod>