GET PlanCare2Api/Products?employmentId={employmentId}&referenceDate={referenceDate}
Gets all products that are valid for the given employmentId and referenceDate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employmentId |
Employment identifier |
integer |
Required |
| referenceDate |
Date to validate on |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
The list of products valid by employment and referenceDate
Collection of Product| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of the product |
integer |
None |
| ParentId |
Id of the parent product |
integer |
None |
| Name |
Name of the product |
string |
None |
| Description |
Description of the product |
string |
None |
| StartDate |
StartDate of the product |
date |
None |
| EndDate |
Possible enddate of the product |
date |
None |
| DefaultMinutes |
Default minutes of the product, used for registration purposes |
integer |
None |
| TypeId |
Id of the producttype |
integer |
None |
| TypeCode |
Code for the type of the product, based on the codelist |
string |
None |
| TypeName |
Name of the producttype |
string |
None |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.