GET PlanCare2Api/Contracts/{contractId}/Products?employmentId={employmentId}&referenceDate={referenceDate}
Fetches the products for the contract valid at a certain point in time filtered by employment.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contractId |
The id of the contract. |
integer |
Required |
| employmentId |
The id of the employment |
integer |
Required |
| referenceDate |
The requested date. |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
List of products valid for the contract.
Collection of ContractProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The product Id |
integer |
None |
| Code |
Product Code |
string |
None |
| Name |
Product Name |
string |
None |
| Description |
Product Description |
string |
None |
| StartDate |
First date the product is valid |
date |
None |
| EndDate |
Last date the product is valid |
date |
None |
| DefaultMinutes |
Number of minutes the product takes by default |
integer |
None |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.