Automile ResourceOwnerRoutePlanner API

The ResourceOwnerRoutePlanner API from Automile — 8 operation(s) for resourceownerrouteplanner.

Business capability
Transport Operations Management BC-2420

Operations 9

GET /v1/resourceowner/routeplanner/routes Get routes associated with the user #
GET /v1/resourceowner/routeplanner/route/shorturlid/{shortUrlId} #
GET /v1/resourceowner/routeplanner/route/{routeId} #
PUT /v1/resourceowner/routeplanner/route/{routeId} Update a route state #
POST /v1/resourceowner/routeplanner/routes/routeandsave #
PUT /v1/resourceowner/routeplanner/route/{routeId}/cancel Set Route Status to Cancelled. #
PUT /v1/resourceowner/routeplanner/route/{routeId}/start Set Route Status to Started. #
GET /v1/resourceowner/routeplanner Get routes associated with the user #
GET /v1/resourceowner/routeplanner/{routeId} #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/automile-resourceownerrouteplanner-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

automile-resourceownerrouteplanner-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automile ClientApi Resource Owner Route Planner API
  version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerRoutePlanner
paths:
  /v1/resourceowner/routeplanner/routes:
    get:
      tags:
      - ResourceOwnerRoutePlanner
      summary: Get routes associated with the user
      description: "Only routes that is either shared with the user or owned by the calling user is returned.\n            <br /><br />\n            Location Status enum values:<br />\n            *NotStarted = 0*<br />\n            *Done = 1*<br />\n            *Cancelled = 3*<br /><br />\n            MissionStatus enum values: <br />\n            *Not Started = 0 (All route locations NotStarted)*<br />\n            *Ongoing = 1 (Any route location Done OR route mission started)*<br />\n            *Done = 2 (All route locations Done)*<br />\n            *Cancelled = 3 (Route mission Cancelled)*"
      operationId: ResourceOwnerRoutePlanner_GetRouteMissionsByDriverId
      responses:
        '200':
          description: The routes associated with the user is returned.
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoutePlannerMissionModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoutePlannerMissionModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoutePlannerMissionModel'
      security:
      - oauth2: []
  /v1/resourceowner/routeplanner/route/shorturlid/{shortUrlId}:
    get:
      tags:
      - ResourceOwnerRoutePlanner
      operationId: ResourceOwnerRoutePlanner_GetMissionByShortUrlId
      parameters:
      - in: path
        name: shortUrlId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
            application/json:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
            text/json:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
      security:
      - oauth2: []
  /v1/resourceowner/routeplanner/route/{routeId}:
    get:
      tags:
      - ResourceOwnerRoutePlanner
      operationId: ResourceOwnerRoutePlanner_GetMissionByRouteAndDriverId
      parameters:
      - in: path
        name: routeId
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
            application/json:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
            text/json:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerRoutePlanner
      summary: Update a route state
      description: Only tasks that belongs to the user has access to will be returned.
      operationId: ResourceOwnerRoutePlanner_UpdateMission
      parameters:
      - in: path
        name: routeId
        description: The routeId to update
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The stop was updated
        '500':
          description: Internal server error
        '403':
          description: Not authorized to task
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/UpdateStopModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/UpdateStopModel'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/UpdateStopModel'
        description: The stop location update model
  /v1/resourceowner/routeplanner/routes/routeandsave:
    post:
      tags:
      - ResourceOwnerRoutePlanner
      operationId: ResourceOwnerRoutePlanner_routeandsave
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema: {}
            application/json:
              schema: {}
            text/json:
              schema: {}
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouteRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/RouteRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RouteRequest'
  /v1/resourceowner/routeplanner/route/{routeId}/cancel:
    put:
      tags:
      - ResourceOwnerRoutePlanner
      summary: Set Route Status to Cancelled.
      description: If a cancelled trip later gets 'uncancelled' the cancelling notes will be cleared
      operationId: ResourceOwnerRoutePlanner_CancelMission
      parameters:
      - in: path
        name: routeId
        description: The routeId to update
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: notes
        description: Reason for cancelling
        schema:
          type: string
      responses:
        '200':
          description: Success
        '500':
          description: Internal server error
        '403':
          description: Not authorized to task
      security:
      - oauth2: []
  /v1/resourceowner/routeplanner/route/{routeId}/start:
    put:
      tags:
      - ResourceOwnerRoutePlanner
      summary: Set Route Status to Started.
      operationId: ResourceOwnerRoutePlanner_StartMission
      parameters:
      - in: path
        name: routeId
        description: The routeId to update
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
        '500':
          description: Internal server error
        '403':
          description: Not authorized to task
      security:
      - oauth2: []
  /v1/resourceowner/routeplanner:
    get:
      tags:
      - ResourceOwnerRoutePlanner
      summary: Get routes associated with the user
      description: '*OBSOLETE* Only routes that is either shared with the user or owned by the calling user is returned.'
      operationId: ResourceOwnerRoutePlanner_GetRouteMissions
      responses:
        '200':
          description: The routes associated with the user is returned.
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoutePlannerMissionModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoutePlannerMissionModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoutePlannerMissionModel'
      security:
      - oauth2: []
  /v1/resourceowner/routeplanner/{routeId}:
    get:
      tags:
      - ResourceOwnerRoutePlanner
      summary: ''
      description: '*OBSOLETE*'
      operationId: ResourceOwnerRoutePlanner_GetRouteMission
      parameters:
      - in: path
        name: routeId
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
            application/json:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
            text/json:
              schema:
                $ref: '#/components/schemas/RoutePlannerMissionModel'
      security:
      - oauth2: []
