Exclusive PingPost Specification | Shared PingPost Specification

Demo operates on a directpost or pingpost system for auto insurance leads.

Global description
You send your Lead data,HTTP, XML or JSON formatted, in the body of an HTTP POST request. The XML consists of 4 sections of interest:

Fixed pricing and Minimum required pricing are supported. These need to be discussed with our account manager.

LeadData
Format
<LeadData Target="Lead.Insert" Partner="xxx" Password="ppp" RequestTime="YYYY-mm-dd HH:MM:SS" UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" OriginalURL="http://www.exampleURL.com" SessionLength="7" TransactionId="3A015A43-CD25-4EF5-BD82-5C19C1F40408" TCPAText="tcpa">

You receive the following parameters from our account manager:

Target is the way you want to post us your lead.
Lead.Insert means inserting the lead as a direct post
Lead.Ping means ping us the lead (and a lot of contact data isn't mandatory then)
Lead.Post means post us the lead (after sending us a ping first) and then the transactionId field is mantory. The transactionId you receive from us with the ping response.

RequestTime equals the time the request was issued (Format "YYYY-mm-dd HH:MM:SS")
Remark: all dates in the XML request are in this format.

UserAgent is a string that identifies the user's internet browser or other tools from which the lead was sent, this field is not mandatory.

OriginalURL is the URL of the original source, this field is not mandatory.

SessionLength is how long a user spent on a form before submitting (in seconds), this field is not mandatory

TransactionId Can be the TransactionId of your tracking system or when working with us via ping/post tree it is the transactionId you receive from us on the ping and then this field is mandatory when posting a lead afer a ping transaction.

TCPA is the compliancy text a user must agree to according to the Telephone Consumer Protection Act before submitting. For instance: "By clicking Get My Quotes, I authorize security companies, their dealers and partner companies to contact me about security offers by phone calls and text messages to the number I provided. I authorize that these marketing communications may be delivered to me using an automatic telephone dialing system or by prerecorded message. I understand that my consent is not a condition of purchase". TCPA field is not mandatory.

AffiliateData
Format
<AffiliateData Id="<YourAffiliateId>" OfferId="<YourOfferIdId>" SubId="<affSub>" Sub2Id="<affSub2>" Sub3Id="<affSub3>" Sub4Id="<affSub4>" Sub5Id="<affSub5>" Source="zzz" VerifyAddress="false" RespondOnNoSale="true" SellResponseURL="YourURL" LeadId="" TrustedForm="" ClickConsentID="" PageId="" />

You receive the following parameters from our account manager:

The following parameters need to be discussed with our account manager: LeadId is not mandatory and can be omitted or left empty when not used.

TrustedForm is not mandatory and can be omitted or left empty when not used.

ClickConsentId is not mandatory and can be omitted or left empty when not used.

pageId is not mandatory and can be omitted or left empty when not used.

VerifyAddress (Not mandatory, default = False)
When VerifyAddress is True, any verification errors that occur during Address verification will be passed back to you and the LeadInsert will NOT succeed.
The API will remember the Address data of your request, so when the Lead is reissued to the API, updated parts will be merged with the intial data and
processing continues without further address verification. If no other errors are encountered, the Lead will now pass.
This functionality creates the possibility for your users to edit input errors. The following verification errors could be returned: Should multiple errors be encountered, they will be reported separated by a '|' character.
E.G. Address information provided is incomplete or invalid|Phone number provided seems to be invalid

RespondOnNoSale (Not mandatory, default = True)
When this is set to False, the API will NOT perform a callback to your SellResponseURL in case we could not sell the LEAD.
In case we could sell the Lead we will always perform a callback on your SellResponseURL (unless your SellResponseURL is not specified).

SellResponseURL (aka Post back url / S2S pixel) (Not mandatory, default = "")
If not empty, this is the URL, that you specify, that will be called by the API to inform you about the final results of the posted Lead.
We can provide information in the callback regarding TransactionID, Payout, Result, Reason and Sub2ID.

There are 2 ways, depending on the SellResponseURL you specify: 'standard' and 'with variables'.
In 'standard' we defined the lay-out. In 'with variables' you define the layout using our variable labels enclosed in curly brackets {}.
We will only return the variables that you specify.

standard: {SellResponseURL}TransactionId={transactionid}&Payout={payout}&Result={Result}&Reason={Reason}&Sub2ID={sub2id}
with variables: {SellResponseURL}yourvar={transactionid}&yourvar={payout}&yourvar={Result}&yourvar={Reason}&yourvar={sub2id}

The reason will only be filled in case of a NoSale and can be one of the following:
  1. Duplicate
  2. Contact information invalid
  3. Unable to monetize
example NoSale standard:
http://{yourserver/yourscript}?TransactionId=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Payout=0.00&Result=NotSold&Reason=Unable to monetize&Sub2ID=x11d

example Sale standard:
http://{yourserver/yourscript}?TransactionId=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Payout=12.50&Result=Sold&Sub2ID=x11d

example NoSale with variables (SellResponseURL="http://Server1/SellResp?T={transactionid}&Money={payout}&Err={Reason}&"):
http://Server1/SellResp?T=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Money=0.00&Err=Unable to monetize&

example Sale with variables (SellResponseURL="http://Server1/SellResp?T={transactionid}&Money={payout}&Err={Reason}&"):
http://Server1/SellResp?T=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Money=12.50&Err=&

ContactData and QuoteRequest
Please see the example below for the specifics. All clickable values refer to a list of values that you must choose from.

Pass Back Functionality
Pass Back is a general mechanism supported by PX to return specific Buyer responses on successful Post to the form.
For now, it is Redirect URL and Buyer Raw Response, but it can be any other value (Buyer Email, Buyer Phone, Unique discount code, etc.) in the future.

<QuoteRequest QuoteType="auto" PassBack="True">
With adding the Passback="True" to the QuoteRequest you will enable the "Passback" functionality of PX.

More information about how to use this you can find here.

An example with a vertical definition can by found here.

Selected Buyers
Selected Buyers is a general mechanism supported by PX to return specific Buyers that are interested in buying the lead.

<QuoteRequest QuoteType="auto" QuoteFlow="SelectedBuyers">
With adding the QuoteFlow="SelectedBuyers" to the QuoteRequest you will enable this functionality of PX.

  1. Send in your lead with QuoteFlow="SelectedBuyers"
    PX will respond with a list of Buyers that are willing in buying this lead.

  2. Send in the whole lead again but this time include the Buyers you want to send this lead to and PX will only offer the lead to the buyers in this list.
It is possible to skip STEP 1 and directly send PX the buyer list.

An example with a vertical definition can be found here.

How we operate with direct post
URL: http://api.pxdemo.px.com/px

  1. You send us a lead XML post
  2. You parse the directpost response
  3. You create a web page that can handle our sell response

How we operate with ping/post
Please also see our knowledge base for Ping Post Instructions
URL: http://api.pxdemo.px.com/px

  1. You send us a XML/JSON Ping Request
  2. You send us a XML/JSON Post Request

Example auto Ping in XML Format
<?xml version="1.0" encoding="utf-8"?>
<LeadData Target="Lead.Ping" Partner="PUB_LOGIN_HERE" Password="PUB_PASSWORD_HERE" RequestTime="2012-12-31 14:58:36" UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" OriginalURL="YOUR_URL_HERE" SessionLength="7" TCPAText="TCPA_TEXT_HERE" >
<!-- Your own AffiliateData all values are mandatory except the last 3--> <!-- LeadId can be empty or omitted when not used -->
<AffiliateData Id="PUB_ID_HERE" OfferId="OFFER_ID_HERE" SubId="SUBID_HERE" Sub2Id="" Sub3Id="" Sub4Id="" Sub5Id="" Source="" VerifyAddress="false" RespondOnNoSale="true" SellResponseURL="" LeadId="" TrustedForm="" ClickConsentID="" />
<ContactData>
                <State>(State)</State>
                <ZIPCode>(ZipCode)</ZIPCode>
                <IPAddress>255.255.255.255</IPAddress>
        </ContactData>
<QuoteRequest QuoteType="Auto">
        <Drivers>
         <Driver>
                <BirthDate>(BirthDate)</BirthDate>
                <Gender>(Gender)</Gender>
        </Driver>
        </Drivers>
        <CustomField1>Free text</CustomField1><!-- not mandatory max length 512-->
        <CustomField2>Free text</CustomField2><!-- not mandatory max length 512-->
        <CustomField3>Free text</CustomField3><!-- not mandatory max length 512-->
        <CustomField4>Free text</CustomField4><!-- not mandatory max length 512-->
        <CustomField5>Free text</CustomField5><!-- not mandatory max length 512-->
        <CustomField6>Free text</CustomField6><!-- not mandatory max length 512-->
        <CustomField7>Free text</CustomField7><!-- not mandatory max length 512-->
        <CustomField8>Free text</CustomField8><!-- not mandatory max length 512-->
        <CustomField9>Free text</CustomField9><!-- not mandatory max length 512-->
        <CustomField10>Free text</CustomField10><!-- not mandatory max length 512-->
        <CustomField11>Free text</CustomField11><!-- not mandatory max length 512-->
        <CustomField12>Free text</CustomField12><!-- not mandatory max length 512-->
        <CustomField13>Free text</CustomField13><!-- not mandatory max length 512-->
        <CustomField14>Free text</CustomField14><!-- not mandatory max length 512-->
        <CustomField15>Free text</CustomField15><!-- not mandatory max length 512-->
        <Vehicles>
         <Vehicle>
                <Year>(Year)</Year>
                <Make>(Make)</Make>
                <Model>(Model)</Model>
        </Vehicle>
        </Vehicles>
        <Insurance>
         <CurrentPolicy>
                <!-- omit ExpirationDate and InsuredSince node when user isn't insured -->
                <InsuranceCompany>21st Century</InsuranceCompany><!-- mandatory when insured-->
                <ExpirationDate>2012-01-31</ExpirationDate><!-- mandatory when insured-->
                <InsuredSince>2011-01-31</InsuredSince><!-- mandatory when insured-->
         </CurrentPolicy>
         <RequestedPolicy>
                <CoverageType>Superior Protection</CoverageType><!-- mandatory -->
                <BodilyInjury>25/50</BodilyInjury><!-- not mandatory -->
                <PropertyDamage>10000</PropertyDamage> <!-- integer --><!-- not mandatory -->
         </RequestedPolicy>
        </Insurance>
</QuoteRequest>

</LeadData>


Example auto Post in XML Format
Please remember for a post (Target="Lead.Post") to change the following:
  1. <LeadData Target="Lead.Post">
  2. And add the attribute transactionId to the leaddata node: <LeadData TransactionId="3A015A43-CD25-4EF5-BD82-5C19C1F40408">
<?xml version="1.0" encoding="utf-8"?>
<LeadData Target="Lead.Insert" Partner="PUB_LOGIN_HERE" Password="PUB_PASSWORD_HERE" RequestTime="2012-12-31 14:58:36" UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" OriginalURL="YOUR_URL_HERE" SessionLength="7" TCPAText="TCPA_TEXT_HERE" >
<!-- Your own AffiliateData all values are mandatory except the last 3--> <!-- LeadId can be empty or omitted when not used -->
<AffiliateData Id="PUB_ID_HERE" OfferId="OFFER_ID_HERE" SubId="SUBID_HERE" Sub2Id="" Sub3Id="" Sub4Id="" Sub5Id="" Source="" VerifyAddress="false" RespondOnNoSale="true" SellResponseURL="" LeadId="" TrustedForm="" ClickConsentID="" />
<ContactData>
        <FirstName>John</FirstName><!-- mandatory -->
        <LastName>Doe</LastName><!-- mandatory -->
        <Address>1 Little West 12th</Address><!-- mandatory -->
        <City>New York</City><!-- mandatory -->
        <State>AL</State><!-- mandatory -->
        <ZIPCode>10014</ZIPCode><!-- mandatory -->
        <EmailAddress>test@testemail.com</EmailAddress><!-- mandatory -->
        <PhoneNumber>6467171795</PhoneNumber><!-- mandatory -->
        <DayPhoneNumber>6467171795</DayPhoneNumber><!-- not mandatory -->
        <IPAddress>255.255.255.255</IPAddress><!-- mandatory -->
        <ResidenceType>Dorm / Student housing</ResidenceType><!-- mandatory -->
        <YearsAtResidence>1</YearsAtResidence><!-- not mandatory, defaulted to 1 -->
        <MonthsAtResidence>4</MonthsAtResidence><!-- mandatory -->
</ContactData>
<QuoteRequest QuoteType="Auto">
        <Drivers>
         <Driver>
                <FirstName>John</FirstName><!-- mandatory -->
                <LastName>Dummy</LastName><!-- mandatory -->
                <BirthDate>1980-07-14</BirthDate><!-- mandatory -->
                <MaritalStatus>Divorced</MaritalStatus><!-- mandatory -->
                <RelationshipToApplicant>Self</RelationshipToApplicant><!-- mandatory -->
                <Gender>Male</Gender> <!-- Male / Female --><!-- mandatory -->
                <LicenseState>NY</LicenseState><!-- mandatory -->
                <AgeLicensed>16</AgeLicensed><!-- integer >= 16 --><!-- mandatory -->
                <LicenseStatus>Current</LicenseStatus><!-- mandatory -->
                <LicenseEverSuspendedRevoked>No</LicenseEverSuspendedRevoked> <!-- Boolean Yes / No --><!-- mandatory -->
                <Occupation>Employeed</Occupation><!-- mandatory -->
                <YearsAtEmployer>10</YearsAtEmployer><!-- integer --><!-- mandatory -->
                <Education>Bachelors Degree</Education><!-- mandatory -->
                <RequiresSR22Filing>No</RequiresSR22Filing> <!-- Boolean Yes / No --><!-- mandatory -->
                <CreditRating>Excellent</CreditRating><!-- mandatory -->
                <!-- you can omit the whole Incidents block when there aren't any-->
                <Incidents>
                 <!-- you can omit the whole Violations block when there aren't any-->
                 <Violations>
                        <Violation>
                         <Date>2011-12-31</Date><!-- mandatory when violation -->
                         <Description>Careless driving</Description><!-- mandatory when violation -->
                        </Violation>
                 </Violations>
                 <!-- you can omit the whole MajorViolations block when there aren't any-->
                 <MajorViolations>
                        <MajorViolation>
                         <Date>2011-12-31</Date><!-- mandatory when MajorViolation -->
                         <Description>DUI/DWAI</Description><!-- mandatory when MajorViolation -->
                         <State>NY</State><!-- not mandatory -->
                        </MajorViolation>
                 </MajorViolations>
                 <!-- you can omit the whole Accidents block when there aren't any-->
                 <Accidents>
                        <Accident>
                         <AccidentDate>2011-12-31</AccidentDate><!-- mandatory when Accident -->
                         <Description>Collided with another car</Description><!-- mandatory when Accident -->
                         <AtFault>Yes</AtFault> <!-- Boolean, Yes / No --><!-- mandatory when Accident -->
                         <Damage>People</Damage><!-- mandatory when Accident -->
                         <Amount>1000</Amount> <!-- integer --><!-- mandatory when Accident -->
                        </Accident>
                 </Accidents>
                 <!-- you can omit the whole Claims block when there aren't any-->
                 <Claims>
                        <Claim>
                         <ClaimDate>2011-12-31</ClaimDate><!-- mandatory when claim -->
                         <Description>Act of Nature</Description><!-- mandatory when claim -->
                         <PaidAmount>50000</PaidAmount> <!-- integer --><!-- not mandatory -->
                         <Damage>People</Damage><!-- mandatory when claim -->
                        </Claim>
                 </Claims>
                </Incidents>
         </Driver>
        </Drivers>
        <CustomField1>Free text</CustomField1><!-- not mandatory max length 512-->
        <CustomField2>Free text</CustomField2><!-- not mandatory max length 512-->
        <CustomField3>Free text</CustomField3><!-- not mandatory max length 512-->
        <CustomField4>Free text</CustomField4><!-- not mandatory max length 512-->
        <CustomField5>Free text</CustomField5><!-- not mandatory max length 512-->
        <CustomField6>Free text</CustomField6><!-- not mandatory max length 512-->
        <CustomField7>Free text</CustomField7><!-- not mandatory max length 512-->
        <CustomField8>Free text</CustomField8><!-- not mandatory max length 512-->
        <CustomField9>Free text</CustomField9><!-- not mandatory max length 512-->
        <CustomField10>Free text</CustomField10><!-- not mandatory max length 512-->
        <CustomField11>Free text</CustomField11><!-- not mandatory max length 512-->
        <CustomField12>Free text</CustomField12><!-- not mandatory max length 512-->
        <CustomField13>Free text</CustomField13><!-- not mandatory max length 512-->
        <CustomField14>Free text</CustomField14><!-- not mandatory max length 512-->
        <CustomField15>Free text</CustomField15><!-- not mandatory max length 512-->
        <Vehicles>
         <Vehicle>
                <VIN></VIN> <!-- use either 17 position VIN (e.g. 1N6BD06T070000000 or 1N6BD06T*7*******) or Year/Make/Model -->
                <Year>2011</Year><!-- mandatory when no VIN -->
                <Make>BMW</Make><!-- mandatory when no VIN -->
                <Model>1 Series 128I</Model><!-- mandatory when no VIN -->
                <Garage>No Cover</Garage><!-- mandatory -->
                <Ownership>No</Ownership><!-- mandatory -->
                <PrimaryUse>Commute To/From Work</PrimaryUse><!-- mandatory -->
                <AnnualMiles>2500</AnnualMiles><!-- mandatory -->
                <WeeklyCommuteDays>5</WeeklyCommuteDays><!-- integer, max 7 --><!-- mandatory -->
                <OneWayDistance>0</OneWayDistance><!-- not mandatory -->
                <ComphrensiveDeductible>100</ComphrensiveDeductible><!-- mandatory -->
                <CollisionDeductible>100</CollisionDeductible><!-- mandatory -->
         </Vehicle>
        </Vehicles>
        <Insurance>
         <CurrentPolicy>
                <!-- omit ExpirationDate and InsuredSince node when user isn't insured -->
                <InsuranceCompany>21st Century</InsuranceCompany><!-- mandatory when insured-->
                <ExpirationDate>2012-01-31</ExpirationDate><!-- mandatory when insured-->
                <InsuredSince>2011-01-31</InsuredSince><!-- mandatory when insured-->
         </CurrentPolicy>
         <RequestedPolicy>
                <CoverageType>Superior Protection</CoverageType><!-- mandatory -->
                <BodilyInjury>25/50</BodilyInjury><!-- not mandatory -->
                <PropertyDamage>10000</PropertyDamage> <!-- integer --><!-- not mandatory -->
         </RequestedPolicy>
        </Insurance>
</QuoteRequest>

</LeadData>


Example auto Ping in JSON Format
{
        "type": "jsonwsp/request",
        "version": "1.0",
        "methodname": "Lead.Ping",
        "LeadData": {
                "Target": "Lead.Ping",
                "Partner": "PUB_LOGIN_HERE",
                "Password": "PUB_PASSWORD_HERE",
                "RequestTime": "2012-12-31 14:58:36",
                "UserAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
                "OriginalURL": "YOUR_URL_HERE",
                "SessionLength": "7",
                "TCPAText": "TCPA_TEXT_HERE",
                "AffiliateData": {
                        "Id": "PUB_ID_HERE",
                        "OfferId": "OFFER_ID_HERE",
                        "SubId": "SUBID_HERE",
                        "Sub2Id": "",
                        "Sub3Id": "",
                        "Sub4Id": "",
                        "Sub5Id": "",
                        "Source": "",
                        "VerifyAddress": "false",
                        "RespondOnNoSale": "true",
                        "SellResponseURL": "",
                        "LeadId": "",
                        "TrustedForm": "",
                        "ClickConsentID": ""
                },
                "ContactData": {
                        "State": "(State)",
                        "ZIPCode": "(ZipCode)",
                        "IPAddress": "255.255.255.255"
                },
                "QuoteRequest": {
                        "QuoteType": "Auto",
                        "Drivers": {
                                "Driver": {
                                        "BirthDate": "(BirthDate)",
                                        "Gender": "(Gender)"
                                }
                        },
                        "CustomField1": "Free text",
                        "CustomField2": "Free text",
                        "CustomField3": "Free text",
                        "CustomField4": "Free text",
                        "CustomField5": "Free text",
                        "CustomField6": "Free text",
                        "CustomField7": "Free text",
                        "CustomField8": "Free text",
                        "CustomField9": "Free text",
                        "CustomField10": "Free text",
                        "CustomField11": "Free text",
                        "CustomField12": "Free text",
                        "CustomField13": "Free text",
                        "CustomField14": "Free text",
                        "CustomField15": "Free text",
                        "Vehicles": {
                                "Vehicle": {
                                        "Year": "(Year)",
                                        "Make": "(Make)",
                                        "Model": "(Model)"
                                }
                        },
                        "Insurance": {
                                "CurrentPolicy": {
                                        "InsuranceCompany": "21st Century",
                                        "ExpirationDate": "2012-01-31",
                                        "InsuredSince": "2011-01-31"
                                },
                                "RequestedPolicy": {
                                        "CoverageType": "Superior Protection",
                                        "BodilyInjury": "25/50",
                                        "PropertyDamage": "10000"
                                }
                        }
                }
        }
}


Example auto Post in JSON format
Please remember for a post ("Target" : "Lead.Post",) to change the following:
  1. "Target" : "Lead.Post",
  2. And add transactionId "TransactionId" : "3A015A43-CD25-4EF5-BD82-5C19C1F40408",
{
        "type": "jsonwsp/request",
        "version": "1.0",
        "methodname": "Lead.Insert",
        "LeadData": {
                "Target": "Lead.Insert",
                "Partner": "PUB_LOGIN_HERE",
                "Password": "PUB_PASSWORD_HERE",
                "RequestTime": "2012-12-31 14:58:36",
                "UserAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
                "OriginalURL": "YOUR_URL_HERE",
                "SessionLength": "7",
                "TCPAText": "TCPA_TEXT_HERE",
                "AffiliateData": {
                        "Id": "PUB_ID_HERE",
                        "OfferId": "OFFER_ID_HERE",
                        "SubId": "SUBID_HERE",
                        "Sub2Id": "",
                        "Sub3Id": "",
                        "Sub4Id": "",
                        "Sub5Id": "",
                        "Source": "",
                        "VerifyAddress": "false",
                        "RespondOnNoSale": "true",
                        "SellResponseURL": "",
                        "LeadId": "",
                        "TrustedForm": "",
                        "ClickConsentID": ""
                },
                "ContactData": {
                        "FirstName": "John",
                        "LastName": "Doe",
                        "Address": "1 Little West 12th",
                        "City": "New York",
                        "State": "AL",
                        "ZIPCode": "10014",
                        "EmailAddress": "test@testemail.com",
                        "PhoneNumber": "6467171795",
                        "DayPhoneNumber": "6467171795",
                        "IPAddress": "255.255.255.255",
                        "ResidenceType": "Dorm / Student housing",
                        "YearsAtResidence": "1",
                        "MonthsAtResidence": "4"
                },
                "QuoteRequest": {
                        "QuoteType": "Auto",
                        "Drivers": {
                                "Driver": {
                                        "FirstName": "John",
                                        "LastName": "Dummy",
                                        "BirthDate": "1980-07-14",
                                        "MaritalStatus": "Divorced",
                                        "RelationshipToApplicant": "Self",
                                        "Gender": "Male",
                                        "LicenseState": "NY",
                                        "AgeLicensed": "16",
                                        "LicenseStatus": "Current",
                                        "LicenseEverSuspendedRevoked": "No",
                                        "Occupation": "Employeed",
                                        "YearsAtEmployer": "10",
                                        "Education": "Bachelors Degree",
                                        "RequiresSR22Filing": "No",
                                        "CreditRating": "Excellent",
                                        "Incidents": {
                                                "Violations": {
                                                        "Violation": {
                                                                "Date": "2011-12-31",
                                                                "Description": "Careless driving"
                                                        }
                                                },
                                                "MajorViolations": {
                                                        "MajorViolation": {
                                                                "Date": "2011-12-31",
                                                                "Description": "DUI/DWAI",
                                                                "State": "NY"
                                                        }
                                                },
                                                "Accidents": {
                                                        "Accident": {
                                                                "AccidentDate": "2011-12-31",
                                                                "Description": "Collided with another car",
                                                                "AtFault": "Yes",
                                                                "Damage": "People",
                                                                "Amount": "1000"
                                                        }
                                                },
                                                "Claims": {
                                                        "Claim": {
                                                                "ClaimDate": "2011-12-31",
                                                                "Description": "Act of Nature",
                                                                "PaidAmount": "50000",
                                                                "Damage": "People"
                                                        }
                                                }
                                        }
                                }
                        },
                        "CustomField1": "Free text",
                        "CustomField2": "Free text",
                        "CustomField3": "Free text",
                        "CustomField4": "Free text",
                        "CustomField5": "Free text",
                        "CustomField6": "Free text",
                        "CustomField7": "Free text",
                        "CustomField8": "Free text",
                        "CustomField9": "Free text",
                        "CustomField10": "Free text",
                        "CustomField11": "Free text",
                        "CustomField12": "Free text",
                        "CustomField13": "Free text",
                        "CustomField14": "Free text",
                        "CustomField15": "Free text",
                        "Vehicles": {
                                "Vehicle": {
                                        "VIN": {

                                        },
                                        "Year": "2011",
                                        "Make": "BMW",
                                        "Model": "1 Series 128I",
                                        "Garage": "No Cover",
                                        "Ownership": "No",
                                        "PrimaryUse": "Commute To/From Work",
                                        "AnnualMiles": "2500",
                                        "WeeklyCommuteDays": "5",
                                        "OneWayDistance": "0",
                                        "ComphrensiveDeductible": "100",
                                        "CollisionDeductible": "100"
                                }
                        },
                        "Insurance": {
                                "CurrentPolicy": {
                                        "InsuranceCompany": "21st Century",
                                        "ExpirationDate": "2012-01-31",
                                        "InsuredSince": "2011-01-31"
                                },
                                "RequestedPolicy": {
                                        "CoverageType": "Superior Protection",
                                        "BodilyInjury": "25/50",
                                        "PropertyDamage": "10000"
                                }
                        }
                }
        }
}


Example auto Post in HTTPPost format
Command=HTTPPost&Target=Lead.Insert&PartnerToken=xxxxx&RequestTime=2012-12-31 14:58:36&UserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36&
OriginalURL=YOUR_URL_HERE&SessionLength=7&TCPAText=TCPA_TEXT_HERE&AffiliateData.Id=PUB_ID_HERE&AffiliateData.OfferId=OFFER_ID_HERE&
AffiliateData.SubId=SUBID_HERE&AffiliateData.Sub2Id=&AffiliateData.Sub3Id=&AffiliateData.Sub4Id=&AffiliateData.Sub5Id=&AffiliateData.Source=&AffiliateData.VerifyAddress=false&
AffiliateData.RespondOnNoSale=true&AffiliateData.SellResponseURL=&AffiliateData.LeadId=&AffiliateData.TrustedForm=&AffiliateData.ClickConsentID=&ContactData.FirstName=John&
ContactData.LastName=Doe&ContactData.Address=1 Little West 12th&ContactData.City=New York&ContactData.State=AL&
ContactData.ZIPCode=10014&ContactData.EmailAddress=test@testemail.com&ContactData.PhoneNumber=6467171795&ContactData.DayPhoneNumber=6467171795&
ContactData.IPAddress=255.255.255.255&ContactData.ResidenceType=Dorm / Student housing&
ContactData.YearsAtResidence=1&ContactData.MonthsAtResidence=4&QuoteRequest.QuoteType=Auto&
QuoteRequest.Drivers.Driver.FirstName=John&QuoteRequest.Drivers.Driver.LastName=Dummy&QuoteRequest.Drivers.Driver.BirthDate=1980-07-14&QuoteRequest.Drivers.Driver.MaritalStatus=Divorced&
QuoteRequest.Drivers.Driver.RelationshipToApplicant=Self&QuoteRequest.Drivers.Driver.Gender=Male&
QuoteRequest.Drivers.Driver.LicenseState=NY&QuoteRequest.Drivers.Driver.AgeLicensed=16&QuoteRequest.Drivers.Driver.LicenseStatus=Current&
QuoteRequest.Drivers.Driver.LicenseEverSuspendedRevoked=No&QuoteRequest.Drivers.Driver.Occupation=Employeed&
QuoteRequest.Drivers.Driver.YearsAtEmployer=10&QuoteRequest.Drivers.Driver.Education=Bachelors Degree&
QuoteRequest.Drivers.Driver.RequiresSR22Filing=No&QuoteRequest.Drivers.Driver.CreditRating=Excellent&
QuoteRequest.Drivers.Driver.Incidents.Violations.Violation.Date=2011-12-31&QuoteRequest.Drivers.Driver.Incidents.Violations.Violation.Description=Careless driving&
QuoteRequest.Drivers.Driver.Incidents.MajorViolations.MajorViolation.Date=2011-12-31&QuoteRequest.Drivers.Driver.Incidents.MajorViolations.MajorViolation.Description=DUI/DWAI&
QuoteRequest.Drivers.Driver.Incidents.MajorViolations.MajorViolation.State=NY&QuoteRequest.Drivers.Driver.Incidents.Accidents.Accident.AccidentDate=2011-12-31&
QuoteRequest.Drivers.Driver.Incidents.Accidents.Accident.Description=Collided with another car&
QuoteRequest.Drivers.Driver.Incidents.Accidents.Accident.AtFault=Yes&QuoteRequest.Drivers.Driver.Incidents.Accidents.Accident.Damage=People&
QuoteRequest.Drivers.Driver.Incidents.Accidents.Accident.Amount=1000&QuoteRequest.Drivers.Driver.Incidents.Claims.Claim.ClaimDate=2011-12-31&QuoteRequest.Drivers.Driver.Incidents.Claims.Claim.Description=Act of Nature&
QuoteRequest.Drivers.Driver.Incidents.Claims.Claim.PaidAmount=50000&QuoteRequest.Drivers.Driver.Incidents.Claims.Claim.Damage=People&
QuoteRequest.CustomField1=Free text&QuoteRequest.CustomField2=Free text&QuoteRequest.CustomField3=Free text&QuoteRequest.CustomField4=Free text&QuoteRequest.CustomField5=Free text&
QuoteRequest.CustomField6=Free text&QuoteRequest.CustomField7=Free text&QuoteRequest.CustomField8=Free text&QuoteRequest.CustomField9=Free text&QuoteRequest.CustomField10=Free text&
QuoteRequest.CustomField11=Free text&QuoteRequest.CustomField12=Free text&QuoteRequest.CustomField13=Free text&QuoteRequest.CustomField14=Free text&
QuoteRequest.CustomField15=Free text&QuoteRequest.Vehicles.Vehicle.Year=2011&QuoteRequest.Vehicles.Vehicle.Make=BMW&QuoteRequest.Vehicles.Vehicle.Model=1 Series 128I&
QuoteRequest.Vehicles.Vehicle.Garage=No Cover&QuoteRequest.Vehicles.Vehicle.Ownership=No&
QuoteRequest.Vehicles.Vehicle.PrimaryUse=Commute To/From Work&QuoteRequest.Vehicles.Vehicle.AnnualMiles=2500&
QuoteRequest.Vehicles.Vehicle.WeeklyCommuteDays=5&QuoteRequest.Vehicles.Vehicle.OneWayDistance=0&
QuoteRequest.Vehicles.Vehicle.ComphrensiveDeductible=100&QuoteRequest.Vehicles.Vehicle.CollisionDeductible=100&
QuoteRequest.Insurance.CurrentPolicy.InsuranceCompany=21st Century&QuoteRequest.Insurance.CurrentPolicy.ExpirationDate=2012-01-31&
QuoteRequest.Insurance.CurrentPolicy.InsuredSince=2011-01-31&QuoteRequest.Insurance.RequestedPolicy.CoverageType=Superior Protection&
QuoteRequest.Insurance.RequestedPolicy.BodilyInjury=25/50&QuoteRequest.Insurance.RequestedPolicy.PropertyDamage=10000



Accident.Description
   back
Collided with another car
Hit an obstruction. Single car accident
Hit by another person
Hit while stopped
Hit a pedestrian
Other Unlisted Accident
Rearended by another person
VehicleHitProperty
VehicleDamagedAvoidingAccident
OtherVehicleHitYours
AtFaultAccidentNotListed
NotAtFaultAccidentNotListed

Accident.Damage
   back
People
Property
Both
NotApplicable

AnnualMiles
   back
2500
7500
12500
15000

CoverageType
   back
Superior Protection
Standard Protection
Basic Protection
State Minimum

Claim.Description
   back
Act of Nature
Car fire
Flood damage
Hail damage
Hit an animal
Other Unlisted Claim
Theft of stereo
Theft of vehicle
Towing service
Vandalism
Windshield Replacement
AutoCylinders

Claim.Damage
   back
People
Property
Both
NotApplicable

CollisionDeductible
   back
100
250
500
1000

ComphrensiveDeductible
   back
100
250
500
1000

CreditRating
   back
Excellent
Good
Some Problems
Major Problems

BodilyInjury
   back
25/50
50/100
100/300
250/500
300,000
500,000

Occupation
   back
Employeed
Government
Homemaker
Retired
Student Living w/ Parents
Student not Living w/ Parents
Unemployed
Military
Retail
Sales
Marketing
IT
Medical
Unknown
BusinessOwner
Student
SalesInside
SalesOutside
Scientist
OtherTechnical
MilitaryEnlisted
Architect
Other

LicenseStatus
   back
Current
Expired
Permit
Suspended

Education
   back
Bachelors Degree
Doctorate Degree
High school diploma
Masters Degree
Other
None
Some College
Associate Degree

Garage
   back
No Cover
Car Port
Full Garage
On Street

Accidents
   back
Yes
No

Claims
   back
Yes
No

MajorViolations
   back
Yes
No

LicenseEverSuspendedRevoked
   back
Yes
No

Violations
   back
Yes
No

MaritalStatus
   back
Divorced
Married
Separated
Single
Widowed

OneWayDistance
   back
0
1-3
4-5
6-9
10-19
20-49
50+

RequiresSR22Filing
   back
Yes
No

PrimaryUse
   back
Commute To/From Work
Commute To/From School
Business Individual
Business Corporate
Pleasure
Farm
Government

InsuranceCompany
   back
21st Century
AAA
AARP
AIG
AETNA
AFLAC
AIU
Allied
Allstate
American Alliance Insurance
American Family
American Home Assurance
American Insurance
American International Insurance
American International Pacific
American Internacional south
American International South
American Direct Business Insurance
American Deposit Insurance
American Casualty
American Manufacturers
American Empire Insurance
American Financial
American Health Underwriters
American Mayflower Insurance
American Motorists Insurance
American National
American Premier Insurance
American Protection Insurance
American Automobile Insurance
American Republic
American Savers Plan
American Service Insurance
American Skyline Insurance Company
American Spirit Insurance
American Standard Insurance
AmeriPlan
Amica
Answer Financial
Anthem
Arbella
Armed Forces Insurance
Associated Indemnity
Assurant
Atlanta Casualty
Atlantic Indemnity
Auto Club Insurance Company
AXA Advisors
Bankers Life and Casualty
Banner Life
Best Agency USA
Blue Cross / Blue Shield
Brooke Insurance
Company not listed
Cal Farm Insurance
California State Automobile Association
Chubb
Citizens
Clarendon
CNA
Colonial Insurance
Comparison Market
Continental Insurance
Cotton States
Country Insurance and Financial Services
County Insurance and Financial Services
Countrywide
Countywide
CSE Insurance Group
Dairyland Insurance
eHealth Insurance Services
eHealthInsurance Services
Electric Insurance
Erie Insurance
Esurance
Farm Bureau/Farm Family/Rural
Farmers
FinanceBox.com
Fire and Casualty Insurance Co of CT
Fireman's Fund
Foremost
Foresters
Geico
GMAC
Golden Rule Insurance
Golden Rule Insurancee
Government Employees Insurance
Government Empoyees Insurance
Guaranty National Insurance
Guide One Insurance
Hanover Lloyd's Insurance Company
The Hartford
Health Benefits Direct
Health Choice One
Health Plus of America
HealthShare American
Humana
IFA Auto Insurance
IGF Insurance
Infinity Insurance
Insurance Insight
Insurance.com
Integon
John Hancock
Kaiser Permanente
Kemper Lloyds Insurance
Landmark American Insurance
Leader Insurance
Liberty Insurance Corp
Liberty Mutual
Liberty National
Liberty Northwest
Liberty Nothwest
Lumbermens Mutual
Maryland Casualty
Mass Mutual
Mega/Midwest
Mercury
MetLife Auto and Home
Metropolitan Insurance Co.
Mid Century Insurance
Mid-Continent Casualty
Middlesex Insurance
Midland National Life
Mutual Insurance
National Insurance
National Union Fire Insurance
Nationwide
New England Financial
New York Life Insurance
Northwestern Mutual Life
Nortwestern Mutual Life
Norhwestern Pacific Indemnity
Northwestern Pacific Indemnity
Omni Insurance
Orion Insurance
Pacific Insurance
Pafco General Insurance
Patriot General Insurance
Peak Property and Casualty Insurance
PEMCO Insurance
Physicians
Progressive
Prudential Insurance Co.
Reliance Insurance
Republic Indemnity
Response Insurance
SAFECO
Safeway Insurance
Security Insurance
Sentinel Insurance
Sentry
Shelter
St. Paul Insurance
Standard File Insurance Company
Standard Fire Insurance Company
State and County Mutual Fire Insurance
State Farm
State National
Superior Insurance
Sure Health Plans
The Ahbe Group
The General
TICO Insurance
TICO Insurance1
TIG Countrywide Insurance
Titan
TransAmerica
Travelers
Tri-State Consumer Insurance
Twin City Fire Insurance
UniCare
United Insurance
Unitrin Direct
Universal Underwriters Insurance
US Financial
USA Benefits / Continental General
USA Benefits/Continental General
USAA
USF and G
Viking Insurance
Western and Southern Life
Western Mutual
Windsor Insurance
Woodlands Financial Group
Zurich North America
Currently not insured

PropertyDamage
   back
State Minimum
50
100

RelationshipToApplicant
   back
Self
Spouse
Child
Sibling
Parent
Grandparent
Grandchild
Other

ResidenceType
   back
Dorm / Student housing
I am renting
My own house
Other
With my parents

YearsAtResidence
   back
1
2
3
4
5
6
7
8
9
10
15
20
25
30

Ownership
   back
No
Yes

Violation.Description
   back
Careless driving
Carpool lane violation
Child not in car seat
Defective Equipment
Defective vehicle (reduced violation)
Driving without a license
Excessive noise
Exhibition driving
Expired drivers license
Expired emmissions
Expired Registration
Failure to obey traffic signal
Failure to signal
Failure to stop
Failure to yield
Following too close
Illegal lane change
Illegal passing
Illegal turn
Illegal turn on red
Illegal U Turn
Inattentive driving
No helmet
No insurance
No seatbelt
Passing a school bus
Passing in a no-passing zone
Passing on shoulder
Ran a red light
Ran a stop sign
Reckless driving
Reckless endangerment
Wrong way on a one way
Other Unlisted Moving Violation
Driving too fast for conditions

MajorViolation.Description
   back
DUI/DWAI
License was suspended
Minor in possession
Open container
Drug possession
DrivingWhileUnderTheInfluenceOfDrugs
DrivingUnderInfluenceOfAlcolholOrWhileIntoxicated
DrivingUnderInfluenceOfAlcolholOrWhileIntoxicated

AtFault
   back
Yes
No

State
   back
AL (Alabama)
AK (Alaska)
AZ (Arizona)
AR (Arkansas)
CA (California)
CO (Colorado)
CT (Connecticut)
DE (Delaware)
DC (District of Columbia)
FL (Florida)
GA (Georgia)
HI (Hawaii)
ID (Idaho)
IL (Illinois)
IN (Indiana)
IA (Iowa)
KS (Kansas)
KY (Kentucky)
LA (Louisiana)
ME (Maine)
MD (Maryland)
MA (Massachusetts)
MI (Michigan)
MN (Minnesota)
MS (Mississippi)
MO (Missouri)
MT (Montana)
NE (Nebraska)
NV (Nevada)
NH (New Hampshire)
NJ (New Jersey)
NM (New Mexico)
NY (New York)
NC (North Carolina)
ND (North Dakota)
OH (Ohio)
OK (Oklahoma)
OR (Oregon)
PA (Pennsylvania)
RI (Rhode Island)
SC (South Carolina)
SD (South Dakota)
TN (Tennessee)
TX (Texas)
UT (Utah)
VT (Vermont)
VA (Virginia)
WA (Washington)
WV (West Virginia)
WI (Wisconsin)
WY (Wyoming)


Response Examples
<?xml version="1.0" encoding="utf-8"?>
<Response>
        <Result Value="BaeOK">
                <TransactionId>3A015A43-CD25-4EF5-BD82-5C19C1F40408</TransactionId>
        </Result>
</Response>

<?xml version="1.0" encoding="utf-8"?>
<Response>
        <Result Value="BaeNOK">
                <Error>
                        <Reason>Invalid PhoneNumber.</Reason>
                        <Param>PhoneNumber</Param>
                        <ExtraInfo>Param=PhoneNumber, Value=333795, Error=Number bad format.</ExtraInfo>
         </Error>
        </Result>
</Response>

Response Examples in JSON format
{
        "Result":"BaeOK",
        "TransactionId":"8DF593E1-66CC-4F6C-B4FE-471108C86FAC"
}

{
        "Result":"BaeNOK",
        "Reason":"Parameter value does not pass check.",
        "Param":"PhoneNumber",
        "ExtraInfo":"Param=PhoneNumber, Value=333795, Check=USPhone."
}

All error reasons
Example Sell Request   back
We do an HTTP GET Request to a URL on your server.

Sold Example:
?TransactionId=D9562D0D-950F-4F86-B102-A225E8D2E2A3&Payout=10.54&Result=Sold

NotSold:
?TransactionId=D9562D0D-950F-4F86-B102-A225E8D2E2A3&Payout=0.00&Result=NotSold