GET PlanCare2Api/Contracts/{contractId}/ContractLines?contractOfServiceId={contractOfServiceId}&referenceDate={referenceDate}
Fetches the contract lines valid for the contract and contract of service on the given date.
Deprecated (unavailable from 21.01.1P), please use the PlanCare2Api/Contracts/{contractId}/Products?employmentId={employmentId}&referenceDate={referenceDate} endpoint
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contractId |
The id of the contract. Note: On the given date the user must have access to the client of the contract. |
integer |
Required |
| contractOfServiceId |
Contract of service of the user. Note: contract of service must be valid for the user on the given date. |
integer |
Required |
| referenceDate |
The date the contract lines must be valid. |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
List of contract lines valid for the contract and contract of service on the give date.
Collection of ContractLine| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Contract line identifier |
integer |
None |
| ProductId |
Product identifier |
integer |
None |
| ProductCode |
Product Code |
string |
None |
| ProductName |
Product Name |
string |
None |
| ProductDescription |
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 not available.