Request Parameters:


For contact admin or for inquiry to admin


URL : ../Api/Client/ContactUsSend


Header:

Content-Type:application/json


Required Parameters :  


Case-1. Exception parameters :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "StoreId": "1",

    "LanguageId":"",

    "ContactUsRequest":

    {

         "Email":"",

         "Enquiry":"Mobile",

         "FullName":"David"

    }

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Incorrect parameters :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "StoreId": "1",

    "LanguageId":"",

    "ContactUsRequest":

    {

         "Email":"",

         "Enquiry":"Mobile",

         "FullName":"David"

    }

}
Response :
{

    "Status": 0,

    "Message": "Enter valid email",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "StoreId": "1",

    "LanguageId":"1",

    "ContactUsRequest":

    {

         "Email":"david@gmail.com",

         "Enquiry":"Mobile",

         "FullName":"David"

    }

}

Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "Email": "david@gmail.com",

        "Enquiry": "Mobile",

        "FullName": "David",

        "SuccessfullySent": true,

        "Result": "Your enquiry has been successfully sent to the store owner.",

        "DisplayCaptcha": false

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}