GET api/Employees/{employeeId}/BenefitPeriods

Get all benefit periods for an employee

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeBenefitPeriod
NameDescriptionTypeAdditional information
BenefitPeriodId

integer

None.

StartDate

date

None.

EndDate

date

None.

ContractTypeId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BenefitPeriodId": 1,
    "StartDate": "2026-04-01T16:44:15.9643955+07:00",
    "EndDate": "2026-04-01T16:44:15.9643955+07:00",
    "ContractTypeId": 4
  },
  {
    "BenefitPeriodId": 1,
    "StartDate": "2026-04-01T16:44:15.9643955+07:00",
    "EndDate": "2026-04-01T16:44:15.9643955+07:00",
    "ContractTypeId": 4
  }
]

text/html

Sample:
[{"BenefitPeriodId":1,"StartDate":"2026-04-01T16:44:15.9643955+07:00","EndDate":"2026-04-01T16:44:15.9643955+07:00","ContractTypeId":4},{"BenefitPeriodId":1,"StartDate":"2026-04-01T16:44:15.9643955+07:00","EndDate":"2026-04-01T16:44:15.9643955+07:00","ContractTypeId":4}]

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>
    <ContractTypeId>4</ContractTypeId>
    <EndDate>2026-04-01T16:44:15.9643955+07:00</EndDate>
    <StartDate>2026-04-01T16:44:15.9643955+07:00</StartDate>
  </EmployeeBenefitPeriod>
  <EmployeeBenefitPeriod>
    <BenefitPeriodId>1</BenefitPeriodId>
    <ContractTypeId>4</ContractTypeId>
    <EndDate>2026-04-01T16:44:15.9643955+07:00</EndDate>
    <StartDate>2026-04-01T16:44:15.9643955+07:00</StartDate>
  </EmployeeBenefitPeriod>
</ArrayOfEmployeeBenefitPeriod>