components:
  schemas:
    UpdateStopModel:
      type: object
      properties:
        RouteStopId:
          format: int32
          type: integer
        Status:
          format: int32
          enum:
          - 0
          - 1
          - 3
          type: integer
        DriverNotes:
          type: string
      additionalProperties: false
    RouteRequest:
      type: object
      properties:
        RouteName:
          type: string
        TimeConstraint:
          format: int32
          enum:
          - 0
          - 1
          type: integer
        When:
          format: date-time
          type: string
        UtcOffset:
          format: int64
          type: integer
        UserUnitType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
        FullAddresses:
          type: array
          items:
            type: string
        Strategy:
          format: int32
          enum:
          - 0
          - 1
          type: integer
        AvoidTollRoads:
          type: boolean
        AvoidHighways:
          type: boolean
        AvoidFerries:
          type: boolean
      additionalProperties: false
    RoutePlannerMissionModel:
      type: object
      properties:
        DistanceInKilometers:
          format: double
          type: number
        DurationInSeconds:
          format: double
          type: number
        RouteId:
          format: int32
          type: integer
        Name:
          type: string
        ContactId:
          format: int32
          type: integer
        IsDeparture:
          type: boolean
        OccuredAt:
          format: date-time
          type: string
        MissionStatus:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          type: integer
        RouteStartedAtUTC:
          format: date-time
          type: string
        RouteStartedByContactId:
          format: int32
          type: integer
        RouteEndedAtUTC:
          format: date-time
          type: string
        Notes:
          type: string
        CreatedUTC:
          format: date-time
          type: string
        Locations:
          type: array
          items:
            $ref: '#/components/schemas/RoutePlannerMissionLocationModel'
      additionalProperties: false
    RoutePlannerMissionLocationModel:
      type: object
      properties:
        DistanceInKilometers:
          format: double
          type: number
        DurationInSeconds:
          format: double
          type: number
        Address:
          type: string
        Note:
          type: string
        RouteStopId:
          format: int32
          type: integer
        Status:
          format: int32
          enum:
          - 0
          - 1
          - 3
          type: integer
        DriverNotes:
          type: string
        Latitude:
          format: double
          type: number
        Longitude:
          format: double
          type: number
      additionalProperties: false
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          scopes:
            read: Read access to protected resources
            write: Write access to protected resources
          authorizationUrl: https://api.automile.com/login/
      description: OAuth2 Implicit Grant