GET api/Inventory/getRecord/SubCategory/Category/{Id}/{sSearch}/{startindex}/{limit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

sSearch

string

Required

startindex

integer

Required

limit

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of InventorySubCategoryDto
NameDescriptionTypeAdditional information
InventorySubCategoryId

decimal number

None.

InventorySubCategoryName

string

None.

InventorySubCategoryImage

string

None.

MeasurementUnit

string

None.

TotalRecords

integer

None.

TotalDisplayRecords

integer

None.

Inventory

Collection of InventoryDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "InventorySubCategoryId": 1.0,
    "InventorySubCategoryName": "sample string 2",
    "InventorySubCategoryImage": "sample string 3",
    "MeasurementUnit": "sample string 4",
    "TotalRecords": 1,
    "TotalDisplayRecords": 1,
    "Inventory": [
      {
        "FeesId": 1.0,
        "FeesName": "sample string 2",
        "SaleRate": 1.1,
        "Size": "sample string 3",
        "ImagePath": "sample string 4"
      },
      {
        "FeesId": 1.0,
        "FeesName": "sample string 2",
        "SaleRate": 1.1,
        "Size": "sample string 3",
        "ImagePath": "sample string 4"
      }
    ]
  },
  {
    "InventorySubCategoryId": 1.0,
    "InventorySubCategoryName": "sample string 2",
    "InventorySubCategoryImage": "sample string 3",
    "MeasurementUnit": "sample string 4",
    "TotalRecords": 1,
    "TotalDisplayRecords": 1,
    "Inventory": [
      {
        "FeesId": 1.0,
        "FeesName": "sample string 2",
        "SaleRate": 1.1,
        "Size": "sample string 3",
        "ImagePath": "sample string 4"
      },
      {
        "FeesId": 1.0,
        "FeesName": "sample string 2",
        "SaleRate": 1.1,
        "Size": "sample string 3",
        "ImagePath": "sample string 4"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventorySubCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxGenius.API.Models.Extensions">
  <InventorySubCategoryDto>
    <Inventory>
      <InventoryDto>
        <FeesId>1</FeesId>
        <FeesName>sample string 2</FeesName>
        <ImagePath>sample string 4</ImagePath>
        <SaleRate>1.1</SaleRate>
        <Size>sample string 3</Size>
      </InventoryDto>
      <InventoryDto>
        <FeesId>1</FeesId>
        <FeesName>sample string 2</FeesName>
        <ImagePath>sample string 4</ImagePath>
        <SaleRate>1.1</SaleRate>
        <Size>sample string 3</Size>
      </InventoryDto>
    </Inventory>
    <InventorySubCategoryId>1</InventorySubCategoryId>
    <InventorySubCategoryImage>sample string 3</InventorySubCategoryImage>
    <InventorySubCategoryName>sample string 2</InventorySubCategoryName>
    <MeasurementUnit>sample string 4</MeasurementUnit>
    <TotalDisplayRecords>1</TotalDisplayRecords>
    <TotalRecords>1</TotalRecords>
  </InventorySubCategoryDto>
  <InventorySubCategoryDto>
    <Inventory>
      <InventoryDto>
        <FeesId>1</FeesId>
        <FeesName>sample string 2</FeesName>
        <ImagePath>sample string 4</ImagePath>
        <SaleRate>1.1</SaleRate>
        <Size>sample string 3</Size>
      </InventoryDto>
      <InventoryDto>
        <FeesId>1</FeesId>
        <FeesName>sample string 2</FeesName>
        <ImagePath>sample string 4</ImagePath>
        <SaleRate>1.1</SaleRate>
        <Size>sample string 3</Size>
      </InventoryDto>
    </Inventory>
    <InventorySubCategoryId>1</InventorySubCategoryId>
    <InventorySubCategoryImage>sample string 3</InventorySubCategoryImage>
    <InventorySubCategoryName>sample string 2</InventorySubCategoryName>
    <MeasurementUnit>sample string 4</MeasurementUnit>
    <TotalDisplayRecords>1</TotalDisplayRecords>
    <TotalRecords>1</TotalRecords>
  </InventorySubCategoryDto>
</ArrayOfInventorySubCategoryDto>