openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_IOCL_COPY:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_IOCL_COPY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AVOID_TR_RECORD:
                  type: string
                  maxLength: 1
                COPY:
                  type: object
                  properties:
                    IO_CLASS:
                      type: string
                      maxLength: 30
                      description: 'Model: Entity Name'
                    VERSION:
                      type: string
                      maxLength: 1
                      description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                      enum:
                      - '0'
                      - '9'
                      - ''
                      - '2'
                      - '1'
                DESCRIPTION:
                  type: string
                  maxLength: 64
                  description: Short Description
                DEV_DATA:
                  type: object
                  properties:
                    AUTHOR:
                      type: string
                      maxLength: 12
                      description: Person Responsible for a Repository Object
                    MASTERLANG:
                      type: string
                      maxLength: 1
                      description: Original Language in Repository objects
                    DEVCLASS:
                      type: string
                      maxLength: 30
                      description: Package
                MODELSPACE:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: 'Model: Document Model Area'
                ORIGINAL:
                  type: object
                  properties:
                    IO_CLASS:
                      type: string
                      maxLength: 30
                      description: 'Model: Entity Name'
                    VERSION:
                      type: string
                      maxLength: 1
                      description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                      enum:
                      - '0'
                      - '9'
                      - ''
                      - '2'
                      - '1'
                X_ATTRS:
                  type: string
                  default: X
                  maxLength: 1
                X_DESCRS:
                  type: string
                  default: ' '
                  maxLength: 1
                X_EPROPS:
                  type: string
                  default: X
                  maxLength: 1
                X_REPLACE:
                  type: string
                  default: ' '
                  maxLength: 1
                X_REPLICATE:
                  type: string
                  default: ' '
                  maxLength: 1
                X_TAB:
                  type: string
                  default: X
                  maxLength: 1
                X_VIRTUAL:
                  type: string
                  default: ' '
                  maxLength: 1
                KORRNUM:
                  type: string
                  maxLength: 20
                  description: Request/Task
              required:
              - COPY
              - ORIGINAL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  KORRNUM:
                    type: string
                    maxLength: 20
                    description: Request/Task
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
