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": "",

    "Data": {

        "CurrentCategoryId": 0,

        "Categories": [

            {

                "Name": "Computers",

                "SeName": "computers",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000001_computers_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000001_computers_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000001_computers.jpeg",

                    "Title": "Show products in category Computers",

                    "AlternateText": "Picture for category Computers",

                    "CustomProperties": {}

                },

                "Id": 1,

                "CustomProperties": {}

            },

            {

                "Name": "Electronics",

                "SeName": "electronics",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000005_electronics_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000005_electronics_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000005_electronics.jpeg",

                    "Title": "Show products in category Electronics",

                    "AlternateText": "Picture for category Electronics",

                    "CustomProperties": {}

                },

                "Id": 5,

                "CustomProperties": {}

            },

            {

                "Name": "Apparel",

                "SeName": "apparel",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000009_apparel_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000009_apparel_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000009_apparel.jpeg",

                    "Title": "Show products in category Apparel",

                    "AlternateText": "Picture for category Apparel",

                    "CustomProperties": {}

                },

                "Id": 9,

                "CustomProperties": {}

            },

            {

                "Name": "Digital downloads",

                "SeName": "digital-downloads",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000013_digital-downloads_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000013_digital-downloads_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000013_digital-downloads.jpeg",

                    "Title": "Show products in category Digital downloads",

                    "AlternateText": "Picture for category Digital downloads",

                    "CustomProperties": {}

                },

                "Id": 13,

                "CustomProperties": {}

            },

            {

                "Name": "Books",

                "SeName": "books",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000014_book_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000014_book_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000014_book.jpeg",

                    "Title": "Show products in category Books",

                    "AlternateText": "Picture for category Books",

                    "CustomProperties": {}

                },

                "Id": 14,

                "CustomProperties": {}

            },

            {

                "Name": "Jewelry",

                "SeName": "jewelry",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000015_jewelry_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000015_jewelry_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000015_jewelry.jpeg",

                    "Title": "Show products in category Jewelry",

                    "AlternateText": "Picture for category Jewelry",

                    "CustomProperties": {}

                },

                "Id": 15,

                "CustomProperties": {}

            },

            {

                "Name": "Gift Cards",

                "SeName": "gift-cards",

                "NumberOfProducts": null,

                "IncludeInTopMenu": true,

                "SubCategories": [],

                "PictureModel": {

                    "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000016_gift-cards_450.jpeg",

                    "ThumbImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000016_gift-cards_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000016_gift-cards.jpeg",

                    "Title": "Show products in category Gift Cards",

                    "AlternateText": "Picture for category Gift Cards",

                    "CustomProperties": {}

                },

                "Id": 16,

                "CustomProperties": {}

            }

        ],

        "CustomProperties": {}

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}