openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSMBK_CLASSDEF_REGISTER:
    post:
      tags:
      - SCSMBK
      operationId: /rfc/SCSMBK_CLASSDEF_REGISTER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVE:
                  type: string
                  default: CSM_YES
                  maxLength: 1
                  description: Indicates whether a CCMS class is the active version
                AREA:
                  type: string
                  default: BC
                  maxLength: 2
                  description: Version Number Component
                ASSOCIATION:
                  type: string
                  default: CSM_NO
                  maxLength: 1
                  description: Indicates whether a CCMS class is an association
                ASSOCTYP:
                  type: integer
                  format: int32
                  description: Association types
                CLASS:
                  type: string
                  maxLength: 40
                  description: CCMS Class Names
                CLASS_DISPLAY_TEXT:
                  type: string
                  maxLength: 40
                DOMVERSION:
                  type: string
                  maxLength: 4
                  description: Dominant or subsidiary version number of a CCMS class
                INDICATION:
                  type: string
                  default: CSM_NO
                  maxLength: 1
                  description: Indicates whether a CCMS class is an indication
                LANGUAGE:
                  type: string
                  maxLength: 1
                LOCK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                MTECLASS:
                  type: string
                  maxLength: 40
                  description: 'CCMS Monitoring Architecture: Name of MTE class'
                PROVIDER:
                  type: string
                  maxLength: 40
                  description: Data supplier that creates a class token tuple
                REPLICATE:
                  type: string
                  default: CSM_NO
                  maxLength: 1
                  description: Single-Character Flag
                REPORTER:
                  type: string
                  maxLength: 32
                  description: System GUID for R/3 or other system
                RESET:
                  type: string
                  default: CSM_NO
                  maxLength: 1
                SCHEME:
                  type: string
                  maxLength: 8
                  description: Name of semantic for representing system relationships
                SEMANTIC:
                  type: string
                  default: SEM_BC
                  maxLength: 8
                  description: Name of semantic for representing system relationships
                SUBVERSION:
                  type: string
                  maxLength: 4
                  description: Dominant or subsidiary version number of a CCMS class
                SUPER_CLASS:
                  type: string
                  maxLength: 40
                  description: CCMS Class Names
                SUPER_SCHEME:
                  type: string
                  maxLength: 8
                  description: Name of Schema or Semantic in System Repository
                TIMESTAMP:
                  type: integer
                  format: int64
                  description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                QUALIFIERS:
                  type: array
                  items:
                    type: object
                    properties:
                      QUALIFIER:
                        type: string
                        maxLength: 40
                        description: Property of CCMS Repository class
                      VALUE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
              required:
              - ASSOCTYP
              - CLASS
              - PROVIDER
              - REPORTER
              - SCHEME
              - SUPER_CLASS
              - SUPER_SCHEME
              - TIMESTAMP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  QUALIFIERS:
                    type: array
                    items:
                      type: object
                      properties:
                        QUALIFIER:
                          type: string
                          maxLength: 40
                          description: Property of CCMS Repository class
                        VALUE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
