openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_CLIENT_COPY:
    post:
      tags:
      - SAIO
      summary: Client-copy with source and target clients specification
      operationId: /rfc/INST_CLIENT_COPY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_MANDT:
                  type: array
                  items:
                    type: object
                    properties:
                      S_MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      T_MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      T_MDT_TXT:
                        type: string
                        maxLength: 25
                        description: Client name
                RESULT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTRESULT:
                        type: string
                        maxLength: 1
                        description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                        enum:
                        - E
                        - W
                        - S
                      INSTRESTXT:
                        type: string
                        maxLength: 128
                        description: 'SAP Installation: Result Text'
                      INSTRESPRG:
                        type: string
                        maxLength: 40
                        description: 'SAP Installation: Result Program Name'
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Background job name
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT_RC:
                    type: string
                    maxLength: 1
                    description: 'SAP Installation: Result Value'
                  RESULT_TEXT:
                    type: string
                    maxLength: 128
                    description: 'SAP Installation: Result Text'
                  IT_MANDT:
                    type: array
                    items:
                      type: object
                      properties:
                        S_MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        T_MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        T_MDT_TXT:
                          type: string
                          maxLength: 25
                          description: Client name
                  RESULT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTRESULT:
                          type: string
                          maxLength: 1
                          description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                          enum:
                          - E
                          - W
                          - S
                        INSTRESTXT:
                          type: string
                          maxLength: 128
                          description: 'SAP Installation: Result Text'
                        INSTRESPRG:
                          type: string
                          maxLength: 40
                          description: 'SAP Installation: Result Program Name'
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Background job name
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
