GET PlanCare2Api/Products/{productId}/Acts?referenceDate={referenceDate}
Gets all product acts by product id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId |
Product identifier |
integer |
Required |
| referenceDate |
Date to validate on |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
The list of productacts valid by product id
Collection of ProductAct| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId |
Id of the product |
integer |
None |
| ActId |
Id of the act |
integer |
None |
| ActName |
Name of the act |
string |
None |
| ActDescription |
Description of the act |
string |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ProductId": 1,
"ActId": 2,
"ActName": "sample string 3",
"ActDescription": "sample string 4"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductAct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<ProductAct>
<ActDescription>sample string 4</ActDescription>
<ActId>2</ActId>
<ActName>sample string 3</ActName>
<ProductId>1</ProductId>
</ProductAct>
<ProductAct>
<ActDescription>sample string 4</ActDescription>
<ActId>2</ActId>
<ActName>sample string 3</ActName>
<ProductId>1</ProductId>
</ProductAct>
</ArrayOfProductAct>