POST api/Enquiry/RemoveEnquiryById

Request Information

URI Parameters

None.

Body Parameters

EnquiryViewModel
NameDescriptionTypeAdditional information
enquirymasterid

integer

None.

enquirynumber

string

None.

customermasterid

integer

None.

brokermasterid

integer

None.

channelpartner

boolean

None.

note

string

None.

customername

string

None.

customerphoneno

string

None.

addressline1

string

None.

addressline2

string

None.

brokername

string

None.

brokerphoneno

string

None.

projectmasterid

integer

None.

enquirydetailsid

integer

None.

address

string

None.

occupationtypeid

integer

None.

flattypeid

integer

None.

sourcetypeid

integer

None.

budget

decimal number

None.

referaltext

string

None.

rerano

string

None.

pan

string

None.

isapproved

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "enquirymasterid": 1,
  "enquirynumber": "sample string 2",
  "customermasterid": 3,
  "brokermasterid": 4,
  "channelpartner": true,
  "note": "sample string 6",
  "customername": "sample string 7",
  "customerphoneno": "sample string 8",
  "addressline1": "sample string 9",
  "addressline2": "sample string 10",
  "brokername": "sample string 11",
  "brokerphoneno": "sample string 12",
  "projectmasterid": 13,
  "enquirydetailsid": 14,
  "address": "sample string 15",
  "occupationtypeid": 16,
  "flattypeid": 17,
  "sourcetypeid": 18,
  "budget": 19.0,
  "referaltext": "sample string 20",
  "rerano": "sample string 21",
  "pan": "sample string 22",
  "isapproved": true
}

application/xml, text/xml

Sample:
<EnquiryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/leadpilot_api.Models">
  <address>sample string 15</address>
  <addressline1>sample string 9</addressline1>
  <addressline2>sample string 10</addressline2>
  <brokermasterid>4</brokermasterid>
  <brokername>sample string 11</brokername>
  <brokerphoneno>sample string 12</brokerphoneno>
  <budget>19</budget>
  <channelpartner>true</channelpartner>
  <customermasterid>3</customermasterid>
  <customername>sample string 7</customername>
  <customerphoneno>sample string 8</customerphoneno>
  <enquirydetailsid>14</enquirydetailsid>
  <enquirymasterid>1</enquirymasterid>
  <enquirynumber>sample string 2</enquirynumber>
  <flattypeid>17</flattypeid>
  <isapproved>true</isapproved>
  <note>sample string 6</note>
  <occupationtypeid>16</occupationtypeid>
  <pan>sample string 22</pan>
  <projectmasterid>13</projectmasterid>
  <referaltext>sample string 20</referaltext>
  <rerano>sample string 21</rerano>
  <sourcetypeid>18</sourcetypeid>
</EnquiryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {},
  "errorCode": 4
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/leadpilot_api.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>