GET Category?IsDeleted={IsDeleted}&Search={Search}&Offset={Offset}&Limit={Limit}&Sort={Sort}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IsDeleted

boolean

None.

Search

string

None.

Offset

integer

Range: inclusive between 0 and 2147483647

Limit

integer

Range: inclusive between 0 and 1500

Sort

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CategoryView
NameDescriptionTypeAdditional information
CategoryId

integer

None.

Name

string

None.

IsDeleted

boolean

None.

Description

string

None.

ImageUrl

string

None.

Images

Collection of string

None.

ShortDescription

string

None.

Sort

string

None.

ShowInProductPage

boolean

None.

ShowInMainMenu

boolean

None.

SourceCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CategoryId": 1,
    "Name": "sample string 2",
    "IsDeleted": true,
    "Description": "sample string 3",
    "ImageUrl": "sample string 4",
    "Images": [
      "sample string 1",
      "sample string 2"
    ],
    "ShortDescription": "sample string 5",
    "Sort": "sample string 6",
    "ShowInProductPage": true,
    "ShowInMainMenu": true,
    "SourceCode": "sample string 9"
  },
  {
    "CategoryId": 1,
    "Name": "sample string 2",
    "IsDeleted": true,
    "Description": "sample string 3",
    "ImageUrl": "sample string 4",
    "Images": [
      "sample string 1",
      "sample string 2"
    ],
    "ShortDescription": "sample string 5",
    "Sort": "sample string 6",
    "ShowInProductPage": true,
    "ShowInMainMenu": true,
    "SourceCode": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoryView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.View">
  <CategoryView>
    <SourceCode>sample string 9</SourceCode>
    <CategoryId>1</CategoryId>
    <Description>sample string 3</Description>
    <ImageUrl>sample string 4</ImageUrl>
    <Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Images>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 2</Name>
    <ShortDescription>sample string 5</ShortDescription>
    <ShowInMainMenu>true</ShowInMainMenu>
    <ShowInProductPage>true</ShowInProductPage>
    <Sort>sample string 6</Sort>
  </CategoryView>
  <CategoryView>
    <SourceCode>sample string 9</SourceCode>
    <CategoryId>1</CategoryId>
    <Description>sample string 3</Description>
    <ImageUrl>sample string 4</ImageUrl>
    <Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Images>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 2</Name>
    <ShortDescription>sample string 5</ShortDescription>
    <ShowInMainMenu>true</ShowInMainMenu>
    <ShowInProductPage>true</ShowInProductPage>
    <Sort>sample string 6</Sort>
  </CategoryView>
</ArrayOfCategoryView>