Theme switcher

Ride Quotes

The "Ride Quotes" API allows users to retrieve pricing information for potential rides. By utilizing this feature, users can quickly obtain quotes for partner rides, facilitating cost estimation and informed decision-making in transportation planning.

Body Parameters

partnerstring Required

partner name as provided by elife contact

keystring Required

api key as provided by elife contact

fromobject Required

The starting location of the ride.

Show child attributes

toobject Required

The destination of the ride.

Show child attributes

durationnumber

This is mandatory if the ride quoted for hourly, the unit is in minutes

request_idstring

some request id from partner, a unique string per request preferably

currencystring

currency code

timenumber Required

"time" is the pickup date and time of ride. "time" is specified in epoch time, or unix time, which is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970. For more information on epoch time refer to: https://www.epochconverter.com/

return_timenumber

"return_time" is the return date and time of ride. "return_time" is specified in epoch time, or unix time, which is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970. For more information on epoch time refer to: https://www.epochconverter.com/

passenger_countnumber

Total passenger count for the ride, including adults, infants and children.

children_countnumber

The total number of children accompanying the user for the ride quote.

infant_countnumber

The number of infants (children under the age of 1 year old) accompanying the user for the ride quote.

toddler_countnumber

The number of toddlers (children between the ages of 1-3 years old) accompanying the user for the ride quote.

Response

200
Object
Success

Response Attributes

vehicle_classesarray

List of available vehicle classes for the ride.

Show child attributes

meet_and_greetobject

Charges for meet and greet service if requested while booking a ride

Show child attributes

add_serviceobject

Indicates if the number of additional service requested in ride quotes will have the price for the respective price for the ride quote

Show child attributes

add_service_unit_priceobject

The unit price for additional services added to the ride quote.

Show child attributes

distancenumber

The distance covered in the ride.

airportsarray

The airports involved in the ride.

Show child attributes

durationnumber
messagesobject

Any additional messages related to the ride quote.

Show child attributes

langsarray

The language preferences specified for the ride quote, indicating the desired language for communication during the ride.

Show child attributes

quote_idstring

The unique identifier assigned to the ride quote generated by the POST partner-rides/quotes endpoint.

request_idstring

The unique identifier assigned to the ride request associated with the ride quote.

400
Object
Wrong partner or wrong partner name

Response Attributes

errCodenumber
errMsgstring
500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

POST

/partner-rides/quotes

Select
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 curl --location 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/quotes' \ --data '{ "partner": "partner-name", "key": "api-key-as-provided-by-elife", "from": { "lat": 37.621313, "lng": -122.378955, "name": "San Francisco Airport" }, "to": { "lat": 37.8711583, "lng": -122.336457, "name": "Hilton Hotel" }, "duration": 180, "request_id": "unique-request-id", "currency": "USD", "time": 1784622685, "return_time": 1785622685, "passenger_count": 5, "children_count": 1, "infant_count": 1, "toddler_count": 1 }'

Response

