Listado - Entregas/Servicios
GEThttps://api.cargoffer.com/api/delivery
Listado de todos los servicios
Request
Query Parameters
limit integer
Elementos por Pagina, Default 25
page integer
Default value: 1
Pagina a Consultar, Default 1. En caso que se envíe una pagina que no exista se cambiará en back por la ultima
order string
Forma de Ordenación o campo desde el que ordenar
Header Parameters
apikey stringrequired
Apikey de una company vinculada a un usuario
Responses
- 200
Example response
- application/json
- Schema
- Example (from schema)
Schema
data object
status integer
{
"data": {
"docs": [
{
"_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": "REF2024-0101",
"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": false,
"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": "1234-CDD",
"service_code": "ACOMALg4667",
"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": "667be7657b28b3d0a3fc6950",
"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": {
"name": "string",
"lastname": "string",
"email": "string",
"phone": "string"
},
"invoice_data": {
"taxid": "32435454N",
"email": "test@mail.com",
"phone": "+34123456789",
"name_address": "string"
},
"name": "Cargoffer",
"reason": "NONE",
"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"
}
],
"deleted": false,
"vehicles": [
{
"_id": "65e1f94fc5953704852eb5a3",
"cargo_type": [
"back",
"lateral"
],
"vehicle_type": "rt",
"image": "",
"itv": "",
"shipping_type": "dry",
"plate": "0017bbb"
}
],
"hasSign": false,
"createdAt": "2024-07-15T10:41:19.623Z",
"updatedAt": "2024-07-15T10:41:19.623Z",
"payment_settings": {}
},
"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"
}
],
"hasNextPage": true,
"hasPrevPage": true,
"limit": 0,
"nextPage": 0,
"page": 0,
"pagingCounter": 0,
"prevPage": 0,
"totalDocs": 0,
"totalPages": 0
},
"status": 0
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.cargoffer.com/api/delivery' \
-H 'Accept: application/json'
ResponseClear