Asignar vehículo y conductor
PUT/ecmr/trucker-info/:service_code
Asignar conductor y vehículo a un ECMR.
Request
Path Parameters
service_code stringrequired
Header Parameters
Authorization stringrequired
Token de Auth del Usuario
- application/json
Body
temp_token string
trucker_user string
trucker_vehicle string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
status integer
data object
geolocationPickup object
coordinates object[]
geolocationDelivery object
coordinates object[]
_id string
status string
price integer
had_etl_cargo_method boolean
had_etd_cargo_method boolean
description string
info_extra string
plate_full_trailer string
pallets_num integer
pallets_type string
is_fresh boolean
fresh_cargo_temp integer
linear_meters integer
cargo_height integer
cargo_type string
hscode string
cargo_weight integer
is_imperial_measure boolean
service_code string
custom_code string
etl_photos object[]
etl_comment string
etd_photos object[]
etd_comment string
sign_image_trucker string
sign_image_cia string
sign_pickup string
sign_delivery string
sign_pickup_date null
sign_delivery_date null
signed_by_trucker boolean
signed_by_company boolean
confirmed boolean
deleted boolean
etd_date string
etl_date string
etl_cargo_method string
etd_cargo_method string
etl_address string
etd_address string
company_user string
company string
createdAt string
updatedAt string
__v integer
temp_token string
trucker_user string
trucker_vehicle string
trucker_cia string
{
"status": 0,
"data": {
"geolocationPickup": {
"coordinates": [
{}
]
},
"geolocationDelivery": {
"coordinates": [
{}
]
},
"_id": "string",
"status": "string",
"price": 0,
"had_etl_cargo_method": true,
"had_etd_cargo_method": true,
"description": "string",
"info_extra": "string",
"plate_full_trailer": "string",
"pallets_num": 0,
"pallets_type": "string",
"is_fresh": true,
"fresh_cargo_temp": 0,
"linear_meters": 0,
"cargo_height": 0,
"cargo_type": "string",
"hscode": "string",
"cargo_weight": 0,
"is_imperial_measure": true,
"service_code": "string",
"custom_code": "string",
"etl_photos": [
{}
],
"etl_comment": "string",
"etd_photos": [
{}
],
"etd_comment": "string",
"sign_image_trucker": "string",
"sign_image_cia": "string",
"sign_pickup": "string",
"sign_delivery": "string",
"signed_by_trucker": true,
"signed_by_company": true,
"confirmed": true,
"deleted": true,
"etd_date": "string",
"etl_date": "string",
"etl_cargo_method": "string",
"etd_cargo_method": "string",
"etl_address": "string",
"etd_address": "string",
"company_user": "string",
"company": "string",
"createdAt": "string",
"updatedAt": "string",
"__v": 0,
"temp_token": "string",
"trucker_user": "string",
"trucker_vehicle": "string",
"trucker_cia": "string"
}
}
Loading...