Request Parameters:


For get the value of setting key


URL : ../Api/Client/SettingUpdate


Header:

Content-Type:application/json


Required Parameters :


Case-1. Exception parameters :
Parameter:
{

       "ApiSecretKey":"i99b98d117m116a112o98k115c111",

       "StoreId": "",

      "CustomerGUID":"",

       "SettingModelRequest":

      {

         "Name":"addresssettings.cityenabled",

         "Value":"false",

         "Id":"299",

         "StoreId": "0"

      }

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Incorrect parameters :
Parameter:
{

       "ApiSecretKey":"i99b98d117m116a112o98k115c111",

       "StoreId": "0",

      "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

       "SettingModelRequest":

      {

         "Name":"addresssettings.cityenabled1123",

         "Value":"false",

         "Id":"299",

         "StoreId": "0"

      }

}

Response :
{

    "Status": 0,

    "Message": "No setting exist with such name",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{

       "ApiSecretKey":"i99b98d117m116a112o98k115c111",

       "StoreId": "0",

      "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

       "SettingModelRequest":

      {

         "Name":"addresssettings.cityenabled",

         "Value":"false",

         "Id":"299",

         "StoreId": "0"

      }

}

Response :
{

    "Status": 1,

    "Message": "Setting update successfully",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}