Request Parameters:


Retrieve the information of customer subscriptions.


URL: ../Api/Client/BackInStockSubscriptionsList 


Header:

Content-Type:application/json


Required Parameters :  CustomerGUID, StoreId


Resource Strings : Plugins.XcellenceIT.WebApiClient.Message.NoBackInStockSubscription


Case-1. Exception Response :
Parameter:

{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "CustomerGUID":"",

    "StoreId": "",

    "PageNumber": null

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

    "PageNumber": null

}
Response :
{

    "Status": 1,

    "Message": "Success",

    "Data": {

        "Subscriptions": [

            {

                "ProductId": 17,

                "ProductName": "Apple iCam",

                "SeName": "apple-icam",

                "Id": 1,

                "CustomProperties": {}

            }

        ],

        "PagerModel": {

            "CurrentPage": 1,

            "IndividualPagesDisplayedCount": 5,

            "PageIndex": 0,

            "PageSize": 10,

            "ShowFirst": true,

            "ShowIndividualPages": true,

            "ShowLast": true,

            "ShowNext": true,

            "ShowPagerItems": true,

            "ShowPrevious": true,

            "ShowTotalSummary": false,

            "TotalPages": 1,

            "TotalRecords": 1,

            "FirstButtonText": "First",

            "LastButtonText": "Last",

            "NextButtonText": "Next",

            "PreviousButtonText": "Previous",

            "CurrentPageText": "Page {0} of {1} ({2} total)",

            "RouteActionName": "CustomerBackInStockSubscriptionsPaged",

            "UseRouteLinks": true,

            "RouteValues": {

                "pageNumber": 0

            }

        },

        "CustomProperties": {}

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}