GET api/mapRoletoProduct/get-list
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MapProductToRoleDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| RoleId | integer |
None. |
|
| ProductTypeId | integer |
None. |
|
| IndustryId | integer |
None. |
|
| RoleName | string |
None. |
|
| ProductTypeName | string |
None. |
|
| IndustryName | string |
None. |
|
| Status | boolean |
None. |
|
| IsChecked | boolean |
None. |
|
| RoleDTOs | Collection of RoleDTO |
None. |
|
| MapProductTypeDTOs | Collection of MapProductTypeDTO |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"RoleId": 2,
"ProductTypeId": 3,
"IndustryId": 1,
"RoleName": "sample string 4",
"ProductTypeName": "sample string 5",
"IndustryName": "sample string 6",
"Status": true,
"IsChecked": true,
"RoleDTOs": [
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"RoleTypeDTOs": [
{
"Id": 1,
"Name": "sample string 2",
"Status": true
},
{
"Id": 1,
"Name": "sample string 2",
"Status": true
}
],
"UserTypeId": 1,
"RoleTypeName": "sample string 5",
"CreatedBy": 1,
"CreatedDate": "2025-12-10T04:49:55.7607322+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-10T04:49:55.7607322+00:00",
"Status": true
},
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"RoleTypeDTOs": [
{
"Id": 1,
"Name": "sample string 2",
"Status": true
},
{
"Id": 1,
"Name": "sample string 2",
"Status": true
}
],
"UserTypeId": 1,
"RoleTypeName": "sample string 5",
"CreatedBy": 1,
"CreatedDate": "2025-12-10T04:49:55.7607322+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-10T04:49:55.7607322+00:00",
"Status": true
}
],
"MapProductTypeDTOs": [
{
"Id": 1,
"MapProductTypeToRoleId": 1,
"ProductTypeId": 1,
"ProductTypeName": "sample string 2",
"IsChecked": true,
"IndustryId": 1,
"IndustryName": "sample string 4",
"Status": true
},
{
"Id": 1,
"MapProductTypeToRoleId": 1,
"ProductTypeId": 1,
"ProductTypeName": "sample string 2",
"IsChecked": true,
"IndustryId": 1,
"IndustryName": "sample string 4",
"Status": true
}
]
},
{
"Id": 1,
"RoleId": 2,
"ProductTypeId": 3,
"IndustryId": 1,
"RoleName": "sample string 4",
"ProductTypeName": "sample string 5",
"IndustryName": "sample string 6",
"Status": true,
"IsChecked": true,
"RoleDTOs": [
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"RoleTypeDTOs": [
{
"Id": 1,
"Name": "sample string 2",
"Status": true
},
{
"Id": 1,
"Name": "sample string 2",
"Status": true
}
],
"UserTypeId": 1,
"RoleTypeName": "sample string 5",
"CreatedBy": 1,
"CreatedDate": "2025-12-10T04:49:55.7607322+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-10T04:49:55.7607322+00:00",
"Status": true
},
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"RoleTypeDTOs": [
{
"Id": 1,
"Name": "sample string 2",
"Status": true
},
{
"Id": 1,
"Name": "sample string 2",
"Status": true
}
],
"UserTypeId": 1,
"RoleTypeName": "sample string 5",
"CreatedBy": 1,
"CreatedDate": "2025-12-10T04:49:55.7607322+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-10T04:49:55.7607322+00:00",
"Status": true
}
],
"MapProductTypeDTOs": [
{
"Id": 1,
"MapProductTypeToRoleId": 1,
"ProductTypeId": 1,
"ProductTypeName": "sample string 2",
"IsChecked": true,
"IndustryId": 1,
"IndustryName": "sample string 4",
"Status": true
},
{
"Id": 1,
"MapProductTypeToRoleId": 1,
"ProductTypeId": 1,
"ProductTypeName": "sample string 2",
"IsChecked": true,
"IndustryId": 1,
"IndustryName": "sample string 4",
"Status": true
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfMapProductToRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.ProductSetup">
<MapProductToRoleDTO>
<Id>1</Id>
<IndustryId>1</IndustryId>
<IndustryName>sample string 6</IndustryName>
<IsChecked>true</IsChecked>
<MapProductTypeDTOs>
<MapProductTypeDTO>
<Id>1</Id>
<IndustryId>1</IndustryId>
<IndustryName>sample string 4</IndustryName>
<IsChecked>true</IsChecked>
<MapProductTypeToRoleId>1</MapProductTypeToRoleId>
<ProductTypeId>1</ProductTypeId>
<ProductTypeName>sample string 2</ProductTypeName>
<Status>true</Status>
</MapProductTypeDTO>
<MapProductTypeDTO>
<Id>1</Id>
<IndustryId>1</IndustryId>
<IndustryName>sample string 4</IndustryName>
<IsChecked>true</IsChecked>
<MapProductTypeToRoleId>1</MapProductTypeToRoleId>
<ProductTypeId>1</ProductTypeId>
<ProductTypeName>sample string 2</ProductTypeName>
<Status>true</Status>
</MapProductTypeDTO>
</MapProductTypeDTOs>
<ProductTypeId>3</ProductTypeId>
<ProductTypeName>sample string 5</ProductTypeName>
<RoleDTOs xmlns:d3p1="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.User">
<d3p1:RoleDTO>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</CreatedDate>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</ModifiedDate>
<Status xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">true</Status>
<d3p1:Code>sample string 2</d3p1:Code>
<d3p1:Description>sample string 4</d3p1:Description>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:RoleTypeDTOs>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
</d3p1:RoleTypeDTOs>
<d3p1:RoleTypeName>sample string 5</d3p1:RoleTypeName>
<d3p1:UserTypeId>1</d3p1:UserTypeId>
</d3p1:RoleDTO>
<d3p1:RoleDTO>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</CreatedDate>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</ModifiedDate>
<Status xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">true</Status>
<d3p1:Code>sample string 2</d3p1:Code>
<d3p1:Description>sample string 4</d3p1:Description>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:RoleTypeDTOs>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
</d3p1:RoleTypeDTOs>
<d3p1:RoleTypeName>sample string 5</d3p1:RoleTypeName>
<d3p1:UserTypeId>1</d3p1:UserTypeId>
</d3p1:RoleDTO>
</RoleDTOs>
<RoleId>2</RoleId>
<RoleName>sample string 4</RoleName>
<Status>true</Status>
</MapProductToRoleDTO>
<MapProductToRoleDTO>
<Id>1</Id>
<IndustryId>1</IndustryId>
<IndustryName>sample string 6</IndustryName>
<IsChecked>true</IsChecked>
<MapProductTypeDTOs>
<MapProductTypeDTO>
<Id>1</Id>
<IndustryId>1</IndustryId>
<IndustryName>sample string 4</IndustryName>
<IsChecked>true</IsChecked>
<MapProductTypeToRoleId>1</MapProductTypeToRoleId>
<ProductTypeId>1</ProductTypeId>
<ProductTypeName>sample string 2</ProductTypeName>
<Status>true</Status>
</MapProductTypeDTO>
<MapProductTypeDTO>
<Id>1</Id>
<IndustryId>1</IndustryId>
<IndustryName>sample string 4</IndustryName>
<IsChecked>true</IsChecked>
<MapProductTypeToRoleId>1</MapProductTypeToRoleId>
<ProductTypeId>1</ProductTypeId>
<ProductTypeName>sample string 2</ProductTypeName>
<Status>true</Status>
</MapProductTypeDTO>
</MapProductTypeDTOs>
<ProductTypeId>3</ProductTypeId>
<ProductTypeName>sample string 5</ProductTypeName>
<RoleDTOs xmlns:d3p1="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.User">
<d3p1:RoleDTO>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</CreatedDate>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</ModifiedDate>
<Status xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">true</Status>
<d3p1:Code>sample string 2</d3p1:Code>
<d3p1:Description>sample string 4</d3p1:Description>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:RoleTypeDTOs>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
</d3p1:RoleTypeDTOs>
<d3p1:RoleTypeName>sample string 5</d3p1:RoleTypeName>
<d3p1:UserTypeId>1</d3p1:UserTypeId>
</d3p1:RoleDTO>
<d3p1:RoleDTO>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</CreatedDate>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-10T04:49:55.7607322+00:00</ModifiedDate>
<Status xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">true</Status>
<d3p1:Code>sample string 2</d3p1:Code>
<d3p1:Description>sample string 4</d3p1:Description>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:RoleTypeDTOs>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
<d3p1:UserTypeDTO>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:Status>true</d3p1:Status>
</d3p1:UserTypeDTO>
</d3p1:RoleTypeDTOs>
<d3p1:RoleTypeName>sample string 5</d3p1:RoleTypeName>
<d3p1:UserTypeId>1</d3p1:UserTypeId>
</d3p1:RoleDTO>
</RoleDTOs>
<RoleId>2</RoleId>
<RoleName>sample string 4</RoleName>
<Status>true</Status>
</MapProductToRoleDTO>
</ArrayOfMapProductToRoleDTO>