Creación de cotización final

Creación de cotización final, similar a creación de viaje, pero con tipo de cotización que luego se podrá convertir en viaje final.

Método: POST | URL: https://api-uat.alltruckapp.com/api/v1/public/final_quote

Authenticación HeaderParam key: x-access-token value: Bearer token###

{
	"branch_id": 1, // number of branch_id associated to specific company
	"tracking": {
        "track": true,
        "callback" : "https://cool.shdi.com/api/v2/notification"
    },
	"currency" : 1,
	"vehicle" : {
		"type" : "1",
		"extra_help" : false,
		"with_roof": false,
		"quantity_extra_help" : 0
	},
	"pickup_time" : {
		"time" : "now"
	},
	"insurance" : 0,
	"details" : {
		"notes": "Detalles generales del pedido",
		"package_description" : "Detalles del paquete",
		"reference_id" : "915",
        "guide_number" : ""
	},
	"address" : {
		"return_to_start": false,
		"start" : {
			"name" : "Origen nombre",
			"phone": ["+50688199893", "+506838388393"],
			"desc" :"Direccion especifica",
			"lat": "9.9342461",
			"lng": "-84.05655209999999"
		},
		"end" : {
			"name" : "destino nombre",
			"phone": ["+50688199893", "+506838388393"],
			"desc" :"Direccion especifica destino",
			"lat" : "9.962399799999998",
			"lng" : "-84.0558916"
		},
		"waypoints" : []
	}
}

Last updated

Was this helpful?