Request Approval

This interface lets you interact with the Uber service

Uploaded By: Almond Authors

Commands

  • GET: time estimate for uber
  • GET: a price estimate for uber from ____ (start) to ____ (end)
  • GET: the price of an uber from ____ (start) to ____ (end)
  • GET: a price estimate for uber ____ (uber type) from ____ (start) to ____ (end)
  • GET: time estimate for uber around ____ (start)
  • GET: eta for uber at ____ (start)
  • GET: eta for uber of type ____ (uber type) at ____ (start)
  • GET: the distance of uber at ____ (start)
  • GET: the distance of the closest uber at ____ (start)
  • GET: the cost of an uber from ____ (start) to ____ (end)
  • GET: get status of my current ride
  • DO: request an ____ (uber type) from ____ (start) to ____ (end)
  • DO: request an uber from ____ (start) to ____ (end)
  • DO: request an uber
  • DO: call uber
  • DO: order uber
  • DO: order an uber from ____ (start) to ____ (end)

Queries

  • time_estimate(in req start :Location,
    out uber_type :Enum(pool,uber_x,uber_xl,uber_black,select,suv,assist),
    out estimate :Measure(ms))
    returns ETAs for all Uber products (pool, uberX, select, etc.) offered at a given location
  • price_estimate(in req start :Location,
    in req end :Location,
    out uber_type :Enum(pool,uber_x,uber_xl,uber_black,select,suv,assist),
    out low_estimate :Currency,
    out high_estimate :Currency,
    out surge :Number,
    out duration :Measure(ms),
    out distance :Measure(m))
    returns estimated prices for a given trip on all available products
  • current(out status :String,
    out vehicle :String,
    out vehicle_picture :Entity(tt:picture),
    out driver :String,
    out driver_picture :Entity(tt:picture),
    out eta :Measure(ms),
    out from :Location,
    out to :Location)
    Get current Uber ride

Actions

  • request(in req start :Location,
    in req end :Location,
    in req uber_type :Enum(pool,uber_x,uber_xl,uber_black,select,suv,assist),
    in opt seat_count :Number)
    Request an uber ride