• Home
  • Guides
  • Reference
  • Support
Search Results for

    Show / Hide Table of Contents
    • API Overview
      • Overview
      • Authentication
      • Retrieving API Results
      • Referenced vs Inline Entities
      • Choosing API Response Data
      • Handling API Errors
    • separator
    • Vehicle Routing Endpoints
      • Path
    • Optimization Endpoints
      • Instantiate
      • Build
      • Assignment Restrictions
      • Optimize
      • Sequence
      • Evaluate
      • Recommend
      • Insert
      • Centroids
      • Zones
      • Consolidate By Job Restrictions
      • Consolidate By Route Assignments
    • Geocoding Endpoints
      • Geocode
      • Reverse Geocode
    • Task Endpoints
      • List
      • Status
      • Result
      • Cancel
    • Sandbox Endpoints
      • List
      • Create
      • Rename
      • Retrieve
      • Update
      • Delete
      • Revisions
      • Add Revision
      • Expiry
      • Permissions
    • Verizon Connect Fleet Integration Endpoints
      • Pull Platform Data
      • Sync Platform Data
      • List Platform Territories
    • Other Endpoints
      • Canonicalize
      • Route Cards
      • Validate
      • Version
    • separator
    • Request Types
      • problem
      • capacity_metric
      • depot
      • driver
      • driver_break
      • job
      • job_template
      • job_type
      • load_amount
      • marker
      • problem_defaults
      • route
      • schedule
      • settings
      • shift
      • shift_override
      • shift_pattern
      • shift_pattern_assignment
      • stop
      • vehicle
      • zone
      • variance
    • Response Types
      • instantiate_response
      • problem_response
      • problem_aggregates
      • driver_response
      • geocoded_location
      • recommend_option
      • route_response
      • schedule_response
      • schedule_instantiate_response
      • stop_response
      • violation
    • Meta Types
      • task_redirect_response
      • task_status_response
      • validate_response
    • Sandbox Types
      • delta
      • array_delta
      • dict_delta
      • keyed_array_delta
      • object_delta
      • set_delta
      • revision
      • revision_created_response
      • revision_response
      • sandbox_response
    • Common Types
      • date_range
      • day_of_week
      • hazmat_load_type
      • id
      • latlon
      • stop_type
      • time_window
      • custom
      • polygon
    • Primitive Types
      • boolean
      • date
      • datetime
      • float
      • integer
      • string
      • timespan

    recommend_option

    This is a job insertion option returned from /v1/recommend. See Recommending Routes.

    Name Type Description
    delta_cost float The change in cost due to inserting the job.
    delta_distance_meters float The change in route distance due to inserting the job.
    delta_internal_cost float The change in internal cost (cost including violations and intangibles) due to inserting the job.
    delta_working_time timespan The change in working time due to inserting the job.
    job_index integer The index of the job, given by the number of stops of type job preceding the inserted job on the route.
    route_index integer The index of the route containing the inserted job in recommend_option.routes.
    routes route_response[] The multi-day route with the job inserted into it. Will have only a single element if inserted into a single-day route.
    schedules schedule_response[] Schedules that had their base dates assigned, if any. See Routing with Schedules.

    Example

    {
      "delta_cost": 16.46,
      "delta_internal_cost": 21.59,
      "delta_working_time": "00:42:42",
      "delta_distance_meters": 28944.0,
      "route_index": 0,
      "job_index": 1,
      "routes": [
        {
          "id": "route1", ...
          "stops": [
            { "type": "depot", ... },
            { "id": "job2", ... },
            { "id": "job", ...  },
            { "id": "job3", ... },
            { "type": "depot", ... }
          ]
        }
      ]
    }
    

    See Also

    • The recommend_response.recommend_options field.
    In this article
    Back to top
    © 2023 Verizon. All rights reserved. Verizon Privacy policy California Privacy Notice Your Privacy Choices Privacy request