openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCUA_GEN_GENERATE_PARTNER:
    post:
      tags:
      - SCUA_GEN
      operationId: /rfc/SCUA_GEN_GENERATE_PARTNER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MODELNAME:
                  type: string
                  maxLength: 10
                  description: View of ALE model
                PARTNERNAME:
                  type: string
                  maxLength: 10
                  description: RFC sending system
                PARTNERS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      RCVSYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving system for central user administration
                      SYSNAME:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SYSCLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      NEW_SYSTEM:
                        type: string
                        maxLength: 1
                        description: 'Yes/No (X/ )  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SYSTEMTYPE:
                        type: string
                        maxLength: 10
                        description: 'GUM: System Types'
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
              required:
              - MODELNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PARTNERS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        RCVSYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving system for central user administration
                        SYSNAME:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        SYSCLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        NEW_SYSTEM:
                          type: string
                          maxLength: 1
                          description: 'Yes/No (X/ )  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        SYSTEMTYPE:
                          type: string
                          maxLength: 10
                          description: 'GUM: System Types'
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
