@copart/tx-title-submission

1.0.29 • Public • Published

Texas DMV Submission

An API for submitting Title documentation to Texas DMV

Installation

npm install @copart/tx-title-submission

Usage

const data = {
    "VIN": "1Z7HT32N76S567988",
    "lotId": "54565454",
    "vehicleMake": "",
    "vehicleYear": "",
    "vehicleModel": "LAI",
    "bodyStyle": "OF",
    "majorColor": "RED",
    "minorColor": "TAN",
    "dotProofRequired": "",
    "manufactureBuyBack": false,
    "floodDamage": true,
    "noLien": true,
    "recordLien": "",
    "ownerName": "Test Owner",
    "ownerCity": "DALLAS",
    "ownerState": "TX",
    "applicantName": "test app name",
    "applicantAddressLine1": "test app line1",
    "applicantAddressLine2": "test app line2",
    "applicantCity": "DALLAS",
    "applicantState": "TX",
    "applicantZip": "75240",
    "applicantZip2": "",
    "applicantMailingName": "test app mail name",
    "applicantMailingAddressLine1": "test app mail line1",
    "applicantMailingAddressLine2": "test app mail line2",
    "applicantMailingCity": "test mail city",
    "applicantMailingState": "TX",
    "applicantMailingZip": "75240",
    "applicantMailingZip2": "",
    "documentType": 1,
    "uploadDocument": "/Users/xxx/Code/ycs_dmv_submission/uploads/54565454.pdf", //give your file path
    "username": "",
    "password": "",
    "licenseNo": ""
}

texasSubmission(data)  
  .then(res => { console.log("Successfully submitted")})
  .catch(e => { console.log("ERROR: ", e)})

Readme

Keywords

Package Sidebar

Install

npm i @copart/tx-title-submission

Weekly Downloads

3

Version

1.0.29

License

none

Unpacked Size

71.3 kB

Total Files

14

Last publish

Collaborators

  • omkarkyatham
  • saiteja.murarisetty
  • mapothani
  • shivani_padma
  • saiprasad_3103
  • dineshgrandhi--copart
  • yilinliu7
  • dbkokkirig
  • mdelong422
  • chandrashekar.gandla
  • ravikirancopart
  • akashpatti
  • nikhilnarula
  • shwetanairco
  • lizhangxcopart
  • raghurudraraju-copart
  • adganapath
  • jagannadhtipirneni
  • prasanth.ivs