GET Category/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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"
}

application/xml, text/xml

Sample:
<CategoryView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.View">
  <SourceCode>sample string 9</SourceCode>
  <CategoryId>1</CategoryId>
  <Description>sample string 3</Description>
  <ImageUrl>sample string 4</ImageUrl>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1: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>