SALESFORCE API
API Documentation

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.


API Methods
Authentication API

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

Login

POST

https://vehicle.auctionsoftware.com/api/login

Header

Content-Type : application/x-www-form-urlencoded

Usage and Examples

curl -X POST "https://vehicle.auctionsoftware.com/api/login" \

--header "Content-Type: application/x-www-form-urlencoded" \

--data "username=testing@auctionsoftware.com&password=12345678"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/login", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "data": { "username": "testing@auctionsoftware.com", "password": "12345678" } }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var qs = require('querystring'); var options = { 'method': 'POST', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/login', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = qs.stringify({ 'username': 'testing@auctionsoftware.com', 'password': '12345678' }); req.write(postData); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • username : testing@auctionsoftware.com password : 12345678
    }
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiMSIsInVzZXJuYW1lIjoiVGVzdCB1c2VyIiwiZW1haWwiOiJ0ZXN0aW5nQGF1Y3Rpb25zb2Z0d2FyZS5jb20ifSwiaWF0IjoxNTU1MDY5NjY2LCJleHAiOjE1NTUwODQwNjZ9.7KrqVuViBF34Lp2y8MzLLYYDIXBbnsS6MNLW563Loqo" }
    }
Responses
Status: 401 - Error
User Authentication failed

User Index

GET

https://vehicle.auctionsoftware.com/api/index

Header

Authorization : Bearer <<TOKEN>>

key : Value

Usage and Examples

curl --location --request GET "https://vehicle.auctionsoftware.com/api/index"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/index", "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'GET', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/index', 'headers': { } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "user": { "user": { "id": "1", "username": "Test user", "email": "testing@auctionsoftware.com" }, "iat": 1555070021, "exp": 1555084421 } }
    }
Responses
Status: 403 - Error
Bearer Token Invalid

Lot Insert

POST

https://vehicle.auctionsoftware.com/api/lot_insert

Header

Content-Type : application/x-www-form-urlencoded

Usage and Examples

curl --location --request POST "https://vehicle.auctionsoftware.com/api/lot_insert" \

--header "Content-Type:application/x-www-form-urlencoded" \

--data "{ \"title\": \"2016 Chevrolet Spark\", \"desc_proc\": \"Testing Vehicle\", \"date_added\": \"2019-04-30 06:23:55\", \"date_closed\": \"2019-05-06 06:23:57\", \"sprice\": \"21300\", \"rprice\": \"54500\", \"gi_inspdate\": \"2018-04-28\", \"gi_vin\": \"123123ssdfas\", \"gi_year\": \"1994\", \"gi_make\": \"Buick\", \"gi_model\": \"Second\", \"gi_mileage\": \"123\", \"gi_trnsmsntype\": \"Manual\", \"gi_engcylndrs\": \"4\", \"gi_extrcolor\": \"Black\", \"gi_intrcolor\": \"White\", \"gi_seatfbrc\": \"Leather\", \"svt_fldleaks\": 1, \"svt_engmalnoise\": 0, \"svt_dsrdalrtsclear\": 1, \"svt_ignition\": 1, \"svt_engnstablty\": 0, \"svt_egnnsvhelrunig\": 1, \"svt_gebxforrev\": 0, \"svt_battrywrks\": 1, \"svt_heatngsysm\": 1, \"svt_aircontgsysm\": 1, \"svt_horn\": 1, \"svt_widshldwiprs\": 1, \"svt_pdlwhladjmts\": 1, \"svt_comments\": \"Comments on the svt\", \"osp_oilleaks\": 1, \"iic_rmtigntn\": 1, \"iic_sprtire\": 1, \"iic_tools\": 1, \"iic_jack\": 1, \"iic_extrlgts\": 1, \"iic_intrlgts\": 1, \"iic_doors\": 1, \"iic_pwrdrlocks\": 1, \"iic_windows\": 1, \"iic_gascap\": 0, \"iic_sunroof\": 1, \"iic_navsys\": 1, \"iic_onstrinstd\": 1, \"iic_saftykids\": 1, \"iic_seatbelts\": 1, \"iic_parknglgts\": 1, \"iic_alarm\": 1, \"iic_soundsystm\": 1, \"iic_vidsystm\": 0, \"iic_defogger\": 1, \"iic_dashbrddispy\": 1, \"iic_backseat\": 1, \"iic_comprts\": 1, \"iic_comments\": \"Comments on iic\", \"er_lftfrntdr\": 1, \"er_lftreardr\": 1, \"er_rhtfrntdr\": 0, \"er_rhtreardr\": 0, \"er_frntbumper\": 1, \"er_hood\": 1, \"er_rails\": 1, \"er_rearbumper\": 1, \"er_trunk\": 1, \"er_wheels\": 1, \"er_runngboard\": 1, \"er_strngsystem\": 1, \"er_rearviwmirror\": 0, \"er_antenna\": 1, \"er_gsktandseals\": 1, \"er_dtlddamgfrnt\": \"Damageifany\", \"er_dtlddamgrear\": \"Damageifany\", \"er_dtlddamgright\": \"Damageifany\", \"er_dtlddamgleft\": \"Damageifany\", \"er_dtlddamgtop\": \"Damageifany\", \"er_comments\": \"Comments on exteriorw\", \"utv_frame\": 1, \"utv_ftrgtbrthick\": \"text\", \"utv_ftlftbrthick\": \"text\", \"utv_rrrgtbrthick\": \"text\", \"utv_rrlftbrthick\": \"text\", \"utv_tiredepth\": 1, \"utv_ftrgttrdepth\": \"text\", \"utv_ftlfttrdepth\": \"text\", \"utv_rrrgttrdepth\": \"text\", \"utv_rrlfttrdepth\": \"text\", \"utv_shocks\": 1, \"utv_ebebracket\": 1, \"utv_engn\": 1, \"utv_alumnmwheels\": 1, \"utv_steelwheels\": 1, \"utv_assmblyaxles\": 1, \"utv_summary\": 1255, \"utv_comments\": \"1235\", \"neghborhd\": \"Local\", \"country\": \"Mexico\", \"city\": \"Manzanillo\", \"state\": \"Colima\", \"zipcode\": \"28200\", \"imagelinks\": [ \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\", \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\" ], \"videolinks\": [ \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\" ], \"documentlinks\": [ \"http://www.africau.edu/images/default/sample.pdf\" ] }"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/lot_insert", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json" }, "data": " {\n \t\"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }", }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'POST', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/lot_insert', 'headers': { 'Content-Type': 'application/json' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = " {\n \t\"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }"; req.write(postData); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "title": "2016 Chevrolet Spark", "desc_proc": "Testing Vehicle", "date_added": "2019-04-30 06:23:55", "date_closed": "2019-05-06 06:23:57", "sprice": "21300", "rprice": "54500", "gi_inspdate": "2018-04-28", "gi_vin": "123123ssdfas", "gi_year": "1994", "gi_make": "Buick", "gi_model": "Second", "gi_mileage": "123", "gi_trnsmsntype": "Manual", "gi_engcylndrs": "4", "gi_extrcolor": "Black", "gi_intrcolor": "White", "gi_seatfbrc": "Leather", "svt_fldleaks": 1, "svt_engmalnoise": 0, "svt_dsrdalrtsclear": 1, "svt_ignition": 1, "svt_engnstablty": 0, "svt_egnnsvhelrunig": 1, "svt_gebxforrev": 0, "svt_battrywrks": 1, "svt_heatngsysm": 1, "svt_aircontgsysm": 1, "svt_horn": 1, "svt_widshldwiprs": 1, "svt_pdlwhladjmts": 1, "svt_comments": "Comments on the svt", "osp_oilleaks": 1, "iic_rmtigntn": 1, "iic_sprtire": 1, "iic_tools": 1, "iic_jack": 1, "iic_extrlgts": 1, "iic_intrlgts": 1, "iic_doors": 1, "iic_pwrdrlocks": 1, "iic_windows": 1, "iic_gascap": 0, "iic_sunroof": 1, "iic_navsys": 1, "iic_onstrinstd": 1, "iic_saftykids": 1, "iic_seatbelts": 1, "iic_parknglgts": 1, "iic_alarm": 1, "iic_soundsystm": 1, "iic_vidsystm": 0, "iic_defogger": 1, "iic_dashbrddispy": 1, "iic_backseat": 1, "iic_comprts": 1, "iic_comments": "Comments on iic", "er_lftfrntdr": 1, "er_lftreardr": 1, "er_rhtfrntdr": 0, "er_rhtreardr": 0, "er_frntbumper": 1, "er_hood": 1, "er_rails": 1, "er_rearbumper": 1, "er_trunk": 1, "er_wheels": 1, "er_runngboard": 1, "er_strngsystem": 1, "er_rearviwmirror": 0, "er_antenna": 1, "er_gsktandseals": 1, "er_dtlddamgfrnt": "Damageifany", "er_dtlddamgrear": "Damageifany", "er_dtlddamgright": "Damageifany", "er_dtlddamgleft": "Damageifany", "er_dtlddamgtop": "Damageifany", "er_comments": "Comments on exteriorw", "utv_frame": 1, "utv_ftrgtbrthick": "text", "utv_ftlftbrthick": "text", "utv_rrrgtbrthick": "text", "utv_rrlftbrthick": "text", "utv_tiredepth": 1, "utv_ftrgttrdepth": "text", "utv_ftlfttrdepth": "text", "utv_rrrgttrdepth": "text", "utv_rrlfttrdepth": "text", "utv_shocks": 1, "utv_ebebracket": 1, "utv_engn": 1, "utv_alumnmwheels": 1, "utv_steelwheels": 1, "utv_assmblyaxles": 1, "utv_summary": 1255, "utv_comments": "1235", "neghborhd": "Local", "country": "Mexico", "city": "Manzanillo", "state": "Colima", "zipcode": "28200", "imagelinks": [ "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png", "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png" ], "videolinks": [ "https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4" ], "documentlinks": [ "http://www.africau.edu/images/default/sample.pdf" ]
    }
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "vehicle_id": 15 }
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

