Details - Delivery/Service
GET/api/delivery/:serviceCode
Get detailed information about a Delivery/Service. This information corresponds to the Delivery object.
Request
Path Parameters
Header Parameters
Apikey of a company linked to a user
Responses
- 200
Example response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
data object
Shipment, generated when the auction ends successfully
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
auction objectrequired
This is the complete Auction object. Please note that there will be fields that are for internal use of the database or server and cannot be modified during the editing or creation of the object.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Default value: 0
Number of bids in the auction
Possible values: non-empty
Date on which it has been canceled by the Company
Possible values: non-empty
Date on which it has been canceled by the Carrier (TruckerCia)
Possible values: <= 4500
Default value: 0
Cargo height. Take into account the value of is_imperial_measure to determine if it's in cm/inch
Possible values: [pallets
, full
, package
, trailer
]
Type of Shipment: Parcel, Palletized, Full Load, Linear Meters
Possible values: <= 24000
Weight of the Cargo. Consider the value of is_imperial_measure to determine if it's in kg/lb
Possible values: non-empty
This field will be for internal use (yours) for organizing auctions and deliveries.
Possible values: non-empty
End date of the auction. Bids will be accepted until this date. If there are no bids by this date, it is considered 'empty'.
Possible values: non-empty
Start date of the auction. It is considered Draft if this field is null; and planned if it has any value > NOW().
Possible values: non-empty
Its value will be true if notifications have been sent upon completion.
etd_address object
Shipping / Pickup Addresses. They are necessary for the calculation of costs, routes, and general operation of the platform to be correct. Keep in mind that we will use both GPS coordinates and postal codes to manage and verify that all data is correct; therefore, it is important that they are accurate. In case any data is incorrectly entered, consider that they will be recorded in the contract and all legal documents of the process.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
City of the address
Possible values: non-empty
Name of the destination company. It will be used for data verification.
Possible values: >= 3 characters
and <= 20 characters
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
GPS location position
Possible values: non-empty
Name (or nickname) you give to the address for your use
Possible values: non-empty
Complete data
Possible values: non-empty
User's contact phone number
Possible values: non-empty
Province of the address
Possible values: non-empty
Province or Community of the address. In case it's not compatible with the address format, it may remain empty.
Possible values: non-empty
Physical address; street, avenue, etc.
Possible values: non-empty
House number of the address
Possible values: non-empty
Postal code of the address. It will depend on the country for the use of one format or another.
Possible values: non-empty
, [back
, lateral
, superior
]
Default value: back
Allowed loading methods for the ETD cargo
Possible values: non-empty
Delivery date. If there is a time margin, consider the start time.
Possible values: <= 99999
Default value: 0
Extra time range from the etd_date. Corresponds to the number of minutes between the delivery date and the time range. For example, if the etd_date is at 08:00, this will be the number of minutes for the delivery at 08:05.
etl_address object
Shipping / Pickup Addresses. They are necessary for the calculation of costs, routes, and general operation of the platform to be correct. Keep in mind that we will use both GPS coordinates and postal codes to manage and verify that all data is correct; therefore, it is important that they are accurate. In case any data is incorrectly entered, consider that they will be recorded in the contract and all legal documents of the process.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
City of the address
Possible values: non-empty
Name of the destination company. It will be used for data verification.
Possible values: >= 3 characters
and <= 20 characters
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
GPS location position
Possible values: non-empty
Name (or nickname) you give to the address for your use
Possible values: non-empty
Complete data
Possible values: non-empty
User's contact phone number
Possible values: non-empty
Province of the address
Possible values: non-empty
Province or Community of the address. In case it's not compatible with the address format, it may remain empty.
Possible values: non-empty
Physical address; street, avenue, etc.
Possible values: non-empty
House number of the address
Possible values: non-empty
Postal code of the address. It will depend on the country for the use of one format or another.
Possible values: non-empty
, [back
, lateral
, superior
]
Default value: back
Allowed loading methods for the ETL cargo
Possible values: non-empty
Pickup date. If there is a time margin, consider the start time.
Possible values: <= 9999
Default value: 0
Extra time range from the etl_date. Corresponds to the number of minutes between the pickup date and the time range. For example, if the etd_date is at 08:00, this will be the number of minutes for the delivery at 08:05.
Possible values: >= -273
and <= 1000
Default value: 0
If is_fresh is True, this value is required. And it will be the optimal cargo temperature.
It has a loading method at the Destination
It has a loading method at the Origin
European Harmonization Code. https://trade.ec.europa.eu/access-to-markets/en/content/harmonised-system-0
If the shipment is refrigerated. Check the fresh_cargo_temp field.
To indicate whether we will use Imperial metrics (Pounds, inches) or Decimal metrics (cm, kg)
If the shipment is palletized. Check the cargo_type field.
Default value: 0
The linear meters of the shipment. Check the cargo_type field.
Possible values: <= 66
Default value: 0
Number of pallets in the shipment.
Possible values: non-empty
, [european
, american
, none
]
Default value: european
Type of pallet to use. It will be used for volume calculations, measurements, and legal checks. Consider the value of the is_pallet field.
Trailer license plate, in case the shipment type is directly a trailer. It is not the same as Full Load. The format of the license plate will depend on the country.
Unique code generated upon the creation of the auction. It serves as a traceability code for the entire shipment, from creation to delivery.
Signature image of the loader. It is in Base64 format.
Signature image of the carrier. It is in Base64 format.
If it has been signed by the Company (Loader)
Possible values: non-empty
Date on which it has been signed by the Company
If it has been notified to be signed by the Carrier (TruckerCia)
If it has been signed by the Carrier (TruckerCia)
Possible values: non-empty
Date on which it has been signed by the Carrier (TruckerCia)
If it has been notified to be signed by the Company (Loader)
Possible values: [draft
, planned
, published
, empty
, awarded
, approved
, locked
, canceled
, rejected
]
Default value: draft
This is the current status of the auction. It will not be editable. The status will be modified depending on the values, conditions of the auction. draft - Draft planned - Planned published - Published empty - Empty, no Bids awarded - Awarded approved - Approved, in Shipping process canceled - Canceled by the Company rejected - Rejected by the Trucker
Possible values: non-empty
Date of the last modification of the object
Possible values: <= 4500
Default value: 0
Cargo height. Take into account the value of is_imperial_measure to determine if it's in cm/inch
Possible values: <= 24000
Weight of the Cargo. Consider the value of is_imperial_measure to determine if it's in kg/lb
TODO: Categories are not yet defined.
company objectrequired
Loading company which is the origin of the auction. Whether it's multitennant or Default. NOTE: In the REST API, editing of these data is not allowed, they will be readOnly.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: [default
, multitennant
, mining
]
Default value: default
Company type: default -> Regular multitennant -> Owns fleet and contracts external Spot services mining -> Specialized for mining
address object
Shipping / Pickup Addresses. They are necessary for the calculation of costs, routes, and general operation of the platform to be correct. Keep in mind that we will use both GPS coordinates and postal codes to manage and verify that all data is correct; therefore, it is important that they are accurate. In case any data is incorrectly entered, consider that they will be recorded in the contract and all legal documents of the process.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
City of the address
Possible values: non-empty
Name of the destination company. It will be used for data verification.
Possible values: >= 3 characters
and <= 20 characters
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
GPS location position
Possible values: non-empty
Name (or nickname) you give to the address for your use
Possible values: non-empty
Complete data
Possible values: non-empty
User's contact phone number
Possible values: non-empty
Province of the address
Possible values: non-empty
Province or Community of the address. In case it's not compatible with the address format, it may remain empty.
Possible values: non-empty
Physical address; street, avenue, etc.
Possible values: non-empty
House number of the address
Possible values: non-empty
Postal code of the address. It will depend on the country for the use of one format or another.
addresses object[]
Customer Addresses. Used for Origin/Destination of the Auctions
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
City of the address
Possible values: non-empty
Name of the destination company. It will be used for data verification.
Possible values: >= 3 characters
and <= 20 characters
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
GPS location position
Possible values: non-empty
Name (or nickname) you give to the address for your use
Possible values: non-empty
Complete data
Possible values: non-empty
User's contact phone number
Possible values: non-empty
Province of the address
Possible values: non-empty
Province or Community of the address. In case it's not compatible with the address format, it may remain empty.
Possible values: non-empty
Physical address; street, avenue, etc.
Possible values: non-empty
House number of the address
Possible values: non-empty
Postal code of the address. It will depend on the country for the use of one format or another.
contact_person object
Admin User or Manager of the Company
Possible values: non-empty
Unique ID generated randomly at the time of creation
Possible values: non-empty
User's date of birth
Possible values: non-empty
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Possible values: non-empty
Timestamp of the object creation
Possible values: non-empty
Email used for login. Must be unique in the system.
Boolean to know if a user has validated the email. They cannot log in if it's not validated.
Possible values: >= 2 characters
and <= 3 characters
ISO code of the current language
Possible values: non-empty
Timestamp of the user's last login
Possible values: non-empty
Last IP from which the user has connected
Possible values: non-empty
User's Last Name
Possible values: non-empty
User's First Name
Possible values: non-empty
User's contact phone number
Photo file code (Optional)
Possible values: non-empty
Timestamp of when the password reset was requested
Possible values: non-empty
, [gestor
, admin
]
Default value: gestor
User's role. If a Manager, they can create drivers for their Company. There must always be 1 admin.
Possible values: [pending
, active
, suspended
, blocked
]
Default value: pending
If the user is enabled or not to enter the platform. Pending -> Pending Approval Active -> Can use the platform Suspended -> Temporarily Blocked Blocked -> Permanently Blocked
Possible values: non-empty
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Possible values: non-empty
Timestamp of the last update of the Object
Possible values: non-empty
Fiscal data used for the generation of invoices and contracts
Possible values: non-empty
Commercial name of the company
Reason for the company's blockage. See status
Explanation of the company's blockage. See status
Possible values: non-empty
Legal name of the company. It will be used for legal documents
Possible values: [pending
, active
, suspended
, blocked
]
Default value: pending
If the user is enabled or not to access the platform, applies to all associated truckers Pending -> Pending Approval Active -> Can use the platform Suspended -> Temporarily Blocked Blocked -> Permanently Blocked
truckers object[]
Drivers of the Company; they will have access to the carrier application with access to the services managed from the MultiTennant Company panel, for MultiTennant accounts.
position object
Array of services and their last known position
Account role ("driver", "dev", "manager" or "admin")
Account status (Locked or active in boolean).
Account blocking reason.
Boolean that indicates whether the email is verified.
Trucker's phone.
Country of residence of the trucker.
Trucker time zone.
Trucker image.
Password recovery token.
Language of the trucker user.
Boolean indicating whether the user has been deleted.
Name of the trucker.
Truck driver's last name.
Trucker email (Must be unique)
Truck's identity document (Must be unique).
Hashed password of the trucker account.
users object[]
Possible values: >= 1
The users of the company
Possible values: non-empty
Unique ID generated randomly at the time of creation
Possible values: non-empty
User's date of birth
Possible values: non-empty
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Possible values: non-empty
Timestamp of the object creation
Possible values: non-empty
Email used for login. Must be unique in the system.
Boolean to know if a user has validated the email. They cannot log in if it's not validated.
Possible values: >= 2 characters
and <= 3 characters
ISO code of the current language
Possible values: non-empty
Timestamp of the user's last login
Possible values: non-empty
Last IP from which the user has connected
Possible values: non-empty
User's Last Name
Possible values: non-empty
User's First Name
Possible values: non-empty
User's contact phone number
Photo file code (Optional)
Possible values: non-empty
Timestamp of when the password reset was requested
Possible values: non-empty
, [gestor
, admin
]
Default value: gestor
User's role. If a Manager, they can create drivers for their Company. There must always be 1 admin.
Possible values: [pending
, active
, suspended
, blocked
]
Default value: pending
If the user is enabled or not to enter the platform. Pending -> Pending Approval Active -> Can use the platform Suspended -> Temporarily Blocked Blocked -> Permanently Blocked
Possible values: non-empty
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Possible values: non-empty
Timestamp of the last update of the Object
vehicles object[]
List of the internal vehicles of the company; for MultiTennant accounts
Types of loading methods valid for the truck ("NONE", "up", "lateral", "back")
Truck type ("NONE", "r3c", "tir", "rt", "r2c", "r2d", "van", "frc", "f2c", "adr", "ft", "pt ", "cc", "hdcc", "dump", "live" or "cocar")
Image of the truck.
Truck ITV document.
Refrigerated or dry truck ("fresh" or "dry")
Truck plate
Temperature that the truck can reach if it is refrigerated, in degrees Celsius.
contract object
Shipping Contract. It is automatically generated when a service is accepted by both parties (Company and Carrier).
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: >= 12 characters
and <= 12 characters
, Value must match regular expression [A-Za-z0-9]{12}
Access code to the file
Possible values: non-empty
Possible values: non-empty
S3 File Address
Possible values: non-empty
ETA of arrival at the Destination
Delivery description.
docs object[]
Documentation of the Shipment and contracts
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
Date until which the documentation is valid
Possible values: non-empty
Possible values: [pending
, approved
, rejected
]
Default value: pending
Approval status of the documentation
Possible values: non-empty
etd_address objectrequired
Shipping / Pickup Addresses. They are necessary for the calculation of costs, routes, and general operation of the platform to be correct. Keep in mind that we will use both GPS coordinates and postal codes to manage and verify that all data is correct; therefore, it is important that they are accurate. In case any data is incorrectly entered, consider that they will be recorded in the contract and all legal documents of the process.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
City of the address
Possible values: non-empty
Name of the destination company. It will be used for data verification.
Possible values: >= 3 characters
and <= 20 characters
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
GPS location position
Possible values: non-empty
Name (or nickname) you give to the address for your use
Possible values: non-empty
Complete data
Possible values: non-empty
User's contact phone number
Possible values: non-empty
Province of the address
Possible values: non-empty
Province or Community of the address. In case it's not compatible with the address format, it may remain empty.
Possible values: non-empty
Physical address; street, avenue, etc.
Possible values: non-empty
House number of the address
Possible values: non-empty
Postal code of the address. It will depend on the country for the use of one format or another.
Possible values: non-empty
, [back
, lateral
, superior
]
Default value: back
Allowed loading methods for the ETD cargo
Photographs of the delivery as proof of receipt
etl_address objectrequired
Shipping / Pickup Addresses. They are necessary for the calculation of costs, routes, and general operation of the platform to be correct. Keep in mind that we will use both GPS coordinates and postal codes to manage and verify that all data is correct; therefore, it is important that they are accurate. In case any data is incorrectly entered, consider that they will be recorded in the contract and all legal documents of the process.
Possible values: non-empty
, Value must match regular expression ^[0-9a-fA-F]{24}$
Internal ID for database usage.
Possible values: non-empty
City of the address
Possible values: non-empty
Name of the destination company. It will be used for data verification.
Possible values: >= 3 characters
and <= 20 characters
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
GPS location position
Possible values: non-empty
Name (or nickname) you give to the address for your use
Possible values: non-empty
Complete data
Possible values: non-empty
User's contact phone number
Possible values: non-empty
Province of the address
Possible values: non-empty
Province or Community of the address. In case it's not compatible with the address format, it may remain empty.
Possible values: non-empty
Physical address; street, avenue, etc.
Possible values: non-empty
House number of the address
Possible values: non-empty
Postal code of the address. It will depend on the country for the use of one format or another.
Possible values: non-empty
, [back
, lateral
, superior
]
Default value: back
Allowed loading methods for the ETL cargo
Photographs of the pickup as proof of receipt
Possible values: >= -273
and <= 1000
Default value: 0
If is_fresh is True, this value is required. And it will be the optimal cargo temperature.
If there are loading methods at the destination
If there are loading methods at the origin
If it is a refrigerated cargo
To indicate whether we will use Imperial metrics (Pounds, inches) or Decimal metrics (cm, kg).
If the shipment is palletized. Check the cargo_type field.
Possible values: <= 66
Default value: 0
Number of pallets in the shipment.
Possible values: non-empty
, [european
, american
, none
]
Default value: european
Type of pallet to use. It will be used for volume calculations, measurements, and legal checks. Consider the value of the is_pallet field.
Generated at creation time, read-only. Uniquely identifies the service from auction to delivery
Possible values: [planned
, replanned
, accepted
, issue
, delivered
, claimed.
, canceled
, collected
]
Default value: planned
This is the current status of the auction. It will not be editable. The status will be modified depending on the values, conditions of the auction. draft - Draft planned - Planned published - Published empty - Empty, no Bids awarded - Awarded approved - Approved, in Shipping process canceled - Canceled by the Company rejected - Rejected by the Trucker
trucker_cia objectrequired
Trucking company. In case it's a SoloDriver, it's considered an Admin of a company with only 1 User.
Possible values: non-empty
Unique ID generated randomly at the time of creation
Possible values: non-empty
admin object
position object
Array of services and their last known position
Account role ("driver", "dev", "manager" or "admin")
Account status (Locked or active in boolean).
Account blocking reason.
Boolean that indicates whether the email is verified.
Trucker's phone.
Country of residence of the trucker.
Trucker time zone.
Trucker image.
Password recovery token.
Language of the trucker user.
Boolean indicating whether the user has been deleted.
Name of the trucker.
Truck driver's last name.
Trucker email (Must be unique)
Truck's identity document (Must be unique).
Hashed password of the trucker account.
Possible values: non-empty
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Possible values: non-empty
Possible values: non-empty
Possible values: non-empty
Possible values: [pending
, active
, suspended
, blocked
]
Default value: pending
If the user is enabled or not to enter the platform, applies to all associated truckers Pending -> Pending Approval Active -> Can use the platform Suspended -> Temporarily Blocked Blocked -> Permanently Blocked
Possible values: non-empty
Tax Identification
Possible values: non-empty
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Possible values: non-empty
users object[]
Possible values: >= 1
Managers and Drivers
position object
Array of services and their last known position
Account role ("driver", "dev", "manager" or "admin")
Account status (Locked or active in boolean).
Account blocking reason.
Boolean that indicates whether the email is verified.
Trucker's phone.
Country of residence of the trucker.
Trucker time zone.
Trucker image.
Password recovery token.
Language of the trucker user.
Boolean indicating whether the user has been deleted.
Name of the trucker.
Truck driver's last name.
Trucker email (Must be unique)
Truck's identity document (Must be unique).
Hashed password of the trucker account.
vehicles object[]
Possible values: >= 1
List of Trucks owned by the company
Types of loading methods valid for the truck ("NONE", "up", "lateral", "back")
Truck type ("NONE", "r3c", "tir", "rt", "r2c", "r2d", "van", "frc", "f2c", "adr", "ft", "pt ", "cc", "hdcc", "dump", "live" or "cocar")
Image of the truck.
Truck ITV document.
Refrigerated or dry truck ("fresh" or "dry")
Truck plate
Temperature that the truck can reach if it is refrigerated, in degrees Celsius.
Possible values: non-empty
{
"status": "string",
"data": {
"_id": "5d84f846b0f6ba698f544dbf",
"auction": {
"_id": "string",
"bids_count": 0,
"cancelled_company_date": "2019-09-20T16:03:18.575Z",
"cancelled_trucker_date": "2019-09-20T16:03:18.575Z",
"cargo_height": 0,
"cargo_type": "pallets",
"cargo_weight": 2500,
"createdAt": "2019-09-20T16:03:18.575Z",
"custom_code": "string",
"date_end": "2019-09-20T16:03:18.575Z",
"date_start": "2019-09-20T16:03:18.575Z",
"deletedAt": "2019-09-20T16:03:18.575Z",
"email_end_notified": true,
"etd_address": {
"_id": "5d84f846b0f6ba698f544dbf",
"city": "vigo",
"company_name": "ABC Logistics",
"country": "españa",
"location": {
"coordinates": [
-8.7207,
42.2406
],
"type": "Point"
},
"name": "ABC Logistics Vigo",
"name_address": "Aduana, 4, Rúa Concepción Arenal, Santiago de Vigo, Vigo, Pontevedra, Galicia, 36201, España",
"phone": "+34981234567",
"province": "Pontevedra",
"state": "galicia",
"street_address": "Rúa Concepción Arenal",
"street_number": "4",
"zipcode": "36201"
},
"etd_cargo_method": "back",
"etd_date": "2019-09-20T16:03:18.575Z",
"etd_extra_time": 1,
"etl_address": {
"_id": "5d84f846b0f6ba698f544dbf",
"city": "vigo",
"company_name": "ABC Logistics",
"country": "españa",
"location": {
"coordinates": [
-8.7207,
42.2406
],
"type": "Point"
},
"name": "ABC Logistics Vigo",
"name_address": "Aduana, 4, Rúa Concepción Arenal, Santiago de Vigo, Vigo, Pontevedra, Galicia, 36201, España",
"phone": "+34981234567",
"province": "Pontevedra",
"state": "galicia",
"street_address": "Rúa Concepción Arenal",
"street_number": "4",
"zipcode": "36201"
},
"etl_cargo_method": "back",
"etl_date": "2019-09-20T16:03:18.575Z",
"etl_extra_time": 100,
"fresh_cargo_temp": 3,
"had_etd_cargo_method": false,
"had_etl_cargo_method": false,
"hscode": "0706.10",
"is_fresh": false,
"is_imperial_measure": false,
"is_pallet": false,
"linear_meters": 0,
"pallets_num": 0,
"pallets_type": "european",
"plate_full_trailer": "string",
"service_code": "string",
"sign_image_cia": "string",
"sign_image_trucker": "string",
"signed_by_company": false,
"signed_by_company_date": "2019-09-20T16:03:18.575Z",
"signed_by_company_notify": false,
"signed_by_trucker": false,
"signed_by_trucker_date": "2019-09-20T16:03:18.575Z",
"signed_by_trucker_notify": false,
"status": "draft",
"updatedAt": "2019-09-20T16:03:18.575Z"
},
"cargo_height": 0,
"cargo_weight": 2500,
"category": "string",
"company": {
"_id": "string",
"accountType": "default",
"address": {
"_id": "5d84f846b0f6ba698f544dbf",
"city": "vigo",
"company_name": "ABC Logistics",
"country": "españa",
"location": {
"coordinates": [
-8.7207,
42.2406
],
"type": "Point"
},
"name": "ABC Logistics Vigo",
"name_address": "Aduana, 4, Rúa Concepción Arenal, Santiago de Vigo, Vigo, Pontevedra, Galicia, 36201, España",
"phone": "+34981234567",
"province": "Pontevedra",
"state": "galicia",
"street_address": "Rúa Concepción Arenal",
"street_number": "4",
"zipcode": "36201"
},
"addresses": [
{
"_id": "5d84f846b0f6ba698f544dbf",
"city": "vigo",
"company_name": "ABC Logistics",
"country": "españa",
"location": {
"coordinates": [
-8.7207,
42.2406
],
"type": "Point"
},
"name": "ABC Logistics Vigo",
"name_address": "Aduana, 4, Rúa Concepción Arenal, Santiago de Vigo, Vigo, Pontevedra, Galicia, 36201, España",
"phone": "+34981234567",
"province": "Pontevedra",
"state": "galicia",
"street_address": "Rúa Concepción Arenal",
"street_number": "4",
"zipcode": "36201"
}
],
"contact_person": {
"_id": "5d84f846b0f6ba698f544dbf",
"authenticationToken": "string",
"birthDate": "2019-09-20T16:03:18.575Z",
"country": "ESP",
"createdAt": "2019-09-20T16:03:18.575Z",
"email": "string",
"emailVerified": true,
"lastSignInAt": "2019-09-20T16:03:18.575Z",
"lastSignInIp": "192.168.1.0",
"lastname": "string",
"name": "string",
"password": "string",
"phone": "+34 602247084",
"resetPasswordSentAt": "2019-09-20T16:03:18.575Z",
"resetPasswordToken": "NO-VISIBLE",
"role": "admin",
"status": true,
"timezone": "string",
"updatedAt": "2019-09-20T16:03:18.575Z"
},
"invoice_data": "string",
"name": "string",
"reason": "string",
"reasonMessage": "string",
"socialName": "string",
"status": "pending",
"truckers": [
{
"_id": "65e1fc46a39d32135b12c7e0",
"position": {
"deliveries": []
},
"role": "driver",
"status": true,
"reason": "NONE",
"emailVerified": false,
"phone": "34668936908",
"country": "esp",
"timezone": "europe/madrid",
"image": "",
"recovery_token": "XXX",
"i18n": "es",
"deleted": false,
"name": "Name",
"lastname": "Lastname",
"email": "email@example.com",
"taxid": "12345678A",
"password": "XXX"
}
],
"users": [
{
"_id": "5d84f846b0f6ba698f544dbf",
"authenticationToken": "string",
"birthDate": "2019-09-20T16:03:18.575Z",
"country": "ESP",
"createdAt": "2019-09-20T16:03:18.575Z",
"email": "string",
"emailVerified": true,
"lastSignInAt": "2019-09-20T16:03:18.575Z",
"lastSignInIp": "192.168.1.0",
"lastname": "string",
"name": "string",
"password": "string",
"phone": "+34 602247084",
"resetPasswordSentAt": "2019-09-20T16:03:18.575Z",
"resetPasswordToken": "NO-VISIBLE",
"role": "admin",
"status": true,
"timezone": "string",
"updatedAt": "2019-09-20T16:03:18.575Z"
}
],
"vehicles": [
{
"_id": "65e1f94fc5953704852eb5a3",
"cargo_type": [
"back",
"lateral"
],
"vehicle_type": "rt",
"image": "",
"itv": "",
"shipping_type": "dry",
"plate": "0017bbb"
}
]
},
"contract": {
"_id": "string",
"code": "string",
"createdAt": "2019-09-20T16:03:18.575Z",
"updatedAt": "2019-09-20T16:03:18.575Z",
"url": "string"
},
"createdAt": "2019-09-20T16:03:18.575Z",
"date_eta": "2019-09-20T16:03:18.575Z",
"description": "string",
"docs": [
{
"_id": "5d84f846b0f6ba698f544dbf",
"createdAt": "2019-09-20T16:03:18.575Z",
"expiredDate": "2019-09-20T16:03:18.575Z",
"name": "string",
"status": "pending",
"updatedAt": "2019-09-20T16:03:18.575Z"
}
],
"etd_address": {
"_id": "5d84f846b0f6ba698f544dbf",
"city": "vigo",
"company_name": "ABC Logistics",
"country": "españa",
"location": {
"coordinates": [
-8.7207,
42.2406
],
"type": "Point"
},
"name": "ABC Logistics Vigo",
"name_address": "Aduana, 4, Rúa Concepción Arenal, Santiago de Vigo, Vigo, Pontevedra, Galicia, 36201, España",
"phone": "+34981234567",
"province": "Pontevedra",
"state": "galicia",
"street_address": "Rúa Concepción Arenal",
"street_number": "4",
"zipcode": "36201"
},
"etd_cargo_method": "back",
"etd_photos": [
"string"
],
"etl_address": {
"_id": "5d84f846b0f6ba698f544dbf",
"city": "vigo",
"company_name": "ABC Logistics",
"country": "españa",
"location": {
"coordinates": [
-8.7207,
42.2406
],
"type": "Point"
},
"name": "ABC Logistics Vigo",
"name_address": "Aduana, 4, Rúa Concepción Arenal, Santiago de Vigo, Vigo, Pontevedra, Galicia, 36201, España",
"phone": "+34981234567",
"province": "Pontevedra",
"state": "galicia",
"street_address": "Rúa Concepción Arenal",
"street_number": "4",
"zipcode": "36201"
},
"etl_cargo_method": "back",
"etl_photos": [
"string"
],
"fresh_cargo_temp": 3,
"had_etd_cargo_method": false,
"had_etl_cargo_method": false,
"is_fresh": true,
"is_imperial_measure": false,
"is_pallet": false,
"pallets_num": 0,
"pallets_type": "european",
"service_code": "string",
"status": "planned",
"trucker_cia": {
"_id": "5d84f846b0f6ba698f544dbf",
"address": "string",
"admin": {
"_id": "5d84f846b0f6ba698f544dbf",
"authenticationToken": "string",
"birthDate": "2019-09-20T16:03:18.575Z",
"country": "ESP",
"createdAt": "2019-09-20T16:03:18.575Z",
"email": "string",
"emailVerified": true,
"lastSignInAt": "2019-09-20T16:03:18.575Z",
"lastSignInIp": "192.168.1.0",
"lastname": "string",
"name": "string",
"password": "string",
"phone": "+34 602247084",
"resetPasswordSentAt": "2019-09-20T16:03:18.575Z",
"resetPasswordToken": "NO-VISIBLE",
"role": "admin",
"status": true,
"timezone": "string",
"updatedAt": "2019-09-20T16:03:18.575Z"
},
"country": "esp",
"createdAt": "2019-09-20T16:03:18.575Z",
"name": "string",
"phone": "string",
"status": "pending",
"taxid": "string",
"timezone": "Europe/Madrid",
"updatedAt": "2019-09-20T16:03:18.575Z",
"users": [
{
"_id": "5d84f846b0f6ba698f544dbf",
"authenticationToken": "string",
"birthDate": "2019-09-20T16:03:18.575Z",
"country": "ESP",
"createdAt": "2019-09-20T16:03:18.575Z",
"email": "string",
"emailVerified": true,
"lastSignInAt": "2019-09-20T16:03:18.575Z",
"lastSignInIp": "192.168.1.0",
"lastname": "string",
"name": "string",
"password": "string",
"phone": "+34 602247084",
"resetPasswordSentAt": "2019-09-20T16:03:18.575Z",
"resetPasswordToken": "NO-VISIBLE",
"role": "admin",
"status": true,
"timezone": "string",
"updatedAt": "2019-09-20T16:03:18.575Z"
}
]
},
"updatedAt": "2019-09-20T16:03:18.575Z"
}
}