Aerones Accounting.netsuite Departments API

The accounting.netsuite-departments API from Aerones — 1 operation(s) for accounting.netsuite-departments.

Operations 1

GET /api/accounting/v1/netsuite-departments List NetSuite Departments #

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/aerones-accounting-netsuite-departments-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

aerones-accounting-netsuite-departments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Operations Hub Accounting.netsuite Departments API
  version: 0.1.1
  description: ''
servers: []
tags:
- name: accounting.netsuite-departments
paths:
  /api/accounting/v1/netsuite-departments:
    get:
      operationId: list_netsuite_departments
      summary: List NetSuite Departments
      parameters:
      - in: query
        name: search
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by department name (case-insensitive)
          title: Search
        required: false
        description: Search by department name (case-insensitive)
      - in: query
        name: sort
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Sort by field (prefix with - for descending)
          title: Sort
        required: false
        description: Sort by field (prefix with - for descending)
      - in: query
        name: netsuite_id
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Filter by NetSuite department ID
          title: Netsuite Id
        required: false
        description: Filter by NetSuite department ID
      - in: query
        name: is_inactive
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Filter by the NetSuite inactive flag; omit to get active and inactive departments
          title: Is Inactive
        required: false
        description: Filter by the NetSuite inactive flag; omit to get active and inactive departments
      - in: query
        name: paginate
        schema:
          default: true
          description: Enable pagination (false returns all results)
          title: Paginate
          type: boolean
        required: false
        description: Enable pagination (false returns all results)
      - in: query
        name: page
        schema:
          default: 1
          description: Page number
          minimum: 1
          title: Page
          type: integer
        required: false
        description: Page number
      - in: query
        name: page_size
        schema:
          default: 50
          description: Number of items per page
          maximum: 1000
          minimum: 1
          title: Page Size
          type: integer
        required: false
        description: Number of items per page
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/NetSuiteDepartmentResponse'
                title: Response
                type: array
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: List all items with optional search, sorting, and filtering.
      tags:
      - accounting.netsuite-departments
      security:
      - APIKeyAuth: []
      - CookieAuth: []
components:
  schemas:
    Error:
      additionalProperties: false
      description: Error response schema.
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          title: Message
          type: string
      required:
      - code
      - message
      title: Error
      type: object
    ErrorCode:
      description: Error codes for API errors.
      enum:
      - validation
      - server
      - auth
      - unknown
      - external
      - generic
      title: ErrorCode
      type: string
    NetSuiteDepartmentResponse:
      additionalProperties: false
      description: Schema for a NetSuiteDepartment response, the cost center mirror row.
      properties:
        id:
          description: Operations Hub row ID
          title: Id
          type: integer
        netsuite_id:
          description: NetSuite department ID, the key of the mirror
          title: Netsuite Id
          type: integer
        name:
          description: Department name
          title: Name
          type: string
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          description: Name prefixed with the parent department names
          title: Full Name
        external_id:
          anyOf:
          - type: string
          - type: 'null'
          description: NetSuite external id, the cost center code (e.g. FINA)
          title: External Id
        division_netsuite_id:
          anyOf:
          - type: integer
          - type: 'null'
          description: NetSuite ID of the division custom segment value
          title: Division Netsuite Id
        division_name:
          anyOf:
          - type: string
          - type: 'null'
          description: Division name
          title: Division Name
        parent_netsuite_id:
          anyOf:
          - type: integer
          - type: 'null'
          description: NetSuite ID of the parent department
          title: Parent Netsuite Id
        is_inactive:
          description: Department is inactive in NetSuite
          title: Is Inactive
          type: boolean
        subsidiary_netsuite_ids:
          description: NetSuite IDs of the subsidiaries the department applies to
          items:
            type: integer
          title: Subsidiary Netsuite Ids
          type: array
        last_modified_at:
          anyOf:
          - format: date
            type: string
          - type: 'null'
          description: Department last modified date in NetSuite
          title: Last Modified At
        synced_at:
          description: When the sync last wrote this row
          format: date-time
          title: Synced At
          type: string
      required:
      - id
      - netsuite_id
      - name
      - is_inactive
      - synced_at
      title: NetSuiteDepartmentResponse
      type: object
  securitySchemes:
    APIKeyAuth:
      type: http
      scheme: bearer
    CookieAuth:
      type: apiKey
      in: cookie
      name: opshub_prod_sessionid
    AuthBearer:
      type: http
      scheme: bearer