POST api/GetCustomerLead

Request Information

URI Parameters

None.

Body Parameters

clsCustomerLead
NameDescriptionTypeAdditional information
customer_id

integer

None.

enpt_customer_id

string

None.

business_name

string

None.

Customer_Name

string

None.

email

string

None.

phone

string

None.

website

string

None.

cust_address

string

None.

lead_ref_id

integer

None.

product_id

string

None.

product_ref

string

None.

product_name

string

None.

total_record

integer

None.

agent_id

integer

None.

action_by

integer

None.

ErrorCode

integer

None.

AutoID

integer

None.

ErrorMsg

string

None.

Type

string

None.

bisalive

boolean

None.

strAction

string

None.

intCreatedBy

integer

None.

intcompany_id

integer

None.

dteCreatedDate

date

None.

intModifyBy

integer

None.

dteModifyDate

date

None.

PageNo

integer

None.

PageSize

integer

None.

TotalRecord

integer

None.

strSearchText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_id": 1,
  "enpt_customer_id": "sample string 2",
  "business_name": "sample string 3",
  "Customer_Name": "sample string 4",
  "email": "sample string 5",
  "phone": "sample string 6",
  "website": "sample string 7",
  "cust_address": "sample string 8",
  "lead_ref_id": 9,
  "product_id": "sample string 10",
  "product_ref": "sample string 11",
  "product_name": "sample string 12",
  "total_record": 13,
  "agent_id": 14,
  "action_by": 15,
  "ErrorCode": 16,
  "AutoID": 17,
  "ErrorMsg": "sample string 18",
  "Type": "sample string 19",
  "bisalive": true,
  "strAction": "sample string 21",
  "intCreatedBy": 1,
  "intcompany_id": 1,
  "dteCreatedDate": "2025-12-11T11:03:51.9390417+00:00",
  "intModifyBy": 1,
  "dteModifyDate": "2025-12-11T11:03:51.9390417+00:00",
  "PageNo": 22,
  "PageSize": 23,
  "TotalRecord": 24,
  "strSearchText": "sample string 25"
}

application/xml, text/xml

Sample:
<clsCustomerLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">
  <AutoID>17</AutoID>
  <ErrorCode>16</ErrorCode>
  <ErrorMsg>sample string 18</ErrorMsg>
  <PageNo>22</PageNo>
  <PageSize>23</PageSize>
  <TotalRecord>24</TotalRecord>
  <Type>sample string 19</Type>
  <bisalive>true</bisalive>
  <dteCreatedDate>2025-12-11T11:03:51.9390417+00:00</dteCreatedDate>
  <dteModifyDate>2025-12-11T11:03:51.9390417+00:00</dteModifyDate>
  <intCreatedBy>1</intCreatedBy>
  <intModifyBy>1</intModifyBy>
  <intcompany_id>1</intcompany_id>
  <strAction>sample string 21</strAction>
  <strSearchText>sample string 25</strSearchText>
  <Customer_Name>sample string 4</Customer_Name>
  <action_by>15</action_by>
  <agent_id>14</agent_id>
  <business_name>sample string 3</business_name>
  <cust_address>sample string 8</cust_address>
  <customer_id>1</customer_id>
  <email>sample string 5</email>
  <enpt_customer_id>sample string 2</enpt_customer_id>
  <lead_ref_id>9</lead_ref_id>
  <phone>sample string 6</phone>
  <product_id>sample string 10</product_id>
  <product_name>sample string 12</product_name>
  <product_ref>sample string 11</product_ref>
  <total_record>13</total_record>
  <website>sample string 7</website>
</clsCustomerLead>

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 'clsCustomerLead'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.