POST Common/setproductenquiry

Request Information

URI Parameters

None.

Body Parameters

RequestEnquiry
NameDescriptionTypeAdditional information
first_name

string

None.

last_name

string

None.

phone_number

string

None.

email

string

None.

preferred_store

string

None.

country

string

None.

query

string

None.

image_url

string

None.

reference_id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "first_name": "sample string 1",
  "last_name": "sample string 2",
  "phone_number": "sample string 3",
  "email": "sample string 4",
  "preferred_store": "sample string 5",
  "country": "sample string 6",
  "query": "sample string 7",
  "image_url": "sample string 8",
  "reference_id": "sample string 9"
}

text/html

Sample:
{"first_name":"sample string 1","last_name":"sample string 2","phone_number":"sample string 3","email":"sample string 4","preferred_store":"sample string 5","country":"sample string 6","query":"sample string 7","image_url":"sample string 8","reference_id":"sample string 9"}

application/xml, text/xml

Sample:
<Model.RequestEnquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Account.Models">
  <country>sample string 6</country>
  <email>sample string 4</email>
  <first_name>sample string 1</first_name>
  <image_url>sample string 8</image_url>
  <last_name>sample string 2</last_name>
  <phone_number>sample string 3</phone_number>
  <preferred_store>sample string 5</preferred_store>
  <query>sample string 7</query>
  <reference_id>sample string 9</reference_id>
</Model.RequestEnquiry>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestEnquiry'.

Response Information

Resource Description

ResponseEnquiry
NameDescriptionTypeAdditional information
success

string

None.

error_message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": "sample string 1",
  "error_message": "sample string 2"
}

text/html

Sample:
{"success":"sample string 1","error_message":"sample string 2"}

application/xml, text/xml

Sample:
<Model.ResponseEnquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Account.Models">
  <error_message>sample string 2</error_message>
  <success>sample string 1</success>
</Model.ResponseEnquiry>