openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_RG_OBJ_GET_BY_CLASS:
    post:
      tags:
      - SCSM_REPOSITORY_GET
      operationId: /rfc/SCSM_RG_OBJ_GET_BY_CLASS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS:
                  type: string
                  maxLength: 40
                  description: Target Class
                GUID_OF_PARENT:
                  type: string
                  maxLength: 32
                NAMESPACE:
                  type: string
                  maxLength: 40
                  description: Object name in CCMS Repository
                RETURN_SUBCLASS_INSTANCES:
                  type: string
                  default: CSM_YES
                  maxLength: 1
                  description: Indicator for Meta Data in System Component Repository
                SCHEME:
                  type: string
                  default: SCHEME_BC
                  maxLength: 8
                TEST_PROPERTY:
                  type: string
                  maxLength: 40
                TEST_VALUE:
                  type: string
                  maxLength: 40
                OBJECT_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CCMS_OBJ:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      SCOPE_OBJ:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      SCHEME:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      NAMESPACE:
                        type: string
                        maxLength: 40
                        description: Object name in CCMS Repository
                      NS_CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      SAP_KEY:
                        type: string
                        maxLength: 250
                        description: 'Text Field: Length 250'
                      CIM_KEY:
                        type: string
                        maxLength: 250
                        description: 'Text Field: Length 250'
                      DISPLAYNM:
                        type: string
                        maxLength: 40
                        description: Object name in CCMS Repository
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Indicator for Meta Data in System Component Repository
                      SEMANTIC:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      DOMSYSTEM:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      HOMSYSTEM:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      REPORTER:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      PROVIDER:
                        type: string
                        maxLength: 40
                        description: Data supplier that creates a class token tuple
              required:
              - CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CCMS_OBJ:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        SCOPE_OBJ:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        SCHEME:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        CLASS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        NAMESPACE:
                          type: string
                          maxLength: 40
                          description: Object name in CCMS Repository
                        NS_CLASS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        SAP_KEY:
                          type: string
                          maxLength: 250
                          description: 'Text Field: Length 250'
                        CIM_KEY:
                          type: string
                          maxLength: 250
                          description: 'Text Field: Length 250'
                        DISPLAYNM:
                          type: string
                          maxLength: 40
                          description: Object name in CCMS Repository
                        STATUS:
                          type: string
                          maxLength: 1
                          description: Indicator for Meta Data in System Component Repository
                        SEMANTIC:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        DOMSYSTEM:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        HOMSYSTEM:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        REPORTER:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        PROVIDER:
                          type: string
                          maxLength: 40
                          description: Data supplier that creates a class token tuple
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
