Automile ResourceOwnerGeofence3 API

The ResourceOwnerGeofence3 API from Automile — 2 operation(s) for resourceownergeofence3.

Business capability
Fleet Telematics and Monitoring BC-2430.40

Operations 5

GET /v1/resourceowner/geofence3 Get a list of geofencese organization is associated with #
POST /v1/resourceowner/geofence3 Creates a new geofence #
GET /v1/resourceowner/geofence3/{geofenceId} Get geofence #
PUT /v1/resourceowner/geofence3/{geofenceId} Updates the given geofence with new model #
DELETE /v1/resourceowner/geofence3/{geofenceId} Removes the given geofence #

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-resourceownergeofence3-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-resourceownergeofence3-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automile ClientApi Resource Owner Geofence3 API
  version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerGeofence3
paths:
  /v1/resourceowner/geofence3:
    get:
      tags:
      - ResourceOwnerGeofence3
      summary: Get a list of geofencese organization is associated with
      description: Only geofences that the user has access to are accessible.
      operationId: GetResourceOwnerGeofences3
      responses:
        '200':
          description: The geofences are returned
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeofenceModel3'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeofenceModel3'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeofenceModel3'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerGeofence3
      summary: Creates a new geofence
      description: This will create a new geofence and associate it with a vehicle.
      operationId: CreateResourceOwnerGeofence3
      responses:
        '200':
          description: A link in the header is returned to the newly created geofence
        '400':
          description: Bad request, could occur for a number of cases, see returned message
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Geofence3CreateModel'
          text/json:
            schema:
              $ref: '#/components/schemas/Geofence3CreateModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Geofence3CreateModel'
        description: The geofence model
  /v1/resourceowner/geofence3/{geofenceId}:
    get:
      tags:
      - ResourceOwnerGeofence3
      summary: Get geofence
      description: Only geofences that the user has access to are accessible.
      operationId: GetResourceOwnerGeofence3
      parameters:
      - in: path
        name: geofenceId
        description: The geofence id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The geofences are returned
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GeofenceModel3'
            application/json:
              schema:
                $ref: '#/components/schemas/GeofenceModel3'
            text/json:
              schema:
                $ref: '#/components/schemas/GeofenceModel3'
        '403':
          description: Request is forbidden, meaning you don't have access to this geofence
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerGeofence3
      summary: Updates the given geofence with new model
      description: This will update the given geofence id with a new model.
      operationId: EditResourceOwnerGeofence3
      parameters:
      - in: path
        name: geofenceId
        description: The geofence id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The geofence was saved
        '400':
          description: Bad request, could occur for a number of cases, see returned message
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not found, the geofence you tried to update can't be found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Geofence3EditModel'
          text/json:
            schema:
              $ref: '#/components/schemas/Geofence3EditModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Geofence3EditModel'
        description: The new geofence model
    delete:
      tags:
      - ResourceOwnerGeofence3
      summary: Removes the given geofence
      operationId: DeleteResourceOwnerGeofence3
      parameters:
      - in: path
        name: geofenceId
        description: The geofence id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The geofence has been deleted
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not found, the geofence you tried to remove can't be found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
components:
  schemas:
    GeofenceModel3:
      type: object
      properties:
        GeofenceId:
          format: int32
          type: integer
        Name:
          type: string
        Description:
          type: string
        GeofencePolygon:
          $ref: '#/components/schemas/GeofencePolygon'
        GeofenceType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
        Schedules:
          type: array
          items:
            $ref: '#/components/schemas/GeofenceScheduleModel'
        OrganizationNodeId:
          format: int32
          type: integer
        IsEditable:
          type: boolean
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          format: int32
          type: integer
        detail:
          type: string
        instance:
          type: string
      additionalProperties: {}
    Geofence3CreateModel:
      required:
      - Name
      type: object
      properties:
        Name:
          minLength: 1
          type: string
        Description:
          type: string
        OrganizationNodeId:
          format: int32
          type: integer
        GeofencePolygon:
          $ref: '#/components/schemas/GeofencePolygon'
        GeofenceType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
        Schedules:
          type: array
          items:
            $ref: '#/components/schemas/GeofenceScheduleAddModel'
      additionalProperties: false
    GeofenceScheduleModel:
      type: object
      properties:
        GeofenceScheduleId:
          format: int32
          type: integer
        Monday:
          type: boolean
        Tuesday:
          type: boolean
        Wednesday:
          type: boolean
        Thursday:
          type: boolean
        Friday:
          type: boolean
        Saturday:
          type: boolean
        Sunday:
          type: boolean
        StartTime:
          $ref: '#/components/schemas/TimeSpan'
        EndTime:
          $ref: '#/components/schemas/TimeSpan'
      additionalProperties: false
    GeofenceScheduleEditModel:
      type: object
      properties:
        GeofenceScheduleId:
          format: int32
          type: integer
        Monday:
          type: boolean
        Tuesday:
          type: boolean
        Wednesday:
          type: boolean
        Thursday:
          type: boolean
        Friday:
          type: boolean
        Saturday:
          type: boolean
        Sunday:
          type: boolean
        StartTime:
          $ref: '#/components/schemas/TimeSpan'
        EndTime:
          $ref: '#/components/schemas/TimeSpan'
      additionalProperties: false
    TimeSpan:
      type: object
      properties:
        Ticks:
          format: int64
          type: integer
        Days:
          format: int32
          type: integer
          readOnly: true
        Hours:
          format: int32
          type: integer
          readOnly: true
        Milliseconds:
          format: int32
          type: integer
          readOnly: true
        Microseconds:
          format: int32
          type: integer
          readOnly: true
        Nanoseconds:
          format: int32
          type: integer
          readOnly: true
        Minutes:
          format: int32
          type: integer
          readOnly: true
        Seconds:
          format: int32
          type: integer
          readOnly: true
        TotalDays:
          format: double
          type: number
          readOnly: true
        TotalHours:
          format: double
          type: number
          readOnly: true
        TotalMilliseconds:
          format: double
          type: number
          readOnly: true
        TotalMicroseconds:
          format: double
          type: number
          readOnly: true
        TotalNanoseconds:
          format: double
          type: number
          readOnly: true
        TotalMinutes:
          format: double
          type: number
          readOnly: true
        TotalSeconds:
          format: double
          type: number
          readOnly: true
      additionalProperties: false
    GeofenceScheduleAddModel:
      type: object
      properties:
        Monday:
          type: boolean
        Tuesday:
          type: boolean
        Wednesday:
          type: boolean
        Thursday:
          type: boolean
        Friday:
          type: boolean
        Saturday:
          type: boolean
        Sunday:
          type: boolean
        StartTime:
          $ref: '#/components/schemas/TimeSpan'
        EndTime:
          $ref: '#/components/schemas/TimeSpan'
      additionalProperties: false
    Geofence3EditModel:
      required:
      - Name
      type: object
      properties:
        Name:
          minLength: 1
          type: string
        Description:
          type: string
        GeofencePolygon:
          $ref: '#/components/schemas/GeofencePolygon'
        GeofenceType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
        OrganizationNodeId:
          format: int32
          type: integer
        Schedules:
          type: array
          items:
            $ref: '#/components/schemas/GeofenceScheduleEditModel'
      additionalProperties: false
    GeographicPosition:
      type: object
      properties:
        Latitude:
          format: double
          type: number
        Longitude:
          format: double
          type: number
      additionalProperties: false
    GeofencePolygon:
      type: object
      properties:
        Coordinates:
          type: array
          items:
            $ref: '#/components/schemas/GeographicPosition'
      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