Lot Update

PUT

https://vehicle.auctionsoftware.com/api/lot_update/2

Header

Content-Type : application/x-www-form-urlencoded

Usage and Examples

curl --location --request PUT "https://vehicle.auctionsoftware.com/api/lot_update/77" \

--header "Content-Type:application/x-www-form-urlencoded" \

--data { \"title\": \"2016 Chevrolet Spark\", \"desc_proc\": \"Testing Vehicle\", \"date_added\": \"2019-04-30 06:23:55\", \"date_closed\": \"2019-05-06 06:23:57\", \"sprice\": \"21300\", \"rprice\": \"54500\", \"gi_inspdate\": \"2018-04-28\", \"gi_vin\": \"123123ssdfas\", \"gi_year\": \"1994\", \"gi_make\": \"Buick\", \"gi_model\": \"Second\", \"gi_mileage\": \"123\", \"gi_trnsmsntype\": \"Manual\", \"gi_engcylndrs\": \"4\", \"gi_extrcolor\": \"Black\", \"gi_intrcolor\": \"White\", \"gi_seatfbrc\": \"Leather\", \"svt_fldleaks\": 1, \"svt_engmalnoise\": 0, \"svt_dsrdalrtsclear\": 1, \"svt_ignition\": 1, \"svt_engnstablty\": 0, \"svt_egnnsvhelrunig\": 1, \"svt_gebxforrev\": 0, \"svt_battrywrks\": 1, \"svt_heatngsysm\": 1, \"svt_aircontgsysm\": 1, \"svt_horn\": 1, \"svt_widshldwiprs\": 1, \"svt_pdlwhladjmts\": 1, \"svt_comments\": \"Comments on the svt\", \"osp_oilleaks\": 1, \"iic_rmtigntn\": 1, \"iic_sprtire\": 1, \"iic_tools\": 1, \"iic_jack\": 1, \"iic_extrlgts\": 1, \"iic_intrlgts\": 1, \"iic_doors\": 1, \"iic_pwrdrlocks\": 1, \"iic_windows\": 1, \"iic_gascap\": 0, \"iic_sunroof\": 1, \"iic_navsys\": 1, \"iic_onstrinstd\": 1, \"iic_saftykids\": 1, \"iic_seatbelts\": 1, \"iic_parknglgts\": 1, \"iic_alarm\": 1, \"iic_soundsystm\": 1, \"iic_vidsystm\": 0, \"iic_defogger\": 1, \"iic_dashbrddispy\": 1, \"iic_backseat\": 1, \"iic_comprts\": 1, \"iic_comments\": \"Comments on iic\", \"er_lftfrntdr\": 1, \"er_lftreardr\": 1, \"er_rhtfrntdr\": 0, \"er_rhtreardr\": 0, \"er_frntbumper\": 1, \"er_hood\": 1, \"er_rails\": 1, \"er_rearbumper\": 1, \"er_trunk\": 1, \"er_wheels\": 1, \"er_runngboard\": 1, \"er_strngsystem\": 1, \"er_rearviwmirror\": 0, \"er_antenna\": 1, \"er_gsktandseals\": 1, \"er_dtlddamgfrnt\": \"Damageifany\", \"er_dtlddamgrear\": \"Damageifany\", \"er_dtlddamgright\": \"Damageifany\", \"er_dtlddamgleft\": \"Damageifany\", \"er_dtlddamgtop\": \"Damageifany\", \"er_comments\": \"Comments on exteriorw\", \"utv_frame\": 1, \"utv_ftrgtbrthick\": \"text\", \"utv_ftlftbrthick\": \"text\", \"utv_rrrgtbrthick\": \"text\", \"utv_rrlftbrthick\": \"text\", \"utv_tiredepth\": 1, \"utv_ftrgttrdepth\": \"text\", \"utv_ftlfttrdepth\": \"text\", \"utv_rrrgttrdepth\": \"text\", \"utv_rrlfttrdepth\": \"text\", \"utv_shocks\": 1, \"utv_ebebracket\": 1, \"utv_engn\": 1, \"utv_alumnmwheels\": 1, \"utv_steelwheels\": 1, \"utv_assmblyaxles\": 1, \"utv_summary\": 1255, \"utv_comments\": \"1235\", \"neghborhd\": \"Local\", \"country\": \"Mexico\", \"city\": \"Manzanillo\", \"state\": \"Colima\", \"zipcode\": \"28200\", \"imagelinks\": [ \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\", \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\" ], \"videolinks\": [ \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\" ], \"documentlinks\": [ \"http://www.africau.edu/images/default/sample.pdf\" ] }"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/lot_update/15", "method": "PUT", "timeout": 0, "headers": { "Content-Type": "application/json" }, "data": "{\n \t\"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }", }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'PUT', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/lot_update/15', 'headers': { 'Content-Type': 'application/json' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "{\n \t\"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }"; req.write(postData); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • title : 2019TRAXNew Title (Auction Info) date_added : 2019-04-18 06:23:55 Starting Date date_closed : 2019-04-20 06:23:57 Closing Date sprice : 21300 Starting price rprice: 54500 Reserve price gi_make : Buick Vehicle Make (General Info Section) gi_model : Second Model gi_year : 1994 Year gi_mileage : 123 Mileage gi_seats : 12 Seats gi_vin : 1232423 VIN gi_extrcolor : Black Exterior Color gi_intrcolor : White Interior Color vh_sufdmodn : Vehicle has suffered modifications (Vehicle History Section) mt_filtrinspn : Filters Inspection (Maintenance Section) mt_hoseinspn : Hose inspection mt_bandsinspn : Bands inspection mt_batrytest : Battery test td_codesdetd : asdfsadf Engine Codes Detected (Test Drive Section) td_metertones : 123 Meter / Warning Tones td_ignengstby : asdf Ignition and engine stability (Sound only, please refer to video for more info) td_heatngsysm : 123123 Heating System td_aircontgsysm : asdf Air Conditioning System td_strwhloptn : asdf Steering Wheel Operation (Telescpic and height steering wheel) td_horn : yes Horn td_widshldwiprs : Windshield wipers eif_trklid : Trunk lid / Cargo box (Exterior and Interior Functioning Section) eif_sprtire : Spare Tire eif_tools : Tools eif_jack : Jack eif_extrlgts : Exterior Lights eif_doors : Doors eif_parknglgts : yes Parking Light eif_saftykids : Seats / Safety anchor for kids eif_seatbelts : Seatbelts eif_windows : Windows eif_gascap : 123 Gas cap eif_sunroof : Sun Roof eif_navsys : asdf Navigation system eif_soundsystm : Sound system CD eif_connuab : Connections - USB, AUX, Bluetooth eif_clock : Clock eif_thrmomtr : Thermometer eif_computer : Computer eif_outlts : Outlets (operation) eif_alarm : Alarm eif_intrlgts : Interior Lights eif_windshltwiprs : Windshield wipers eif_dashbrddispy : Dashboard display eif_comprts : Compartments / Consoles er_pwrdrlocks : Power Door Locks (Exterior Review Section) er_lftfrntdr : 123 Left Front Door er_lftreardr : Left Rear Door er_rhtfrntdr : Right Front Door er_rhtreardr : asdf Right Rear Door er_frntbumper : Front bumper er_hood : asdf Hood er_rails : Rails er_rearbumper : Rear bumper er_trunk : Trunk er_wheels : Wheels (Wheels/Hubcap) er_stirrups : Stirrups (Fixed/Electric) er_rearviwmirror : Rear-view mirror er_antenna : Antenna er_gsktandseals : Gaskets and seals uth_vislinsp : Visual Inspection (Under the hood - Section) uth_vidsystm : Video system uth_coolngsystm : Cooling System (68. Engine, radiator and hoses cooling system) ost_comp : adsf Compression, leaks and degradation of engine oil (Other specific tests Section) utv_insp : Under Hood Visual Inspection (Under the vehicle - Section ) utv_frame : 123123 Frame utv_ftrgtbrthick : Front Right Break Pad Thickness utv_ftlftbrthick : Front Left Break Pad Thickness utv_rrrgtbrthick : Rear Right Break Pad Thickness utv_rrlftbrthick : Rear Left Break Pad Thickness utv_tiredepth : Tire Depth > 8/32 utv_ftrgttrdepth : Front Right Tire Depth utv_ftlfttrdepth : asdfads Front Left Tire Depth utv_rrrgttrdepth : Rear Right Tire Depth utv_rrlfttrdepth : Rear Left Tire Depth utv_shocks : Shocks utv_ebebracket : Engine/Box/Exhaust bracket utv_streenglk : Steering / link utv_engncomprmt : Engine Compartment utv_engn : Engine uc_pendgservcert : Pending Services Certification (Unit Certification - Section) uc_engoilfltchnge : Engine Oil and Filter change uc_airinspfltchnge : Air Inspection / Filter Change Cert uc_battrytest : Battery test uc_airinspfldlvlcert : Air Inspection / Fluid Lvl Certification uc_intextpinspcert : asdf Int / Ext Detailed Inspection Cert uc_aircondefftest : asdf Air conditioning efficiency test uc_catlytstcert : sadf Catalyst State Certification uc_starpreactcomp : 123 OnStar pre-activation complete country : Country (Location Section) state : State city : City zipcode : Zip Code videolinks[0] : https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp Video Links (Media Section) documentlinks[0] : http://www.africau.edu/images/default/sample.pdf Document Links imagelinks[0] : https://assets.fireside.fm/file/fireside-images/podcasts/images/b/bc7f1faf-8aad-4135-bb12-83a8af679756/cover_medium.jpg Image Links
    }
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "vehicle_id": 15 }
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