{
  "vehicle_classes": [
    {
      "price": {
        "amount": 130.92,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v31"
      },
      "vehicle_class": "MPV-5",
      "vehicle_class_id": 3,
      "passenger_capacity": 5,
      "luggage_capacity": 5,
      "typical_vehicle": {
        "model": "F-550",
        "manufacturer": "Ford"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/mpv-5.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.24,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 475.317,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 90.18,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v4"
      },
      "vehicle_class": "Business MPV-5",
      "vehicle_class_id": 4,
      "passenger_capacity": 5,
      "luggage_capacity": 5,
      "typical_vehicle": {
        "model": "Navigator",
        "manufacturer": "Lincoln"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/besiness-mpv.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 0.85,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 327.4406,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 93.1,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v36"
      },
      "vehicle_class": "Business Van",
      "vehicle_class_id": 36,
      "passenger_capacity": 6,
      "luggage_capacity": 6,
      "typical_vehicle": {
        "model": "s3",
        "manufacturer": "toyota"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/businessminivan.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 0.88,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 338.0032,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 96,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v21"
      },
      "vehicle_class": "6 Passenger Stretch Limo",
      "vehicle_class_id": 21,
      "passenger_capacity": 6,
      "luggage_capacity": 6,
      "typical_vehicle": {
        "model": "300",
        "manufacturer": "Stretch Chrysler"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/stretch-limo-6.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 0.91,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 348.56579999999997,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 98.92,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v22"
      },
      "vehicle_class": "8 Passenger Stretch Limo",
      "vehicle_class_id": 22,
      "passenger_capacity": 8,
      "luggage_capacity": 8,
      "typical_vehicle": {
        "model": "MKT",
        "manufacturer": "Lincoln"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/stretch-limo-8.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 0.94,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 359.12839999999994,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 101.82,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v23"
      },
      "vehicle_class": "10 Passenger Stretch Sedan",
      "vehicle_class_id": 23,
      "passenger_capacity": 10,
      "luggage_capacity": 10,
      "typical_vehicle": {
        "model": "MKT",
        "manufacturer": "Lincoln"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/stretch-limo-10.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 0.96,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 369.691,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 104.74,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v24"
      },
      "vehicle_class": "12 Passenger Stretch SUV",
      "vehicle_class_id": 24,
      "passenger_capacity": 12,
      "luggage_capacity": 12,
      "typical_vehicle": {
        "model": "Navigator",
        "manufacturer": "Lincoln"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/stretch-limo-12.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 0.99,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 380.25360000000006,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 107.64,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v27"
      },
      "vehicle_class": "16 Passenger Stretch Limo",
      "vehicle_class_id": 27,
      "passenger_capacity": 16,
      "luggage_capacity": 16,
      "typical_vehicle": {
        "model": "H2",
        "manufacturer": "Hummer"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/stretch-limo-16.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.02,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 390.81620000000004,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 110.56,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v25"
      },
      "vehicle_class": "12 Passenger Party Bus",
      "vehicle_class_id": 25,
      "passenger_capacity": 12,
      "luggage_capacity": 12,
      "typical_vehicle": {
        "model": "Sprinter",
        "manufacturer": "Mercedes"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/home/vehicle-classes/party-bus-12.png",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.05,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 401.3788,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 113.46,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v26"
      },
      "vehicle_class": "14 Passenger Party Bus",
      "vehicle_class_id": 26,
      "passenger_capacity": 14,
      "luggage_capacity": 14,
      "typical_vehicle": {
        "model": "Sprinter",
        "manufacturer": "Mercedes"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/home/vehicle-classes/party-bus-14.png",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.07,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 411.9414,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 133.82999999999998,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v5"
      },
      "vehicle_class": "Minibus-8",
      "vehicle_class_id": 5,
      "passenger_capacity": 8,
      "luggage_capacity": 8,
      "typical_vehicle": {
        "model": "Transit",
        "manufacturer": "Ford"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/minibus-8.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.1,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 422.504,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [
          {
            "percent": 30,
            "zone": "serviceArea",
            "currency": "CNY",
            "type": "service"
          }
        ],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 137.17000000000002,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v9"
      },
      "vehicle_class": "Minibus-10",
      "vehicle_class_id": 9,
      "passenger_capacity": 10,
      "luggage_capacity": 10,
      "typical_vehicle": {
        "model": "Transit",
        "manufacturer": "Ford"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/minibus-10.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.13,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 433.0666,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [
          {
            "percent": 30,
            "zone": "serviceArea",
            "currency": "CNY",
            "type": "service"
          }
        ],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 140.53,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v10"
      },
      "vehicle_class": "Minibus-12",
      "vehicle_class_id": 10,
      "passenger_capacity": 12,
      "luggage_capacity": 12,
      "typical_vehicle": {
        "model": "Sprinter",
        "manufacturer": "Mercedes"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/minibus-12.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.16,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 443.6292,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [
          {
            "percent": 30,
            "zone": "serviceArea",
            "currency": "CNY",
            "type": "service"
          }
        ],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 125.1,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v29"
      },
      "vehicle_class": "16-seat Bus",
      "vehicle_class_id": 29,
      "passenger_capacity": 16,
      "luggage_capacity": 16,
      "typical_vehicle": {
        "model": "E-450",
        "manufacturer": "Ford"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/bus-16.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.18,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 454.1918,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 128.03,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v30"
      },
      "vehicle_class": "20-seat Bus",
      "vehicle_class_id": 30,
      "passenger_capacity": 20,
      "luggage_capacity": 20,
      "typical_vehicle": {
        "model": "E-450",
        "manufacturer": "Ford"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/bus-20.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.21,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 464.75440000000003,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    },
    {
      "price": {
        "amount": 130.92,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v31"
      },
      "vehicle_class": "23-seat Bus",
      "vehicle_class_id": 31,
      "passenger_capacity": 23,
      "luggage_capacity": 23,
      "typical_vehicle": {
        "model": "F-550",
        "manufacturer": "Ford"
      },
      "image_url": "https://elifelimo.s3.us-east-2.amazonaws.com/art/vehicle/sm/bus-23.jpg",
      "over_hourly": {
        "over_time": {
          "price": {
            "amount": 0.41,
            "currency": "USD"
          }
        },
        "over_mile": {
          "price": {
            "amount": 1.24,
            "currency": "USD"
          }
        }
      },
      "price_detail": {
        "base_pricing": {
          "type": "hourly2",
          "price": {
            "amount": 475.317,
            "currency": "CNY"
          },
          "zone": "serviceArea",
          "rule": "Rule 1"
        },
        "special_pricing": [],
        "partner_pricing": {},
        "system_setting_pricing": {}
      }
    }
  ],
  "meet_and_greet": {
    "price": {
      "amount": 5,
      "currency": "USD",
      "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-m"
    }
  },
  "add_service": {
    "children": {
      "price": {
        "amount": 2,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-c"
      }
    },
    "infant": {
      "price": {
        "amount": 2,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-i"
      }
    },
    "toddler": {
      "price": {
        "amount": 2,
        "currency": "USD",
        "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-t"
      }
    }
  },
  "add_service_unit_price": {
    "infant": {
      "currency": "USD",
      "amount": 2,
      "name": "Infant seats",
      "age_range": {
        "from": 0,
        "to": 3
      },
      "pic_url": "图片链接地址"
    },
    "toddler": {
      "currency": "USD",
      "amount": 2,
      "name": "Toddler seats",
      "age_range": {
        "from": 3,
        "to": 7
      },
      "pic_url": "图片链接地址"
    },
    "children": {
      "currency": "USD",
      "amount": 2,
      "name": "Child seats",
      "age_range": {
        "from": 7,
        "to": 12
      },
      "pic_url": "图片链接地址"
    },
    "meal": {
      "currency": "USD",
      "amount": 2
    },
    "lodge": {
      "currency": "USD",
      "amount": 2
    }
  },
  "distance": 75000,
  "airports": [
    "SFO",
    "SJC"
  ],
  "duration": 180,
  "messages": {
    "url": "https://elifelimo.s3.us-east-2.amazonaws.com/quote/message/messages.json"
  },
  "langs": [
    {
      "eng": {
        "vehicles_classes": [
          {
            "vehicle_class": "Minivan"
          },
          {
            "vehicle_class": "Business Minivan"
          },
          {
            "vehicle_class": "Business Van"
          },
          {
            "vehicle_class": "6 Passenger Stretch Limo"
          },
          {
            "vehicle_class": "8 Passenger Stretch Limo"
          },
          {
            "vehicle_class": "10 Passenger Stretch Sedan"
          },
          {
            "vehicle_class": "12 Passenger Stretch SUV"
          },
          {
            "vehicle_class": "16 Passenger Stretch Limo"
          },
          {
            "vehicle_class": "12 Passenger Party Bus"
          },
          {
            "vehicle_class": "14 Passenger Party Bus"
          },
          {
            "vehicle_class": "Minibus-8"
          },
          {
            "vehicle_class": "Minibus-10"
          },
          {
            "vehicle_class": "Minibus-12"
          },
          {
            "vehicle_class": "16-seat Bus"
          },
          {
            "vehicle_class": "20-seat Bus"
          },
          {
            "vehicle_class": "23-seat Bus"
          },
          {
            "vehicle_class": "27-seat Bus"
          },
          {
            "vehicle_class": "36-seat Bus"
          },
          {
            "vehicle_class": "44-seat Coach Bus"
          },
          {
            "vehicle_class": "55-seat Coach Bus"
          },
          {
            "vehicle_class": "MPV-6"
          },
          {
            "vehicle_class": "Minibus-14"
          },
          {
            "vehicle_class": "72-School Bus"
          },
          {
            "vehicle_class": "44-School Bus"
          },
          {
            "vehicle_class": "Minivan"
          },
          {
            "vehicle_class": "23 Passenger Party Bus"
          },
          {
            "vehicle_class": "Minibus-7"
          },
          {
            "vehicle_class": "9-School Minibus"
          },
          {
            "vehicle_class": "14-School Minibus"
          },
          {
            "vehicle_class": "30-seat Bus"
          },
          {
            "vehicle_class": "40-seat Bus"
          },
          {
            "vehicle_class": "50-seat Bus"
          },
          {
            "vehicle_class": "16-School Bus"
          },
          {
            "vehicle_class": "23-School Bus"
          },
          {
            "vehicle_class": "20-School Bus"
          },
          {
            "vehicle_class": "30-School Bus"
          },
          {
            "vehicle_class": "36-School Bus"
          },
          {
            "vehicle_class": "CHARLES LEGO CAR"
          },
          {
            "vehicle_class": "shuttle-7"
          },
          {
            "vehicle_class": "shuttle-9"
          },
          {
            "vehicle_class": "shuttle-10"
          },
          {
            "vehicle_class": "shuttle-14"
          },
          {
            "vehicle_class": "shuttle-50"
          },
          {
            "vehicle_class": "Black Business SUV"
          },
          {
            "vehicle_class": "speedy shuttle-9"
          },
          {
            "vehicle_class": "speedy shuttle-7"
          },
          {
            "vehicle_class": "speedy shuttle-10"
          },
          {
            "vehicle_class": "speedy shuttle-14"
          },
          {
            "vehicle_class": "Speedy Shared Shuttle temp"
          },
          {
            "vehicle_class": "Premium Shared Shuttle temp"
          },
          {
            "vehicle_class": "Shared Shuttle temp"
          }
        ],
        "messages": [
          {
            "subject": "waiting time",
            "message": "60 minutes of waiting after the arrival of your flight is included"
          },
          {
            "subject": "cancellation",
            "message": "full refund if cancenlled 24 hours ahead of the time"
          }
        ]
      }
    },
    {
      "spa": {
        "vehicles_classes": [
          {
            "vehicle_class": "Minivan"
          },
          {
            "vehicle_class": "Minivan Ejecutiva"
          },
          {
            "vehicle_class": "Van Ejecutiva"
          },
          {
            "vehicle_class": "Limosina de 6 pasajeros"
          },
          {
            "vehicle_class": "Limosina de 8 pasajeros"
          },
          {
            "vehicle_class": "10 Passenger Stretch Sedan"
          },
          {
            "vehicle_class": "12 Passenger Stretch SUV"
          },
          {
            "vehicle_class": "Limosina de 16 pasajeros"
          },
          {
            "vehicle_class": "Party Bus para 12 Pasajeros"
          },
          {
            "vehicle_class": "Party Bus para 14 Pasajeros"
          },
          {
            "vehicle_class": "Minibus de 8 pasajeros"
          },
          {
            "vehicle_class": "Minibus de 10 pasajeros"
          },
          {
            "vehicle_class": "Minibus de 12 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 16 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 20 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 23 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 27 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 36 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 44 pasajeros"
          },
          {
            "vehicle_class": "Autobús de 55 pasajeros"
          },
          {
            "vehicle_class": "MPV-6"
          },
          {
            "vehicle_class": "Minibus de 14 pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 72 Pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 44 Pasajeros"
          },
          {
            "vehicle_class": "Minivan"
          },
          {
            "vehicle_class": "Party Bus para 23 Pasajeros"
          },
          {
            "vehicle_class": "Minibus-7"
          },
          {
            "vehicle_class": "Minibús Escolar 9 Pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 14 Pasajeros"
          },
          {
            "vehicle_class": "30-seat Bus"
          },
          {
            "vehicle_class": "40-seat Bus"
          },
          {
            "vehicle_class": "50-seat Bus"
          },
          {
            "vehicle_class": "Autobús Escolar 16 Pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 23 Pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 20 Pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 30 Pasajeros"
          },
          {
            "vehicle_class": "Autobús Escolar 36 Pasajeros"
          },
          {
            "vehicle_class": "CHARLES LEGO CAR"
          },
          {
            "vehicle_class": "shuttle-7"
          },
          {
            "vehicle_class": "shuttle-9"
          },
          {
            "vehicle_class": "shuttle-10"
          },
          {
            "vehicle_class": "shuttle-14"
          },
          {
            "vehicle_class": "shuttle-50"
          },
          {
            "vehicle_class": "Black Business SUV"
          },
          {
            "vehicle_class": "speedy shuttle-9"
          },
          {
            "vehicle_class": "speedy shuttle-7"
          },
          {
            "vehicle_class": "speedy shuttle-10"
          },
          {
            "vehicle_class": "speedy shuttle-14"
          },
          {
            "vehicle_class": "Speedy Shared Shuttle temp"
          },
          {
            "vehicle_class": "Premium Shared Shuttle temp"
          },
          {
            "vehicle_class": "Shared Shuttle temp"
          }
        ],
        "messages": [
          {
            "subject": "Tiempo de espera",
            "message": "60 minutos de espera incluidos a la llegada de tu vuelo"
          },
          {
            "subject": "Cancelación",
            "message": "Reembolso total en caso de cancelar al menos 24 horas antes del servicio"
          }
        ]
      },
      "por": {
        "vehicles_classes": [
          {
            "vehicle_class": "Minivan"
          },
          {
            "vehicle_class": "Business Minivan"
          },
          {
            "vehicle_class": "Business Van"
          },
          {
            "vehicle_class": "6 Passageiros Stretch Limo"
          },
          {
            "vehicle_class": "8 Passageiros Stretch Limo"
          },
          {
            "vehicle_class": "10 Passenger Stretch Sedan"
          },
          {
            "vehicle_class": "12 Passenger Stretch SUV"
          },
          {
            "vehicle_class": "16 Passageiro Stretch Limo"
          },
          {
            "vehicle_class": ""
          },
          {
            "vehicle_class": ""
          },
          {
            "vehicle_class": "Microônibus-8"
          },
          {
            "vehicle_class": "Microônibus-10"
          },
          {
            "vehicle_class": "Microônibus-12"
          },
          {
            "vehicle_class": "Ônibus de 16 lugares"
          },
          {
            "vehicle_class": "Ônibus de 20 lugares"
          },
          {
            "vehicle_class": "Ônibus de 23 lugares"
          },
          {
            "vehicle_class": "Ônibus de 27 lugares"
          },
          {
            "vehicle_class": "Ônibus de 36 lugares"
          },
          {
            "vehicle_class": "Autocarro de 44 lugares"
          },
          {
            "vehicle_class": "Autocarro de 55 lugares"
          },
          {
            "vehicle_class": "MPV-6"
          },
          {
            "vehicle_class": "Microônibus-14"
          },
          {
            "vehicle_class": "72-Ônibus escolar"
          },
          {
            "vehicle_class": "44-Ônibus escolar"
          },
          {
            "vehicle_class": "Minivan"
          },
          {
            "vehicle_class": "23 Passenger Party Bus"
          },
          {
            "vehicle_class": "Minibus-7"
          },
          {
            "vehicle_class": "Minibus de 9 escolas"
          },
          {
            "vehicle_class": "14-Escola Minibus"
          },
          {
            "vehicle_class": "30-seat Bus"
          },
          {
            "vehicle_class": "40-seat Bus"
          },
          {
            "vehicle_class": "50-seat Bus"
          },
          {
            "vehicle_class": "Ônibus escolar de 16 anos"
          },
          {
            "vehicle_class": "23-School Bus"
          },
          {
            "vehicle_class": "Ônibus escolar"
          },
          {
            "vehicle_class": "Ônibus escolar"
          },
          {
            "vehicle_class": "36-School Bus"
          },
          {
            "vehicle_class": "CHARLES LEGO CAR"
          },
          {
            "vehicle_class": "shuttle-7"
          },
          {
            "vehicle_class": "shuttle-9"
          },
          {
            "vehicle_class": "shuttle-10"
          },
          {
            "vehicle_class": "shuttle-14"
          },
          {
            "vehicle_class": "shuttle-50"
          },
          {
            "vehicle_class": "Black Business SUV"
          },
          {
            "vehicle_class": "speedy shuttle-9"
          },
          {
            "vehicle_class": "speedy shuttle-7"
          },
          {
            "vehicle_class": "speedy shuttle-10"
          },
          {
            "vehicle_class": "speedy shuttle-14"
          },
          {
            "vehicle_class": "Speedy Shared Shuttle temp"
          },
          {
            "vehicle_class": "Premium Shared Shuttle temp"
          },
          {
            "vehicle_class": "Shared Shuttle temp"
          }
        ],
        "messages": [
          {
            "subject": "tempo de espera",
            "message": "60 minutos de espera após a chegada do seu voo está incluído"
          },
          {
            "subject": "cancelamento",
            "message": "reembolso total se cancenlled 24 horas antes do tempo"
          }
        ]
      }
    }
  ],
  "quote_id": "",
  "request_id": "unique-request-id"
}
Was this section helpful?

What made this section unhelpful for you?

Book a ride

The "Book a ride" allows users to schedule transportation services for one-way, round-trips and hourly rides by providing essential details such as pickup and drop-off locations, passenger information, and vehicle class.

Body Parameters

partnerstring Required

The partner or service provider for the ride.

keystring Required

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

quote_idstring

"quote_id" provided from the quote response. Please refer to the "Ride Quotes" documentation.

referencestring Required

A reference number or code for the ride booking. This reference is how the partner identifies the ride booking in their system

priceobject Required

The total price or cost of the ride.

Show child attributes

person_count_breakdownobject

passenger count breakdown

Show child attributes

child_seat_countnumber

Number of child seats required

infant_seat_countnumber

Number of infant seats required

toddler_seat_countnumber

Number of toddler seats required

fromobject Required

The starting location or point of origin for the ride.

Show child attributes

toobject Required

The destination location or endpoint of the ride.

Show child attributes

vehicle_classstring Required

The class or type of vehicle for the ride.

passengerobject

Information about the passenger, such as preferences or requirements.

Show child attributes

timenumber Required

"time" is the pickup date and time of ride. "time" is specified in epoch time, or unix time, which is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970. For more information on epoch time refer to: https://www.epochconverter.com/

return_timenumber

"return_time" is the return date and time of ride. "return_time" is specified in epoch time, or unix time, which is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970. For more information on epoch time refer to: https://www.epochconverter.com/

durationnumber

Duration of the ride.

meet_and_greetstring

Whether a meet-and-greet service is requested for the ride.

Default value
No
Enum values:
yes
Request Meet and Greet
no
No Meet and Greet
Empty value:
True
arrival_flightobject

Arrival flight information

Show child attributes

departure_flightobject

Departure flight information

Show child attributes

Response

200
Object
Success

Response Attributes

ride_idnumber

Unique Reference for the ride from elife

400
Object
Empty body request

Response Attributes

errCodenumber
errMsgstring
400
Object
Ride already created with same payload

Response Attributes

errCodenumber
errMsgstring
400
Object
Person count mismatch

Response Attributes

errCodenumber
errMsgstring
400
Object
Person count could not be processed

Response Attributes

errCodenumber
errMsgstring
400
Object
incorrect "from place" or "to place"

Response Attributes

errCodenumber
errMsgstring
400
Object
Time is in the past

Response Attributes

errCodenumber
errMsgstring
400
Object
Return time is in the past

Response Attributes

errCodenumber
errMsgstring
400
Object
Return time is before start time

Response Attributes

errCodenumber
errMsgstring
403
Object
No key in body

Response Attributes

errCodenumber
errMsgstring
500
Object
System error

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

Base URL

sandbox:

https://sandbox-url-provided-by-elife/sandbox

Language Box

POST

/partner-rides

Select
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 curl --location 'https://sandbox-url-provided-by-elife/sandbox/partner-rides' \ --data-raw '{ "partner": "partner-name", "key": "ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea", "quote_id": "e0b4507eb3574924bf5d6fbc21777bcc-v31", "reference": "TestRide12323", "price": { "amount": 11, "currency": "USD" }, "person_count_breakdown": { "child": 1, "infant": 1, "toddler": 1, "adult": 1 }, "child_seat_count": 1, "infant_seat_count": 1, "toddler_seat_count": 1, "from": { "lat": 40.6895314, "lng": -74.1744624, "name": "San Francisco Airport", "address": "San Francisco, CA 94128, USA" }, "to": { "lat": 40.0583238, "lng": -74.4056612, "name": "Hilton Hotel", "address": "600 Airport Blvd., Burlingame, CA 94010, United States" }, "vehicle_class": "Sedan", "passenger": { "first_name": "Rebeca Emilia Sandoval", "last_name": "Calero", "person_count": 4, "luggage_count": 2, "welcome_sign": "Welcome Rebeca Emilia Sandoval Calero", "email": "test@test.com", "salutation": "Mr", "cell_phones": [ "+50376055564" ] }, "time": 1711825500, "return_time": 1711825500, "duration": 180, "meet_and_greet": "yes", "arrival_flight": { "airliner": "Spirit", "flight_number": "NK 3673" }, "departure_flight": { "airliner": "Air Canada", "flight_number": "AC 855" } }'

Response

{
  "ride_id": 12345
}
Was this section helpful?

What made this section unhelpful for you?

Update ride

The "Update ride" API allows users to modify and adjust existing ride information, such as passenger details, locations, vehicle class, and additional services. Users can seamlessly update and manage ride specifics within the API to ensure accurate and up-to-date ride information.

Path Parameters

ride_idstring

Body Parameters

partnerstring

The partner or service provider associated with the ride.

keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

quote_idstring

the quote id is required when there is a re quote and to update the price

priceobject

The cost or price associated with the ride.

Show child attributes

fromobject

The starting location or point of origin for the ride.

Show child attributes

toobject

The destination location or endpoint of the ride.

Show child attributes

passengerobject

The total count of passengers included in the ride.

Show child attributes

vehicle_classstring

The class or type of vehicle to be used for the ride.

timenumber

The time or schedule for the ride.

service_area_idnumber

The service area identifier associated with the ride.

meet_and_greetstring

Indicates if a meet and greet service is requested for the ride.

arrival_flightobject

Indicates if the ride is related to an arrival flight.

Show child attributes

departure_flightobject

The departure flight details for the ride being updated.

Show child attributes

Response

200
Object
Success

Response Attributes

ride_idnumber

The unique identifier of the ride to be updated.

ride_statnumber

Deprecated, will be removed in future

400
Object
Empty body request

Response Attributes

errCodenumber
errMsgstring
400
Object
Incorrect ride id

Response Attributes

errCodenumber
errMsgstring
400
Object
Ride does not exist

Response Attributes

errCodenumber
errMsgstring
400
Object
From time is timeout

Response Attributes

errCodenumber
errMsgstring
400
Object
Return time is after start time

Response Attributes

errCodenumber
errMsgstring
403
Object
Partner is not the owner of the ride

Response Attributes

errCodenumber
errMsgstring
500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

PATCH

/partner-rides/{ride_id}

Select
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 curl --location --globoff --request PATCH 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/{ride_id}' \ --data '{ "partner": "partner-name", "key": "ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea", "quote_id": "quotehbbd-v1", "price": { "amount": "189", "currency": "EUR" }, "from": { "lat": 41.3973234, "lng": -90.8996913, "name": "Illinois City", "address": "Illinois City, IL 61259, USA" }, "to": { "lat": 34.0522342, "lng": -118.2436849, "name": "Los Angeles, CA, USA", "address": "Los Angeles, CA, USA" }, "passenger": { "person_count": 2, "luggage_count": 1, "person_count_breakdown": { "child": 1, "infant": 1, "toddler": 2 }, "instruction": "SALEN DEL THE AND HOTEL SULTANAHMET SPECIAL CATEGORY- AL ATO IST VLO TKT1859 A LAS 14H40", "welcome_sign": "Welcome" }, "vehicle_class": "Sedan", "time": 1741825500, "service_area_id": 3732, "meet_and_greet": "yes", "arrival_flight": { "flight_number": "DL1966" }, "departure_flight": { "flight_number": "NK 3673" } }'

Response

{
  "ride_id": 2992646,
  "ride_stat": 134610945
}
Was this section helpful?

What made this section unhelpful for you?

Cancel ride

The Cancel ride section of the API empowers partners to efficiently manage and update ride statuses within the system by canceling specific rides. By utilizing this functionality, users can swiftly make real-time adjustments to their ride information, providing them with enhanced flexibility and control over partner-related actions.

Path Parameters

ride_idstring

Body Parameters

partnerstring

Represents the partner involved in the ride cancellation to identify the specific partner initiating the cancellation request.

keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

statstring

Specifies the status of the partner ride cancellation, with possible value "cancelled" indicating successful cancellation.

Response

200
Object
Success

Response Attributes

ride_idnumber

Unique identifier for the partner ride being cancelled.

ride_statnumber

Specifies the status of the partner ride cancellation, with possible value "cancelled" indicating successful cancellation.

403
Object
If no partner in body, invalid partner_name or invalid partner_key

Response Attributes

errCodenumber
errMsgstring
500
Object
system failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

PATCH

/partner-rides/v2/ride/{ride_id}/cancel

Select
1 2 3 4 5 6 curl --location --globoff --request PATCH 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/v2/ride/{ride_id}/cancel' \ --data '{ "partner": "partner-name", "key": "ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea", "stat": "Cancelled" }'

Response

{
  "ride_id": 2992646,
  "ride_stat": 134610949
}
Was this section helpful?

What made this section unhelpful for you?

Passenger Update

The Passenger Update section allows users to modify and update passenger details for specific rides within the Elife Partner API. By enabling changes to passenger information such as names, contact details, and luggage counts, users can ensure personalized and accurate transportation experiences for their clients. This section empowers users to manage passenger data seamlessly and facilitate smooth communication during rides.

Path Parameters

ride_idstring

Body Parameters

partnerstring

Partner information associated with the passenger.

keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

passengerobject

Information related to the passenger traveling.

Show child attributes

Response

200
Object
Success

Response Attributes

messagestring

Response message from the API.

400
Object
Missing parameters

Response Attributes

errCodenumber
errMsgstring
403
Object
Invalid partner, invalid key, partner/key mismatch or invalid partner_name

Response Attributes

errCodenumber
errMsgstring
404
Object
Ride not found

Response Attributes

errCodenumber
errMsgstring
500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

PATCH

/partner-rides/v2/ride/{ride_id}/passengers

Select
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 curl --location --globoff --request PATCH 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/v2/ride/{ride_id}/passengers' \ --data-raw '{ "partner": "partner-name", "key": "ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea", "passenger": { "email": "firsty@lasty.com", "cell_phone": "+210508120021", "cell_phones": [ "+210508120022" ], "salutation": "Mr.", "first_name": "first", "middle_name": "middle", "last_name": "last", "person_count": 7, "luggage_count": 3, "person_count_breakdown": { "child": 4, "infant": 2, "toddler": 1 }, "instruction": "Bring 2 water bottles", "welcome_sign": "Welcome Mr.First" } }'

Response

{
  "message": "Passenger updated successfully"
}
Was this section helpful?

What made this section unhelpful for you?

Add Note

The Add Note section allows users to update and manage notes associated with specific partner rides within the Elife Partner API. By utilizing this functionality, users can efficiently maintain and communicate detailed information related to partner rides, fostering seamless collaboration and enhancing operational efficiency.

Path Parameters

ride_idstring

Body Parameters

partnerstring

The partner parameter indicates the partner associated with the note being updated.

keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

notestring

The note parameter specifies the content of the note to be updated for the partner ride.

Response

200
Object
Success

Response Attributes

messagestring

The message parameter contains the content of the note that will be added or updated for the partner ride.

400
Object
Empty body request or missing required params

Response Attributes

errCodenumber
errMsgstring
403
Object
Invalid partner, invalid partner_name, invalid key or partner/key mismatch

Response Attributes

errCodenumber
errMsgstring
404
Object
Ride not found

Response Attributes

errCodenumber
errMsgstring
500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

PATCH

/partner-rides/v2/ride/{ride_id}/notes

Select
1 2 3 4 5 6 curl --location --globoff --request PATCH 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/v2/ride/{ride_id}/notes' \ --data '{ "partner": "partner-name", "key": "ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea", "note": "test note" }'

Response

{
  "message": "Note added successfully "
}
Was this section helpful?

What made this section unhelpful for you?

Ride Status

The Ride Status section in the Default project API allows users to retrieve detailed information about a specific partner ride. By accessing this section, users can easily track and manage essential data related to a particular ride within their application, enabling efficient monitoring and control of partner ride details.

Query Parameters

partnerstring

The partner parameter is used to specify the partner ID for which the ride information is being requested.

keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

Path Parameters

ride_idstring

Response

200
Object
Success

Response Attributes

ride_statstring

The ride_stat parameter indicates the current status of the ride, such as 'completed,' 'cancelled,' or 'in progress.'

priceobject

The price parameter indicates the cost of the ride in the specified currency, including any additional fees or discounts applied.

Show child attributes

400
Object
No query string parameters

Response Attributes

errCodenumber
errMsgstring
403
Object
No partner in query string params, invalid partner, invalid key or partner/key mismatch

Response Attributes

errCodenumber
errMsgstring
500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

GET

/partner-rides/{ride_id}?partner=partner-name&key=ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea

Select
1 curl --location --globoff 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/{ride_id}?partner=partner-name&key=ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea' \

Response

{
  "ride_stat": "Pending",
  "price": {
    "currency": "USD",
    "amount": 11,
    "details": [
      {
        "ride": 11,
        "meet_and_greet": null
      }
    ]
  }
}
Was this section helpful?

What made this section unhelpful for you?

Trip Status

The "Trip Status" section of the Elife Partner API allows users to retrieve real-time updates on the status of trip details associated with their account. With this functionality, users can monitor and track the progress of specific trips, enabling them to make timely decisions and adjustments as needed.

Query Parameters

partnerstring
keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

Path Parameters

ride_idstring
trip_idstring

Response

200
Object
Success

Response Attributes

statstring
locationobject

Show child attributes

500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

GET

/partner-rides/v2/ride/{ride_id}/trips/{trip_id}?partner=partner-name&key=ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea

Select
1 curl --location --globoff 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/v2/ride/{ride_id}/trips/{trip_id}?partner=partner-name&key=ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea' \

Response

{
  "stat": "On my way",
  "location": {
    "lat": 45.319212,
    "lng": -75.66916520000001
  }
}
Was this section helpful?

What made this section unhelpful for you?

Ride Detail

The Ride Detail section provides comprehensive information about a specific ride, including details about the passenger, vehicle, price, and dispatches. Users can retrieve detailed data about a ride's origin, destination, duration, and additional pertinent information to facilitate effective management and tracking of rides within the system.

Query Parameters

partnerstring

The partner or service provider for the ride

keystring

The key parameter is used for authentication and authorization of the request. This will be provided by Elife and there is a separate key for sandbox and for production environment.

ride_idstring

The unique identifier for the specific ride.

Response

200
Object
Success

Response Attributes

payloadobject

The payload associated with the ride.

Show child attributes

400
Object
No query string parameters

Response Attributes

errCodenumber
errMsgstring
400
Object
Ride id not in query string params

Response Attributes

errCodenumber
errMsgstring
403
Object
Invalid partner, invalid key or partner/key mismatch

Response Attributes

errCodenumber
errMsgstring
404
Object
Ride not found

Response Attributes

errCodenumber
errMsgstring
500
Object
System failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

What made this section unhelpful for you?

GET

/partner-rides/id?partner=partner-name&key=ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea&ride_id={ride_id}

Select
1 curl --location --globoff 'https://sandbox-url-provided-by-elife/sandbox/partner-rides/id?partner=partner-name&key=ae97bbbd64524f44caa21598bce667fe1088476cbe3db6a82e156954df6023ea&ride_id={ride_id}' \

Response

{
  "payload": {
    "partner_name": "CCCC",
    "partner_type": "partner",
    "partner_id": 232,
    "reference": "MM449310",
    "from": {
      "name": "New York (John F. Kennedy Intl.) (JFK)",
      "address": "New York (John F. Kennedy Intl.) (JFK)",
      "lat": 40.6495293,
      "lng": -73.7828736
    },
    "to": {
      "name": "Westin New York Times Square 270 West 43rd Street, New York, United States Of A",
      "address": "Westin New York Times Square 270 West 43rd Street, New York, United States Of A",
      "lat": 40.7577137,
      "lng": -73.9891186
    },
    "passenger": {
      "salutation": "Mrs.",
      "first_name": "Jane",
      "middle_name": "",
      "last_name": "Doe",
      "person_count": 2,
      "person_count_breakdown": {
        "child": null,
        "infant": null,
        "adult": 2
      },
      "luggage_count": 2,
      "cell_phones": [
        "+004479901271288"
      ],
      "email": "",
      "welcome_sign": "",
      "driver_instruction": "\n60-minute buffer time + 60-minute waiting time"
    },
    "vehicle_class": "Sedan",
    "vehicle_model": "Camry",
    "time": 1709763600,
    "local_time": "2024-03-06 17:20",
    "stat": "Pending",
    "meet_and_greet": "no",
    "ride_created_at": "2023-12-04 02:10:18",
    "quote_id": null,
    "price": {
      "currency": "USD",
      "amount": 133.26
    },
    "ride_order": {
      "dispatches": [
        {
          "id": 2299059,
          "stat": "Accepted",
          "trip_no": 1,
          "trip_no_x": 1,
          "from_utc": 1710188700,
          "fleet_driver_id": 47338,
          "driver_first_name": "John Jimenez",
          "driver_last_name": "",
          "driver_cell_phone": "+15557079999",
          "license_plate": "MGY4506",
          "driver_color": "e2e2e2",
          "driver_langauge": "eng",
          "driver_brand": "Hyundai",
          "vehicle_max_passenger": 5,
          "vehicle_max_luggage": 4,
          "driver_city": "New York,USA",
          "dispatch_last_updated_at": "2024-03-08 10:04:19",
          "ctry": "USA"
        }
      ]
    },
    "distance": 28852,
    "duration": 2592,
    "arrival_flight": {
      "flight_number": "EI0045"
    },
    "departure_flight": {
      "flight_number": "EI0044"
    },
    "return_time": 1710188700,
    "return_local_time": "2024-03-11 16:25",
    "meeting_places": [
      {
        "trip_no": 1,
        "meeting_place": [
          {
            "iata": "LAX",
            "location_name": "International Terminal",
            "terminal": "Terminal B",
            "terminal_id": "2",
            "instruction": "Driver will be waiting with a digital sign at arrivals",
            "default_meeting_point": null,
            "images": []
          },
          {
            "iata": "LAX",
            "location_name": "Domestic Terminal",
            "terminal": "Terminal A",
            "terminal_id": "1",
            "instruction": "Meet at the Ground Transportation area near Door 5",
            "default_meeting_point": 1,
            "images": []
          }
        ]
      }
    ]
  }
}
Was this section helpful?

What made this section unhelpful for you?