openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_RS_OBJECT_INSTANTIATE:
    post:
      tags:
      - SCSM_REPOSITORY_SET
      operationId: /rfc/SCSM_RS_OBJECT_INSTANTIATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOMINANT_SYSTEM:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                EXTENDED_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      CCMS_OBJ:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      PROPERTY:
                        type: string
                        maxLength: 40
                        description: Property of CCMS Repository class
                      OBJ_FIELD:
                        type: string
                        maxLength: 1
                        description: Indicator for Meta Data in System Component Repository
                      MEMBER:
                        type: integer
                        format: int64
                        description: Part of Array in System Component Array
                      EXT_VAL:
                        type: string
                        maxLength: 2048
                        description: 2048 Character Text Field
                NAMESPACE:
                  type: string
                  maxLength: 40
                  description: Object name in CCMS Repository
                OBJECT_CLASS:
                  type: string
                  maxLength: 40
                  description: CCMS Class Names
                OBJECT_KEY_ELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SCHEME:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      PROPERTY:
                        type: string
                        maxLength: 40
                        description: Property of CCMS Repository class
                      VALUE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                OBJECT_SCHEME:
                  type: string
                  maxLength: 8
                  description: Name of Schema or Semantic in System Repository
                OBJECT_STATUS:
                  type: string
                  default: CSM_ACTIVE
                  maxLength: 1
                  description: Indicator for Meta Data in System Component Repository
                OBJECT_SYSTEM:
                  type: string
                  maxLength: 8
                  description: System GUID for R/3 or other system
                OTHER_PROPRTY_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      SCHEME:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      PROPERTY:
                        type: string
                        maxLength: 40
                        description: Property of CCMS Repository class
                      VALUE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                REPORTER:
                  type: string
                  maxLength: 32
                  description: System GUID for R/3 or other system
                SCOPING_OBJECT_GUID:
                  type: string
                  maxLength: 32
                  description: System GUID for R/3 or other system
              required:
              - DOMINANT_SYSTEM
              - OBJECT_CLASS
              - OBJECT_KEY_ELEMENTS
              - OBJECT_SCHEME
              - OBJECT_SYSTEM
              - REPORTER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_ENTRY:
                    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.