Lot Insert Array

POST

https://vehicle.auctionsoftware.com/api/lot_insertarray

Header

Content-Type : application/json

Usage and Examples

curl --location --request POST "https://vehicle.auctionsoftware.com/api/lot_insertarray" \

--header "Content-Type: application/json" \

--data "{ \"vehicles\": [ { \"title\": \"2016 Chevrolet Spark\", \"desc_proc\": \"Testing Vehicle\", \"date_added\": \"2019-04-30 06:23:55\", \"date_closed\": \"2019-05-06 06:23:57\", \"sprice\": \"21300\", \"rprice\": \"54500\", \"gi_inspdate\": \"2018-04-28\", \"gi_vin\": \"123123ssdfas\", \"gi_year\": \"1994\", \"gi_make\": \"Buick\", \"gi_model\": \"Second\", \"gi_mileage\": \"123\", \"gi_trnsmsntype\": \"Manual\", \"gi_engcylndrs\": \"4\", \"gi_extrcolor\": \"Black\", \"gi_intrcolor\": \"White\", \"gi_seatfbrc\": \"Leather\", \"svt_fldleaks\": 1, \"svt_engmalnoise\": 0, \"svt_dsrdalrtsclear\": 1, \"svt_ignition\": 1, \"svt_engnstablty\": 0, \"svt_egnnsvhelrunig\": 1, \"svt_gebxforrev\": 0, \"svt_battrywrks\": 1, \"svt_heatngsysm\": 1, \"svt_aircontgsysm\": 1, \"svt_horn\": 1, \"svt_widshldwiprs\": 1, \"svt_pdlwhladjmts\": 1, \"svt_comments\": \"Comments on the svt\", \"osp_oilleaks\": 1, \"iic_rmtigntn\": 1, \"iic_sprtire\": 1, \"iic_tools\": 1, \"iic_jack\": 1, \"iic_extrlgts\": 1, \"iic_intrlgts\": 1, \"iic_doors\": 1, \"iic_pwrdrlocks\": 1, \"iic_windows\": 1, \"iic_gascap\": 0, \"iic_sunroof\": 1, \"iic_navsys\": 1, \"iic_onstrinstd\": 1, \"iic_saftykids\": 1, \"iic_seatbelts\": 1, \"iic_parknglgts\": 1, \"iic_alarm\": 1, \"iic_soundsystm\": 1, \"iic_vidsystm\": 0, \"iic_defogger\": 1, \"iic_dashbrddispy\": 1, \"iic_backseat\": 1, \"iic_comprts\": 1, \"iic_comments\": \"Comments on iic\", \"er_lftfrntdr\": 1, \"er_lftreardr\": 1, \"er_rhtfrntdr\": 0, \"er_rhtreardr\": 0, \"er_frntbumper\": 1, \"er_hood\": 1, \"er_rails\": 1, \"er_rearbumper\": 1, \"er_trunk\": 1, \"er_wheels\": 1, \"er_runngboard\": 1, \"er_strngsystem\": 1, \"er_rearviwmirror\": 0, \"er_antenna\": 1, \"er_gsktandseals\": 1, \"er_dtlddamgfrnt\": \"Damageifany\", \"er_dtlddamgrear\": \"Damageifany\", \"er_dtlddamgright\": \"Damageifany\", \"er_dtlddamgleft\": \"Damageifany\", \"er_dtlddamgtop\": \"Damageifany\", \"er_comments\": \"Comments on exteriorw\", \"utv_frame\": 1, \"utv_ftrgtbrthick\": \"text\", \"utv_ftlftbrthick\": \"text\", \"utv_rrrgtbrthick\": \"text\", \"utv_rrlftbrthick\": \"text\", \"utv_tiredepth\": 1, \"utv_ftrgttrdepth\": \"text\", \"utv_ftlfttrdepth\": \"text\", \"utv_rrrgttrdepth\": \"text\", \"utv_rrlfttrdepth\": \"text\", \"utv_shocks\": 1, \"utv_ebebracket\": 1, \"utv_engn\": 1, \"utv_alumnmwheels\": 1, \"utv_steelwheels\": 1, \"utv_assmblyaxles\": 1, \"utv_summary\": 1255, \"utv_comments\": \"1235\", \"neghborhd\": \"Local\", \"country\": \"Mexico\", \"city\": \"Manzanillo\", \"state\": \"Colima\", \"zipcode\": \"28200\", \"imagelinks\": [ \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\", \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\" ], \"videolinks\": [ \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\" ], \"documentlinks\": [ \"http://www.africau.edu/images/default/sample.pdf\" ] }, { \"title\": \"2016 Chevrolet Spark\", \"desc_proc\": \"Testing Vehicle\", \"date_added\": \"2019-04-30 06:23:55\", \"date_closed\": \"2019-05-06 06:23:57\", \"sprice\": \"21300\", \"rprice\": \"54500\", \"gi_inspdate\": \"2018-04-28\", \"gi_vin\": \"123123ssdfas\", \"gi_year\": \"1994\", \"gi_make\": \"Buick\", \"gi_model\": \"Second\", \"gi_mileage\": \"123\", \"gi_trnsmsntype\": \"Manual\", \"gi_engcylndrs\": \"4\", \"gi_extrcolor\": \"Black\", \"gi_intrcolor\": \"White\", \"gi_seatfbrc\": \"Leather\", \"svt_fldleaks\": 1, \"svt_engmalnoise\": 0, \"svt_dsrdalrtsclear\": 1, \"svt_ignition\": 1, \"svt_engnstablty\": 0, \"svt_egnnsvhelrunig\": 1, \"svt_gebxforrev\": 0, \"svt_battrywrks\": 1, \"svt_heatngsysm\": 1, \"svt_aircontgsysm\": 1, \"svt_horn\": 1, \"svt_widshldwiprs\": 1, \"svt_pdlwhladjmts\": 1, \"svt_comments\": \"Comments on the svt\", \"osp_oilleaks\": 1, \"iic_rmtigntn\": 1, \"iic_sprtire\": 1, \"iic_tools\": 1, \"iic_jack\": 1, \"iic_extrlgts\": 1, \"iic_intrlgts\": 1, \"iic_doors\": 1, \"iic_pwrdrlocks\": 1, \"iic_windows\": 1, \"iic_gascap\": 0, \"iic_sunroof\": 1, \"iic_navsys\": 1, \"iic_onstrinstd\": 1, \"iic_saftykids\": 1, \"iic_seatbelts\": 1, \"iic_parknglgts\": 1, \"iic_alarm\": 1, \"iic_soundsystm\": 1, \"iic_vidsystm\": 0, \"iic_defogger\": 1, \"iic_dashbrddispy\": 1, \"iic_backseat\": 1, \"iic_comprts\": 1, \"iic_comments\": \"Comments on iic\", \"er_lftfrntdr\": 1, \"er_lftreardr\": 1, \"er_rhtfrntdr\": 0, \"er_rhtreardr\": 0, \"er_frntbumper\": 1, \"er_hood\": 1, \"er_rails\": 1, \"er_rearbumper\": 1, \"er_trunk\": 1, \"er_wheels\": 1, \"er_runngboard\": 1, \"er_strngsystem\": 1, \"er_rearviwmirror\": 0, \"er_antenna\": 1, \"er_gsktandseals\": 1, \"er_dtlddamgfrnt\": \"Damageifany\", \"er_dtlddamgrear\": \"Damageifany\", \"er_dtlddamgright\": \"Damageifany\", \"er_dtlddamgleft\": \"Damageifany\", \"er_dtlddamgtop\": \"Damageifany\", \"er_comments\": \"Comments on exteriorw\", \"utv_frame\": 1, \"utv_ftrgtbrthick\": \"text\", \"utv_ftlftbrthick\": \"text\", \"utv_rrrgtbrthick\": \"text\", \"utv_rrlftbrthick\": \"text\", \"utv_tiredepth\": 1, \"utv_ftrgttrdepth\": \"text\", \"utv_ftlfttrdepth\": \"text\", \"utv_rrrgttrdepth\": \"text\", \"utv_rrlfttrdepth\": \"text\", \"utv_shocks\": 1, \"utv_ebebracket\": 1, \"utv_engn\": 1, \"utv_alumnmwheels\": 1, \"utv_steelwheels\": 1, \"utv_assmblyaxles\": 1, \"utv_summary\": 1255, \"utv_comments\": \"1235\", \"neghborhd\": \"Local\", \"country\": \"Mexico\", \"city\": \"Manzanillo\", \"state\": \"Colima\", \"zipcode\": \"28200\", \"imagelinks\": [ \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\", \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\" ], \"videolinks\": [ \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\" ], \"documentlinks\": [ \"http://www.africau.edu/images/default/sample.pdf\" ] } ] }"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/lot_insertarray", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json" }, "data": "{ \n \"vehicles\": [\n { \n\"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n },\n {\n \"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }\n ]\n}", }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'POST', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/lot_insertarray', 'headers': { 'Content-Type': 'application/json' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "{\n \"vehicles\": [\n { \n \"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [ \n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n },\n {\n \"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [ \n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }\n ]\n }"; req.write(postData); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "vehicles": [ { "title": "2016 Chevrolet Spark", "desc_proc": "Testing Vehicle", "date_added": "2019-04-30 06:23:55", "date_closed": "2019-05-06 06:23:57", "sprice": "21300", "rprice": "54500", "gi_inspdate": "2018-04-28", "gi_vin": "123123ssdfas", "gi_year": "1994", "gi_make": "Buick", "gi_model": "Second", "gi_mileage": "123", "gi_trnsmsntype": "Manual", "gi_engcylndrs": "4", "gi_extrcolor": "Black", "gi_intrcolor": "White", "gi_seatfbrc": "Leather", "svt_fldleaks": 1, "svt_engmalnoise": 0, "svt_dsrdalrtsclear": 1, "svt_ignition": 1, "svt_engnstablty": 0, "svt_egnnsvhelrunig": 1, "svt_gebxforrev": 0, "svt_battrywrks": 1, "svt_heatngsysm": 1, "svt_aircontgsysm": 1, "svt_horn": 1, "svt_widshldwiprs": 1, "svt_pdlwhladjmts": 1, "svt_comments": "Comments on the svt", "osp_oilleaks": 1, "iic_rmtigntn": 1, "iic_sprtire": 1, "iic_tools": 1, "iic_jack": 1, "iic_extrlgts": 1, "iic_intrlgts": 1, "iic_doors": 1, "iic_pwrdrlocks": 1, "iic_windows": 1, "iic_gascap": 0, "iic_sunroof": 1, "iic_navsys": 1, "iic_onstrinstd": 1, "iic_saftykids": 1, "iic_seatbelts": 1, "iic_parknglgts": 1, "iic_alarm": 1, "iic_soundsystm": 1, "iic_vidsystm": 0, "iic_defogger": 1, "iic_dashbrddispy": 1, "iic_backseat": 1, "iic_comprts": 1, "iic_comments": "Comments on iic", "er_lftfrntdr": 1, "er_lftreardr": 1, "er_rhtfrntdr": 0, "er_rhtreardr": 0, "er_frntbumper": 1, "er_hood": 1, "er_rails": 1, "er_rearbumper": 1, "er_trunk": 1, "er_wheels": 1, "er_runngboard": 1, "er_strngsystem": 1, "er_rearviwmirror": 0, "er_antenna": 1, "er_gsktandseals": 1, "er_dtlddamgfrnt": "Damageifany", "er_dtlddamgrear": "Damageifany", "er_dtlddamgright": "Damageifany", "er_dtlddamgleft": "Damageifany", "er_dtlddamgtop": "Damageifany", "er_comments": "Comments on exteriorw", "utv_frame": 1, "utv_ftrgtbrthick": "text", "utv_ftlftbrthick": "text", "utv_rrrgtbrthick": "text", "utv_rrlftbrthick": "text", "utv_tiredepth": 1, "utv_ftrgttrdepth": "text", "utv_ftlfttrdepth": "text", "utv_rrrgttrdepth": "text", "utv_rrlfttrdepth": "text", "utv_shocks": 1, "utv_ebebracket": 1, "utv_engn": 1, "utv_alumnmwheels": 1, "utv_steelwheels": 1, "utv_assmblyaxles": 1, "utv_summary": 1255, "utv_comments": "1235", "neghborhd": "Local", "country": "Mexico", "city": "Manzanillo", "state": "Colima", "zipcode": "28200", "imagelinks": [ "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png", "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png" ], "videolinks": [ "https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4" ], "documentlinks": [ "http://www.africau.edu/images/default/sample.pdf" ] }, { "title": "2016 Chevrolet Spark", "desc_proc": "Testing Vehicle", "date_added": "2019-04-30 06:23:55", "date_closed": "2019-05-06 06:23:57", "sprice": "21300", "rprice": "54500", "gi_inspdate": "2018-04-28", "gi_vin": "123123ssdfas", "gi_year": "1994", "gi_make": "Buick", "gi_model": "Second", "gi_mileage": "123", "gi_trnsmsntype": "Manual", "gi_engcylndrs": "4", "gi_extrcolor": "Black", "gi_intrcolor": "White", "gi_seatfbrc": "Leather", "svt_fldleaks": 1, "svt_engmalnoise": 0, "svt_dsrdalrtsclear": 1, "svt_ignition": 1, "svt_engnstablty": 0, "svt_egnnsvhelrunig": 1, "svt_gebxforrev": 0, "svt_battrywrks": 1, "svt_heatngsysm": 1, "svt_aircontgsysm": 1, "svt_horn": 1, "svt_widshldwiprs": 1, "svt_pdlwhladjmts": 1, "svt_comments": "Comments on the svt", "osp_oilleaks": 1, "iic_rmtigntn": 1, "iic_sprtire": 1, "iic_tools": 1, "iic_jack": 1, "iic_extrlgts": 1, "iic_intrlgts": 1, "iic_doors": 1, "iic_pwrdrlocks": 1, "iic_windows": 1, "iic_gascap": 0, "iic_sunroof": 1, "iic_navsys": 1, "iic_onstrinstd": 1, "iic_saftykids": 1, "iic_seatbelts": 1, "iic_parknglgts": 1, "iic_alarm": 1, "iic_soundsystm": 1, "iic_vidsystm": 0, "iic_defogger": 1, "iic_dashbrddispy": 1, "iic_backseat": 1, "iic_comprts": 1, "iic_comments": "Comments on iic", "er_lftfrntdr": 1, "er_lftreardr": 1, "er_rhtfrntdr": 0, "er_rhtreardr": 0, "er_frntbumper": 1, "er_hood": 1, "er_rails": 1, "er_rearbumper": 1, "er_trunk": 1, "er_wheels": 1, "er_runngboard": 1, "er_strngsystem": 1, "er_rearviwmirror": 0, "er_antenna": 1, "er_gsktandseals": 1, "er_dtlddamgfrnt": "Damageifany", "er_dtlddamgrear": "Damageifany", "er_dtlddamgright": "Damageifany", "er_dtlddamgleft": "Damageifany", "er_dtlddamgtop": "Damageifany", "er_comments": "Comments on exteriorw", "utv_frame": 1, "utv_ftrgtbrthick": "text", "utv_ftlftbrthick": "text", "utv_rrrgtbrthick": "text", "utv_rrlftbrthick": "text", "utv_tiredepth": 1, "utv_ftrgttrdepth": "text", "utv_ftlfttrdepth": "text", "utv_rrrgttrdepth": "text", "utv_rrlfttrdepth": "text", "utv_shocks": 1, "utv_ebebracket": 1, "utv_engn": 1, "utv_alumnmwheels": 1, "utv_steelwheels": 1, "utv_assmblyaxles": 1, "utv_summary": 1255, "utv_comments": "1235", "neghborhd": "Local", "country": "Mexico", "city": "Manzanillo", "state": "Colima", "zipcode": "28200", "imagelinks": [ "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png", "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png" ], "videolinks": [ "https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4" ], "documentlinks": [ "http://www.africau.edu/images/default/sample.pdf" ] } ]
    }
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "vehicle_id": [ 16, 17 ] }
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

