GET api/v1/products/cases/{caseId}?isShallow={isShallow}
Get a list of Products for a CaseId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| caseId | integer |
Required |
|
| isShallow | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductWithQuantityDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EanNumber | string |
None. |
|
| Title | string |
None. |
|
| UnitCode | string |
None. |
|
| CostPrice | decimal number |
None. |
|
| SalesPrice | decimal number |
None. |
|
| Quantity | integer |
None. |
|
| TimeStamp | date |
None. |
|
| Id | integer |
None. |
|
| Inventory | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"eanNumber": "sample string 1",
"title": "sample string 2",
"unitCode": "sample string 3",
"costPrice": 4.0,
"salesPrice": 5.0,
"quantity": 1,
"timeStamp": "2025-12-08T10:18:47.3199707+01:00",
"id": 6,
"inventory": 1.0
},
{
"eanNumber": "sample string 1",
"title": "sample string 2",
"unitCode": "sample string 3",
"costPrice": 4.0,
"salesPrice": 5.0,
"quantity": 1,
"timeStamp": "2025-12-08T10:18:47.3199707+01:00",
"id": 6,
"inventory": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfProductWithQuantityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
<ProductWithQuantityDto>
<Id>6</Id>
<Inventory>1</Inventory>
<CostPrice>4</CostPrice>
<EanNumber>sample string 1</EanNumber>
<Quantity>1</Quantity>
<SalesPrice>5</SalesPrice>
<TimeStamp>2025-12-08T10:18:47.3199707+01:00</TimeStamp>
<Title>sample string 2</Title>
<UnitCode>sample string 3</UnitCode>
</ProductWithQuantityDto>
<ProductWithQuantityDto>
<Id>6</Id>
<Inventory>1</Inventory>
<CostPrice>4</CostPrice>
<EanNumber>sample string 1</EanNumber>
<Quantity>1</Quantity>
<SalesPrice>5</SalesPrice>
<TimeStamp>2025-12-08T10:18:47.3199707+01:00</TimeStamp>
<Title>sample string 2</Title>
<UnitCode>sample string 3</UnitCode>
</ProductWithQuantityDto>
</ArrayOfProductWithQuantityDto>