GET api/ProductInfo/GetProductsList?platformId={platformId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| platformId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| ProductType | string |
None. |
|
| ProductName | string |
None. |
|
| PlatformId | integer |
None. |
|
| PlatformName | string |
None. |
|
| ProductJson | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductId": 1,
"ProductType": "sample string 2",
"ProductName": "sample string 3",
"PlatformId": 4,
"PlatformName": "sample string 5",
"ProductJson": "sample string 6"
},
{
"ProductId": 1,
"ProductType": "sample string 2",
"ProductName": "sample string 3",
"PlatformId": 4,
"PlatformName": "sample string 5",
"ProductJson": "sample string 6"
}
]
multipart/form-data
Sample:
[{"ProductId":1,"ProductType":"sample string 2","ProductName":"sample string 3","PlatformId":4,"PlatformName":"sample string 5","ProductJson":"sample string 6"},{"ProductId":1,"ProductType":"sample string 2","ProductName":"sample string 3","PlatformId":4,"PlatformName":"sample string 5","ProductJson":"sample string 6"}]
application/xml, text/xml
Sample:
<ArrayOfProductDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScrupUpBusinessModel.DTO">
<ProductDTO>
<PlatformId>4</PlatformId>
<PlatformName>sample string 5</PlatformName>
<ProductId>1</ProductId>
<ProductJson>sample string 6</ProductJson>
<ProductName>sample string 3</ProductName>
<ProductType>sample string 2</ProductType>
</ProductDTO>
<ProductDTO>
<PlatformId>4</PlatformId>
<PlatformName>sample string 5</PlatformName>
<ProductId>1</ProductId>
<ProductJson>sample string 6</ProductJson>
<ProductName>sample string 3</ProductName>
<ProductType>sample string 2</ProductType>
</ProductDTO>
</ArrayOfProductDTO>