GetCategory
Request Parameters:
URL: ../Api/Client/GetCategory
Header:
Content-Type:application/json
Required Parameters : CustomerGUID
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId":"",
"LanguageId":"",
"LoadSubCategories":""
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId":"1",
"LanguageId":"1",
"LoadSubCategories":"true"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Categories": [
{
"Name": "Computers",
"SeName": "computers",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [
{
"Name": "Desktops",
"SeName": "desktops",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000002_desktops_450.jpg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000002_desktops_100.jpg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000002_desktops.jpg",
"Title": "Show products in category Desktops",
"AlternateText": "Picture for category Desktops",
"Form": null,
"CustomProperties": {}
},
"Id": 2,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Notebooks",
"SeName": "notebooks",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000003_notebooks_450.jpg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000003_notebooks_100.jpg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000003_notebooks.jpg",
"Title": "Show products in category Notebooks",
"AlternateText": "Picture for category Notebooks",
"Form": null,
"CustomProperties": {}
},
"Id": 3,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Software",
"SeName": "software",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000004_software_450.jpg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000004_software_100.jpg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000004_software.jpg",
"Title": "Show products in category Software",
"AlternateText": "Picture for category Software",
"Form": null,
"CustomProperties": {}
},
"Id": 4,
"Form": null,
"CustomProperties": {}
}
],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000001_computers_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000001_computers_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000001_computers.jpeg",
"Title": "Show products in category Computers",
"AlternateText": "Picture for category Computers",
"Form": null,
"CustomProperties": {}
},
"Id": 1,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Electronics",
"SeName": "electronics",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [
{
"Name": "Camera & photo",
"SeName": "camera-photo",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000006_camera-photo_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000006_camera-photo_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000006_camera-photo.jpeg",
"Title": "Show products in category Camera & photo",
"AlternateText": "Picture for category Camera & photo",
"Form": null,
"CustomProperties": {}
},
"Id": 6,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Cell phones",
"SeName": "cell-phones",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000007_cell-phones_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000007_cell-phones_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000007_cell-phones.jpeg",
"Title": "Show products in category Cell phones",
"AlternateText": "Picture for category Cell phones",
"Form": null,
"CustomProperties": {}
},
"Id": 7,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Others",
"SeName": "others",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000008_accessories_450.jpg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000008_accessories_100.jpg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000008_accessories.jpg",
"Title": "Show products in category Others",
"AlternateText": "Picture for category Others",
"Form": null,
"CustomProperties": {}
},
"Id": 8,
"Form": null,
"CustomProperties": {}
}
],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000005_electronics_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000005_electronics_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000005_electronics.jpeg",
"Title": "Show products in category Electronics",
"AlternateText": "Picture for category Electronics",
"Form": null,
"CustomProperties": {}
},
"Id": 5,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Apparel",
"SeName": "apparel",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [
{
"Name": "Shoes",
"SeName": "shoes",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000010_shoes_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000010_shoes_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000010_shoes.jpeg",
"Title": "Show products in category Shoes",
"AlternateText": "Picture for category Shoes",
"Form": null,
"CustomProperties": {}
},
"Id": 10,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Clothing",
"SeName": "clothing",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000011_clothing_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000011_clothing_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000011_clothing.jpeg",
"Title": "Show products in category Clothing",
"AlternateText": "Picture for category Clothing",
"Form": null,
"CustomProperties": {}
},
"Id": 11,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Accessories",
"SeName": "accessories",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000012_apparel-accessories_450.jpg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000012_apparel-accessories_100.jpg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000012_apparel-accessories.jpg",
"Title": "Show products in category Accessories",
"AlternateText": "Picture for category Accessories",
"Form": null,
"CustomProperties": {}
},
"Id": 12,
"Form": null,
"CustomProperties": {}
}
],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000009_apparel_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000009_apparel_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000009_apparel.jpeg",
"Title": "Show products in category Apparel",
"AlternateText": "Picture for category Apparel",
"Form": null,
"CustomProperties": {}
},
"Id": 9,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Digital downloads",
"SeName": "digital-downloads",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000013_digital-downloads_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000013_digital-downloads_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000013_digital-downloads.jpeg",
"Title": "Show products in category Digital downloads",
"AlternateText": "Picture for category Digital downloads",
"Form": null,
"CustomProperties": {}
},
"Id": 13,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Books",
"SeName": "books",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000014_book_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000014_book_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000014_book.jpeg",
"Title": "Show products in category Books",
"AlternateText": "Picture for category Books",
"Form": null,
"CustomProperties": {}
},
"Id": 14,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Jewelry",
"SeName": "jewelry",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000015_jewelry_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000015_jewelry_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000015_jewelry.jpeg",
"Title": "Show products in category Jewelry",
"AlternateText": "Picture for category Jewelry",
"Form": null,
"CustomProperties": {}
},
"Id": 15,
"Form": null,
"CustomProperties": {}
},
{
"Name": "Gift Cards",
"SeName": "gift-cards",
"NumberOfProducts": null,
"IncludeInTopMenu": true,
"SubCategories": [],
"PictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000016_gift-cards_450.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000016_gift-cards_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000016_gift-cards.jpeg",
"Title": "Show products in category Gift Cards",
"AlternateText": "Picture for category Gift Cards",
"Form": null,
"CustomProperties": {}
},
"Id": 16,
"Form": null,
"CustomProperties": {}
}
],
"Topics": [],
"BlogEnabled": true,
"RecentlyAddedProductsEnabled": true,
"ForumEnabled": false,
"Name": null,
"Description": null,
"MetaKeywords": null,
"MetaDescription": null,
"MetaTitle": null,
"SeName": null,
"PictureModel": null,
"PagingFilteringContext": null,
"FeaturedProducts": null,
"Products": null,
"SpecificationFilter": null,
"PriceRangeFilters": null,
"AlreadyFilteredItems": null,
"NotFilteredItems": null,
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
},
"ValidationMessage": [],
"ErrorMessage": null
}