Lot Update Array

PUT

https://vehicle.auctionsoftware.com/api/lot_updatearray

Header

Content-Type : application/json

Usage and Examples

curl --location --request PUT "https://vehicle.auctionsoftware.com/api/lot_updatearray" \

--header "Content-Type: application/json" \

--data "{ \"vehicles\": [ { \"vehicle_id\": 11, \"title\": \"2016 Chevrolet Spark\", \"desc_proc\": \"Testing Vehicle\", \"date_added\": \"2019-04-30 06:23:55\", \"date_closed\": \"2019-05-06 06:23:57\", \"sprice\": \"21300\", \"rprice\": \"54500\", \"gi_inspdate\": \"2018-04-28\", \"gi_vin\": \"123123ssdfas\", \"gi_year\": \"1994\", \"gi_make\": \"Buick\", \"gi_model\": \"Second\", \"gi_mileage\": \"123\", \"gi_trnsmsntype\": \"Manual\", \"gi_engcylndrs\": \"4\", \"gi_extrcolor\": \"Black\", \"gi_intrcolor\": \"White\", \"gi_seatfbrc\": \"Leather\", \"svt_fldleaks\": 1, \"svt_engmalnoise\": 0, \"svt_dsrdalrtsclear\": 1, \"svt_ignition\": 1, \"svt_engnstablty\": 0, \"svt_egnnsvhelrunig\": 1, \"svt_gebxforrev\": 0, \"svt_battrywrks\": 1, \"svt_heatngsysm\": 1, \"svt_aircontgsysm\": 1, \"svt_horn\": 1, \"svt_widshldwiprs\": 1, \"svt_pdlwhladjmts\": 1, \"svt_comments\": \"Comments on the svt\", \"osp_oilleaks\": 1, \"iic_rmtigntn\": 1, \"iic_sprtire\": 1, \"iic_tools\": 1, \"iic_jack\": 1, \"iic_extrlgts\": 1, \"iic_intrlgts\": 1, \"iic_doors\": 1, \"iic_pwrdrlocks\": 1, \"iic_windows\": 1, \"iic_gascap\": 0, \"iic_sunroof\": 1, \"iic_navsys\": 1, \"iic_onstrinstd\": 1, \"iic_saftykids\": 1, \"iic_seatbelts\": 1, \"iic_parknglgts\": 1, \"iic_alarm\": 1, \"iic_soundsystm\": 1, \"iic_vidsystm\": 0, \"iic_defogger\": 1, \"iic_dashbrddispy\": 1, \"iic_backseat\": 1, \"iic_comprts\": 1, \"iic_comments\": \"Comments on iic\", \"er_lftfrntdr\": 1, \"er_lftreardr\": 1, \"er_rhtfrntdr\": 0, \"er_rhtreardr\": 0, \"er_frntbumper\": 1, \"er_hood\": 1, \"er_rails\": 1, \"er_rearbumper\": 1, \"er_trunk\": 1, \"er_wheels\": 1, \"er_runngboard\": 1, \"er_strngsystem\": 1, \"er_rearviwmirror\": 0, \"er_antenna\": 1, \"er_gsktandseals\": 1, \"er_dtlddamgfrnt\": \"Damageifany\", \"er_dtlddamgrear\": \"Damageifany\", \"er_dtlddamgright\": \"Damageifany\", \"er_dtlddamgleft\": \"Damageifany\", \"er_dtlddamgtop\": \"Damageifany\", \"er_comments\": \"Comments on exteriorw\", \"utv_frame\": 1, \"utv_ftrgtbrthick\": \"text\", \"utv_ftlftbrthick\": \"text\", \"utv_rrrgtbrthick\": \"text\", \"utv_rrlftbrthick\": \"text\", \"utv_tiredepth\": 1, \"utv_ftrgttrdepth\": \"text\", \"utv_ftlfttrdepth\": \"text\", \"utv_rrrgttrdepth\": \"text\", \"utv_rrlfttrdepth\": \"text\", \"utv_shocks\": 1, \"utv_ebebracket\": 1, \"utv_engn\": 1, \"utv_alumnmwheels\": 1, \"utv_steelwheels\": 1, \"utv_assmblyaxles\": 1, \"utv_summary\": 1255, \"utv_comments\": \"1235\", \"neghborhd\": \"Local\", \"country\": \"Mexico\", \"city\": \"Manzanillo\", \"state\": \"Colima\", \"zipcode\": \"28200\", \"imagelinks\": [ \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\", \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\" ], \"videolinks\": [ \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\" ], \"documentlinks\": [ \"http://www.africau.edu/images/default/sample.pdf\" ] }, { \"vehicle_id\": 12, \"title\": \"2016 Chevrolet Spark333\", \"desc_proc\": \"Testing Vehicle\", \"date_added\": \"2019-04-30 06:23:55\", \"date_closed\": \"2019-05-06 06:23:57\", \"sprice\": \"21300\", \"rprice\": \"54500\", \"gi_inspdate\": \"2018-04-28\", \"gi_vin\": \"123123ssdfas\", \"gi_year\": \"1994\", \"gi_make\": \"Buick\", \"gi_model\": \"Second\", \"gi_mileage\": \"123\", \"gi_trnsmsntype\": \"Manual\", \"gi_engcylndrs\": \"4\", \"gi_extrcolor\": \"Black\", \"gi_intrcolor\": \"White\", \"gi_seatfbrc\": \"Leather\", \"svt_fldleaks\": 1, \"svt_engmalnoise\": 0, \"svt_dsrdalrtsclear\": 1, \"svt_ignition\": 1, \"svt_engnstablty\": 0, \"svt_egnnsvhelrunig\": 1, \"svt_gebxforrev\": 0, \"svt_battrywrks\": 1, \"svt_heatngsysm\": 1, \"svt_aircontgsysm\": 1, \"svt_horn\": 1, \"svt_widshldwiprs\": 1, \"svt_pdlwhladjmts\": 1, \"svt_comments\": \"Comments on the svt\", \"osp_oilleaks\": 1, \"iic_rmtigntn\": 1, \"iic_sprtire\": 1, \"iic_tools\": 1, \"iic_jack\": 1, \"iic_extrlgts\": 1, \"iic_intrlgts\": 1, \"iic_doors\": 1, \"iic_pwrdrlocks\": 1, \"iic_windows\": 1, \"iic_gascap\": 0, \"iic_sunroof\": 1, \"iic_navsys\": 1, \"iic_onstrinstd\": 1, \"iic_saftykids\": 1, \"iic_seatbelts\": 1, \"iic_parknglgts\": 1, \"iic_alarm\": 1, \"iic_soundsystm\": 1, \"iic_vidsystm\": 0, \"iic_defogger\": 1, \"iic_dashbrddispy\": 1, \"iic_backseat\": 1, \"iic_comprts\": 1, \"iic_comments\": \"Comments on iic\", \"er_lftfrntdr\": 1, \"er_lftreardr\": 1, \"er_rhtfrntdr\": 0, \"er_rhtreardr\": 0, \"er_frntbumper\": 1, \"er_hood\": 1, \"er_rails\": 1, \"er_rearbumper\": 1, \"er_trunk\": 1, \"er_wheels\": 1, \"er_runngboard\": 1, \"er_strngsystem\": 1, \"er_rearviwmirror\": 0, \"er_antenna\": 1, \"er_gsktandseals\": 1, \"er_dtlddamgfrnt\": \"Damageifany\", \"er_dtlddamgrear\": \"Damageifany\", \"er_dtlddamgright\": \"Damageifany\", \"er_dtlddamgleft\": \"Damageifany\", \"er_dtlddamgtop\": \"Damageifany\", \"er_comments\": \"Comments on exteriorw\", \"utv_frame\": 1, \"utv_ftrgtbrthick\": \"text\", \"utv_ftlftbrthick\": \"text\", \"utv_rrrgtbrthick\": \"text\", \"utv_rrlftbrthick\": \"text\", \"utv_tiredepth\": 1, \"utv_ftrgttrdepth\": \"text\", \"utv_ftlfttrdepth\": \"text\", \"utv_rrrgttrdepth\": \"text\", \"utv_rrlfttrdepth\": \"text\", \"utv_shocks\": 1, \"utv_ebebracket\": 1, \"utv_engn\": 1, \"utv_alumnmwheels\": 1, \"utv_steelwheels\": 1, \"utv_assmblyaxles\": 1, \"utv_summary\": 1255, \"utv_comments\": \"1235\", \"neghborhd\": \"Local\", \"country\": \"Mexico\", \"city\": \"Manzanillo\", \"state\": \"Colima\", \"zipcode\": \"28200\", \"imagelinks\": [ \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\", \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\" ], \"videolinks\": [ \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\" ], \"documentlinks\": [ \"http://www.africau.edu/images/default/sample.pdf\" ] } ] }"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/lot_updatearray", "method": "PUT", "timeout": 0, "headers": { "Content-Type": "application/json" }, "data": "{ \n \"vehicles\": [\n { \n \t\"vehicle_id\": 11,\n \"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [ \n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [ \n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n },\n {\n \t\"vehicle_id\": 12,\n \"title\": \"2016 Chevrolet Spark333\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [ \n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [ \n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }\n ]\n}", }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'PUT', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/lot_updatearray', 'headers': { 'Content-Type': 'application/json' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "{ \n \"vehicles\": [ \n { \n \t\"vehicle_id\": 11,\n \"title\": \"2016 Chevrolet Spark\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [ \n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [ \n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [ \n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n },\n {\n \t\"vehicle_id\": 12,\n \"title\": \"2016 Chevrolet Spark333\",\n \"desc_proc\": \"Testing Vehicle\",\n \"date_added\": \"2019-04-30 06:23:55\",\n \"date_closed\": \"2019-05-06 06:23:57\",\n \"sprice\": \"21300\",\n \"rprice\": \"54500\",\n \"gi_inspdate\": \"2018-04-28\",\n \"gi_vin\": \"123123ssdfas\",\n \"gi_year\": \"1994\",\n \"gi_make\": \"Buick\",\n \"gi_model\": \"Second\",\n \"gi_mileage\": \"123\",\n \"gi_trnsmsntype\": \"Manual\",\n \"gi_engcylndrs\": \"4\",\n \"gi_extrcolor\": \"Black\",\n \"gi_intrcolor\": \"White\",\n \"gi_seatfbrc\": \"Leather\",\n \"svt_fldleaks\": 1,\n \"svt_engmalnoise\": 0,\n \"svt_dsrdalrtsclear\": 1,\n \"svt_ignition\": 1,\n \"svt_engnstablty\": 0,\n \"svt_egnnsvhelrunig\": 1,\n \"svt_gebxforrev\": 0,\n \"svt_battrywrks\": 1,\n \"svt_heatngsysm\": 1,\n \"svt_aircontgsysm\": 1,\n \"svt_horn\": 1,\n \"svt_widshldwiprs\": 1,\n \"svt_pdlwhladjmts\": 1,\n \"svt_comments\": \"Comments on the svt\",\n \"osp_oilleaks\": 1,\n \"iic_rmtigntn\": 1,\n \"iic_sprtire\": 1,\n \"iic_tools\": 1,\n \"iic_jack\": 1,\n \"iic_extrlgts\": 1,\n \"iic_intrlgts\": 1,\n \"iic_doors\": 1,\n \"iic_pwrdrlocks\": 1,\n \"iic_windows\": 1,\n \"iic_gascap\": 0,\n \"iic_sunroof\": 1,\n \"iic_navsys\": 1,\n \"iic_onstrinstd\": 1,\n \"iic_saftykids\": 1,\n \"iic_seatbelts\": 1,\n \"iic_parknglgts\": 1,\n \"iic_alarm\": 1,\n \"iic_soundsystm\": 1,\n \"iic_vidsystm\": 0,\n \"iic_defogger\": 1,\n \"iic_dashbrddispy\": 1,\n \"iic_backseat\": 1,\n \"iic_comprts\": 1,\n \"iic_comments\": \"Comments on iic\",\n \"er_lftfrntdr\": 1,\n \"er_lftreardr\": 1,\n \"er_rhtfrntdr\": 0,\n \"er_rhtreardr\": 0,\n \"er_frntbumper\": 1,\n \"er_hood\": 1,\n \"er_rails\": 1,\n \"er_rearbumper\": 1,\n \"er_trunk\": 1,\n \"er_wheels\": 1,\n \"er_runngboard\": 1,\n \"er_strngsystem\": 1,\n \"er_rearviwmirror\": 0,\n \"er_antenna\": 1,\n \"er_gsktandseals\": 1,\n \"er_dtlddamgfrnt\": \"Damageifany\",\n \"er_dtlddamgrear\": \"Damageifany\",\n \"er_dtlddamgright\": \"Damageifany\",\n \"er_dtlddamgleft\": \"Damageifany\",\n \"er_dtlddamgtop\": \"Damageifany\",\n \"er_comments\": \"Comments on exteriorw\",\n \"utv_frame\": 1,\n \"utv_ftrgtbrthick\": \"text\",\n \"utv_ftlftbrthick\": \"text\",\n \"utv_rrrgtbrthick\": \"text\",\n \"utv_rrlftbrthick\": \"text\",\n \"utv_tiredepth\": 1,\n \"utv_ftrgttrdepth\": \"text\",\n \"utv_ftlfttrdepth\": \"text\",\n \"utv_rrrgttrdepth\": \"text\",\n \"utv_rrlfttrdepth\": \"text\",\n \"utv_shocks\": 1,\n \"utv_ebebracket\": 1,\n \"utv_engn\": 1,\n \"utv_alumnmwheels\": 1,\n \"utv_steelwheels\": 1,\n \"utv_assmblyaxles\": 1,\n \"utv_summary\": 1255,\n \"utv_comments\": \"1235\",\n \"neghborhd\": \"Local\",\n \"country\": \"Mexico\",\n \"city\": \"Manzanillo\",\n \"state\": \"Colima\",\n \"zipcode\": \"28200\",\n \"imagelinks\": [ \n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\",\n \"https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png\"\n ],\n \"videolinks\": [\n \"https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4\"\n ],\n \"documentlinks\": [\n \"http://www.africau.edu/images/default/sample.pdf\"\n ]\n }\n ]\n}"; req.write(postData); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "vehicles": [ { "vehicle_id": 11, "title": "2016 Chevrolet Spark", "desc_proc": "Testing Vehicle", "date_added": "2019-04-30 06:23:55", "date_closed": "2019-05-06 06:23:57", "sprice": "21300", "rprice": "54500", "gi_inspdate": "2018-04-28", "gi_vin": "123123ssdfas", "gi_year": "1994", "gi_make": "Buick", "gi_model": "Second", "gi_mileage": "123", "gi_trnsmsntype": "Manual", "gi_engcylndrs": "4", "gi_extrcolor": "Black", "gi_intrcolor": "White", "gi_seatfbrc": "Leather", "svt_fldleaks": 1, "svt_engmalnoise": 0, "svt_dsrdalrtsclear": 1, "svt_ignition": 1, "svt_engnstablty": 0, "svt_egnnsvhelrunig": 1, "svt_gebxforrev": 0, "svt_battrywrks": 1, "svt_heatngsysm": 1, "svt_aircontgsysm": 1, "svt_horn": 1, "svt_widshldwiprs": 1, "svt_pdlwhladjmts": 1, "svt_comments": "Comments on the svt", "osp_oilleaks": 1, "iic_rmtigntn": 1, "iic_sprtire": 1, "iic_tools": 1, "iic_jack": 1, "iic_extrlgts": 1, "iic_intrlgts": 1, "iic_doors": 1, "iic_pwrdrlocks": 1, "iic_windows": 1, "iic_gascap": 0, "iic_sunroof": 1, "iic_navsys": 1, "iic_onstrinstd": 1, "iic_saftykids": 1, "iic_seatbelts": 1, "iic_parknglgts": 1, "iic_alarm": 1, "iic_soundsystm": 1, "iic_vidsystm": 0, "iic_defogger": 1, "iic_dashbrddispy": 1, "iic_backseat": 1, "iic_comprts": 1, "iic_comments": "Comments on iic", "er_lftfrntdr": 1, "er_lftreardr": 1, "er_rhtfrntdr": 0, "er_rhtreardr": 0, "er_frntbumper": 1, "er_hood": 1, "er_rails": 1, "er_rearbumper": 1, "er_trunk": 1, "er_wheels": 1, "er_runngboard": 1, "er_strngsystem": 1, "er_rearviwmirror": 0, "er_antenna": 1, "er_gsktandseals": 1, "er_dtlddamgfrnt": "Damageifany", "er_dtlddamgrear": "Damageifany", "er_dtlddamgright": "Damageifany", "er_dtlddamgleft": "Damageifany", "er_dtlddamgtop": "Damageifany", "er_comments": "Comments on exteriorw", "utv_frame": 1, "utv_ftrgtbrthick": "text", "utv_ftlftbrthick": "text", "utv_rrrgtbrthick": "text", "utv_rrlftbrthick": "text", "utv_tiredepth": 1, "utv_ftrgttrdepth": "text", "utv_ftlfttrdepth": "text", "utv_rrrgttrdepth": "text", "utv_rrlfttrdepth": "text", "utv_shocks": 1, "utv_ebebracket": 1, "utv_engn": 1, "utv_alumnmwheels": 1, "utv_steelwheels": 1, "utv_assmblyaxles": 1, "utv_summary": 1255, "utv_comments": "1235", "neghborhd": "Local", "country": "Mexico", "city": "Manzanillo", "state": "Colima", "zipcode": "28200", "imagelinks": [ "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png", "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png" ], "videolinks": [ "https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4" ], "documentlinks": [ "http://www.africau.edu/images/default/sample.pdf" ] }, { "vehicle_id": 12, "title": "2016 Chevrolet Spark333", "desc_proc": "Testing Vehicle", "date_added": "2019-04-30 06:23:55", "date_closed": "2019-05-06 06:23:57", "sprice": "21300", "rprice": "54500", "gi_inspdate": "2018-04-28", "gi_vin": "123123ssdfas", "gi_year": "1994", "gi_make": "Buick", "gi_model": "Second", "gi_mileage": "123", "gi_trnsmsntype": "Manual", "gi_engcylndrs": "4", "gi_extrcolor": "Black", "gi_intrcolor": "White", "gi_seatfbrc": "Leather", "svt_fldleaks": 1, "svt_engmalnoise": 0, "svt_dsrdalrtsclear": 1, "svt_ignition": 1, "svt_engnstablty": 0, "svt_egnnsvhelrunig": 1, "svt_gebxforrev": 0, "svt_battrywrks": 1, "svt_heatngsysm": 1, "svt_aircontgsysm": 1, "svt_horn": 1, "svt_widshldwiprs": 1, "svt_pdlwhladjmts": 1, "svt_comments": "Comments on the svt", "osp_oilleaks": 1, "iic_rmtigntn": 1, "iic_sprtire": 1, "iic_tools": 1, "iic_jack": 1, "iic_extrlgts": 1, "iic_intrlgts": 1, "iic_doors": 1, "iic_pwrdrlocks": 1, "iic_windows": 1, "iic_gascap": 0, "iic_sunroof": 1, "iic_navsys": 1, "iic_onstrinstd": 1, "iic_saftykids": 1, "iic_seatbelts": 1, "iic_parknglgts": 1, "iic_alarm": 1, "iic_soundsystm": 1, "iic_vidsystm": 0, "iic_defogger": 1, "iic_dashbrddispy": 1, "iic_backseat": 1, "iic_comprts": 1, "iic_comments": "Comments on iic", "er_lftfrntdr": 1, "er_lftreardr": 1, "er_rhtfrntdr": 0, "er_rhtreardr": 0, "er_frntbumper": 1, "er_hood": 1, "er_rails": 1, "er_rearbumper": 1, "er_trunk": 1, "er_wheels": 1, "er_runngboard": 1, "er_strngsystem": 1, "er_rearviwmirror": 0, "er_antenna": 1, "er_gsktandseals": 1, "er_dtlddamgfrnt": "Damageifany", "er_dtlddamgrear": "Damageifany", "er_dtlddamgright": "Damageifany", "er_dtlddamgleft": "Damageifany", "er_dtlddamgtop": "Damageifany", "er_comments": "Comments on exteriorw", "utv_frame": 1, "utv_ftrgtbrthick": "text", "utv_ftlftbrthick": "text", "utv_rrrgtbrthick": "text", "utv_rrlftbrthick": "text", "utv_tiredepth": 1, "utv_ftrgttrdepth": "text", "utv_ftlfttrdepth": "text", "utv_rrrgttrdepth": "text", "utv_rrlfttrdepth": "text", "utv_shocks": 1, "utv_ebebracket": 1, "utv_engn": 1, "utv_alumnmwheels": 1, "utv_steelwheels": 1, "utv_assmblyaxles": 1, "utv_summary": 1255, "utv_comments": "1235", "neghborhd": "Local", "country": "Mexico", "city": "Manzanillo", "state": "Colima", "zipcode": "28200", "imagelinks": [ "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png", "https://www.cadillac.com/content/dam/cadillac/na/us/english/index/navigation/shared/jellybean_update/01_images/2019/vehicles-suv-xt6.png" ], "videolinks": [ "https://video.marketing.sf.com/1274068600/201809/1851/1274068600_5836562546001_5836563013001.mp4" ], "documentlinks": [ "http://www.africau.edu/images/default/sample.pdf" ] } ]
    }
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "vehicle_id": [ 16, 17 ] }
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

