POST api/enquiry/save_enquiry

Request Information

URI Parameters

None.

Body Parameters

enquiry_request
NameDescriptionTypeAdditional information
customer_id

string

None.

token

string

None.

is_customer

integer

None.

name

string

None.

mobile_number

string

None.

email

string

None.

bussiness_name

string

None.

type_of_bussiness

string

None.

product_Services

string

None.

did_speak_to_clinet

boolean

None.

detail_of_discussion

string

None.

remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_id": "sample string 1",
  "token": "sample string 2",
  "is_customer": 3,
  "name": "sample string 4",
  "mobile_number": "sample string 5",
  "email": "sample string 6",
  "bussiness_name": "sample string 7",
  "type_of_bussiness": "sample string 8",
  "product_Services": "sample string 9",
  "did_speak_to_clinet": true,
  "detail_of_discussion": "sample string 11",
  "remark": "sample string 12"
}

application/xml, text/xml

Sample:
<enquiry_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <bussiness_name>sample string 7</bussiness_name>
  <customer_id>sample string 1</customer_id>
  <detail_of_discussion>sample string 11</detail_of_discussion>
  <did_speak_to_clinet>true</did_speak_to_clinet>
  <email>sample string 6</email>
  <is_customer>3</is_customer>
  <mobile_number>sample string 5</mobile_number>
  <name>sample string 4</name>
  <product_Services>sample string 9</product_Services>
  <remark>sample string 12</remark>
  <token>sample string 2</token>
  <type_of_bussiness>sample string 8</type_of_bussiness>
</enquiry_request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

enquiry_response
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<enquiry_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <message>sample string 2</message>
  <success>true</success>
</enquiry_response>