Get Category
Request Parameters:
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/TopMenu
Parameter:
{
"apiSecretKey":"k117x118z122r116t100e100r118j122",
"storeId":"2",
"languageId":"1",
"customerId":"1"
}
[Note: If you are a guest customer pass CustomerId=0,then in response you will get your Guest CustomerId]
Response:
{
"TopMenuResult":
{
"Id": 0,
"Message": null,
"AlreadyFilteredItems": null,
"BlogEnabled": true,
"Categories":
[
{
"CustomProperties":
[
],
"Id": 1,
"IncludeInTopMenu": true,
"Name": "Computers",
"NumberOfProducts": null,
"SeName": "computers",
"SubCategories":
[
{
"CustomProperties":
[
],
"Id": 2,
"IncludeInTopMenu": true,
"Name": "Desktops",
"NumberOfProducts": null,
"SeName": "desktops",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 3,
"IncludeInTopMenu": true,
"Name": "Notebooks",
"NumberOfProducts": null,
"SeName": "notebooks",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 4,
"IncludeInTopMenu": true,
"Name": "Software",
"NumberOfProducts": null,
"SeName": "software",
"SubCategories":
[
]
}
]
},
{
"CustomProperties":
[
],
"Id": 5,
"IncludeInTopMenu": true,
"Name": "Electronics",
"NumberOfProducts": null,
"SeName": "electronics",
"SubCategories":
[
{
"CustomProperties":
[
],
"Id": 6,
"IncludeInTopMenu": true,
"Name": "Camera & photo",
"NumberOfProducts": null,
"SeName": "camera-photo",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 7,
"IncludeInTopMenu": true,
"Name": "Cell phones",
"NumberOfProducts": null,
"SeName": "cell-phones",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 8,
"IncludeInTopMenu": true,
"Name": "Others",
"NumberOfProducts": null,
"SeName": "others",
"SubCategories":
[
]
}
]
},
{
"CustomProperties":
[
],
"Id": 9,
"IncludeInTopMenu": true,
"Name": "Apparel",
"NumberOfProducts": null,
"SeName": "apparel",
"SubCategories":
[
{
"CustomProperties":
[
],
"Id": 10,
"IncludeInTopMenu": true,
"Name": "Shoes",
"NumberOfProducts": null,
"SeName": "shoes",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 11,
"IncludeInTopMenu": true,
"Name": "Clothing",
"NumberOfProducts": null,
"SeName": "clothing",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 12,
"IncludeInTopMenu": true,
"Name": "Accessories",
"NumberOfProducts": null,
"SeName": "accessories",
"SubCategories":
[
]
}
]
},
{
"CustomProperties":
[
],
"Id": 13,
"IncludeInTopMenu": true,
"Name": "Digital downloads",
"NumberOfProducts": null,
"SeName": "digital-downloads",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 14,
"IncludeInTopMenu": true,
"Name": "Books",
"NumberOfProducts": null,
"SeName": "books",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 15,
"IncludeInTopMenu": true,
"Name": "Jewelry",
"NumberOfProducts": null,
"SeName": "jewelry",
"SubCategories":
[
]
},
{
"CustomProperties":
[
],
"Id": 16,
"IncludeInTopMenu": true,
"Name": "Gift Cards",
"NumberOfProducts": null,
"SeName": "gift-cards",
"SubCategories":
[
]
}
],
"Description": null,
"FeaturedProducts": null,
"ForumEnabled": false,
"MetaDescription": null,
"MetaKeywords": null,
"MetaTitle": null,
"Name": null,
"NotFilteredItems": null,
"PagingFilteringContext": null,
"PictureModel": null,
"PriceRangeFilters": null,
"Products": null,
"RecentlyAddedProductsEnabled": true,
"SeName": null,
"SpecificationFilter": null,
"Topics":
[
]
}
}