GET PlanCare2Api/FinancialContracts/Products?supplierCode={supplierCode}&referenceDate={referenceDate}
Get product codes from financial contracts by supplier code and reference date.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supplierCode |
The supplier code filter. |
string |
Required |
| referenceDate |
The reference date. |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FinancialContractProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId |
The Id of the product. |
integer |
None |
| ProductCode |
The code of the product. |
string |
None |
| ProductRateCode |
The code of the product rate. |
string |
None |
| ProductDescription |
The description of the product. |
string |
None |
| DeclarationAmount |
The declaration amount of the product. |
integer |
None |
| FinancialContractId |
The Id of the financial contract. |
integer |
None |
| Suppliers |
The suppliers of the financial contract. |
Collection of Supplier |
None |
| Debtors |
The debtors of the financial contract. |
Collection of Debtor |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ProductId": 1,
"ProductCode": "sample string 2",
"ProductRateCode": "sample string 3",
"ProductDescription": "sample string 4",
"DeclarationAmount": 5,
"FinancialContractId": 6,
"Suppliers": [
{
"$id": "2",
"Code": "sample string 1",
"Description": "sample string 2",
"StartDate": "2026-05-26T22:07:04.360901+02:00",
"EndDate": "2026-05-26T22:07:04.360901+02:00"
},
{
"$ref": "2"
}
],
"Debtors": [
{
"$id": "3",
"Description": "sample string 1",
"StartDate": "2026-05-26T22:07:04.360901+02:00",
"EndDate": "2026-05-26T22:07:04.360901+02:00",
"NumberExtern": "sample string 2",
"NumberIntern": "sample string 3"
},
{
"$ref": "3"
}
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfFinancialContractProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.FinancialContracts">
<FinancialContractProduct>
<Debtors xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<d3p1:Debtor>
<d3p1:Description>sample string 1</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:NumberExtern>sample string 2</d3p1:NumberExtern>
<d3p1:NumberIntern>sample string 3</d3p1:NumberIntern>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Debtor>
<d3p1:Debtor>
<d3p1:Description>sample string 1</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:NumberExtern>sample string 2</d3p1:NumberExtern>
<d3p1:NumberIntern>sample string 3</d3p1:NumberIntern>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Debtor>
</Debtors>
<DeclarationAmount>5</DeclarationAmount>
<FinancialContractId>6</FinancialContractId>
<ProductCode>sample string 2</ProductCode>
<ProductDescription>sample string 4</ProductDescription>
<ProductId>1</ProductId>
<ProductRateCode>sample string 3</ProductRateCode>
<Suppliers xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<d3p1:Supplier>
<d3p1:Code>sample string 1</d3p1:Code>
<d3p1:Description>sample string 2</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Supplier>
<d3p1:Supplier>
<d3p1:Code>sample string 1</d3p1:Code>
<d3p1:Description>sample string 2</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Supplier>
</Suppliers>
</FinancialContractProduct>
<FinancialContractProduct>
<Debtors xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<d3p1:Debtor>
<d3p1:Description>sample string 1</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:NumberExtern>sample string 2</d3p1:NumberExtern>
<d3p1:NumberIntern>sample string 3</d3p1:NumberIntern>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Debtor>
<d3p1:Debtor>
<d3p1:Description>sample string 1</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:NumberExtern>sample string 2</d3p1:NumberExtern>
<d3p1:NumberIntern>sample string 3</d3p1:NumberIntern>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Debtor>
</Debtors>
<DeclarationAmount>5</DeclarationAmount>
<FinancialContractId>6</FinancialContractId>
<ProductCode>sample string 2</ProductCode>
<ProductDescription>sample string 4</ProductDescription>
<ProductId>1</ProductId>
<ProductRateCode>sample string 3</ProductRateCode>
<Suppliers xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<d3p1:Supplier>
<d3p1:Code>sample string 1</d3p1:Code>
<d3p1:Description>sample string 2</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Supplier>
<d3p1:Supplier>
<d3p1:Code>sample string 1</d3p1:Code>
<d3p1:Description>sample string 2</d3p1:Description>
<d3p1:EndDate>2026-05-26T22:07:04.360901+02:00</d3p1:EndDate>
<d3p1:StartDate>2026-05-26T22:07:04.360901+02:00</d3p1:StartDate>
</d3p1:Supplier>
</Suppliers>
</FinancialContractProduct>
</ArrayOfFinancialContractProduct>