GET ALL AUCTIONS INFO

POST

https://vehicle.auctionsoftware.com/api/getauctioninfo

Header

Content-Type : application/x-www-form-urlencoded

Usage and Examples

curl --location --request POST "https://vehicle.auctionsoftware.com/api/getVehicleDetails/5" \

--header "Content-Type:application/x-www-form-urlencoded" \

var settings = { "url": "https://vehicle.auctionsoftware.com/api/getVehicleDetails/5", "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'GET', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/getVehicleDetails/5', 'headers': { } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();
Usage and Examples
Body parameters
Name Description
vehicleID
  • {
    • vehicle_id[0]: 6 vehicle_id[1]: 7 Vehicle ID in Array
    }
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": [ { "vehicle_id": 7, "auctionid": 6, "lotid": 6, "vehicle_title": "fsadf", "auction_title": "test", "lot_title": "MainLot", "vehicle_status": "open", "start_date": "2019-04-16T07:30:00.000Z", "end_date": "2019-04-30T07:30:00.000Z", "bid_history": [ { "bid_id": 7, "user_id": 2, "vehicle_id": 7, "first_name": "sample012", "last_name": "Testing", "email": "sample@auctionsoftware.com", "proposed_amount": 6500, "created_at": "2019-04-18T11:13:14.000Z", "is_winner": "true" }, { "bid_id": 6, "user_id": 3, "vehicle_id": 7, "first_name": "sample2", "last_name": "=", "email": "sample+checking@auctionsoftware.com", "proposed_amount": 5500, "created_at": "2019-04-18T11:13:14.000Z", "is_winner": "false" }, { "bid_id": 5, "user_id": 2, "vehicle_id": 7, "first_name": "sample012", "last_name": "Testing", "email": "sample@auctionsoftware.com", "proposed_amount": 3500, "created_at": "2019-04-18T11:13:00.000Z", "is_winner": "false" }, { "bid_id": 4, "user_id": 3, "vehicle_id": 7, "first_name": "sample2", "last_name": "=", "email": "sample+checking@auctionsoftware.com", "proposed_amount": 2500, "created_at": "2019-04-18T11:13:00.000Z", "is_winner": "false" }, { "bid_id": 3, "user_id": 2, "vehicle_id": 7, "first_name": "sample012", "last_name": "Testing", "email": "sample@auctionsoftware.com", "proposed_amount": 500, "created_at": "2019-04-16T05:09:58.000Z", "is_winner": "false" } ] }, { "vehicle_id": 6, "auctionid": 7, "lotid": 6, "vehicle_title": "afsdfasdf", "auction_title": "test 22", "lot_title": "MainLot", "vehicle_status": "open", "start_date": "2019-04-16T07:30:00.000Z", "end_date": "2019-04-30T07:30:00.000Z", "bid_history": [ { "bid_id": 1, "user_id": 2, "vehicle_id": 6, "first_name": "sample012", "last_name": "Testing", "email": "sample@auctionsoftware.com", "proposed_amount": 1223, "created_at": "2019-04-15T14:05:59.000Z", "is_winner": "true" } ] } ]
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

Vehice Details

GET

https://vehicle.auctionsoftware.com/api/getVehicleDetails/5

Header

Authorization : Bearer <<TOKEN>>

key : Value

Usage and Examples

curl --location --request GET "https://vehicle.auctionsoftware.com/api/getVehicleDetails/5"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/getVehicleDetails/5", "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'GET', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/getVehicleDetails/5', 'headers': { } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": [ { "id": 5, "reiter_num": 1, "reiter_limit": 1, "title": "sadfsad", "desc_proc": "

      dasdfasdf

      \r\n", "selltype": "all", "selectedbuyer": null, "bidtype": "normal", "avatar": null, "date_added": "2019-04-15T12:13:00.000Z", "date_closed": "2019-04-27T12:13:00.000Z", "sprice": "123", "rprice": "2133", "region": null, "country": "Mexico", "state": "Guanajuato", "city": "1231", "zipcode": "12312", "user_id": 1, "created_at": "2019-04-15T12:15:20.000Z", "updated_at": "2019-04-15T12:16:02.000Z", "buynow": 0, "feature": 0, "bprice": 0, "mprice": 0, "iprice": 0, "wprice": 123, "market_status": "open", "auction": 0, "qty": 1, "sold": 0, "reject_reason": null, "future": 0, "booked": 0, "auctionid": 7, "lotid": 0, "auctiontype": "live", "notes": null, "ended_early": 0, "is_relist": 0, "cronjob": 0, "buyership": 0, "crontype": "auto", "relisted_id": 0, "relisted_count": 0, "notify4": 0, "notifypref": 0, "gi_make": "ds", "gi_model": "afdsas", "gi_year": "1993", "gi_mileage": "123", "gi_seats": "12", "gi_vin": "fdsafsadf", "gi_extrcolor": "daf", "gi_intrcolor": "adsfads", "vh_sufdmodn": "Chassis", "mt_filtrinspn": "asdfs", "mt_hoseinspn": "adfasdf", "mt_bandsinspn": "sadf", "mt_batrytest": "asdfasdfasdf", "td_codesdetd": "sdfds", "td_metertones": "a", "td_ignengstby": "213asdf", "td_heatngsysm": "asf", "td_aircontgsysm": "sadfsadf", "td_strwhloptn": "fasdf", "td_horn": "sdfasd", "td_widshldwiprs": "asdf", "eif_trklid": "asdf", "eif_sprtire": "dsfads", "eif_tools": "fdsf", "eif_jack": "fsdf", "eif_extrlgts": "fasdf", "eif_doors": "sadfsadf", "eif_parknglgts": "sdafsda", "eif_saftykids": "sdfsadf", "eif_seatbelts": "adsf", "eif_windows": "dsfsadf", "eif_gascap": "adsfdsaf", "eif_sunroof": "asdasdfsadf", "eif_navsys": "sadfsd", "eif_soundsystm": "fasdf", "eif_connuab": "adsfasd", "eif_clock": "safasdf", "eif_thrmomtr": "fasd", "eif_computer": "fsdf", "eif_outlts": "sdafs", "eif_alarm": "adfasd", "eif_intrlgts": "asdfsdf", "eif_windshltwiprs": "asdff", "eif_dashbrddispy": "asdfasd", "eif_comprts": "asdff", "er_pwrdrlocks": "asdf", "er_lftfrntdr": "fasdf", "er_lftreardr": "adsfasd", "er_rhtfrntdr": "asdf", "er_rhtreardr": "21312", "er_frntbumper": "3123123", "er_hood": "adsadfs", "er_rails": "asdfdsf", "er_rearbumper": "dfs", "er_trunk": "adfs", "er_wheels": "dfsa", "er_stirrups": "dfsafsd", "er_rearviwmirror": "dfs", "er_antenna": "adfsadfsadfs", "er_gsktandseals": "adfsadfs", "uth_vislinsp": "asdfs", "uth_vidsystm": "dfsad", "uth_coolngsystm": "fsadfsda", "ost_comp": "dfsadfs", "utv_insp": "sdafsad", "utv_frame": "fasdf", "utv_ftrgtbrthick": "fsadf", "utv_ftlftbrthick": "dfasdfas", "utv_rrrgtbrthick": "saasf", "utv_rrlftbrthick": "asdf", "utv_tiredepth": "asdf", "utv_ftrgttrdepth": "adsfs", "utv_ftlfttrdepth": "adfsadf", "utv_rrrgttrdepth": "sadf", "utv_rrlfttrdepth": "dsfdfs", "utv_shocks": "dsfa", "utv_ebebracket": "asfd", "utv_streenglk": "fsad", "utv_engncomprmt": "sfda", "utv_engn": "adfsadfsfsad", "uc_pendgservcert": "12312", "uc_engoilfltchnge": "dsdfsa", "uc_airinspfltchnge": "adfsdsafsadf", "uc_battrytest": "fsadfsd", "uc_airinspfldlvlcert": "asdfsad", "uc_intextpinspcert": "adsfasdf", "uc_aircondefftest": "fsad", "uc_catlytstcert": "sadfsadf", "uc_starpreactcomp": "asdfsadfas", "auctiontitle": "test 22", "lottitle": "-" } ]
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

All Vehices

GET

https://vehicle.auctionsoftware.com/api/getAllVehicles

Header

Authorization : Bearer <<TOKEN>>

key : Value

Usage and Examples

curl --location --request GET "https://vehicle.auctionsoftware.com/api/getAllVehicles"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/getAllVehicles", "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'GET', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/getAllVehicles', 'headers': { } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": { "total_vehicles": 8, "vehicles": [ { "vehicle_id": 9, "auction_id": 1, "lot_id": 6, "vehicle_title": "asdfasdf", "auction_title": "asdfasfasdf", "lot_title": "MainLot", "vehicle_status": "open" }, { "vehicle_id": 8, "auction_id": 1, "lot_id": 7, "vehicle_title": "asdfasdfs", "auction_title": "asdfasfasdf", "lot_title": "testinnand", "vehicle_status": "draft" }, { "vehicle_id": 7, "auction_id": 6, "lot_id": 6, "vehicle_title": "fsadf", "auction_title": "test", "lot_title": "MainLot", "vehicle_status": "open" }, { "vehicle_id": 6, "auction_id": 7, "lot_id": 6, "vehicle_title": "afsdfasdf", "auction_title": "test 22", "lot_title": "MainLot", "vehicle_status": "open" }, { "vehicle_id": 5, "auction_id": 7, "lot_id": 0, "vehicle_title": "sadfsad", "auction_title": "test 22", "lot_title": "-", "vehicle_status": "open" }, { "vehicle_id": 3, "auction_id": 5, "lot_id": 0, "vehicle_title": "Srikkanthh", "auction_title": "test", "lot_title": "-", "vehicle_status": "open" }, { "vehicle_id": 2, "auction_id": 0, "lot_id": 0, "vehicle_title": "2019TRAXNew11", "auction_title": "-", "lot_title": "-", "vehicle_status": "open" }, { "vehicle_id": 1, "auction_id": 0, "lot_id": 0, "vehicle_title": "2019TRAXNew", "auction_title": "-", "lot_title": "-", "vehicle_status": "open" } ] } }
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }

