POST api/WebsiteLeads
Request Information
URI Parameters
None.
Body Parameters
websitesync| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadType | string |
None. |
|
| Campaign | string |
None. |
|
| UTM_Tags | string |
None. |
|
| CUST_NAME | string |
None. |
|
| CSH_E_GSM_NO | string |
None. |
|
| SourceApp | string |
None. |
|
| Product | string |
None. |
|
| Branch | string |
None. |
|
| UNIQUE_REF_NO | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeadType": "sample string 1",
"Campaign": "sample string 2",
"UTM_Tags": "sample string 3",
"CUST_NAME": "sample string 4",
"CSH_E_GSM_NO": "sample string 5",
"SourceApp": "sample string 6",
"Product": "sample string 7",
"Branch": "sample string 8",
"UNIQUE_REF_NO": "sample string 9"
}
application/xml, text/xml
Sample:
<websitesync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Liva_KuwaitSync.Models"> <Branch>sample string 8</Branch> <CSH_E_GSM_NO>sample string 5</CSH_E_GSM_NO> <CUST_NAME>sample string 4</CUST_NAME> <Campaign>sample string 2</Campaign> <LeadType>sample string 1</LeadType> <Product>sample string 7</Product> <SourceApp>sample string 6</SourceApp> <UNIQUE_REF_NO>sample string 9</UNIQUE_REF_NO> <UTM_Tags>sample string 3</UTM_Tags> </websitesync>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
leadresp| Name | Description | Type | Additional information |
|---|---|---|---|
| RESPONSECODE | string |
None. |
|
| RESPONSEMESSAGE | string |
None. |
|
| ERRORS | Collection of string |
None. |
|
| UNIQUE_REF_NO | string |
None. |
|
| DATA_RECEIVED | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"RESPONSECODE": "sample string 1",
"RESPONSEMESSAGE": "sample string 2",
"ERRORS": [
"sample string 1",
"sample string 2"
],
"UNIQUE_REF_NO": "sample string 3",
"DATA_RECEIVED": "sample string 4"
}
application/xml, text/xml
Sample:
<leadresp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Liva_KuwaitSync.Models">
<DATA_RECEIVED>sample string 4</DATA_RECEIVED>
<ERRORS xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ERRORS>
<RESPONSECODE>sample string 1</RESPONSECODE>
<RESPONSEMESSAGE>sample string 2</RESPONSEMESSAGE>
<UNIQUE_REF_NO>sample string 3</UNIQUE_REF_NO>
</leadresp>