GET api/productType/get-productType/{productTypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productTypeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProductTypeDTO
NameDescriptionTypeAdditional information
Id

integer

None.

IndustryId

integer

None.

IndustryName

string

None.

Code

string

None.

Name

string

None.

Status

boolean

None.

ProductName

string

None.

Type

string

None.

IndustryDTOs

Collection of IndustryDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IndustryId": 2,
  "IndustryName": "sample string 3",
  "Code": "sample string 4",
  "Name": "sample string 5",
  "Status": true,
  "ProductName": "sample string 7",
  "Type": "sample string 8",
  "IndustryDTOs": [
    {
      "Id": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "Status": true,
      "ModifiedBy": 1,
      "ModifiedDate": "2026-03-27T10:01:13.866548+00:00",
      "CreatedBy": 1,
      "CreatedDate": "2026-03-27T10:01:13.866548+00:00"
    },
    {
      "Id": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "Status": true,
      "ModifiedBy": 1,
      "ModifiedDate": "2026-03-27T10:01:13.866548+00:00",
      "CreatedBy": 1,
      "CreatedDate": "2026-03-27T10:01:13.866548+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<ProductTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.ProductSetup">
  <Code>sample string 4</Code>
  <Id>1</Id>
  <IndustryDTOs xmlns:d2p1="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.Master">
    <d2p1:IndustryDTO>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-03-27T10:01:13.866548+00:00</d2p1:CreatedDate>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2026-03-27T10:01:13.866548+00:00</d2p1:ModifiedDate>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Status>true</d2p1:Status>
    </d2p1:IndustryDTO>
    <d2p1:IndustryDTO>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-03-27T10:01:13.866548+00:00</d2p1:CreatedDate>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2026-03-27T10:01:13.866548+00:00</d2p1:ModifiedDate>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Status>true</d2p1:Status>
    </d2p1:IndustryDTO>
  </IndustryDTOs>
  <IndustryId>2</IndustryId>
  <IndustryName>sample string 3</IndustryName>
  <Name>sample string 5</Name>
  <ProductName>sample string 7</ProductName>
  <Status>true</Status>
  <Type>sample string 8</Type>
</ProductTypeDTO>