Request Parameters:


For get the value of setting key


URL: ../Api/Client/GetSetting


Header:

Content-Type:application/json


Required Parameters :


[Note: If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000",then in response you will get your Guest CustomerId]  


Case-1. Exception parameters :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "StoreId": "",

    "SettingKey":""

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Incorrect parameters :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "StoreId": "1",

    "SettingKey":"AddressSettings.CityEnabled.True"

}

Response :
{

    "Status": 0,

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

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "StoreId": "1",

    "SettingKey":"AddressSettings.CityEnabled"

}

Response :
{

    "Status": 1,

    "Message": "Success",

    "Data": "True",

    "ValidationMessage": [],

    "ErrorMessage": null

}