POST api/vendor/Lead/Submit
Request Information
URI Parameters
None.
Body Parameters
LfoInfoName | Description | Type | Additional information |
---|---|---|---|
AddressInfo | Address |
None. |
|
InterestedServices | Services |
None. |
|
VendorInfo | Info |
None. |
|
Domain | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "addressInfo": { "streetAddress": "sample string 1", "aptUnit": "sample string 2", "zipCode": "sample string 3" }, "interestedServices": { "internet": true, "video": true, "phone": true }, "vendorInfo": { "sessionId": "sample string 1", "vendorId": "sample string 2" }, "domain": "sample string 1" }
text/html
Sample:
{"addressInfo":{"streetAddress":"sample string 1","aptUnit":"sample string 2","zipCode":"sample string 3"},"interestedServices":{"internet":true,"video":true,"phone":true},"vendorInfo":{"sessionId":"sample string 1","vendorId":"sample string 2"},"domain":"sample string 1"}
application/xml, text/xml
Sample:
<LfoInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartBusinessEntities.Vendor"> <AddressInfo> <AptUnit>sample string 2</AptUnit> <StreetAddress>sample string 1</StreetAddress> <ZipCode>sample string 3</ZipCode> </AddressInfo> <Domain>sample string 1</Domain> <InterestedServices> <Internet>true</Internet> <Phone>true</Phone> <Video>true</Video> </InterestedServices> <VendorInfo> <SessionId>sample string 1</SessionId> <VendorId>sample string 2</VendorId> </VendorInfo> </LfoInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponseResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
ContentEncoding | Encoding |
None. |
|
ContentType | string |
None. |
|
Data | Object |
None. |
|
JsonRequestBehavior | JsonRequestBehavior |
None. |
|
MaxJsonLength | integer |
None. |
|
RecursionLimit | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "contentEncoding": null, "contentType": "sample string 3", "data": {}, "jsonRequestBehavior": 0, "maxJsonLength": 1, "recursionLimit": 1 }
text/html
Sample:
{"success":true,"message":"sample string 2","contentEncoding":null,"contentType":"sample string 3","data":{},"jsonRequestBehavior":0,"maxJsonLength":1,"recursionLimit":1}
application/xml, text/xml
Sample:
<JsonResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartUtilities"> <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" /> <ContentType xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</ContentType> <Data xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" /> <JsonRequestBehavior xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">AllowGet</JsonRequestBehavior> <MaxJsonLength xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</MaxJsonLength> <RecursionLimit xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</RecursionLimit> <Message>sample string 2</Message> <Success>true</Success> </JsonResponseResult>