GET api/Product/FabricOrSlatForProduct?ProductID={ProductID}
Fabric or slat for product.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID |
The product identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SlatOrFabric| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
System ID |
integer |
None. |
| Name |
Slat or Fabric name |
string |
None. |
| Type |
The type, Slat or Fabric |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Type": "sample string 3"
},
{
"ID": 1,
"Name": "sample string 2",
"Type": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfSlatOrFabric xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecorDepot.API.Models">
<SlatOrFabric>
<ID>1</ID>
<Name>sample string 2</Name>
<Type>sample string 3</Type>
</SlatOrFabric>
<SlatOrFabric>
<ID>1</ID>
<Name>sample string 2</Name>
<Type>sample string 3</Type>
</SlatOrFabric>
</ArrayOfSlatOrFabric>