MRI Software Contractor organization categories API

Categories are used to describe the different functions of your contractor organizations. You can use them to sort your organizations and make it easier to report on them and create triggers. Use the API to retrieve your categories list or add, update or delete a category.Learn more about contractor organization categories in the OnLocation Help Center.

Operations 5

GET /sp/org/category List of contractor organization categories #
POST /sp/org/category Create a contractor organization category #
GET /sp/org/category/{id} Retrieve a contractor organization category #
PUT /sp/org/category/{id} Update a contractor organization category #
DELETE /sp/org/category/{id} Delete a contractor organization category #

Documentation

Specifications

Schemas & Data

Other Resources

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/mri-software:mri-software-contractor-organization-categories-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

mri-software-contractor-organization-categories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mri Software Contractor organization categories API
  version: '0.1'
  contact:
    email: support@whosonlocation.com
  description: 'Operations tagged Contractor organization categories across 2 of this provider''s published API definitions: mri-software-onlocation-openapi.json, mri-software-onlocation-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.whosonlocation.com/v1
tags:
- name: Contractor organization categories
  description: 'Categories are used to describe the different functions of your contractor organizations. You can use them to sort your organizations and make it easier to report on them and create triggers.


    Use the API to retrieve your categories list or add, update or delete a category.


    Learn more about contractor organization categories in the OnLocation Help Center.'
paths:
  /sp/org/category:
    get:
      tags:
      - Contractor organization categories
      summary: List of contractor organization categories
      description: Returns a list of contractor organization categories.
      operationId: getSpCategoryList
      responses:
        '200':
          description: List of contractor organization categories
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SpCategoryResponse'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SpCategoryResponse'
        '400':
          description: Invalid Input
        '403':
          description: Access denied to this resource
        '500':
          description: Internal server error
    post:
      tags:
      - Contractor organization categories
      summary: Create a contractor organization category
      description: Creates a new contractor organization category with the provided details.
      operationId: createSpCategory
      requestBody:
        description: Information used to create a new contractor organization category
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpCategoryRequest'
      responses:
        '201':
          description: Created resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpCategoryResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/SpCategoryResponse'
        '400':
          description: Invalid input
        '403':
          description: Access denied to this resource
        '500':
          description: Internal server error
    servers:
    - url: https://api.whosonlocation.com/v1
  /sp/org/category/{id}:
    get:
      tags:
      - Contractor organization categories
      summary: Retrieve a contractor organization category
      description: Retrieves a contractor organization category by its ID.
      operationId: getSpCategory
      parameters:
      - name: id
        in: path
        description: ID of the contractor organization category to retrieve
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Contractor organization category found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpCategoryResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/SpCategoryResponse'
        '403':
          description: Access denied to this resource
        '404':
          description: Contractor organization category not found
        '500':
          description: Internal server error
    put:
      tags:
      - Contractor organization categories
      summary: Update a contractor organization category
      description: Updates the details of a contractor organization category.
      operationId: updateSpCategory
      parameters:
      - name: id
        in: path
        description: ID of the contractor organization category to update
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        description: Information used to update the contractor organization category record
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpCategoryRequest'
      responses:
        '200':
          description: Updated resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpCategoryResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/SpCategoryResponse'
        '400':
          description: Invalid Input
        '403':
          description: Access denied to this resource
        '404':
          description: Contractor organization category not found
        '500':
          description: Internal server error
    delete:
      tags:
      - Contractor organization categories
      summary: Delete a contractor organization category
      description: Deletes a contractor organization category by its ID.
      operationId: deleteSpCategory
      parameters:
      - name: id
        in: path
        description: ID of the contractor organization category to delete
        required: true
        schema:
          type: integer
      responses:
        '204':
          description: Contractor organization category deleted successfully
        '403':
          description: Access denied to this resource
        '404':
          description: Contractor organization category not found
        '409':
          description: Not deleted as contractor organization groups found under this category
        '500':
          description: Internal server error
    servers:
    - url: https://api.whosonlocation.com/v1
components:
  schemas:
    SpCategoryResponse:
      title: SpCategoryResponse
      description: Contractor organization category response schema
      properties:
        id:
          description: Category ID
          type: integer
          format: int32
          example: 1
        name:
          description: Name of the category
          type: string
          format: string
          example: Transport Services
        created:
          description: Created time of the category
          type: string
          format: date-time
          example: '2023-05-12 09:30:00'
      type: object
    SpCategoryRequest:
      title: SpCategoryRequest
      description: Contractor organization category request schema
      properties:
        name:
          description: Name of the category
          type: string
          format: string
          example: Transport Services
      type: object
x-refined-from:
- mri-software-onlocation-openapi.json
- mri-software-onlocation-openapi.yml