MileMaker Avoid Areas API

The AvoidAreas API from MileMaker — 2 operation(s) for avoidareas.

GitHub OpenAPI

Operations 5

POST /content/areas Create avoid area #
GET /content/areas List avoid areas #
GET /content/areas/{id} Get avoid area #
PUT /content/areas/{id} Update avoid area #
DELETE /content/areas/{id} Delete avoid area #

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/milemaker-com:milemaker-com-avoidareas-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

milemaker-com-avoidareas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rand McNally MileMaker 2.0 Avoid Areas API
  version: '1.0'
  description: TBD
servers:
- url: https://api.milemaker.com/
tags:
- name: AvoidAreas
paths:
  /content/areas:
    post:
      tags:
      - AvoidAreas
      operationId: createAvoidArea
      description: Create a new Avoid Area. Allowed for all users within the organization.
      requestBody:
        description: The Avoid Area model to create.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvoidAreaRequest'
      responses:
        200:
          description: Avoid Area created.
          headers:
            Location:
              description: URL of the newly created resource.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvoidAreaResponse'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Create avoid area
      x-summary-source: derived
    get:
      tags:
      - AvoidAreas
      operationId: listAvoidAreas
      description: Returns a list of Avoid Areas. Allowed for all users within the organization.
      responses:
        200:
          description: A list of Avoid Areas.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvoidAreaResponseList'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: List avoid areas
      x-summary-source: derived
  /content/areas/{id}:
    get:
      tags:
      - AvoidAreas
      operationId: getAvoidArea
      description: Get an Avoid Area by ID.
      parameters:
      - name: id
        in: path
        description: Avoid Area identifier.
        required: true
        schema:
          type: string
          format: uuid
      responses:
        200:
          description: Get Avoid Area by Id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvoidAreaResponse'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Get avoid area
      x-summary-source: derived
    put:
      tags:
      - AvoidAreas
      operationId: updateAvoidArea
      description: Update an Avoid Area by ID.
      parameters:
      - name: id
        in: path
        description: Avoid Area identifier.
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: Avoid Area payload to update.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvoidAreaRequest'
      responses:
        200:
          description: Updated Avoid Area.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvoidAreaResponse'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Update avoid area
      x-summary-source: derived
    delete:
      tags:
      - AvoidAreas
      operationId: deleteAvoidArea
      description: Deletes Avoid Area with a corresponding ID.
      parameters:
      - name: id
        in: path
        description: Avoid Area identifier.
        required: true
        schema:
          type: string
          format: uuid
      responses:
        204:
          description: Successfully deleted. No content is returned.
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Delete avoid area
      x-summary-source: derived
components:
  schemas:
    AvoidAreaResponse:
      type: object
      required:
      - id
      - name
      - coordinates
      - createdAt
      - updatedAt
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        coordinates:
          type: array
          minItems: 3
          maxItems: 30
          items:
            $ref: '#/components/schemas/GeoPoint'
        createdAt:
          type: string
          format: date-time
          example: '2023-11-20T15:05:22.145Z'
        updatedAt:
          type: string
          format: date-time
          example: '2023-11-20T15:05:22.145Z'
    ProblemDetails:
      type: object
      description: The Problem Details JSON Object [RFC7807]
      additionalProperties: false
      properties:
        type:
          type: string
          description: A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank".
          maxLength: 64
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: https://schema.milemaker.com/errors/GS0003
        title:
          type: string
          description: A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using active content negotiation; see [RFC7231], Section 3.4).
          maxLength: 128
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: Wrong Input Error
        status:
          type: integer
          description: The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
          example: '400'
        detail:
          type: string
          description: A human-readable explanation specific to this occurrence of the problem
          maxLength: 1024
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: Please specify query parameter paramName
        instance:
          type: string
          description: A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced
          maxLength: 256
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
    AvoidAreaResponseList:
      type: object
      description: Container with Avoid Areas.
      properties:
        areas:
          type: array
          items:
            $ref: '#/components/schemas/AvoidAreaResponse'
    AvoidAreaRequest:
      type: object
      required:
      - name
      - coordinates
      properties:
        name:
          type: string
        coordinates:
          description: Polygon ring as an ordered list of GeoPoints (lat/lon).
          type: array
          minItems: 3
          maxItems: 30
          items:
            $ref: '#/components/schemas/GeoPoint'
    GeoPoint:
      type: object
      description: Latitude and Longitude are the units that represent the coordinates at geographic coordinate system
      additionalProperties: false
      required:
      - lat
      - lon
      properties:
        lat:
          type: number
          format: double
          minimum: -90
          maximum: 90
          description: Latitude
        lon:
          type: number
          format: double
          minimum: -180
          maximum: 180
          description: Longitude