Skip To Content

Developer Documenation: Quotes – Forms

Difficulty: Medium

We recommend that a developer integrate this, as there are elements which would need to be programmatically placed before submitting to our quoting service.

Specifications

  1. Form data should be submitted to the fa$tTrak endpoint using POST
  2. The field names of the POST method data and validations of those fields should match the examples to the right to prefill the data correctly in fa$tTrak.
  3. Please see examples to the right for sample code – your developers will need to modify these for your specific situation
  4. Use the following endpoint for development & testing: applications submitted to this endpoint are not processed by Sales or Credit
:
    • https://devapply.peacsolutions.com/auth/EF
  5. Use the following End point for production/live deployment – applications submitted to this endpoint will be processed by Marlin Sales & Credit
    • https://apply.peacsolutions.com/auth/EF
  6. Your Partner ID should be sent to the endpoint as part of the form POST in the action field. This field is mandatory. Your Partner ID is located at the end of the fa$tTrak URL.:
    • https://apply.peacsolutions.com/auth/EF?partnerid=20786514NR16AAE

Legend

These highlighted areas you see in the sample to the right represent the variables which will need to be filled.

While testing, please use devapply. When ready for production, be sure change it to apply.

Forms with incomplete fields can be submitted, simply leave them blank. See the purple areas in our last example.

<form action="https://devapply.peacsolutions.com/auth/EF" method="post" target=_blank>
	<div style="display:none">
		<input name="contactName" value="John Smith">
		<input name="contactEmail" value="[email protected]">
		<input name="contactPhone" value="1234567890">
		<input name="mobile" value="false">
		<input name="other" value="true">
		<input name="legalBusinessName" value="XYZ Company">
		<input name="dbaName" value="XYZ Company">
		<input name="businessType" value="2">
		<input name="businessStartMonth" value="3">
		<input name="businessStartYear" value="2010">
		<input name="businessAddressLine1" value="1234 Market St">
		<input name="businessAddressLine2" value="Line 2">
		<input name="city" value="Philadelphia">
		<input name="state" value="PA">
		<input name="zipcode" value="19107">
		<input name="businessPhone" value="1122334455">
		<input name="estimatedEquipmentCost" value="90000">
		<input name="estimatedEquipmentCost2" value="80,000">
		<input name="estimatedEquipmentCost3" value="2000">
		<input name="equipmentType" value="013.000">
		<input name="equipmentType2" value="014.000">
		<input name="equipmentType3" value="014.000">
		<input name="equipmentDescription" value="Desc1">
		<input name="equipmentDescription2" value="Desc2">
		<input name="equipmentDescription3" value="Desc3">
		<input name="condition" value="1">
		<input name="condition2" value="2">
		<input name="condition3" value="3">
		<input name="quantity" value="2">
		<input name="quantity2" value="4">
		<input name="quantity3" value="6">
		<input name="equipmentDealerContactName" value="John Smith">
		<input name="equipmentDealerEmail" value="[email protected]">
		<input name="partnerid" value="20786514NR16AAE">
	</div>
	<input type="submit" class="btn" value="Submit">
</form>

Example

Click on the submit button, and the input will be sent to a page on the server.

<form action="https://devapply.peacsolutions.com/auth/EF" method="post" target=_blank>
	<div style="display:none">
		<input name="contactName" value="John Smith">
		<input name="contactEmail" value="[email protected]">
		<input name="contactPhone" value="1234567890">
		<input name="mobile" value="false">
		<input name="other" value="true">
		<input name="partnerid" value="20786514NR16AAE">
	</div>
	<input type="submit" class="btn" value="Submit">
</form>
<form action="https://devapply</div>.peacsolutions.com/auth/EF" method="post" target=_blank>
	<div style="display:none">
		<input name="estimatedEquipmentCost" value="90000">
		<input name="equipmentType" value="013.000">
		<input name="equipmentDescription" value="Desc1">
		<input name="condition" value="1">
		<input name="quantity" value="2">
		<input name="equipmentDealerContactName" value="John Smith">
		<input name="equipmentDealerEmail" value="[email protected]">
		<input name="partnerid" value="20786514NR16AAE">
	</div>
	<input type="submit" class="btn" value="Submit">
</form>
<form action="https://devapply.peacsolutions.com/auth/EF" method="post" target=_blank>
	<div style="display:none">
		<input name="legalBusinessName" value="XYZ Company">
		<input name="dbaName" value="XYZ Company">
		<input name="businessType" value="2">
		<input name="businessStartMonth" value="3">
		<input name="businessStartYear" value="2010">
		<input name="businessAddressLine1" value="1234 Market St">
		<input name="businessAddressLine2" value="Line 2">
		<input name="city" value="Philadelphia">
		<input name="state" value="PA">
		<input name="zipcode" value="19107">
		<input name="businessPhone" value="1122334455">
		<input name="partnerid" value="20786514NR16AAE">
	</div>
	<input type="submit" class="btn" value="Submit">
</form>
<form action="https://devapply.peacsolutions.com/auth/EF" method="post" target=_blank>
	<div style="display:none">
		<input name="contactName" value="John Smith">
		<input name="contactEmail" value="[email protected]">
		<input name="contactPhone" value=" ">
		<input name="mobile" value="false">
		<input name="other" value="true">
		<input name="legalBusinessName" value=" ">
		<input name="dbaName" value="XYZ Company">
		<input name="businessType" value="2">
		<input name="businessStartMonth" value=" ">
		<input name="businessStartYear" value=" ">
		<input name="businessAddressLine1" value="1234 Market St">
		<input name="businessAddressLine2" value=" ">
		<input name="city" value="Philadelphia">
		<input name="state" value="PA">
		<input name="zipcode" value="19107">
		<input name="businessPhone" value=" ">
		<input name="estimatedEquipmentCost" value="90000">
		<input name="estimatedEquipmentCost2" value=" ">
		<input name="estimatedEquipmentCost3" value=" ">
		<input name="equipmentType" value="013.000">
		<input name="equipmentType2" value="013.000">
		<input name="equipmentType3" value=" ">
		<input name="equipmentDescription" value=" ">
		<input name="equipmentDescription2" value="Desc2">
		<input name="equipmentDescription3" value=" ">
		<input name="condition" value="1">
		<input name="condition2" value="2">
		<input name="condition3" value="3">
		<input name="quantity" value="2">
		<input name="quantity2" value="4">
		<input name="quantity3" value="6">
		<input name="equipmentDealerContactName" value=" ">
		<input name="equipmentDealerEmail" value="[email protected]">
		<input name="partnerid" value="20786514NR16AAE">
	</div>
	<input type="submit" class="btn" value="Submit">
</form>