GET api/sr/get-productTypes-industries/{sellerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sellerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SellerProductTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductTypeId | integer |
None. |
|
| IndustryId | integer |
None. |
|
| SellerRegistrationId | integer |
None. |
|
| ProductName | string |
None. |
|
| IndustryName | string |
None. |
|
| isActive | boolean |
None. |
|
| IsChecked | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ProductTypeId": 2,
"IndustryId": 3,
"SellerRegistrationId": 4,
"ProductName": "sample string 5",
"IndustryName": "sample string 6",
"isActive": true,
"IsChecked": true
},
{
"Id": 1,
"ProductTypeId": 2,
"IndustryId": 3,
"SellerRegistrationId": 4,
"ProductName": "sample string 5",
"IndustryName": "sample string 6",
"isActive": true,
"IsChecked": true
}
]
application/xml, text/xml
Sample:
<ArrayOfSellerProductTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.SellerRegistration">
<SellerProductTypeDTO>
<Id>1</Id>
<IndustryId>3</IndustryId>
<IndustryName>sample string 6</IndustryName>
<IsChecked>true</IsChecked>
<ProductName>sample string 5</ProductName>
<ProductTypeId>2</ProductTypeId>
<SellerRegistrationId>4</SellerRegistrationId>
<isActive>true</isActive>
</SellerProductTypeDTO>
<SellerProductTypeDTO>
<Id>1</Id>
<IndustryId>3</IndustryId>
<IndustryName>sample string 6</IndustryName>
<IsChecked>true</IsChecked>
<ProductName>sample string 5</ProductName>
<ProductTypeId>2</ProductTypeId>
<SellerRegistrationId>4</SellerRegistrationId>
<isActive>true</isActive>
</SellerProductTypeDTO>
</ArrayOfSellerProductTypeDTO>