Winner

GET

https://vehicle.auctionsoftware.com/api/getwinnerdetails/20

Header

Authorization : Bearer <<TOKEN>>

key : Value

Usage and Examples

curl --location --request GET "https://vehicle.auctionsoftware.com/api/getwinnerdetails/20"

var settings = { "url": "https://vehicle.auctionsoftware.com/api/getwinnerdetails/45", "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); });
var https = require('https'); var options = { 'method': 'GET', 'hostname': 'https://vehicle.auctionsoftware.com', 'path': '/api/getwinnerdetails/45', 'headers': { } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();
Responses
Status: 200 - Success
  • {
    • "status": "success", "data": [ { "id": 45, "title": "2019 CTS-V ", "qty": 0, "date_added": "2019-03-26T15:46:00.000Z", "date_closed": "2019-04-04T11:00:00.000Z", "auctiontype": "live", "bidtype": "normal", "market_status": "sold", "winner_country": "India", "winner_first_name": "One", "winner_email": "test17.auctionsoftware@gmail.com", "winner_companyname": "", "winner_last_name": "User", "winner_username": "Tester1", "totalbids": 2, "paid_date": "0000-00-00 00:00:00", "winner_amount": 25500, "invoice_id": 10000 } ]
    }
Responses
Status: 400 - Error
  • {
    • "status": "error", "data": {}
    }