Cumulocity External IDs API

The External IDs API from Cumulocity — 2 operation(s) for external ids.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

cumulocity-external-ids-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Cumulocity Alarm Alarms External IDs API
  version: 10.20.0
  description: 'Raise, query, acknowledge, clear, and bulk-update alarms with four severity levels (CRITICAL, MAJOR,

    MINOR, WARNING) and four statuses (ACTIVE, ACKNOWLEDGED, CLEARED). Cumulocity auto-deduplicates alarms

    by source + type so repeated raises increment the count rather than creating duplicates.

    '
servers:
- url: https://{tenant}.cumulocity.com
  variables:
    tenant:
      default: example
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: External IDs
paths:
  /identity/externalIds/{type}/{externalId}:
    parameters:
    - name: type
      in: path
      required: true
      schema:
        type: string
    - name: externalId
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - External IDs
      summary: Retrieve an External ID
      operationId: getExternalId
      responses:
        '200':
          description: A single external ID record.
          content:
            application/vnd.com.nsn.cumulocity.externalId+json:
              schema:
                $ref: '#/components/schemas/ExternalId'
    delete:
      tags:
      - External IDs
      summary: Delete an External ID
      operationId: deleteExternalId
      responses:
        '204':
          description: External ID deleted.
  /identity/globalIds/{id}/externalIds:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - External IDs
      summary: List External IDs for Global ID
      operationId: listExternalIdsForGlobalId
      responses:
        '200':
          description: A collection of external IDs.
          content:
            application/vnd.com.nsn.cumulocity.externalIdCollection+json:
              schema:
                $ref: '#/components/schemas/ExternalIdCollection'
    post:
      tags:
      - External IDs
      summary: Create an External ID
      operationId: createExternalId
      requestBody:
        required: true
        content:
          application/vnd.com.nsn.cumulocity.externalId+json:
            schema:
              $ref: '#/components/schemas/ExternalId'
      responses:
        '201':
          description: External ID created.
components:
  schemas:
    ExternalIdCollection:
      type: object
      properties:
        self:
          type: string
          format: uri
        externalIds:
          type: array
          items:
            $ref: '#/components/schemas/ExternalId'
    ExternalId:
      type: object
      properties:
        self:
          type: string
          format: uri
        externalId:
          type: string
        type:
          type: string
        managedObject:
          type: object
          properties:
            id:
              type: string
            self:
              type: string
              format: uri
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT