GET api/ShopCategories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ShopCategory
NameDescriptionTypeAdditional information
ShopCategoryId

integer

None.

ShopCategoryName

string

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ShopCategoryId": 1,
    "ShopCategoryName": "sample string 2",
    "Description": "sample string 3"
  },
  {
    "ShopCategoryId": 1,
    "ShopCategoryName": "sample string 2",
    "Description": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfShopCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess">
  <ShopCategory>
    <Description>sample string 3</Description>
    <ShopCategoryId>1</ShopCategoryId>
    <ShopCategoryName>sample string 2</ShopCategoryName>
  </ShopCategory>
  <ShopCategory>
    <Description>sample string 3</Description>
    <ShopCategoryId>1</ShopCategoryId>
    <ShopCategoryName>sample string 2</ShopCategoryName>
  </ShopCategory>
</ArrayOfShopCategory>