GET v1/product/{id}

Gets an specified product info

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
id

Product's ID

string

Required.

Body Parameters

None.

Response Information

Resource Description

Product

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "ProductID": "sample string 1",
  "ProductName": "sample string 2",
  "ProductCode": "sample string 3",
  "ProductFamily": "sample string 4",
  "Description": "sample string 5",
  "DateModified": "2025-05-24T10:39:00.0405653+00:00",
  "DateCreated": "2025-05-24T10:39:00.0405653+00:00",
  "CustomFields": [
    {
      "FieldName": "sample string 1",
      "Type": "sample string 2",
      "StringValue": "sample string 3",
      "DoubleValue": 4.1,
      "DatetimeValue": "2025-05-24T10:39:00.0405653+00:00"
    },
    {
      "FieldName": "sample string 1",
      "Type": "sample string 2",
      "StringValue": "sample string 3",
      "DoubleValue": 4.1,
      "DatetimeValue": "2025-05-24T10:39:00.0405653+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAPTA.Domain.ViewModel.v1">
  <CustomFields>
    <UDFFieldModel>
      <DatetimeValue>2025-05-24T10:39:00.0405653+00:00</DatetimeValue>
      <DoubleValue>4.1</DoubleValue>
      <FieldName>sample string 1</FieldName>
      <StringValue>sample string 3</StringValue>
      <Type>sample string 2</Type>
    </UDFFieldModel>
    <UDFFieldModel>
      <DatetimeValue>2025-05-24T10:39:00.0405653+00:00</DatetimeValue>
      <DoubleValue>4.1</DoubleValue>
      <FieldName>sample string 1</FieldName>
      <StringValue>sample string 3</StringValue>
      <Type>sample string 2</Type>
    </UDFFieldModel>
  </CustomFields>
  <DateCreated>2025-05-24T10:39:00.0405653+00:00</DateCreated>
  <DateModified>2025-05-24T10:39:00.0405653+00:00</DateModified>
  <Description>sample string 5</Description>
  <ProductCode>sample string 3</ProductCode>
  <ProductFamily>sample string 4</ProductFamily>
  <ProductID>sample string 1</ProductID>
  <ProductName>sample string 2</ProductName>
</ProductModel>